[issue4953] cgi module cannot handle POST with multipart/form-data in 3.0

2011-01-03 Thread Glenn Linderman
Glenn Linderman v+pyt...@g.nevcal.com added the comment: (and I should mention that all the hacked to work issues in my copy of http.server have been reported as bugs, on 2010-11-21. The ones of most interest related to this binary bytestream stuff are issue 10479 and issue 10480) --

[issue6293] Have regrtest.py echo back sys.flags

2011-01-03 Thread Antoine Pitrou
Antoine Pitrou pit...@free.fr added the comment: A variant of the patch was committed in r87704 (3.2), r87706 (3.1) and r87707 (2.7). Thank you. -- nosy: +pitrou resolution: - fixed stage: patch review - committed/rejected status: open - closed versions: +Python 3.1, Python 3.2

[issue8013] time.asctime segfaults when given a time in the far future

2011-01-03 Thread SilentGhost
SilentGhost michael.mischurow+...@gmail.com added the comment: All tests pass and all works as documented with the latest patch on Ubuntu (glibc 2.11). -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8013

[issue10809] complex() comments wrongly say it supports NaN and inf

2011-01-03 Thread Mark Dickinson
Changes by Mark Dickinson dicki...@gmail.com: -- nosy: +mark.dickinson ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10809 ___ ___

[issue6643] Throw away more radioactive locks that could be held across a fork in threading.py

2011-01-03 Thread Gregory P. Smith
Gregory P. Smith g...@krypto.org added the comment: patch looks good. committed in r87710 for 3.2. needs back porting to 3.1 and 2.7 and optionally 2.6. -- assignee: rnk - gregory.p.smith resolution: - accepted ___ Python tracker

[issue4953] cgi module cannot handle POST with multipart/form-data in 3.0

2011-01-03 Thread Pierre Quentel
Pierre Quentel pierre.quen...@gmail.com added the comment: Other version of the diff file. Nothing changed but I'm afraid I had left duplicate definitions of some methods in the FieldStorage class I follow the discussion on this thread, but would like to know if the patch has been tested and

[issue10060] python.exe crashes or hangs on help() modules when bad modules found

2011-01-03 Thread Dev Player
Dev Player devpla...@gmail.com added the comment: It was suggested that a corrupt package would be where I'm experiencing the lockup or crash of python.exe when issuing help() and then modules. And that if I or someone could verify that a corrupt package has this effect by creating a corrupt

[issue1187] pipe fd handling issues in subprocess.py on POSIX

2011-01-03 Thread Antoine Pitrou
Antoine Pitrou pit...@free.fr added the comment: Additional test modified and committed in r87712, thank you! -- nosy: +pitrou resolution: - fixed stage: patch review - committed/rejected status: open - closed versions: -Python 2.7, Python 3.1 ___

[issue9854] SocketIO should return None on EWOULDBLOCK

2011-01-03 Thread Antoine Pitrou
Antoine Pitrou pit...@free.fr added the comment: Was committed in r84887. -- resolution: - fixed stage: - committed/rejected status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue9854

[issue9535] Pending signals are inherited by child processes

2011-01-03 Thread Antoine Pitrou
Antoine Pitrou pit...@free.fr added the comment: Shouldn't the clearing of signals be done in PyOS_AfterFork() directly? Gregory, what do you think about the semantics? -- nosy: +pitrou ___ Python tracker rep...@bugs.python.org

[issue9535] Pending signals are inherited by child processes

2011-01-03 Thread Gregory P. Smith
Gregory P. Smith g...@krypto.org added the comment: Doing this makes sense, i'm taking to closer look to see where it should be done. -- assignee: - gregory.p.smith ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue9535

[issue10079] idlelib for Python 3 with Guilherme Polo GSoC enhancements

2011-01-03 Thread Ned Deily
Ned Deily n...@acm.org added the comment: Not dead, just pining for the fjords. The two versions of the patch as submitted need some work before being ready for review. One issue is that the patches were originally applied to earlier snapshots of IDLE, so some subsequent changes have been

[issue10756] Error in atexit._run_exitfuncs [...] Exception expected for value, str found

2011-01-03 Thread Andreas Stührk
Andreas Stührk andy-pyt...@hammerhartes.de added the comment: So I guess someone should feel responsible and commit that patch. For convenience, I updated the patch to inline the raise. -- Added file: http://bugs.python.org/file20246/issue10756_normalize_exceptions_v2.diff

[issue10756] Error in atexit._run_exitfuncs [...] Exception expected for value, str found

2011-01-03 Thread Georg Brandl
Georg Brandl ge...@python.org added the comment: I think Antoine might be interested. -- assignee: - pitrou nosy: +pitrou ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10756 ___

[issue10798] test_concurrent_futures fails on FreeBSD

2011-01-03 Thread STINNER Victor
STINNER Victor victor.stin...@haypocalc.com added the comment: test_multiprocessing is still failing with OSError: [Errno 23] Too many open files in system on x86 FreeBSD 7.2 3.x: http://www.python.org/dev/buildbot/builders/x86%20FreeBSD%207.2%203.x/builds/1396/steps/test/logs/stdio I don't

[issue5846] Deprecate obsolete functions in unittest

2011-01-03 Thread Ezio Melotti
Changes by Ezio Melotti ezio.melo...@gmail.com: -- nosy: +ezio.melotti ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue5846 ___ ___ Python-bugs-list

[issue10079] idlelib for Python 3 with Guilherme Polo GSoC enhancements

2011-01-03 Thread Bruce Sherwood
Bruce Sherwood bruce.sherw...@gmail.com added the comment: Thanks for the reassurance, Ned. I would be happy to help, but frankly I don't know my way around in IDLE very well, and I pretty much tried simply to get Polo's changes into the hopper. Presumably if you want a view of the separate

[issue10512] regrtest ResourceWarning - unclosed sockets and files

2011-01-03 Thread Nadeem Vawda
Nadeem Vawda nadeem.va...@gmail.com added the comment: The fix for test_normalization was committed as r87441. As for test_cgi, I still seem to get the leak (also on Linux; Ubuntu 10.10 64-bit). I'll poke around with it some more tomorrow. In addition to the ResourceWarnings, some of tests

[issue10312] intcatcher() can deadlock

2011-01-03 Thread Antoine Pitrou
Changes by Antoine Pitrou pit...@free.fr: -- nosy: +haypo ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10312 ___ ___ Python-bugs-list mailing

[issue10819] ValueError on repr(closed_socket_file)

2011-01-03 Thread STINNER Victor
New submission from STINNER Victor victor.stin...@haypocalc.com: The following code raise a ValueError('I/O operation on closed file.'): --- import socket socket.socket(socket.SOCK_STREAM, socket.AF_INET) s=socket.socket(socket.SOCK_STREAM, socket.AF_INET) f=s.makefile(rb) f.close()

[issue10819] ValueError on repr(closed_socket_file)

2011-01-03 Thread STINNER Victor
Changes by STINNER Victor victor.stin...@haypocalc.com: -- keywords: +patch Added file: http://bugs.python.org/file20247/issue10819.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10819

[issue3548] subprocess.pipe function

2011-01-03 Thread Miki Tebeka
Changes by Miki Tebeka miki.teb...@gmail.com: -- nosy: -tebeka ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue3548 ___ ___ Python-bugs-list

[issue10333] Remove ancient backwards compatibility GC API

2011-01-03 Thread Antoine Pitrou
Antoine Pitrou pit...@free.fr added the comment: pyexpat.c needed a little fix (!). Committed in r87718, thank you! -- resolution: - fixed stage: commit review - committed/rejected status: open - closed ___ Python tracker rep...@bugs.python.org

[issue10512] regrtest ResourceWarning - unclosed sockets and files

2011-01-03 Thread STINNER Victor
STINNER Victor victor.stin...@haypocalc.com added the comment: DeprecationWarnings: * test_unittest: fixed by r87717 * test_array: fixed by r87719 * test_httplib: fixed by r87720 -- ___ Python tracker rep...@bugs.python.org

[issue4188] test_threading hang when running as verbose

2011-01-03 Thread Gregory P. Smith
Changes by Gregory P. Smith g...@krypto.org: -- assignee: - gregory.p.smith nosy: +gregory.p.smith ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue4188 ___

[issue4188] test_threading hang when running as verbose

2011-01-03 Thread Gregory P. Smith
Changes by Gregory P. Smith g...@krypto.org: -- resolution: - fixed status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue4188 ___

[issue10819] ValueError on repr(closed_socket_file)

2011-01-03 Thread STINNER Victor
STINNER Victor victor.stin...@haypocalc.com added the comment: Antoine suggested me to patch SocketIO.name property instead of the BufferedReader.__repr__() method: socketio_name.patch implements this idea. -- Added file: http://bugs.python.org/file20248/socketio_name.patch

[issue10181] Problems with Py_buffer management in memoryobject.c (and elsewhere?)

2011-01-03 Thread Antoine Pitrou
Changes by Antoine Pitrou pit...@free.fr: -- assignee: - mark.dickinson nosy: +mark.dickinson ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10181 ___

[issue9671] test_executable_without_cwd fails: AssertionError: 1 != 47

2011-01-03 Thread Antoine Pitrou
Changes by Antoine Pitrou pit...@free.fr: -- nosy: +dmalcolm ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue9671 ___ ___ Python-bugs-list mailing

[issue9611] FileIO not 64-bit safe under Windows

2011-01-03 Thread STINNER Victor
STINNER Victor victor.stin...@haypocalc.com added the comment: As asked by Antoine, I commited my patch: r87722. ... But I don't know if it fixes the issue or not, I don't have access to a Windows with more than 4 GB of memory. -- ___ Python

[issue10267] test_ttk_guionly leaks many references

2011-01-03 Thread Antoine Pitrou
Antoine Pitrou pit...@free.fr added the comment: Patch committed in r87721 (3.2), r87723 (2.7) and r87724 (3.1). Thanks! -- resolution: - fixed stage: patch review - committed/rejected status: open - closed ___ Python tracker rep...@bugs.python.org

[issue9015] f.write(s) for s 2GB hangs in win64 (and win32?)

2011-01-03 Thread STINNER Victor
STINNER Victor victor.stin...@haypocalc.com added the comment: r87722 should fix the issue, but I didn't tested the fix... see #9611 for more information. -- nosy: +haypo ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue9015

[issue8458] buildbot: test_cmd_line failure on Tiger: [Errno 9] Bad file descriptor

2011-01-03 Thread Gregory P. Smith
Gregory P. Smith g...@krypto.org added the comment: The code surrounding the p2c file descriptors in subprocess has changed a bit recently since this issue was filed. someone still needs to come up with a way to reproduce it. -- assignee: gregory.p.smith -

[issue8651] s# and friends can silently truncate buffer length

2011-01-03 Thread Antoine Pitrou
Antoine Pitrou pit...@free.fr added the comment: Could you add a proper unit test? -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8651 ___ ___

[issue9671] test_executable_without_cwd fails: AssertionError: 1 != 47

2011-01-03 Thread Dave Malcolm
Dave Malcolm dmalc...@redhat.com added the comment: Note that for that test case to be run, it must be on an installed python: @unittest.skipIf(sysconfig.is_python_build(), need an installed Python. See #7774) Am testing the 2.7 branch now on an x86_64 Fedora 13 box

[issue8458] buildbot: test_cmd_line failure on Tiger: [Errno 9] Bad file descriptor

2011-01-03 Thread Antoine Pitrou
Antoine Pitrou pit...@free.fr added the comment: Well, it occurred today again :) http://www.python.org/dev/buildbot/all/builders/x86%20Tiger%203.x/builds/1884/steps/test/logs/stdio test test_cmd_line failed -- Traceback (most recent call last): File

[issue10000] mark more tests as CPython specific

2011-01-03 Thread Antoine Pitrou
Antoine Pitrou pit...@free.fr added the comment: Patch? -- nosy: +pitrou ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue1 ___ ___

[issue9671] test_executable_without_cwd fails: AssertionError: 1 != 47

2011-01-03 Thread Dave Malcolm
Dave Malcolm dmalc...@redhat.com added the comment: That test works for me on this x86_64 Fedora 13 box (using latest 2.7 code from SVN, built and installed to a test prefix): [da...@surprise bin]$ ./python -m test.regrtest -v test_subprocess == CPython 2.7.1+ (release27-maint:87724, Jan 3

[issue9671] test_executable_without_cwd fails: AssertionError: 1 != 47

2011-01-03 Thread Dave Malcolm
Dave Malcolm dmalc...@redhat.com added the comment: I should note that Fedora Core 4 reached its End of Life at August 2006: http://fedoraproject.org/wiki/End_of_life Do you see this with a more up-to-date version of Fedora? -- ___ Python tracker

[issue10104] test_socket failures on Debian unstable

2011-01-03 Thread Antoine Pitrou
Antoine Pitrou pit...@free.fr added the comment: Fixed some time ago. -- resolution: - out of date status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10104 ___

[issue7537] test_format fails with -j combined with -v

2011-01-03 Thread Antoine Pitrou
Antoine Pitrou pit...@free.fr added the comment: Seems to work, even when forcing LANG=C. -- status: pending - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue7537 ___

[issue6691] Support for nested classes and function for pyclbr

2011-01-03 Thread Antoine Pitrou
Changes by Antoine Pitrou pit...@free.fr: -- nosy: +rhettinger ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue6691 ___ ___ Python-bugs-list mailing

[issue10001] ~Py_buffer.obj field is undocumented, though not hidden

2011-01-03 Thread Antoine Pitrou
Changes by Antoine Pitrou pit...@free.fr: -- nosy: +mark.dickinson, ncoghlan ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10001 ___ ___

[issue9975] Incorrect use of flowinfo and scope_id in IPv6 sockaddr tuple

2011-01-03 Thread Antoine Pitrou
Changes by Antoine Pitrou pit...@free.fr: -- nosy: +exarkun ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue9975 ___ ___ Python-bugs-list mailing

[issue9671] test_executable_without_cwd fails: AssertionError: 1 != 47

2011-01-03 Thread Sridhar Ratnakumar
Sridhar Ratnakumar sridh...@activestate.com added the comment: Dave Malcolm wrote: I should note that Fedora Core 4 reached its End of Life at August 2006: http://fedoraproject.org/wiki/End_of_life Do you see this with a more up-to-date version of Fedora? I don't have access to other

[issue1615376] subprocess doesn\'t handle SIGPIPE

2011-01-03 Thread Antoine Pitrou
Changes by Antoine Pitrou pit...@free.fr: -- assignee: astrand - nosy: +gregory.p.smith ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue1615376 ___

[issue6643] Throw away more radioactive locks that could be held across a fork in threading.py

2011-01-03 Thread Gregory P. Smith
Gregory P. Smith g...@krypto.org added the comment: r87726 for release31-maint r87727 for release27-maint - this required a bit more fiddling as _block and _started and _cond were __ private. -- versions: -Python 3.1, Python 3.2 ___ Python tracker

[issue1452] subprocess's popen.stdout.seek(0) doesn't raise an error

2011-01-03 Thread Antoine Pitrou
Antoine Pitrou pit...@free.fr added the comment: Looks like it's a platform bug, nothing Python can do about. -- nosy: +pitrou resolution: - rejected status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue1452

[issue9660] PEP 383: socket module doesn't handle undecodable protocol or service names

2011-01-03 Thread Antoine Pitrou
Changes by Antoine Pitrou pit...@free.fr: -- nosy: +haypo, loewis ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue9660 ___ ___ Python-bugs-list

[issue1170766] weakref.proxy incorrect behaviour

2011-01-03 Thread Antoine Pitrou
Antoine Pitrou pit...@free.fr added the comment: Works in 2.7 and 3.2. -- nosy: +pitrou resolution: - out of date status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue1170766

[issue6643] Throw away more radioactive locks that could be held across a fork in threading.py

2011-01-03 Thread Gregory P. Smith
Gregory P. Smith g...@krypto.org added the comment: Attached is a patch for Python 2.6 release26_maint for reference incase someone wants it. That branch is closed - security fixes only. -- keywords: +patch status: open - closed versions: -Python 2.7 Added file:

[issue1054041] Python doesn't exit with proper resultcode on SIGINT

2011-01-03 Thread Antoine Pitrou
Changes by Antoine Pitrou pit...@free.fr: -- nosy: +gregory.p.smith -BreamoreBoy stage: unit test needed - needs patch type: behavior - feature request versions: +Python 3.3 -Python 2.7, Python 3.1, Python 3.2 ___ Python tracker

[issue1054041] Python doesn't exit with proper resultcode on SIGINT

2011-01-03 Thread Antoine Pitrou
Changes by Antoine Pitrou pit...@free.fr: -- nosy: +rnk ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue1054041 ___ ___ Python-bugs-list mailing

[issue1075356] exceeding obscure weakproxy bug

2011-01-03 Thread Antoine Pitrou
Antoine Pitrou pit...@free.fr added the comment: Works fine under 3.x. -- nosy: +pitrou stage: unit test needed - needs patch versions: -Python 3.1, Python 3.2 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue1075356

[issue1038591] Python 2.3+ socket._fileobject handles EAGAIN with data loss

2011-01-03 Thread Antoine Pitrou
Antoine Pitrou pit...@free.fr added the comment: Should work fine under 3.x. -- nosy: +pitrou versions: -Python 3.1, Python 3.2 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue1038591 ___

[issue976613] socket timeout problems on Solaris

2011-01-03 Thread Antoine Pitrou
Changes by Antoine Pitrou pit...@free.fr: -- resolution: - duplicate status: open - closed superseder: - On Mac / BSD sockets returned by accept inherit the parent's FD flags ___ Python tracker rep...@bugs.python.org

[issue7995] On Mac / BSD sockets returned by accept inherit the parent's FD flags

2011-01-03 Thread Antoine Pitrou
Antoine Pitrou pit...@free.fr added the comment: Issue 976613 (duplicate) has a very simple patch, will see if it's sufficient. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue7995 ___

[issue4142] smtplib doesn't clear helo/ehlo flags on quit

2011-01-03 Thread Antoine Pitrou
Changes by Antoine Pitrou pit...@free.fr: -- nosy: +r.david.murray ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue4142 ___ ___ Python-bugs-list

[issue9592] Limitations in objects returned by multiprocessing Pool

2011-01-03 Thread Antoine Pitrou
Changes by Antoine Pitrou pit...@free.fr: -- nosy: +asksol versions: +Python 2.7 -Python 2.6 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue9592 ___

[issue8458] buildbot: test_cmd_line failure on Tiger: [Errno 9] Bad file descriptor

2011-01-03 Thread Gregory P. Smith
Gregory P. Smith g...@krypto.org added the comment: that race condition, if thats what this is, is likely not OS X specific. the child process could complete or close its fds before we reach that code on any OS. We either need to guard these io.open(p2c*...) lines against EBADF OSError's or

[issue5231] Change format of a memoryview

2011-01-03 Thread Antoine Pitrou
Changes by Antoine Pitrou pit...@free.fr: -- assignee: - mark.dickinson nosy: +mark.dickinson ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue5231 ___

[issue8052] subprocess close_fds behavior should only close open fds

2011-01-03 Thread Antoine Pitrou
Antoine Pitrou pit...@free.fr added the comment: Is it still a problem now that there's a C path? Furthermore, how do you plan to get a list of open fds? -- nosy: +pitrou ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8052

[issue5945] PyMapping_Check returns 1 for lists

2011-01-03 Thread Antoine Pitrou
Antoine Pitrou pit...@free.fr added the comment: Guido, can we have your take on this? -- nosy: +gvanrossum priority: normal - high ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue5945 ___

[issue5223] infinite recursion in PyErr_WriteUnraisable

2011-01-03 Thread Antoine Pitrou
Antoine Pitrou pit...@free.fr added the comment: Works fine under 2.7-3.2. Not sure this is worth fixing in 2.6. -- status: open - pending ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue5223

[issue2454] sha and md5 fixer

2011-01-03 Thread Antoine Pitrou
Changes by Antoine Pitrou pit...@free.fr: -- assignee: collinwinter - benjamin.peterson ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue2454 ___ ___

[issue6642] returning after forking a child thread doesn't call Py_Finalize

2011-01-03 Thread Antoine Pitrou
Changes by Antoine Pitrou pit...@free.fr: -- nosy: +gregory.p.smith ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue6642 ___ ___ Python-bugs-list

[issue8013] time.asctime segfaults when given a time in the far future

2011-01-03 Thread Alexander Belopolsky
Alexander Belopolsky belopol...@users.sourceforge.net added the comment: Following Guido's response [1] to my inquiry on python-dev, I am attaching a new patch that makes time.asctime and time.ctime produce longer than 24-character strings for large years. [1]

[issue8651] s# and friends can silently truncate buffer length

2011-01-03 Thread STINNER Victor
STINNER Victor victor.stin...@haypocalc.com added the comment: Fixed by r87728. Wait for the buildbots before backporting to other versions. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8651

[issue8650] zlibmodule.c isn't 64-bit clean

2011-01-03 Thread STINNER Victor
STINNER Victor victor.stin...@haypocalc.com added the comment: Fixed by r87729. Wait for the buildbots before backporting to other versions. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8650

[issue5424] Packed IPaddr conversion tests should be extended

2011-01-03 Thread Antoine Pitrou
Changes by Antoine Pitrou pit...@free.fr: -- nosy: +exarkun, loewis, pitrou -BreamoreBoy ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue5424 ___

[issue1410680] Add 'surgical editing' to ConfigParser

2011-01-03 Thread Thijs Triemstra
Changes by Thijs Triemstra li...@collab.nl: -- nosy: +thijs ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue1410680 ___ ___ Python-bugs-list mailing

[issue7433] MemoryView memory_getbuf causes segfaults, double call to tp_releasebuffer

2011-01-03 Thread Antoine Pitrou
Changes by Antoine Pitrou pit...@free.fr: -- assignee: - mark.dickinson nosy: +mark.dickinson ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue7433 ___

[issue4188] test_threading hang when running as verbose

2011-01-03 Thread R. David Murray
R. David Murray rdmur...@bitdance.com added the comment: The hanging test still hangs for me with _VERBOSE set to True on py3k trunk. -- resolution: fixed - status: closed - open ___ Python tracker rep...@bugs.python.org

[issue8052] subprocess close_fds behavior should only close open fds

2011-01-03 Thread Gregory P. Smith
Gregory P. Smith g...@krypto.org added the comment: its still a problem, even the C path has to call close() a million times in that case. thats a huge number of wasted syscalls. fixing this is blocking on a good way to get the list of open fds. I have seen other subprocess code do it using

[issue4188] test_threading hang when running as verbose

2011-01-03 Thread Gregory P. Smith
Gregory P. Smith g...@krypto.org added the comment: sorry, i saw the patches committed and thought that had fixed it. oops. still more to be done. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue4188

[issue1054041] Python doesn't exit with proper resultcode on SIGINT

2011-01-03 Thread Gregory P. Smith
Gregory P. Smith g...@krypto.org added the comment: Here's a patch that implements this behavior. It is too late in the 3.2 beta/rc cycle to get this into 3.2. Consider it for 3.3. I'd like a review. -- keywords: +needs review, patch Added file:

[issue5945] PyMapping_Check returns 1 for lists

2011-01-03 Thread Raymond Hettinger
Raymond Hettinger rhettin...@users.sourceforge.net added the comment: Here's a code search link: http://www.google.com/codesearch?as_q=PyMapping_Check And here's how it currently used internal to the Python codebase: $ ack --cc PyMapping_CheckInclude/abstract.h 1125: PyAPI_FUNC(int)

[issue5945] PyMapping_Check returns 1 for lists

2011-01-03 Thread Guido van Rossum
Guido van Rossum gu...@python.org added the comment: Why did the list implementation get changed in Py3.x? Because we decided to get rid of the sq_slice and sq_ass_slice slots in PySequenceMethods, and that in turn was because we got rid of the slice-related opcodes and the separate

[issue9535] Pending signals are inherited by child processes

2011-01-03 Thread Gregory P. Smith
Gregory P. Smith g...@krypto.org added the comment: Yes I'd do it in PyOS_AfterFork. Simpler patch based on gdb's attached. This could also use a test but as it involves signals and race conditions, making a deterministic test for this is difficult as it. If we added testing hooks to the

[issue2636] Regexp 2.7 (modifications to current re 2.2.2)

2011-01-03 Thread Matthew Barnett
Matthew Barnett pyt...@mrabarnett.plus.com added the comment: I've just done a bug fix. The issue is at: https://code.google.com/p/mrab-regex-hg/ BTW, Jacques, I trust that your regression tests don't test how long a regex takes to fail to match, because a bug could cause such a non-match

[issue9332] Document requirements for os.symlink usage on Windows

2011-01-03 Thread Brian Curtin
Brian Curtin cur...@acm.org added the comment: Closed. I'll be adding this in #10608. -- resolution: - duplicate stage: needs patch - committed/rejected status: open - closed superseder: - Add a section to Windows FAQ explaining os.symlink ___

[issue8879] Implement os.link on Windows

2011-01-03 Thread Brian Curtin
Changes by Brian Curtin cur...@acm.org: -- stage: patch review - committed/rejected status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8879 ___

[issue9344] please add posix.getgrouplist()

2011-01-03 Thread Ross Lagerwall
Ross Lagerwall rosslagerw...@gmail.com added the comment: A slightly updated patch. Targeting for 3.3. -- versions: +Python 3.3 -Python 3.2 Added file: http://bugs.python.org/file20253/9344_v2.patch ___ Python tracker rep...@bugs.python.org

[issue10798] test_concurrent_futures fails on FreeBSD

2011-01-03 Thread Martin v . Löwis
Martin v. Löwis mar...@v.loewis.de added the comment: Interesting. I wonder whether a reboot of the system would help (as it may have old semaphores hanging around). -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10798

[issue10820] 3.2 Makefile changes for versioned scripts break OS X framework installs

2011-01-03 Thread Ned Deily
New submission from Ned Deily n...@acm.org: The changes for Issue10679 (r87525) to installed versioned scripts break OS X framework installs. The install_versionedtools target in Mac/Makefile already did most of this work and is now superfluous. The attached patch fixes the problem.

[issue10820] 3.2 Makefile changes for versioned scripts break OS X framework installs

2011-01-03 Thread Ned Deily
Changes by Ned Deily n...@acm.org: -- keywords: +patch Added file: http://bugs.python.org/file20254/issue10820-py3k.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10820 ___

<    1   2