[issue1474454] Allow PyArg_ParseTupleAndKeywords to unpack tuples

2008-06-15 Thread Martin v. Löwis
Changes by Martin v. Löwis <[EMAIL PROTECTED]>: -- resolution: -> out of date status: open -> closed ___ Python tracker <[EMAIL PROTECTED]> ___

[issue3120] subprocess module truncates handles on AMD64

2008-06-15 Thread Roger Upole
New submission from Roger Upole <[EMAIL PROTECTED]>: HANDLEs are pointer sized values, but there are several places in _subprocess.c where it assumes they are the same size as longs which are still 4 bytes on win64. -- components: Windows messages: 68263 nosy: rupole severity: normal sta

[issue3119] pickle.py is limited by python's call stack

2008-06-15 Thread Aaron Gallagher
New submission from Aaron Gallagher <[EMAIL PROTECTED]>: Currently, pickle.py in the stdlib is limited by the python call stack. For deeply recursive data structures, the default recursion limit of 1000 is not enough. The patch attached modifies pickle.py to instead use a deque object as a cal

[issue2603] Make range __eq__ work

2008-06-15 Thread Guido van Rossum
Guido van Rossum <[EMAIL PROTECTED]> added the comment: Methinks this one is also better rejected. Please reopen if you feel strongly. -- resolution: -> rejected status: open -> closed ___ Python tracker <[EMAIL PROTECTED]>

[issue2735] range: lean and mean

2008-06-15 Thread Guido van Rossum
Guido van Rossum <[EMAIL PROTECTED]> added the comment: Yeah, let's just reject this. There doesn't appear to be much demand. -- resolution: -> rejected status: open -> closed ___ Python tracker <[EMAIL PROTECTED]>

[issue1474454] Allow PyArg_ParseTupleAndKeywords to unpack tuples

2008-06-15 Thread Roger Upole
Roger Upole <[EMAIL PROTECTED]> added the comment: This functionality is subsumed in patch 1691070 (which has since been applied), so this can be closed. ___ Python tracker <[EMAIL PROTECTED]> _

[issue2735] range: lean and mean

2008-06-15 Thread Benjamin Peterson
Benjamin Peterson <[EMAIL PROTECTED]> added the comment: Guido, is it safe to safe this isn't going to happen? ___ Python tracker <[EMAIL PROTECTED]> ___ ___

[issue3118] test_math fails on 64bit

2008-06-15 Thread Benjamin Peterson
New submission from Benjamin Peterson <[EMAIL PROTECTED]>: Re-running failed tests in verbose mode Re-running test 'test_math' in verbose mode testAcos (test.test_math.MathTests) ... ok testAcosh (test.test_math.MathTests) ... ok testAsin (test.test_math.MathTests) ... ok testAsinh (test.test_mat

[issue3056] Simplify the Integral ABC

2008-06-15 Thread Guido van Rossum
Changes by Guido van Rossum <[EMAIL PROTECTED]>: -- assignee: gvanrossum -> rhettinger ___ Python tracker <[EMAIL PROTECTED]> ___ ___ Py

[issue3056] Simplify the Integral ABC

2008-06-15 Thread Guido van Rossum
Guido van Rossum <[EMAIL PROTECTED]> added the comment: Mostly, but I *really* want to see unittests for this. ___ Python tracker <[EMAIL PROTECTED]> ___ ___

[issue1792] o(n*n) marshal.dumps performance for largish objects with patch

2008-06-15 Thread Raymond Hettinger
Raymond Hettinger <[EMAIL PROTECTED]> added the comment: Amended this fix to avoid quadratic behavior altogether. See issue 3116. -- nosy: +rhettinger ___ Python tracker <[EMAIL PROTECTED]>

[issue3116] Fix quadratic behavior for marshal.dumps() when len>32Mb

2008-06-15 Thread Raymond Hettinger
Raymond Hettinger <[EMAIL PROTECTED]> added the comment: Applied in r64303. -- status: open -> closed ___ Python tracker <[EMAIL PROTECTED]> ___ ___

[issue3056] Simplify the Integral ABC

2008-06-15 Thread Raymond Hettinger
Raymond Hettinger <[EMAIL PROTECTED]> added the comment: Not much feedback on comp.lang.python. Does numbers3.diff look like what you had in mind? ___ Python tracker <[EMAIL PROTECTED]> __

[issue3115] os.listdir randomly fails on occasions when it shouldn't

2008-06-15 Thread philipspencer
philipspencer <[EMAIL PROTECTED]> added the comment: I submitted the patch using the File: pathname box in the issue tracker editing window. I am doing this from home using an older version of mozilla; perhaps the tracker software doesn't work well with that version? I will try one more time. I

[issue3098] sys.sizeof test fails with wide unicode

2008-06-15 Thread Georg Brandl
Georg Brandl <[EMAIL PROTECTED]> added the comment: Looks good to me. ___ Python tracker <[EMAIL PROTECTED]> ___ ___ Python-bugs-list mailing lis

[issue3114] bus error on lib2to3

2008-06-15 Thread Benjamin Peterson
Benjamin Peterson <[EMAIL PROTECTED]> added the comment: done in r64302. -- resolution: -> fixed status: open -> closed ___ Python tracker <[EMAIL PROTECTED]> ___

[issue3114] bus error on lib2to3

2008-06-15 Thread Adam Olsen
Adam Olsen <[EMAIL PROTECTED]> added the comment: Looking good. ___ Python tracker <[EMAIL PROTECTED]> ___ ___ Python-bugs-list mailing list Unsu

[issue2876] Write UserDict fixer for 2to3

2008-06-15 Thread Collin Winter
Collin Winter <[EMAIL PROTECTED]> added the comment: It's doable, but there's no existing support similar to what fix_imports provides. I won't have time to work on this for the foreseeable future, but if someone is interested in working on this, I'd add this challenge: implement this in a way t

[issue3117] segfault with (None,) as argument in a def/lambda

2008-06-15 Thread Georg Brandl
Georg Brandl <[EMAIL PROTECTED]> added the comment: Thanks, fixed in r64300. -- nosy: +georg.brandl resolution: -> fixed status: open -> closed ___ Python tracker <[EMAIL PROTECTED]>

[issue3115] os.listdir randomly fails on occasions when it shouldn't

2008-06-15 Thread Amaury Forgeot d'Arc
Amaury Forgeot d'Arc <[EMAIL PROTECTED]> added the comment: You forgot the patch :-) -- nosy: +amaury.forgeotdarc ___ Python tracker <[EMAIL PROTECTED]> ___ ___

[issue3117] segfault with (None,) as argument in a def/lambda

2008-06-15 Thread Enrico Santoemma
New submission from Enrico Santoemma <[EMAIL PROTECTED]>: This wrong expression >>> lambda (None,):None and this statement >>> def f( (None,) ): pass crash the interpreter. Python 2.5.1 (r251:54863, Mar 7 2008, 03:41:45) [GCC 4.1.2 (Ubuntu 4.1.2-0ubuntu4)] on linux2 Type "help", "copyright", "c

[issue3114] bus error on lib2to3

2008-06-15 Thread Antoine Pitrou
Antoine Pitrou <[EMAIL PROTECTED]> added the comment: Here is a patch against the current py3k, along with a stricter test (which fails both with the previous patch, and the original unpatched py3k). I've also checked the svnmerged test_lib2to3 doesn't crash. Added file: http://bugs.python.org/f

[issue3109] test_multiprocessing seems fragile

2008-06-15 Thread Antoine Pitrou
Antoine Pitrou <[EMAIL PROTECTED]> added the comment: Le dimanche 15 juin 2008 à 15:21 +, Jesse Noller a écrit : > > For Beta 1 I am proposing a reduced test suite to remove the more > unreliable tests. This would be nice (especially the tests which make regrtest hang). I also suggest the

[issue3098] sys.sizeof test fails with wide unicode

2008-06-15 Thread Robert Schuppenies
Robert Schuppenies <[EMAIL PROTECTED]> added the comment: Correct is good, so here is a patch which exposes the size of Py_UNICODE via _testcapi. Added file: http://bugs.python.org/file10635/Py_UNICODE_SIZEOF.patch ___ Python tracker <[EMAIL PROTECTED]>

[issue3116] Fix quadratic behavior for marshal.dumps() when len>32Mb

2008-06-15 Thread Martin v. Löwis
Martin v. Löwis <[EMAIL PROTECTED]> added the comment: The patch looks fine to me. Notice that the code you are patching was never released, instead, it's the result of r63059, which was the resolution of issue1792. So please leave a message there also that you changed it again (and I do agree t

[issue3056] Simplify the Integral ABC

2008-06-15 Thread Raymond Hettinger
Changes by Raymond Hettinger <[EMAIL PROTECTED]>: Added file: http://bugs.python.org/file10634/numbers3.diff ___ Python tracker <[EMAIL PROTECTED]> ___

[issue3088] test_multiprocessing hangs on OS X 10.5.3

2008-06-15 Thread Jesse Noller
Jesse Noller <[EMAIL PROTECTED]> added the comment: Here is the loop I ran the tests with: #!/bin/sh for (( i=1;i<=100;i+=1 )); do make test TESTOPTS="-v test_multiprocessing" done ___ Python tracker <[EMAIL PROTECTED]>

[issue3111] multiprocessing ppc Debian/ ia64 Ubuntu compilation error

2008-06-15 Thread Jesse Noller
Jesse Noller <[EMAIL PROTECTED]> added the comment: This is also effecting gentoo x86. After speaking with Richard, he suggested that this could be a side-effect if the buildbot execution is happening in a chroot'ed environment. Barry, do you know if this is the case? -- nosy: +barry

[issue3109] test_multiprocessing seems fragile

2008-06-15 Thread Jesse Noller
Jesse Noller <[EMAIL PROTECTED]> added the comment: See: http://bugs.python.org/msg68237 For Beta 1 I am proposing a reduced test suite to remove the more unreliable tests. ___ Python tracker <[EMAIL PROTECTED]> ___

[issue3088] test_multiprocessing hangs on OS X 10.5.3

2008-06-15 Thread Jesse Noller
Jesse Noller <[EMAIL PROTECTED]> added the comment: After talking with Richard, I think the best way to attack this issue (and the other ones around suite unreliability) is to remove the unreliable test cases for the first beta, and then refactor the suite post beta with an eye towards reliabi

[issue1424152] urllib/urllib2: HTTPS over (Squid) Proxy fails

2008-06-15 Thread Martin Wilck
Martin Wilck <[EMAIL PROTECTED]> added the comment: I am not in my office. I'll be back on June 30, 2008. In urgent cases, please contact: Peter Pols <[EMAIL PROTECTED]> or Gerhard Wichert <[EMAIL PROTECTED]> Best regards Martin Wilck Added file: http://bugs.python.org/file10632/unnamed _

[issue1424152] urllib/urllib2: HTTPS over (Squid) Proxy fails

2008-06-15 Thread Mathias Behrle
Mathias Behrle <[EMAIL PROTECTED]> added the comment: Just supporting, that proxy support over https is widely used and important. I am wondering, why this request is open for more than 2 years. Mathias -- nosy: +matb ___ Python tracker <[EMAIL PROTE

[issue3098] sys.sizeof test fails with wide unicode

2008-06-15 Thread Antoine Pitrou
Antoine Pitrou <[EMAIL PROTECTED]> added the comment: Le dimanche 15 juin 2008 à 13:18 +, Robert Schuppenies a écrit : > If I understand configure correctly, PY_UNICODE_TYPE is only set when > a type matching the size of $unicode_size is found. And this is set to > either 2 or 4. Buf if PY_U

[issue3114] bus error on lib2to3

2008-06-15 Thread Benjamin Peterson
Changes by Benjamin Peterson <[EMAIL PROTECTED]>: -- priority: release blocker -> normal ___ Python tracker <[EMAIL PROTECTED]> ___ ___

[issue3114] bus error on lib2to3

2008-06-15 Thread Antoine Pitrou
Antoine Pitrou <[EMAIL PROTECTED]> added the comment: PS: I don't think this is "release blocker" anymore. ___ Python tracker <[EMAIL PROTECTED]> ___ ___

[issue3114] bus error on lib2to3

2008-06-15 Thread Antoine Pitrou
Antoine Pitrou <[EMAIL PROTECTED]> added the comment: Adam is right, we should use three temporaries so that the tstate is consistent when the former values are DECREf'ed. I'll produce a patch later today, unless someone beats me to it. ___ Python tracker <[EM

[issue3098] sys.sizeof test fails with wide unicode

2008-06-15 Thread Robert Schuppenies
Robert Schuppenies <[EMAIL PROTECTED]> added the comment: If I understand configure correctly, PY_UNICODE_TYPE is only set when a type matching the size of $unicode_size is found. And this is set to either 2 or 4. Thus, sizeof(Py_UNICODE) should always return 2 or 4. If you agree, I would suggest

[issue3116] Fix quadratic behavior for marshal.dumps() when len>32Mb

2008-06-15 Thread Raymond Hettinger
New submission from Raymond Hettinger <[EMAIL PROTECTED]>: Martin, can you give this a second review? See original discussion at: http://groups.google.com/group/comp.lang.python/browse_thread/thread/ac8 f121c5d043198# Patch replaces constant size over-allocation with the amortized linear growt