[issue11621] build error: bootstrap issue with gettext

2011-03-21 Thread Éric Araujo
Éric Araujo mer...@netwok.org added the comment: Thank you for catching and fixing this. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11621 ___

[issue11618] Locks broken wrt timeouts on Windows

2011-03-21 Thread Martin v . Löwis
Martin v. Löwis mar...@v.loewis.de added the comment: I would still favour committing the semaphore-based version first (especially in 3.2), and then discussing performance improvements if desired. For 3.2, I would prefer a solution that makes least changes to the current code. This is

[issue11624] distutils should support a custom list of exported symbols for Windows dlls.

2011-03-21 Thread Éric Araujo
Éric Araujo mer...@netwok.org added the comment: Would you like to work on a patch? -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11624 ___ ___

[issue11627] segfault raising an arbitrary object as an exception

2011-03-21 Thread Andreas Stührk
Andreas Stührk andy-pyt...@hammerhartes.de added the comment: Attached is a patch. I'm not too happy about the error message though, I think it's more confusing than helpful. -- keywords: +patch Added file: http://bugs.python.org/file21328/issue11627.patch

[issue11618] Locks broken wrt timeouts on Windows

2011-03-21 Thread Martin v . Löwis
Martin v. Löwis mar...@v.loewis.de added the comment: I realize that this is a subtle point, but in fact, the atomic functions make no memory barrier guarantees either (I think). No need to guess: http://msdn.microsoft.com/en-us/library/ms683560(v=vs.85).aspx This function generates a full

[issue11595] Miscellaneous bugs in cfg_to_args() utility function

2011-03-21 Thread Éric Araujo
Éric Araujo mer...@netwok.org added the comment: I don’t really follow what you’re saying, sorry. Anyway, it looks like a feature request separate from this bug, let’s keep things distinct :) You can write to the ML, add a todo entry or another bug about your other thing. --

[issue11627] segfault raising an arbitrary object as an exception

2011-03-21 Thread Antoine Pitrou
Antoine Pitrou pit...@free.fr added the comment: Le lundi 21 mars 2011 à 22:57 +, Andreas Stührk a écrit : Andreas Stührk andy-pyt...@hammerhartes.de added the comment: Attached is a patch. I'm not too happy about the error message though, I think it's more confusing than helpful. You

[issue11626] Py_LIMITED_API on windows: unresolved symbol __imp___PyArg_ParseTuple_SizeT

2011-03-21 Thread Martin v . Löwis
Martin v. Löwis mar...@v.loewis.de added the comment: It seems this function was forgotten. I'd add this for 3.2.1, which of course means that your extension wouldn't run on a 3.2.0 installation. Would you consider this acceptable? Would you prefer to see a compiler error indicating that you

[issue11591] python -S should be robust against e.g. from site import addsitedir

2011-03-21 Thread Éric Araujo
Éric Araujo mer...@netwok.org added the comment: Looks great, thank you. I think I’ll also add a docstring to main before committing, now that the function is publicly documented. Did you have to manually click “Create Patch” to make roundup generate it? Did you try first to click on the

[issue11628] cmp_to_key generated class should use __slots__

2011-03-21 Thread Éric Araujo
Changes by Éric Araujo mer...@netwok.org: -- nosy: +eric.araujo versions: -Python 3.1, Python 3.4 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11628 ___

[issue11623] Distutils is reporting OSX 10.6 w/ XCode 4 as universal

2011-03-21 Thread Éric Araujo
Éric Araujo mer...@netwok.org added the comment: Thanks for the report. Can you try to reproduce the bug with a distutils setup script to confirm the bug and get an error log? You may have to apply the patch from #11599 to get a complete error message. (Also, superuser rights are not

[issue11591] python -S should be robust against e.g. from site import addsitedir

2011-03-21 Thread Carl Meyer
Carl Meyer c...@dirtcircle.com added the comment: Did you have to manually click “Create Patch” to make roundup generate it? Yes - the first time too. Did you try first to click on the button of the existing repo before adding a new repo entry? That would probably have worked fine. The

[issue7330] PyUnicode_FromFormat: implement width and precision for %s, %S, %R, %V, %U, %A

2011-03-21 Thread Roundup Robot
Roundup Robot devnull@devnull added the comment: New changeset d3ae3fe3eb97 by Victor Stinner in branch 'default': Issue #7330, #10833: Replace %100s by %.100s and %200s by %.200s http://hg.python.org/cpython/rev/d3ae3fe3eb97 -- nosy: +python-dev ___

[issue3080] Full unicode import system

2011-03-21 Thread Roundup Robot
Roundup Robot devnull@devnull added the comment: New changeset 15f9eca5e956 by Victor Stinner in branch 'default': Issue #3080: On DJGPP, case_bytes() returns -1 to signal an error if the file http://hg.python.org/cpython/rev/15f9eca5e956 -- ___

[issue11628] cmp_to_key generated class should use __slots__

2011-03-21 Thread Raymond Hettinger
Raymond Hettinger raymond.hettin...@gmail.com added the comment: I think this is a good idea. Am not sure whether it should be backported though. -- assignee: - rhettinger ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11628

[issue11628] cmp_to_key generated class should use __slots__

2011-03-21 Thread Éric Araujo
Éric Araujo mer...@netwok.org added the comment: Right, I edited the versions field to match the versions that contain cmp_to_key, but if this behavior change is just for performance, it’s not a candidate for backport. Chris: I’d go with the simpler implementation. -- versions:

[issue11628] cmp_to_key generated class should use __slots__

2011-03-21 Thread Roundup Robot
Roundup Robot devnull@devnull added the comment: New changeset 97799a54728e by Raymond Hettinger in branch '3.2': Issue #11628: cmp_to_key should use __slots__. http://hg.python.org/cpython/rev/97799a54728e New changeset 2e5e5d515c09 by Raymond Hettinger in branch 'default': Issue #11628:

[issue11628] cmp_to_key generated class should use __slots__

2011-03-21 Thread Raymond Hettinger
Changes by Raymond Hettinger raymond.hettin...@gmail.com: -- resolution: - fixed status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11628 ___

[issue11628] cmp_to_key generated class should use __slots__

2011-03-21 Thread Chris Colbert
Chris Colbert sccolb...@gmail.com added the comment: Man, you guys are quick! Cheers! -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11628 ___

[issue11627] segfault raising an arbitrary object as an exception

2011-03-21 Thread Andreas Stührk
Andreas Stührk andy-pyt...@hammerhartes.de added the comment: Antoine Pitrou pit...@free.fr added the comment: You could try something more explicit, such as calling %s() should have returned an instance of BaseException, not %s % (type, Py_TYPE(value)) Thanks, updated the patch. By the

[issue11627] segfault raising an arbitrary object as an exception

2011-03-21 Thread Andreas Stührk
Changes by Andreas Stührk andy-pyt...@hammerhartes.de: Added file: http://bugs.python.org/file21329/issue11627_2.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11627 ___

[issue11393] Integrate faulthandler module into Python 3.3

2011-03-21 Thread STINNER Victor
STINNER Victor victor.stin...@haypocalc.com added the comment: Ok, good idea, I will do that. I think that I will write it in the function comment, something like: This function is signal safe. Done in 6685691dfcbd3644feffcb197491bce3168ff5de (git SHA-1) While checking the usage of signal

[issue10050] urllib.request still has old 2.x urllib primitives

2011-03-21 Thread Jeff McNeil
Jeff McNeil j...@jmcneil.net added the comment: Just wanted to check so this doesn't sit with people waiting on me. Is there anything else I need/should do to this patch? Little unclear on how to handle the deprecation process. -- ___ Python

[issue10050] urllib.request still has old 2.x urllib primitives

2011-03-21 Thread Senthil Kumaran
Senthil Kumaran orsent...@gmail.com added the comment: No, it is not waiting for you, in fact it is waiting for me to commit the portion which you have already contributed with some additional code (DeprecationWarning). But this bug does not end up here as there are other primitives which may

[issue11623] Distutils is reporting OSX 10.6 w/ XCode 4 as universal

2011-03-21 Thread Ned Deily
Ned Deily n...@acm.org added the comment: The release of Xcode 4 for Mac OS X 10.6 has complicated things for Python builds. We need to sort out what the problems are and possible solutions for them. I suggest this issue be reassigned to Ronald and me. In the meantime, the workaround is to

[issue11591] python -S should be robust against e.g. from site import addsitedir

2011-03-21 Thread Brett Cannon
Changes by Brett Cannon br...@python.org: -- assignee: eric.araujo - brett.cannon ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11591 ___ ___

[issue11393] Integrate faulthandler module into Python 3.3

2011-03-21 Thread STINNER Victor
STINNER Victor victor.stin...@haypocalc.com added the comment: I renamed some functions to conform to the PEP 8 (and have more readable function names). I prefer to do it today instead having to keep ugly names for years :-) Functions are now: * enable(file=sys.stderr, all_threads=False) *

[issue11393] Integrate faulthandler module into Python 3.3

2011-03-21 Thread STINNER Victor
STINNER Victor victor.stin...@haypocalc.com added the comment: It would be nice if it were enabled by default for fatal errors (and asserts perhaps?). That would mean that the module should be a builtin module, or that it is always loaded in memory. I am maybe ok to enable it by default for

[issue11393] Integrate faulthandler module into Python 3.3

2011-03-21 Thread Andreas Stührk
Changes by Andreas Stührk andy-pyt...@hammerhartes.de: -- nosy: +Trundle ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11393 ___ ___

[issue11561] coverage of Python regrtest cannot see initial import of libs

2011-03-21 Thread Brett Cannon
Changes by Brett Cannon br...@python.org: -- assignee: - brett.cannon components: +Demos and Tools stage: - patch review versions: +Python 3.3 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11561

<    1   2