[issue16804] python3 -S -m site fails

2013-04-09 Thread Meador Inge
Meador Inge added the comment: I will go ahead and commit the patch as is. Thanks for the review y'all. -- ___ Python tracker ___ ___

[issue17615] String comparison performance regression

2013-04-09 Thread Neil Hodgson
Neil Hodgson added the comment: Windows is the only widely used OS that has a 16-bit wchar_t. I can't recall what OS/2 did but Python doesn't support OS/2 any more. -- ___ Python tracker __

[issue17671] io.BufferedRWPair can use uninitialized members

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

[issue17651] Errno checking replaced by concrete classes inherited from OSError

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

[issue17683] socket.getsockname() inconsistent return type with AF_UNIX

2013-04-09 Thread Giampaolo Rodola'
New submission from Giampaolo Rodola': (bytes vs. string) >>> import socket >>> s = socket.socket(socket.AF_UNIX) >>> s.getsockname() b'' >>> s.bind(('/tmp/temp')) >>> s.getsockname() '/tmp/temp' >>> -- messages: 186472 nosy: giampaolo.rodola, pitrou priority: normal severity: normal s

[issue17683] socket.getsockname() inconsistent return type with AF_UNIX

2013-04-09 Thread Giampaolo Rodola'
Giampaolo Rodola' added the comment: Here's a patch. -- keywords: +patch Added file: http://bugs.python.org/file29760/issue17683.patch ___ Python tracker ___

[issue17358] imp.load_module() leads to the improper caching of the 'file' argument

2013-04-09 Thread Brett Cannon
Changes by Brett Cannon : -- assignee: -> brett.cannon ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://

[issue17675] show addresses in socket.__repr__

2013-04-09 Thread Giampaolo Rodola'
Changes by Giampaolo Rodola' : Added file: http://bugs.python.org/file29761/socket-repr2.patch ___ Python tracker ___ ___ Python-bugs-list mai

[issue17684] Skip tests in test_socket like testFDPassSeparate on OS X

2013-04-09 Thread Jeff Ramnani
New submission from Jeff Ramnani: The changeset for subtests in #16997 cause some tests in test_socket to fail on OS X. Specifically, they cause some tests that were marked as expected failures to be run and be marked as failures. I'm experiencing the same test failures as the OS X Mountain Li

[issue17661] documentation of '%r' links to the wrong repr

2013-04-09 Thread Kyle Roberts
Kyle Roberts added the comment: Adding a '.' to the beginning (i.e. `.repr`) creates a link to repr.html#repr.repr. This made more sense after perusing Sphinx's documentation: "If you prefix the name with a dot, this order is reversed. For example, in the documentation of Python’s codecs modul

[issue17684] Skip tests in test_socket like testFDPassSeparate on OS X

2013-04-09 Thread Charles-François Natali
Charles-François Natali added the comment: I'm making Antoine nosy since he's the author of the "faulty" changeset. Richard, IIRC, you said somewhere that FD passing failures on OS X could be made to work by passing a FD at a time, or something like that. What do you think of those faiilures?

[issue17683] socket.getsockname() inconsistent return type with AF_UNIX

2013-04-09 Thread Charles-François Natali
Charles-François Natali added the comment: > Here's a patch. Your patch returns an empty string in case of Linux abstract namespace: this is wrong, because even though the first char in sun_path is NIL, the path is non-null, there can be other non-NIL char following. Example (the output retur

[issue17683] socket.getsockname() inconsistent return type with AF_UNIX

2013-04-09 Thread Antoine Pitrou
Antoine Pitrou added the comment: Well, couldn't we simply return a string in that case? We just have to be more careful than in the patch :-) -- ___ Python tracker ___

[issue17674] All examples for concurrent.futures fail with "BrokenProcessPool"

2013-04-09 Thread gjwebber
gjwebber added the comment: Damn, this was my screw up. It was a combination of two things that threw me off: 1. I was running my (saved) code un-gaurded, but was getting the same error as with the example code. I thought the problem was elsewhere. 2. As it was just example code, I was copy-p

<    1   2