Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
Message from discussion shedskin 0.2.1 planned features
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
srepmub  
View profile  
 More options Dec 20 2009, 7:38 am
From: srepmub <mark.duf...@gmail.com>
Date: Sun, 20 Dec 2009 04:38:17 -0800 (PST)
Local: Sun, Dec 20 2009 7:38 am
Subject: Re: shedskin 0.2.1 planned features
a status update:

> -support for itertools (thanks to the work of jeremie)

jeremie, I'm hoping to see another patch soon.. ^^ I'd be happy to
help out if you don't have time to fully complete it, now that most
other things on this list have been tackled. anyway, jeremie and I
sorted out most issues, and I think we can support practically
everything..

> -support for csv (by eating our own dogfood, using something like
> python-dsv - thanks chris)

I wrote a pure Python implementation based on _csv.c (and csv.py) from
CPython, and compiled it using shedskin (see csv15.py). I decided not
to support Sniffer for now, or custom Dialects, but most basic things
should work now.

> -if we support itertools, then I guess 'map'/'filter'/'reduce' should
> work too (yes, I give up my opposition :))

these have been added.. I also added support for passing around
builtin callables, which required a bit of surgery.. so the following
now works, for example:

print sorted([[2,3,4], [5,6], [7]], key=len)
print map(len, ['a','bc'])
print map(max, ['a','bc'], ['d'], ['e'])
print map(set, [[1]])

> -as well as 'next'.. (any other useful (new) builtin functions
> shedskin doesn't support at the moment?)

done.

> -and while we're passing function references around, it should be
> possible to place these in containers and to pass method references
> around as well

I decided to move this to a future release, because I've seen enough
function passing for now..

> -support for the 'key' argument of 'list.sort' and 'sorted'

done.

> -boost type inference scalability by disallowing parametric
> polymorphism (outside of lib/, as for data polymorphism it's just not
> worth it.)

this is the thing I will look into next. but if I get joris' original
blossoming algorithm to work with a simpler trick, I may also move
this one forward. there's already more than enough new stuff for a new
release.

some other things were improved in the meantime:

- forward referencing of variables and functions
- joris managed to improve basic indexing (without -b, by improving
inlining of __wrap)
- addition of 1-length lists and strings was optimized
- many, many bugfixes.

if I have time, I may look into buffers/memoryviews as suggested on my
blog (thanks!), to avoid copying overhead for extension modules, but I
will probably save this for the next release..

thanks,
mark.


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.