[issue6610] Subprocess descriptor debacle

2010-05-14 Thread Yaniv Aknin
Yaniv Aknin yaniv.ak...@gmail.com added the comment: I think if the test is conducted without closing stderr, it will only check that stdin/stdout are handled correctly (you could assume that if one handled stdin/stdout correctly, they did the same with stderr). However, since I've used a

[issue8719] buildbot: segfault on FreeBSD (signal 11)

2010-05-14 Thread STINNER Victor
New submission from STINNER Victor victor.stin...@haypocalc.com: There are segfaults on x86 FreeBSD 7.2 3.x. It looks like it's a regression introduced by r80876. --- Build 556: ... test_coding test_hash test_strtod test_float test_runpy *** Signal 11 Build 555: ... test_int test_smtplib

[issue8720] undo findsource regression/change

2010-05-14 Thread holger krekel
New submission from holger krekel holger.kre...@gmail.com: Somewhere between python 3.0.1 and 3.1.2 the behaviour of inspect.findsource changed: it does not find the source code anymore for a code object whose filename/source is in the linecache.cache because instead of the previous::

[issue8692] Use divide-and-conquer for faster factorials

2010-05-14 Thread Mark Dickinson
Mark Dickinson dicki...@gmail.com added the comment: Okay, here's what I'm planning to commit (tomorrow), in case anyone wants to give it one last check. I've added some comments half-explaining the algorithm used (just in case the referenced URL goes out of existence). I made a couple of

[issue8720] undo findsource regression/change

2010-05-14 Thread Trundle
Trundle andy-pyt...@hammerhartes.de added the comment: This was changed due to issue #4050. -- nosy: +Trundle ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8720 ___

[issue8715] Create PyUnicode_EncodeFSDefault() function

2010-05-14 Thread STINNER Victor
STINNER Victor victor.stin...@haypocalc.com added the comment: Notes for myself: - Encodes and fallback in .h documentation = Encode, fall back - bootstrap failure on Windows: import did use default error handler, it uses surrogateescape error handler, but PyUnicode_EncodeString() doesn't

[issue8720] undo findsource regression/change

2010-05-14 Thread Antoine Pitrou
Changes by Antoine Pitrou pit...@free.fr: -- nosy: +r.david.murray versions: +Python 3.2 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8720 ___

[issue8720] undo findsource regression/change

2010-05-14 Thread R. David Murray
R. David Murray rdmur...@bitdance.com added the comment: As I remember it, #4050 was in turn caused by a change elsewhere in the codebase to using linecache where it wasn't used before. Regardless, though, the problem is that findsource doesn't produce an error when called on a binary module.

[issue3605] Py_FatalError causes infinite loop

2010-05-14 Thread STINNER Victor
STINNER Victor victor.stin...@haypocalc.com added the comment: I fixed the new test for Windows: r81183 (py3k). The new test failed on Windows because of the different newline characters: Traceback (most recent call last): File ...\test_capi.py, line 49, in test_no_FatalError_infinite_loop

[issue8716] test_tk fails on OS X if run from buildbot slave daemon -- crashes Python

2010-05-14 Thread STINNER Victor
Changes by STINNER Victor victor.stin...@haypocalc.com: -- nosy: +haypo ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8716 ___ ___

[issue8692] Use divide-and-conquer for faster factorials

2010-05-14 Thread Daniel Stutzbach
Daniel Stutzbach dan...@stutzbachenterprises.com added the comment: Looks good. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8692 ___ ___

[issue8692] Use divide-and-conquer for faster factorials

2010-05-14 Thread Alexander Belopolsky
Alexander Belopolsky belopol...@users.sourceforge.net added the comment: Mark, It is always a pleasure to read your algorithm descriptions! Just a few comments: - It would be nice if a pure python implementation would make it somewhere in the code base. Maybe it can be placed in comments in C

[issue8692] Use divide-and-conquer for faster factorials

2010-05-14 Thread Alexander Belopolsky
Alexander Belopolsky belopol...@users.sourceforge.net added the comment: Some more ... - Mark's notes talk about odd-part-of-factorial. It would be clearer if r variable in math_factorial() was called odd_part. - I would also rename nminusnumbits to ntwos or something else that explains what

[issue8721] urlparse.urlsplit regression in 2.7

2010-05-14 Thread Sridhar Ratnakumar
New submission from Sridhar Ratnakumar sridh...@activestate.com: [stor...@nas0 ~]$ python2.6 -c import urlparse; print urlparse.urlsplit('http://www.famfamfam.com](http://www.famfamfam.com/', 'http', True) SplitResult(scheme='http', netloc='www.famfamfam.com](http:',

[issue8721] urlparse.urlsplit regression in 2.7

2010-05-14 Thread R. David Murray
R. David Murray rdmur...@bitdance.com added the comment: Why do you think this is a regression? It looks to me like the error message is accurate. (A ']' is valid in the netloc part only when specifying an IPv6 address). -- nosy: +orsenthil, r.david.murray resolution: - invalid

[issue8721] urlparse.urlsplit regression in 2.7

2010-05-14 Thread Sridhar Ratnakumar
Sridhar Ratnakumar sridh...@activestate.com added the comment: Shouldn't `urlparse` accept non-IPv6 URLs as well - as it always used to - when these URLs can have a single ']'? -- status: pending - open ___ Python tracker rep...@bugs.python.org

[issue8721] urlparse.urlsplit regression in 2.7

2010-05-14 Thread Sridhar Ratnakumar
Sridhar Ratnakumar sridh...@activestate.com added the comment: For eg., the following URLs seems to load just fine in my browser: http://www.google.com/search?q=foob=df]dqscrl=1 And, as is the case with the django-cms PyPI page (see referred issue link in msg), such URLs seemed to be

[issue8721] urlparse.urlsplit regression in 2.7

2010-05-14 Thread R. David Murray
R. David Murray rdmur...@bitdance.com added the comment: Python 2.7b2+ (trunk:81129, May 12 2010, 19:05:17) [GCC 4.4.3] on linux2 Type help, copyright, credits or license for more information. from urlparse import urlsplit urlsplit('http://www.google.com/search?q=foob=df]dqscrl=1', 'http',

[issue8722] Documentation for __getattr__

2010-05-14 Thread Paul Davis
New submission from Paul Davis paul.joseph.da...@gmail.com: The docs for __getattr__ in the object model section could be more specific on the behavior when a @property raises an AttributeError and there is a custom __getattr__ defined. Specifically, it wasn't exactly clear that __getattr__

[issue8722] Documentation for __getattr__

2010-05-14 Thread Paul Davis
Paul Davis paul.joseph.da...@gmail.com added the comment: I should mention, in example.py, it wasn't immediately clear that print f.bing would actually print instead of raising the AttributeError. As in, I had a property raising an unexpected error that happend to be an AttributeError. If its

[issue8713] multiprocessing needs option to eschew fork() under Linux

2010-05-14 Thread Santoso Wijaya
Changes by Santoso Wijaya santa@me.com: -- nosy: +santa4nt ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8713 ___ ___ Python-bugs-list mailing

<    1   2