I really like the PEP - it's a solid extension of the ideas introduced
by PEP 342.
The two changes I would suggest is that the PEP be made more explicit
regarding the fact that the try/finally block only enclose the yield
expression itself (i.e. no other parts of the containing statement) and
that
Hrvoje Niksic wrote:
> Looking at izip(*[iter(l)]*n), I tend to agree.
Note that the itertools recipes page in the docs includes the following:
def pairwise(iterable):
"s -> (s0,s1), (s1,s2), (s2, s3), ..."
a, b = tee(iterable)
next(b, None)
return izip(a, b)
There are a couple o
On Fri, Mar 20, 2009 at 20:18, Benjamin Peterson wrote:
> 2009/3/20 Brett Cannon :
> > Doc changes are now checked in. Someone who has not been starting at
> import
> > for over two years should probably go in and clean it up as it is
> probably
> > not clear to a newbie (but then again newbies sh
2009/3/20 Brett Cannon :
> Doc changes are now checked in. Someone who has not been starting at import
> for over two years should probably go in and clean it up as it is probably
> not clear to a newbie (but then again newbies should not be reading the
> language ref; more worried about the docs i
Doc changes are now checked in. Someone who has not been starting at import
for over two years should probably go in and clean it up as it is probably
not clear to a newbie (but then again newbies should not be reading the
language ref; more worried about the docs in sys).
On Mon, Mar 16, 2009 at
On Fri, Mar 20, 2009 at 9:51 PM, wrote:
> Jesse> Known issue:
>
> Jesse> http://bugs.python.org/issue3110
>
> Jesse> I haven't had time to look into it, I was planning on working on
> Jesse> many of the mp bugs during the sprint at pycon.
>
> Jesse, I will be at the sprints for a coup
Jesse> Known issue:
Jesse> http://bugs.python.org/issue3110
Jesse> I haven't had time to look into it, I was planning on working on
Jesse> many of the mp bugs during the sprint at pycon.
Jesse, I will be at the sprints for a couple days and should be able to test
things out on So
Jesse Noller wrote:
> On Fri, Mar 20, 2009 at 8:50 PM, Christian Heimes wrote:
>> Martin v. Löwis schrieb:
Today I was in contact with a Python user who tried to compile
pyprocessing - the ancestor of multiprocessing - on Solaris. It failed
to run because Solaris is missing two feat
On Fri, Mar 20, 2009 at 8:50 PM, Christian Heimes wrote:
> Martin v. Löwis schrieb:
>>> Today I was in contact with a Python user who tried to compile
>>> pyprocessing - the ancestor of multiprocessing - on Solaris. It failed
>>> to run because Solaris is missing two features (HAVE_FD_TRANSFER and
Martin v. Löwis schrieb:
>> Today I was in contact with a Python user who tried to compile
>> pyprocessing - the ancestor of multiprocessing - on Solaris. It failed
>> to run because Solaris is missing two features (HAVE_FD_TRANSFER and
>> HAVE_SEM_TIMEDWAIT). Does anybody have a Solaris box at his
Known issue:
http://bugs.python.org/issue3110
I haven't had time to look into it, I was planning on working on many
of the mp bugs during the sprint at pycon.
On Fri, Mar 20, 2009 at 8:18 PM, Christian Heimes wrote:
> Hello fellow co-developers!
>
> Today I was in contact with a Python user who
> Today I was in contact with a Python user who tried to compile
> pyprocessing - the ancestor of multiprocessing - on Solaris. It failed
> to run because Solaris is missing two features (HAVE_FD_TRANSFER and
> HAVE_SEM_TIMEDWAIT). Does anybody have a Solaris box at his disposal to
> test the setti
Hello fellow co-developers!
Today I was in contact with a Python user who tried to compile
pyprocessing - the ancestor of multiprocessing - on Solaris. It failed
to run because Solaris is missing two features (HAVE_FD_TRANSFER and
HAVE_SEM_TIMEDWAIT). Does anybody have a Solaris box at his disposa
> Summer of Code is ramping up. Every year the common complaint is that not
> enough Python core projects get proposed by students, and of course a big
> reason for that is often the only encouragement we offer prospective
> students is a link to the PEP index.
>
> The challenge is finding project
Will testing an array of chars do?
You can easily allocate 4-5Gb on a regular 64bit pc, even with only 1G of ram,
given that your swap space is sufficient.
If you want to excercise your array, then you might get some paging, but it's
not completely impossible.
K
-Original Message-
From:
I received some (so far unfinished) patches for ctypes
that will allow to create arrays with more than 2**31
elements and that will eventually also support pointer
offsets larger than int, on 64-bit platforms.
Since I do not have a machine with so much memory: Does one
of the buildbots allow to ru
ACTIVITY SUMMARY (03/13/09 - 03/20/09)
Python tracker at http://bugs.python.org/
To view or respond to any of the issues listed below, click on the issue
number. Do NOT respond to this message.
2392 open (+27) / 14957 closed (+14) / 17349 total (+41)
Open issues with patches: 836
Average
Isaac Morland wrote:
I propose this because i need a lot of times pack and slide function
over list and this one
combine the two in a generator way.
I've written functions with a subset of this functionality on more than
one occasion. Having it in itertools looks like it would be useful to a
On Fri, 20 Mar 2009, paul bedaride wrote:
I propose a new function for list for pack values of a list and
sliding over them:
then we can do things like this:
for i, j, k in pack(range(10), 3, partialend=False):
print i, j, k
I propose this because i need a lot of times pack and slide functi
On Fri, Mar 20, 2009, paul bedaride wrote:
>
> I propose a new function for list for pack values of a list and
> sliding over them:
Please switch this discussion to python-ideas
--
Aahz (a...@pythoncraft.com) <*> http://www.pythoncraft.com/
"Programming language design is not a
On Fri, Mar 20, 2009 at 07:37:40AM +, Trent Nelson wrote:
->
-> On Thu, Mar 19, 2009 at 10:32:03AM -0700, ajaksu wrote:
-> > Does anyone have good ideas for assigning students to snakebite? Is it
-> > too early?
->
-> Perhaps a little too early, python-dev@ won't know anything about
-
I propose a new function for list for pack values of a list and
sliding over them:
then we can do things like this:
for i, j, k in pack(range(10), 3, partialend=False):
print i, j, k
I propose this because i need a lot of times pack and slide function
over list and this one
combine the two in
On Thu, Mar 19, 2009 at 10:32:03AM -0700, ajaksu wrote:
> Does anyone have good ideas for assigning students to snakebite? Is it
> too early?
Perhaps a little too early, python-dev@ won't know anything about
Snakebite yet as I haven't publicly announced it there ;-) Watch
this spa
23 matches
Mail list logo