[issue12045] external shell command executed twice in ctypes.util._get_soname

2011-05-09 Thread Antoine Pitrou
New submission from Antoine Pitrou : It seems `cmd` is executed twice, for no obvious reason, in the following code: http://hg.python.org/cpython/file/2d4ef202d4ed/Lib/ctypes/util.py#l129 -- components: Library (Lib) messages: 135650 nosy: pitrou priority: normal severity: normal stage:

[issue8498] Cannot use backlog = 0 for sockets

2011-05-09 Thread Charles-François Natali
Charles-François Natali added the comment: The patch looks fine to me: you just need to find someone interested in reviewing and committing it (didn't find anyone listed as expert for the socket module). -- ___ Python tracker

[issue12044] subprocess.Popen.__exit__ doesn't wait for process end

2011-05-09 Thread Brian Curtin
Brian Curtin added the comment: Hm, yeah, not sure what I was thinking there. I'm thinking there's not a lot we can do here, but also not a lot that we should do here. We don't want to wait, and we don't want to close, so maybe we should just document that the usage should be limited only to

[issue12039] test_logging: bad file descriptor on FreeBSD bot

2011-05-09 Thread Stefan Krah
Stefan Krah added the comment: We might have two issues here. On FreeBSD the select.error occurs reliably starting with r69723 (when the tests were added): [buildbot@freebsd-amd64 /usr/home/buildbot/cpython]$ ./python -m test -uall test_logging [1/1] test_logging /usr/home/buildbot/cpython/Lib

[issue12039] test_logging: bad file descriptor on FreeBSD bot

2011-05-09 Thread Stefan Krah
Stefan Krah added the comment: Maybe this link to the revision works: 2ab07776510c -- ___ Python tracker ___ ___ Python-bugs-list mai

[issue11877] Change os.fsync() to support physical backing store syncs

2011-05-09 Thread Charles-François Natali
Charles-François Natali added the comment: Steffen, you changed the default to doing a "full sync" in your last patch: while I was favoring that initially, I now agree with Ronald and Antoine, and think that we shouldn't change the default behaviour. The reason being that Apple and NetBSD fol

[issue11948] Tutorial/Modules - small fix to better clarify the modules search path

2011-05-09 Thread Sandro Tosi
Sandro Tosi added the comment: Raymond, thanks for explaining the reasoning behind your replies, it really helps me understand the "spirit" behind python :) That said, and trying to be a bit more pragmatical, what are the next steps to make this patch acceptable? It's kinda of a small patch,

[issue12038] assertEqual doesn't display newline differences quite well

2011-05-09 Thread Michael Foord
Michael Foord added the comment: Yup, I agree that's pretty sucky. Any suggestions for a fix? -- ___ Python tracker ___ ___ Python-bu

[issue12040] Expose a Process.sentinel property (and fix polling loop in Process.join())

2011-05-09 Thread STINNER Victor
Changes by STINNER Victor : -- nosy: +haypo ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.

[issue11349] _pickle should implement the module finalisation protocol

2011-05-09 Thread STINNER Victor
Changes by STINNER Victor : -- nosy: +haypo ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.

[issue12044] subprocess.Popen.__exit__ doesn't wait for process end

2011-05-09 Thread Antoine Pitrou
Antoine Pitrou added the comment: > I'm thinking there's not a lot we can do here, but also not a lot that > we should do here. We don't want to wait, and we don't want to close, > so maybe we should just document that the usage should be limited only > to expecting the open handles to be closed

[issue1195] Problems on Linux with Ctrl-D and Ctrl-C during raw_input

2011-05-09 Thread Roundup Robot
Roundup Robot added the comment: New changeset fa3227c3cf87 by Victor Stinner in branch '3.1': Issue #1195: Fix input() if it is interrupted by CTRL+d and then CTRL+c, http://hg.python.org/cpython/rev/fa3227c3cf87 New changeset b5914bfb4d04 by Victor Stinner in branch '3.2': Issue #1195: Fix in

[issue1195] Problems on Linux with Ctrl-D and Ctrl-C during raw_input

2011-05-09 Thread Roundup Robot
Roundup Robot added the comment: New changeset c9f07c69b138 by Victor Stinner in branch '2.7': (Merge 3.1) Issue #1195: Fix input() if it is interrupted by CTRL+d and then http://hg.python.org/cpython/rev/c9f07c69b138 -- ___ Python tracker

[issue1195] Problems on Linux with Ctrl-D and Ctrl-C during raw_input

2011-05-09 Thread STINNER Victor
STINNER Victor added the comment: It should be fixed. Reopen the issue if it doesn't work, I only tested on Linux. -- resolution: -> fixed status: open -> closed ___ Python tracker

[issue11948] Tutorial/Modules - small fix to better clarify the modules search path

2011-05-09 Thread Terry J. Reedy
Terry J. Reedy added the comment: Sandro, import is a somewhat dark corner of Python that newcomers and even experienced people ofter trip over. So getting the text both correct and clear is worth some thought. I just noticed that the text is only true for Python-coded modules and not for bu

[issue12012] _ssl module doesn't compile with OpenSSL 1.0.0d: SSLv2_method is missing

2011-05-09 Thread Roundup Robot
Roundup Robot added the comment: New changeset b7abf0590e1c by Victor Stinner in branch '3.1': Issue #12012: ssl.PROTOCOL_SSLv2 becomes optional http://hg.python.org/cpython/rev/b7abf0590e1c New changeset 20beec22764f by Victor Stinner in branch '3.2': (Merge 3.1) Issue #12012: ssl.PROTOCOL_SSL

[issue12046] Windows build identification incomplete

2011-05-09 Thread Martin v . Löwis
New submission from Martin v. Löwis : The Unix build identifies itself with a string such as Python 3.2.1b1 (3.2:5b34f84ca773, May 10 2011, 00:58:43) and sys._mercurial then is ('CPython', '3.2', '5b34f84ca773') In the Windows build, the identification is Python 3.2.1b1 (default, May 10 2011,

[issue12046] Windows build identification incomplete

2011-05-09 Thread Nadeem Vawda
Changes by Nadeem Vawda : -- nosy: +nadeem.vawda ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.py

[issue12039] test_logging: bad file descriptor on FreeBSD bot

2011-05-09 Thread Senthil Kumaran
Senthil Kumaran added the comment: I could reproduce the BadStatusLine exception using Vinay's server_test.py. I see that the exception is triggered by logging package when it is trying to http.client's getresponse() before it is ready. The previous commit 25298224cb25 was on http.server (cli

[issue12012] _ssl module doesn't compile with OpenSSL 1.0.0d: SSLv2_method is missing

2011-05-09 Thread Roundup Robot
Roundup Robot added the comment: New changeset 3c87a13980be by Victor Stinner in branch '2.7': (Merge 3.1) Issue #12012: ssl.PROTOCOL_SSLv2 becomes optional http://hg.python.org/cpython/rev/3c87a13980be -- ___ Python tracker

[issue11948] Tutorial/Modules - small fix to better clarify the modules search path

2011-05-09 Thread R. David Murray
R. David Murray added the comment: Raymond: yes, thanks for the clear guidance. Perhaps it could be added to Documenting Python, perhaps in the Style Guide chapter? -- ___ Python tracker

[issue12012] _ssl module doesn't compile with OpenSSL 1.0.0d: SSLv2_method is missing

2011-05-09 Thread STINNER Victor
STINNER Victor added the comment: > Since it's a bugfix, it should probably go into all branches. Fixed in 2.7, 3.1, 3.2, 3.3. -- resolution: -> fixed status: -> closed ___ Python tracker __

[issue12041] test_os test_ctypes test_wait3 causes test_wait3 error

2011-05-09 Thread R. David Murray
R. David Murray added the comment: Confirmed working on my box as well, and on my buildbot (where I first noticed it). -- ___ Python tracker ___ ___

[issue12039] test_logging: bad file descriptor on FreeBSD bot

2011-05-09 Thread Vinay Sajip
Vinay Sajip added the comment: Ok, I'll leave the BadStatusLine problem for Senthil to investigate. I have reproduced the problem with the SMTP server on FreeBSD, but this problem does not occur on Linux and I'm not sure why it would fail on FreeBSD. I've attached a script, smtp_test.py, whic

[issue1195] Problems on Linux with Ctrl-D and Ctrl-C during raw_input

2011-05-09 Thread Ralf Schmitt
Ralf Schmitt added the comment: The patch still does not handle the case where the eof indicator is already set when calling raw_input. My original patch does. Run the following program and hit ctrl-d, then ctrl-c: import sys sys.stdin.read() while True: try: s = raw_input('> ')

[issue1195] Problems on Linux with Ctrl-D and Ctrl-C during raw_input

2011-05-09 Thread STINNER Victor
STINNER Victor added the comment: > The patch still does not handle the case where the eof indicator > is already set when calling raw_input. My original patch does. Correct, your example fails, but only in Python 2.7. I don't like the idea of always clearing errors. I prefer to reset stdin on

[issue8426] multiprocessing.Queue fails to get() very large objects

2011-05-09 Thread Philip Semanchuk
Changes by Philip Semanchuk : -- nosy: +osvenskan ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.py

[issue11948] Tutorial/Modules - small fix to better clarify the modules search path

2011-05-09 Thread Terry J. Reedy
Terry J. Reedy added the comment: I agree with both Raymond and David's suggestion. -- ___ Python tracker ___ ___ Python-bugs-list ma

[issue12026] Support more of MSI api

2011-05-09 Thread Terry J. Reedy
Terry J. Reedy added the comment: Your title mixes a goal -- exposing more of the MSI api -- with a particular means -- exposing an object that is only useful with ctypes. So I have taken the liberty of removing the implementation limitation. While clever, I do not believe that strategy has a

[issue12044] subprocess.Popen.__exit__ doesn't wait for process end

2011-05-09 Thread Brian Curtin
Brian Curtin added the comment: Looks like we already mention that. """ Popen objects are supported as context managers via the with statement, closing any open file descriptors on exit. """ Antoine, do you think this should be more strongly worded? -- status: open -> pending __

[issue1625] bz2.BZ2File doesn't support multiple streams

2011-05-09 Thread Nir Aides
Changes by Nir Aides : -- nosy: +nirai ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/ma

[issue9504] signal.signal/signal.alarm not working as expected

2011-05-09 Thread Nir Aides
Changes by Nir Aides : -- nosy: +nirai ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/ma

[issue11743] Rewrite PipeConnection and Connection in pure Python

2011-05-09 Thread Nir Aides
Changes by Nir Aides : -- nosy: +nirai ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/m

[issue9971] Optimize BufferedReader.readinto

2011-05-09 Thread Nir Aides
Changes by Nir Aides : -- nosy: +nirai ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/ma

[issue6721] Locks in python standard library should be sanitized on fork

2011-05-09 Thread Nir Aides
Changes by Nir Aides : -- nosy: +nirai ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/ma

[issue12015] possible characters in temporary file name is too few

2011-05-09 Thread Steve Ward
Changes by Steve Ward : Added file: http://bugs.python.org/file21950/tempfile.py.diff ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue11948] Tutorial/Modules - small fix to better clarify the modules search path

2011-05-09 Thread Georg Brandl
Georg Brandl added the comment: +1 to the guidance, and to adding it to the doc style chapter. -- nosy: +georg.brandl ___ Python tracker ___

[issue10666] OS X installer variants have confusing readline differences

2011-05-09 Thread Ronald Oussoren
Ronald Oussoren added the comment: FWIW I'm in favor of shipping libedit as well with the 32-bit variant of the installer. The installer for 10.6 can continue to use the system install, that's good enough for to be used. The download link for the copy in OSX 10.6.7 is

[issue12039] test_logging: bad file descriptor on FreeBSD bot

2011-05-09 Thread Roundup Robot
Roundup Robot added the comment: New changeset b365036b17c2 by Vinay Sajip in branch 'default': Issue #12039: Now suppress spurious select.error raised on FreeBSD when the server (an asyncore.dispatcher) is closed. http://hg.python.org/cpython/rev/b365036b17c2 -- nosy: +python-dev ___

[issue12039] test_logging: bad file descriptor on FreeBSD bot

2011-05-09 Thread Vinay Sajip
Vinay Sajip added the comment: I've done a bit more investigating, and the select.error is raised in the server thread when the main thread closes the SMTP server (asyncore.dispatcher). I've modified the server code to swallow the error if the server has been closed. This closes the issue as

[issue12047] Expand the style guide

2011-05-09 Thread Raymond Hettinger
Changes by Raymond Hettinger : -- assignee: georg.brandl components: Documentation files: style.diff keywords: patch nosy: georg.brandl, rhettinger priority: normal severity: normal status: open title: Expand the style guide Added file: http://bugs.python.org/file21951/style.diff __

[issue11948] Tutorial/Modules - small fix to better clarify the modules search path

2011-05-09 Thread Raymond Hettinger
Raymond Hettinger added the comment: See http://bugs.python.org/issue12047 -- ___ Python tracker ___ ___ Python-bugs-list mailing lis

[issue12047] Expand the style guide

2011-05-09 Thread Georg Brandl
New submission from Georg Brandl : Sounds very good to me. One small thing: in the first para of "Audience", there's a "talk down them" which looks funny to me in this word order. One question: I could imagine wording like "this is rarely needed" instead of "this is experts only" -- would you

<    1   2