[Python-Dev] test_uuid.py on HP NonStop Python-2.7.5 fails (test case: testIssue8621)

2013-11-27 Thread V S, Nagendra (Nonstop Filesystems Team)
Hi, We are porting python to HP NonStop & to a large extent we have been successful. While running the unit tests we happen to hit upon the problem reported in issue8621(http://bugs.python.org/issue8621), i.e uuid4 sequences on both parent & child were same . On NonStop we lack support for both

Re: [Python-Dev] [Python-checkins] cpython: asyncio: Change write buffer use to avoid O(N**2). Make write()/sendto() accept

2013-11-27 Thread Victor Stinner
2013/11/27 guido.van.rossum : > http://hg.python.org/cpython/rev/80e0040d910c > changeset: 87617:80e0040d910c > user:Guido van Rossum > date:Wed Nov 27 14:12:48 2013 -0800 > summary: > asyncio: Change write buffer use to avoid O(N**2). Make write()/sendto() > accept bytearray/

Re: [Python-Dev] potential argparse problem: bad mix of parse_known_args and prefix matching

2013-11-27 Thread Eli Bendersky
On Tue, Nov 26, 2013 at 9:30 AM, Eli Bendersky wrote: > Hello, > > argparse does prefix matching as long as there are no conflicts. For > example: > > argparser = argparse.ArgumentParser() > argparser.add_argument('--sync-foo', action='store_true') > args = argparser.parse_args() > > If I pass "-