[issue10632] multiprocessing generates a fatal error

2011-01-03 Thread Brian Quinlan
Changes by Brian Quinlan : -- stage: -> needs patch ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mai

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

2011-01-03 Thread Etienne Robillard
Etienne Robillard added the comment: On 02/01/11 10:50 PM, Glenn Linderman wrote: > Glenn Linderman added the comment: > > Rereading the doc link I pointed at, I guess detach() is part of the new API > since 3.1, so doesn't need to be checked for in 3.1+ code... but instead, may > need to be

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

2011-01-03 Thread Etienne Robillard
Etienne Robillard added the comment: i'm thinking this issue is also well connected to: http://bugs.python.org/issue1573931 so a backport of whatever solution comes to 3.2 would be a great addition to Python 2.6 as the very minimum, in order to satisfy minimal backward compatibility! Thanks,

[issue10348] multiprocessing: use SysV semaphores on FreeBSD

2011-01-03 Thread STINNER Victor
STINNER Victor added the comment: Martin fixed test_concurrent_futures (#10798), this issue can be implemented later. -- type: -> feature request versions: +Python 3.3 -Python 3.2 ___ Python tracker

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

2011-01-03 Thread STINNER Victor
STINNER Victor added the comment: > http://docs.python.org/library/time.html#time-y2kissues > "Values 100–1899 are always illegal." Why are these values illegal? The GNU libc accepts year in [1900-2^31; 2^31-1] (tm_year in [-2147483648; 2147481747]). If time.accept2dyear=False, we should at l

[issue10812] Add some posix functions

2011-01-03 Thread Ross Lagerwall
New submission from Ross Lagerwall : Here's a patch that adds a bunch of posix functions that are missing from the posix module. Includes tests & documentation. Tested on Linux & FreeBSD. Specifically: futimes lutimes futimens fexecve gethostid s

[issue10786] unittest.TextTextRunner does not respect redirected stderr

2011-01-03 Thread Michael Foord
Michael Foord added the comment: Thanks Terry. Done. Doc changes committed revision 87679. -- keywords: -patch nosy: -MarkRoddy, terry.reedy resolution: -> accepted stage: needs patch -> committed/rejected status: open -> closed type: feature request -> behavior

[issue10813] Suppress adding decimal point for places=0 in moneyfmt()

2011-01-03 Thread Carsten Grohmann
New submission from Carsten Grohmann : Hi, the documentation of the decimal module contains a small recipe called moneyfmt() for format decimal values. It's very usefull. I'd like to suggest a small improvement because the output is incorrect with given dp="." (default) and places=0. Example

[issue6800] os.exec* raises "OSError: [Errno 45] Operation not supported" in a multithreaded application

2011-01-03 Thread Ross Lagerwall
Ross Lagerwall added the comment: I tested this on FreeBSD 8.1 - it outputs 'hello world'. I think this should be closed - i think the os.exec* functions should mirror the operating system exec* functions. If the platform has a limitation then so be it. And it seems like the latest versions

[issue5162] multiprocessing cannot spawn child from a Windows service

2011-01-03 Thread Mher Movsisyan
Mher Movsisyan added the comment: Attached test case demonstrates the issue. -- nosy: +mher Added file: http://bugs.python.org/file20240/test_issue5162.py ___ Python tracker ___

[issue5162] multiprocessing cannot spawn child from a Windows service

2011-01-03 Thread Mher Movsisyan
Mher Movsisyan added the comment: Treating python services like frozen executables solves the issue. The patch is attached. -- Added file: http://bugs.python.org/file20241/forking_r87679.patch ___ Python tracker _

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

2011-01-03 Thread R. David Murray
R. David Murray added the comment: Dev: I have no idea how what you just posted relates to the subject of this issue. Could you clarify please? -- ___ Python tracker ___ _

[issue10775] assertRaises as a context manager should accept a 'msg' keyword argument.

2011-01-03 Thread Michael Foord
Michael Foord added the comment: I'm fine with this functionality being added in 3.3. -- ___ Python tracker ___ ___ Python-bugs-list

[issue10814] assertion failed on Windows buildbots

2011-01-03 Thread Antoine Pitrou
New submission from Antoine Pitrou : See e.g. http://www.python.org/dev/buildbot/all/builders/x86%20XP-4%203.1 test_time f:\dd\vctools\crt_bld\self_x86\crt\src\asctime.c(130) : Assertion failed: ( ( tb->tm_mday >= 1 ) && ( ( ( _days[ tb->tm_mon + 1 ] - _days[ tb->tm_mon ] ) >= tb->tm_mday ) ||

[issue6800] os.exec* raises "OSError: [Errno 45] Operation not supported" in a multithreaded application

2011-01-03 Thread Antoine Pitrou
Antoine Pitrou added the comment: Agreed, not a Python bug. -- nosy: +pitrou resolution: -> rejected status: open -> closed ___ Python tracker ___ __

[issue10814] assertion failed on Windows buildbots

2011-01-03 Thread STINNER Victor
STINNER Victor added the comment: Regression introduced by r87648 (issue #8013). -- nosy: +haypo ___ Python tracker ___ ___ Python-bu

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

2011-01-03 Thread STINNER Victor
STINNER Victor added the comment: test_time fails with an (C) assertion error on Windows: see issue #10814. -- ___ Python tracker ___

[issue10812] Add some posix functions

2011-01-03 Thread Antoine Pitrou
Antoine Pitrou added the comment: First couple comments: - you don't have to modify Misc/NEWS yourself; it will probably make patch maintenance easier - it would seem more natural for readv() to take a sequence of writable buffers (such as bytearrays) instead; I don't think the current signatu

[issue10815] Write to /dev/full does not raise IOError

2011-01-03 Thread Michal Vyskocil
New submission from Michal Vyskocil : Write to /dev/full in python3 don't raise IOError. Python2 works as expected, the close call causes an IOError exception with no space left on device message. $ python Python 2.7 (r27:82500, Aug 07 2010, 16:54:59) [GCC] on linux2 Type "help", "copyright", "

[issue10512] regrtest ResourceWarning - unclosed sockets and files

2011-01-03 Thread STINNER Victor
STINNER Victor added the comment: * r87680 fixes test_sockserver * r87681 fixes test_timeout * r87682 fixes test_tk * r87683 fixes test_xmlrpc * r87684 fixes test_socket r87682, r87683, r87684 are patches from Nadeem Vawda. On my Linux box, I am unable to get the warning on test_cgi or te

[issue10815] Write to /dev/full does not raise IOError

2011-01-03 Thread STINNER Victor
STINNER Victor added the comment: This issue is fixed in Python 3.2 beta 2: $ ./python >>> f=open("/dev/full", "wb") >>> f.write(b'x') 1 >>> f.close() IOError: [Errno 28] No space left on device >>> ^D sys:1: ResourceWarning: unclosed file <_io.BufferedWriter name='/dev/full'> sys:1:

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

2011-01-03 Thread R. David Murray
R. David Murray added the comment: Etienne: since this is about solving a 3.x specific problem, it will not get backported. Issue 1573931 looks unrelated to me at a quick glance. FYI, you will find that you *do* have detach in 2.7 if you open a file using the io subsystem (import io). Of c

[issue10806] Subprocess error if fds 0,1,2 are closed

2011-01-03 Thread Antoine Pitrou
Antoine Pitrou added the comment: This new patch makes tests more comprehensive (closes all combinations of the three standard fds). -- Added file: http://bugs.python.org/file20242/sp3.patch ___ Python tracker __

[issue10816] test_multiprocessing: unclosed sockets

2011-01-03 Thread STINNER Victor
New submission from STINNER Victor : test_remote (__main__.WithManagerTestRemoteManager) ... /home/haypo/prog/GIT/py3k/Lib/multiprocessing/managers.py:812: ResourceWarning: unclosed util.debug('... decref failed %s', e) ok test_pool_initializer (__main__.TestInitializers) ... /home/haypo/

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

2011-01-03 Thread Etienne Robillard
Etienne Robillard added the comment: On 03/01/11 09:45 AM, R. David Murray wrote: > R. David Murray added the comment: > > Etienne: since this is about solving a 3.x specific problem, it will not get > backported. Issue 1573931 looks unrelated to me at a quick glance. FYI, you > will find t

[issue6075] Patch for IDLE/OS X to work with Tk-Cocoa

2011-01-03 Thread Kevin Walzer
Kevin Walzer added the comment: Ned--thank you for reviewing, testing, and modifying the patch. I applied your revised version to my new install of Python 2.7.1 and it works fine. -- ___ Python tracker ___

[issue10814] assertion failed on Windows buildbots

2011-01-03 Thread Alexander Belopolsky
Changes by Alexander Belopolsky : -- assignee: -> belopolsky ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: h

[issue10812] Add some posix functions

2011-01-03 Thread Antoine Pitrou
Antoine Pitrou added the comment: For the record, I get the following failures under OpenSolaris: == ERROR: test_lutimes (test.test_posix.PosixTester) -- Trace

[issue10502] Add unittestguirunner to Tools/

2011-01-03 Thread Michael Foord
Michael Foord added the comment: Committed revision 87685. It would be nice to see this included in the Mac OS X and Windows distribution, but I guess that applies to the *whole* Tools/ directory. -- resolution: -> accepted stage: needs patch -> committed/rejected status: open -> cl

[issue10816] test_multiprocessing: unclosed sockets

2011-01-03 Thread STINNER Victor
STINNER Victor added the comment: Ok, I found it: fixed by r87686 -- resolution: -> fixed status: open -> closed ___ Python tracker ___

[issue10817] urllib.request.urlretrieve never raises ContentTooShortError if no reporthook

2011-01-03 Thread Robert Cheng
New submission from Robert Cheng : When reporthook is None, size variable is not computed and defaulted to -1. Thus, without reporthook, ContentTooShortError is not raised even when Content-Length header is supplied and download size is less than expected amount, contrary to the documentation.

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

2011-01-03 Thread Giampaolo Rodola'
Changes by Giampaolo Rodola' : -- nosy: -giampaolo.rodola ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http:

[issue10817] urllib.request.urlretrieve never raises ContentTooShortError if no reporthook

2011-01-03 Thread Senthil Kumaran
Changes by Senthil Kumaran : -- assignee: -> orsenthil nosy: +orsenthil ___ Python tracker ___ ___ Python-bugs-list mailing list Unsu

[issue10812] Add some posix functions

2011-01-03 Thread Antoine Pitrou
Antoine Pitrou added the comment: According to the posix_fallocate() man page under OpenSolaris: EINVALThe len argument is less than or equal to zero, or the offset argument is less than zero, or the underlying file system does not support this

[issue9115] test_site: support for systems without unsetenv

2011-01-03 Thread Zsolt Cserna
Zsolt Cserna added the comment: I confirm that this patch fixes the problem. Thanks. On my systems I haven't seen other bugs related to unsetenv - however, it might be useful to fix subprocess.Popen and subprocess.call to use the os.environ by default (but this would be another request or dis

[issue10814] assertion failed on Windows buildbots

2011-01-03 Thread Alexander Belopolsky
Alexander Belopolsky added the comment: Can someone with a windows box test >>> time.asctime((12345, 1, 1, 0, 0, 0, 0, 0, 0))? If that crashes as well, can you tell which part of ( ( tb->tm_mday >= 1 ) && ( ( ( _days[ tb->tm_mon + 1 ] - _days[ tb->tm_mon ] ) >= tb->tm_mday ) || ( ( IS_LEAP_

[issue10814] assertion failed on Windows buildbots

2011-01-03 Thread Andreas Stührk
Changes by Andreas Stührk : -- nosy: +Trundle ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.pytho

[issue10818] pydoc: refactorize duplicate DocHandler and DocServer classes

2011-01-03 Thread STINNER Victor
New submission from STINNER Victor : The pydoc module has two DocHandler classes and two DocServer classes. I think that they can be easily factorized. DocServer may also use serve_forever()+shutdown() instead of serve_until_quit()+quit flag, to be able to wait the server (with shutdown()). -

[issue10818] pydoc: refactorize duplicate DocHandler and DocServer classes

2011-01-03 Thread STINNER Victor
STINNER Victor added the comment: I opened this issue because I had to fix a bug twice in pydoc: r87687 (fix a ResourceWarning(unclosed socket)). -- ___ Python tracker ___

[issue10814] assertion failed on Windows buildbots

2011-01-03 Thread Brian Curtin
Brian Curtin added the comment: Alexander: >PCbuild\amd64\python_d.exe Python 3.2b2+ (py3k, Jan 3 2011, 10:24:18) [MSC v.1500 64 bit (AMD64)] on win32 Type "help", "copyright", "credits" or "license" for more information. >>> import time [54931 refs] >>> time.asctime((12345, 1, 1, 0, 0, 0, 0,

[issue10512] regrtest ResourceWarning - unclosed sockets and files

2011-01-03 Thread STINNER Victor
STINNER Victor added the comment: * r87686 fixes multiprocessing * r87687 fixes pydoc * r87688 fixes test_subprocess Remaining ResourceWarning warnings: * test_imaplib * test_urllibnet * test_urllib2net -- ___ Python tracker

[issue10814] assertion failed on Windows buildbots

2011-01-03 Thread Alexander Belopolsky
Alexander Belopolsky added the comment: On Mon, Jan 3, 2011 at 11:26 AM, Brian Curtin wrote: .. >>PCbuild\amd64\python_d.exe > Python 3.2b2+ (py3k, Jan  3 2011, 10:24:18) [MSC v.1500 64 bit (AMD64)] on > win32 > Type "help", "copyright", "credits" or "license" for more information. import

[issue10814] assertion failed on Windows buildbots

2011-01-03 Thread Brian Curtin
Brian Curtin added the comment: No crash on 0-day or 300,000. I bumped it up to 3,000,000 and got a UnicodeDecodeError, although I'm not sure of the relevance of that to this issue. >>> time.asctime((12345, 1, 0, 0, 0, 0, 0, 0, 0)) 'Mon Jan 01 00:00:00 <345' [54935 refs] >>> time.asctime((30

[issue10814] assertion failed on Windows buildbots

2011-01-03 Thread Alexander Belopolsky
Alexander Belopolsky added the comment: On Mon, Jan 3, 2011 at 11:43 AM, Brian Curtin wrote: .. > No crash on 0-day or 300,000. I bumped it up to 3,000,000 and got a > UnicodeDecodeError, although > I'm not sure of the relevance of that to this issue. It looks like we need an XP box with a de

[issue10814] assertion failed on Windows buildbots

2011-01-03 Thread Antoine Pitrou
Antoine Pitrou added the comment: This is under 3.1, not 3.2. -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe

[issue10814] assertion failed on Windows buildbots

2011-01-03 Thread Antoine Pitrou
Antoine Pitrou added the comment: I can reproduce under Windows 7, 32-bit debug build, with the following line: time.asctime((12345, 1, 0, 0, 0, 0, 0, 0, 0)) Apparently, the debugger tells me that tb->tm_mday is 0. Actually, most of the tb fields are 0 except tm_year (10445), tm_wday (1) and

[issue10814] assertion failed on Windows buildbots

2011-01-03 Thread Alexander Belopolsky
Alexander Belopolsky added the comment: I committed a a fix for the test in r87690. If this fixes the buildbot, I'll backport to 2.7 and call it a day for < 3.2. For 3.2 a proper year range check will be added to close issue 8013. -- ___ Python t

[issue10814] assertion failed on Windows buildbots

2011-01-03 Thread Amaury Forgeot d'Arc
Amaury Forgeot d'Arc added the comment: Btw, I have a failed assertion in the test suite, with "time.ctime(1e12)": File: loctim64.c Line: 78 Expression: (*ptime <= _MAX__TIME64_T) This is a recent py3k, compiled with VS2005. -- ___ Python tracker <

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

2011-01-03 Thread Glenn Linderman
Glenn Linderman added the comment: So then David, is your suggestion to use sys.stdin = sys.stdin.detach() and you claim that the Windows-specific hacks are not needed in 3.x land? The are, in 2.x land, I have proven empirically, but haven't been able to test CGI forms very well in 3.x beca

[issue1674555] sys.path in tests contains system directories

2011-01-03 Thread Arfrever Frehtes Taifersar Arahesis
Arfrever Frehtes Taifersar Arahesis added the comment: Apparently this patch isn't sufficient for test___all__. Please create empty _xmlplus directory (without __init__.py) in site-packages directory appropriate for given sys.prefix (e.g. /usr/lib/python3.2/site-packages/_xmlplus for sys.prefi

[issue10814] assertion failed on Windows buildbots

2011-01-03 Thread Alexander Belopolsky
Alexander Belopolsky added the comment: On Mon, Jan 3, 2011 at 12:30 PM, Amaury Forgeot d'Arc wrote: .. > Btw, I have a failed assertion in the test suite, with "time.ctime(1e12)" This is from r87657. I commented on that change in msg125117. Hopefully a range check will fix that as well. ---

[issue10818] pydoc: refactorize duplicate DocHandler and DocServer classes

2011-01-03 Thread Éric Araujo
Changes by Éric Araujo : -- assignee: d...@python -> components: -Documentation nosy: +eric.araujo, ron_adam -d...@python stage: -> needs patch type: -> feature request versions: -Python 3.2 ___ Python tracker

[issue10619] Failed module loading in test discovery loses traceback

2011-01-03 Thread Michael Foord
Michael Foord added the comment: This doesn't appear to be true on py3k (traceback.format_exc is used to preserve the original traceback). Need to check on Python 2.7. -- versions: -Python 3.2 ___ Python tracker

[issue9977] TestCase.assertItemsEqual's description of differences

2011-01-03 Thread Michael Foord
Michael Foord added the comment: In Python 3.2 assertItemsEqual has been replaced with assertCountEqual that has a completely different implementation and error format. The implementation and error output will be backported to the assertItemsEqual method of 2.7 (and to unittest2). Error outp

[issue10619] Failed module loading in test discovery loses traceback

2011-01-03 Thread Michael Foord
Michael Foord added the comment: Same is true of Python 2.7 - looks like an invalid error report. -- resolution: -> invalid stage: needs patch -> committed/rejected status: open -> closed ___ Python tracker _

[issue9115] test_site: support for systems without unsetenv

2011-01-03 Thread Éric Araujo
Éric Araujo added the comment: Fixed in r87691 (py3k), r87693 (3.1) and r87694 (2.7), thanks! -- resolution: -> fixed stage: patch review -> committed/rejected status: open -> closed ___ Python tracker ___

[issue10814] assertion failed on Windows buildbots

2011-01-03 Thread Alexander Belopolsky
Alexander Belopolsky added the comment: The 3.1 buildbot is green: http://www.python.org/dev/buildbot/all/builders/x86%20XP-4%203.1/builds/1591 Committed 2.7 backport in r87692. -- ___ Python tracker ___

[issue1674555] sys.path in tests contains system directories

2011-01-03 Thread Antoine Pitrou
Antoine Pitrou added the comment: I agree with Martin here. Also, since test_site is a special case here, perhaps it could arrange to launch its test cases in a subprocess? I don't think complicating regrtest is the most maintainable approach. -- _

[issue10620] `python -m uniittest` should work with file paths as well as test module names

2011-01-03 Thread Michael Foord
Changes by Michael Foord : -- status: open -> closed ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mai

[issue10813] Suppress adding decimal point for places=0 in moneyfmt()

2011-01-03 Thread Raymond Hettinger
Changes by Raymond Hettinger : -- assignee: d...@python -> rhettinger nosy: +rhettinger ___ Python tracker ___ ___ Python-bugs-list ma

[issue6610] Subprocess descriptor debacle

2011-01-03 Thread Georg Brandl
Georg Brandl added the comment: Superseded by #10806. -- nosy: +georg.brandl resolution: -> duplicate status: open -> closed superseder: -> Subprocess error if fds 0,1,2 are closed ___ Python tracker

[issue10806] Subprocess error if fds 0,1,2 are closed

2011-01-03 Thread Antoine Pitrou
Antoine Pitrou added the comment: Committed in r87695 (3.2), r87696 (3.1) and r87697 (2.7). -- resolution: -> fixed stage: -> committed/rejected status: open -> closed versions: +Python 2.7, Python 3.1 ___ Python tracker

[issue9905] subprocess.Popen fails with stdout=PIPE, stderr=PIPE if standard descriptors (0, 1, 2) are closed.

2011-01-03 Thread Antoine Pitrou
Antoine Pitrou added the comment: Fixed in issue10806. -- nosy: +pitrou resolution: -> duplicate status: open -> closed superseder: -> Subprocess error if fds 0,1,2 are closed ___ Python tracker _

[issue7716] IPv6 detection, don't assume existence of /usr/xpg4/bin/grep

2011-01-03 Thread Antoine Pitrou
Antoine Pitrou added the comment: Thank you for the patch! It is committed in r87698 (3.2), r87699 (3.1) and r87700 (2.7). -- nosy: +pitrou resolution: -> fixed stage: -> committed/rejected status: open -> closed versions: -Python 2.6 ___ Python

[issue10814] assertion failed on Windows buildbots

2011-01-03 Thread Alexander Belopolsky
Alexander Belopolsky added the comment: 2.7 buildbot is green as well. Closing. http://www.python.org/dev/buildbot/all/builders/x86%20XP-4%202.7 -- resolution: -> fixed stage: needs patch -> committed/rejected status: open -> closed ___ Python tra

[issue1674555] sys.path in tests contains system directories

2011-01-03 Thread Matthias Klose
Matthias Klose added the comment: The java/openjdk tests allow setting an attribute `samevm' for running a specific test. maybe something like this could be used for some problematic tests which occasionally hang on some buildds? -- ___ Python tra

[issue10805] traceback.print_exception throws AttributeError when exception is None

2011-01-03 Thread Antoine Pitrou
Antoine Pitrou added the comment: Well, under 2.x, print_traceback(None, None, None) would just print "None", but I'm not sure that's a supported use case. -- nosy: +ncoghlan ___ Python tracker __

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

2011-01-03 Thread R. David Murray
R. David Murray added the comment: Yes, that is my suggestion. Keep in mind that I haven't looked at the patch or run any tests yet :) If windows-specific hacks are needed to get the binary stream in 3.x, then IMO that's a bug in IO. As far as I know at the moment there's no such bug :) --

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

2011-01-03 Thread Antoine Pitrou
Antoine Pitrou added the comment: > I like the logic of Antoine's patch much better (basing this on > whether the listening socket had a timeout). I wonder whether it's > correct though if there is a defaulttimeout: shouldn't it then leave > the timeout on the socket instead? Indeed, so I'll tr

[issue10818] pydoc: refactorize duplicate DocHandler and DocServer classes

2011-01-03 Thread Ron Adam
Ron Adam added the comment: No refactoring is needed. The second copies are part of the new server. The old server was depreciated in 3.2 and is supposed to be removed along with the tk panel for 3.3. After that there will only be one of each again. This issue can be used for that purpose.

[issue1674555] sys.path in tests contains system directories

2011-01-03 Thread R. David Murray
R. David Murray added the comment: Yeah, making a generic way to put specific tests into a subprocess run sounds like a better solution. But... The xml error in test___all__ is due to the fact that test___all__ imports site. So even with the above we'd need to special case site in test___al

[issue1674555] sys.path in tests contains system directories

2011-01-03 Thread Antoine Pitrou
Antoine Pitrou added the comment: Le lundi 03 janvier 2011 à 19:37 +, R. David Murray a écrit : > Or another idea: change site so that it does not execute on import, > but instead the machinery that currently imports test site runs a > 'setup' function after it does the import. I'm not sure

[issue7946] Convoy effect with I/O bound threads and New GIL

2011-01-03 Thread Antoine Pitrou
Changes by Antoine Pitrou : -- priority: high -> low versions: -Python 3.2 ___ Python tracker ___ ___ Python-bugs-list mailing list Un

[issue444582] Finding programs in PATH, adding shutil.which

2011-01-03 Thread Antoine Pitrou
Changes by Antoine Pitrou : -- versions: +Python 3.3 -Python 3.2 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe

[issue444582] Finding programs in PATH, adding shutil.which

2011-01-03 Thread Antoine Pitrou
Changes by Antoine Pitrou : -- resolution: accepted -> ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http:/

[issue10566] gdb debugging support additions (Tools/gdb/libpython.py)

2011-01-03 Thread Antoine Pitrou
Changes by Antoine Pitrou : -- stage: -> patch review versions: +Python 3.3 -Python 3.2 ___ Python tracker ___ ___ Python-bugs-list m

[issue10516] Add list.clear() and list.copy()

2011-01-03 Thread Antoine Pitrou
Changes by Antoine Pitrou : -- stage: unit test needed -> needs patch ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubsc

[issue9216] FIPS support for hashlib

2011-01-03 Thread Antoine Pitrou
Changes by Antoine Pitrou : -- versions: +Python 3.3 -Python 3.2 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue444582] Finding programs in PATH, adding shutil.which

2011-01-03 Thread Éric Araujo
Éric Araujo added the comment: Sandro: I merely did some bug triage here. I will let interested parties come to an agreement, and Tarek will make the decisions on this request. -- ___ Python tracker ___

[issue10673] multiprocess.Process join method - timeout indistinguishable from success

2011-01-03 Thread Antoine Pitrou
Changes by Antoine Pitrou : -- versions: +Python 3.3 -Python 2.7, Python 3.1 ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue5673] Add timeout option to subprocess.Popen

2011-01-03 Thread Antoine Pitrou
Changes by Antoine Pitrou : -- versions: +Python 3.3 -Python 3.2 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue10563] Spurious newline in time.ctime

2011-01-03 Thread Georg Brandl
Georg Brandl added the comment: This has now been superseded by the changes made for issue #8013. -- nosy: +georg.brandl resolution: -> out of date status: open -> closed superseder: -> time.asctime segfaults when given a time in the far future ___

[issue1674555] sys.path in tests contains system directories

2011-01-03 Thread R. David Murray
R. David Murray added the comment: Ah, I hadn't looked closely enough at site.py to realize that the init work was being done by a 'main()' call. Given that, just moving the main call out should be relatively unlikely to break any custom site.py. Worse case would presumably be main() gettin

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

2011-01-03 Thread Sridhar Ratnakumar
Sridhar Ratnakumar added the comment: Sandro Tosi wrote: > Sridhar, are you still seeing this error? I still see the error with Python 2.7.1. -- ___ Python tracker ___ _

[issue3548] subprocess.pipe function

2011-01-03 Thread Antoine Pitrou
Antoine Pitrou added the comment: I think this would be more useful if you could pass an optional input string (as in communicate()) and if it returned a (stdout, stderr) tuple. Or perhaps even a (return code, stdout, stderr) tuple; alternately, non-zero return codes could raise an exception.

[issue9263] Try to print repr() when an C-level assert fails (in the garbage collector, beyond?)

2011-01-03 Thread Antoine Pitrou
Changes by Antoine Pitrou : -- versions: +Python 3.3 -Python 3.2 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue10227] Improve performance of MemoryView slicing

2011-01-03 Thread Antoine Pitrou
Changes by Antoine Pitrou : -- assignee: -> mark.dickinson nosy: +mark.dickinson versions: +Python 3.3 -Python 3.2 ___ Python tracker ___ ___

[issue5840] "Thread State and the Global Interpreter Lock" section of the docs doesn't cover TLS APIs

2011-01-03 Thread Antoine Pitrou
Antoine Pitrou added the comment: Actually, I don't think the TLS APIs should be documented. They are quite internal, and used only for the PyGILState APIs. -- nosy: +pitrou ___ Python tracker

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

2011-01-03 Thread Antoine Pitrou
Antoine Pitrou added the comment: Ping. IDLE dead again? -- nosy: +pitrou ___ Python tracker ___ ___ Python-bugs-list mailing list Un

[issue7425] [PATCH] Improve the robustness of "pydoc -k" in the face of broken modules

2011-01-03 Thread Antoine Pitrou
Changes by Antoine Pitrou : -- stage: unit test needed -> patch review versions: +Python 2.7, Python 3.1, Python 3.2 -Python 2.6 ___ Python tracker ___ ___

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

2011-01-03 Thread Alexander Belopolsky
Alexander Belopolsky added the comment: Attached patch, issue8013-pre-check.diff, checks for year range before calling system asctime and replaces a call to ctime with a asctime(localtime(..)). -- stage: needs patch -> commit review Added file: http://bugs.python.org/file20243/issue801

[issue1195571] simple callback system for Py_FatalError

2011-01-03 Thread Antoine Pitrou
Changes by Antoine Pitrou : -- nosy: +haypo versions: +Python 3.3 -Python 3.2 ___ Python tracker ___ ___ Python-bugs-list mailing li

[issue6664] readlines should understand Line Separator and Paragraph Separator characters

2011-01-03 Thread Antoine Pitrou
Antoine Pitrou added the comment: By design, readlines() only recognizes those characters which are official line separators on various OSes (\n, \r, \r\n). This is important for proper parsing of log files, internet protocols, etc. If you want to split on all line separators recognized by the

[issue10238] ctypes not building under OS X 10.6 with LLVM/Clang 2.8

2011-01-03 Thread Brett Cannon
Brett Cannon added the comment: This is still failing. I also just confirmed it is also happening for 3.1 and 2.7. -- versions: +Python 2.7, Python 3.1 ___ Python tracker ___ _

[issue5840] "Thread State and the Global Interpreter Lock" section of the docs doesn't cover TLS APIs

2011-01-03 Thread Antoine Pitrou
Antoine Pitrou added the comment: They are used by pyOpenSSL and pygobject/pyglib, though :/ -- ___ Python tracker ___ ___ Python-bugs

[issue444582] Finding programs in PATH, adding shutil.which

2011-01-03 Thread Jan Killian
Jan Killian added the comment: Hello All, sorry for lack of communication recently, I'd alos like to see it in 3.2 instead of 3.3, but my time is not as scalable as I wish and I can't run on clouds yet .) I like Trent's module and especially its usefullness via the commandline. I'm also hap

[issue10238] ctypes not building under OS X 10.6 with LLVM/Clang 2.8

2011-01-03 Thread Antoine Pitrou
Changes by Antoine Pitrou : -- nosy: +jyasskin ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.pyth

[issue7978] SocketServer doesn't handle syscall interruption

2011-01-03 Thread Gregory P. Smith
Gregory P. Smith added the comment: I've added some code comments on http://bugs.python.org/review/7978/show overall I think the patch is right, I pointed out one thing to clean up and I think the unittest can be greatly simplified by using stubbed out mock select.select() instead of fork+sig

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

2011-01-03 Thread Glenn Linderman
Glenn Linderman added the comment: David, Starting from a working (but hacked to work) version of http.server and using 3.2a1 (I should upgrade to the Beta, but I doubt it makes a difference at the moment), I modified # if hasattr( sys.stdin, 'buffer'): # sys.stdin = sys.s

[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 added the comment: fwiw a unified fork-and-exec API implemented in C is what I added in Modules/_posixsubprocess.c to at least avoid this issue as much as possible when using subprocess. -- ___ Python tracker

  1   2   >