[issue11397] os.path.realpath() may produce incorrect results

2011-04-27 Thread Santoso Wijaya
Santoso Wijaya added the comment: (For 3.2) Patch v2. Added some more corner case tests. -- Added file: http://bugs.python.org/file21820/issue11397_py32_2.patch ___ Python tracker _

[issue11937] Interix support

2011-04-27 Thread Markus Duft
Markus Duft added the comment: since the patch is rather small, and prove to not "fluctuate" too much on releases, i'd be willing to keep maintaining them, although i think that it would not cause too much problems to integrate it into the code base. -- __

[issue11945] Adopt and document consistent semantics for handling NaN values in containers

2011-04-27 Thread Alexander Belopolsky
Alexander Belopolsky added the comment: > I think it is presently a bug that a list containing > a NaN value compares equal to itself. Moreover, it also compares equal to another list containing the same NaN: >>> [nan] is [nan] False >>> [nan] == [nan] True Here is another case of is implies

[issue11937] Interix support

2011-04-27 Thread Martin v . Löwis
Martin v. Löwis added the comment: Guido established a policy a few years ago that we should rather not incorporate support for every minority platform for which people contribute patches. While I'd personally agree that an Interix port would certainly be "fun", pragmatically, I'm -1 on havin

[issue11937] Interix support

2011-04-27 Thread Markus Duft
Markus Duft added the comment: if the buildbot does not need to be reached from the outside, i could provide one, yes (i'm behind a company firewall/proxy infrastructure) as for the patch: comments and improvement suggestions welcome :) as for interix (actually SUA - Subsystem for UNIX Applic

[issue11811] ssl.get_server_certificate() does not work for IPv6 addresses

2011-04-27 Thread Charles-Francois Natali
Changes by Charles-Francois Natali : Added file: http://bugs.python.org/file21819/is_ipv6_enabled.diff ___ Python tracker ___ ___ Python-bugs-

[issue11811] ssl.get_server_certificate() does not work for IPv6 addresses

2011-04-27 Thread Charles-Francois Natali
Charles-Francois Natali added the comment: > As for ssl_ipv6.diff, it fails on certificate verification: Of course. The new version should fix this (tested on google.com). > is_ipv6_enabled.diff is fine. Since IPv6 capability is unlikely to change in the middle of a test, I replaced the func

[issue11811] ssl.get_server_certificate() does not work for IPv6 addresses

2011-04-27 Thread Charles-Francois Natali
Changes by Charles-Francois Natali : Removed file: http://bugs.python.org/file21812/is_ipv6_enabled.diff ___ Python tracker ___ ___ Python-bug

[issue11811] ssl.get_server_certificate() does not work for IPv6 addresses

2011-04-27 Thread Charles-Francois Natali
Changes by Charles-Francois Natali : Removed file: http://bugs.python.org/file21811/ssl_ipv6.diff ___ Python tracker ___ ___ Python-bugs-list

[issue9724] help('nonlocal') missing

2011-04-27 Thread Ezio Melotti
Ezio Melotti added the comment: I backported it to 3.1 as part of 99d5542399a1. -- nosy: +ezio.melotti stage: -> committed/rejected ___ Python tracker ___ __

[issue11945] Adopt and document consistent semantics for handling NaN values in containers

2011-04-27 Thread Glenn Linderman
Glenn Linderman added the comment: Bertrand Meyer's exposition is flowery, and he is a learned man, but the basic argument he makes is: Reflexivity of equality is something that we expect for any data type, and it seems hard to justify that a value is not equal to itself. As to assignment,

[issue11926] help("keywords") returns incomplete list of keywords

2011-04-27 Thread Ezio Melotti
Ezio Melotti added the comment: Fixed True/False/None in 3.1/3.2/3.3, nonlocal in 3.1 (it was already ok in 3.2/3.3), and backported tests on 2.7. Thanks for the pointer to #9724. -- resolution: -> fixed stage: patch review -> committed/rejected status: open -> closed __

[issue11941] Support st_atim, st_mtim and st_ctim attributes in os.stat_result

2011-04-27 Thread Ross Lagerwall
Ross Lagerwall added the comment: I think this is a duplicate of #11457. -- nosy: +rosslagerwall resolution: -> duplicate status: open -> closed ___ Python tracker ___

[issue11926] help("keywords") returns incomplete list of keywords

2011-04-27 Thread Roundup Robot
Roundup Robot added the comment: New changeset 99d5542399a1 by Ezio Melotti in branch '3.1': #11926: add missing keywords to help("keywords"). http://hg.python.org/cpython/rev/99d5542399a1 New changeset 7b4c853aa07d by Ezio Melotti in branch '3.2': #11926: merge with 3.1. http://hg.python.org/c

[issue11457] Expose nanosecond precision from system calls

2011-04-27 Thread Ross Lagerwall
Ross Lagerwall added the comment: Closed #11941 as a duplicate of this. -- nosy: +rosslagerwall ___ Python tracker ___ ___ Python-bug

[issue11926] help("keywords") returns incomplete list of keywords

2011-04-27 Thread Éric Araujo
Éric Araujo added the comment: I asked about nonlocal in #9724. Patch looks good (I has to repress a gut reaction “eval is evil” :) -- ___ Python tracker ___ __

[issue11945] Adopt and document consistent semantics for handling NaN values in containers

2011-04-27 Thread Nick Coghlan
Nick Coghlan added the comment: Actually, based on the NumPy precedent [1], array.array should be fine as is. Since it uses raw C floats and doubles internally, rather than Python objects, there is no clear concept of "object identity" to use to enforce reflexivity. [1] http://mail.python.org

[issue11945] Adopt and document consistent semantics for handling NaN values in containers

2011-04-27 Thread Nick Coghlan
New submission from Nick Coghlan : The question of the way Python handles NaN came up again on python-dev recently. The current semantics have been assessed as a reasonable compromise, but a poorly explained and inconsistently implemented one. Based on a suggestion from Terry Reedy [1] I propo

[issue11944] Function call with * and generator hide exception raised by generator.

2011-04-27 Thread Éric Araujo
Changes by Éric Araujo : -- nosy: +eric.araujo ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.pyth

[issue9723] Add shlex.quote

2011-04-27 Thread Éric Araujo
Éric Araujo added the comment: Someone on Stack Overflow suggested subprocess.list2cmdline. It’s one of those functions undocumented and absent from __all__ that somehow get found and used by some people. So when we make the patch, let’s include links to the new function doc from subprocess

[issue1669349] make install fails if no previous Python installation

2011-04-27 Thread Eric Rannaud
Eric Rannaud added the comment: I get the same error when building Python-2.5.6c1 on Fedora 14 (with python2.7 installed). ./configure --prefix=$PREFIX && make install Just to clarify the workaround used by lkraav on Gentoo, I attached a patch that manually enables unicodedata in Modules/Set

[issue11944] Function call with * and generator hide exception raised by generator.

2011-04-27 Thread Nick Coghlan
Nick Coghlan added the comment: It's not just hiding the real error, it's also saying something that isn't true. If you remove the deliberate error from the generator definition, it is clear that generators are perfectly acceptable as *arg inputs: >>> def g(): yield 1, 2 ... >>> list(*g()) [

[issue11926] help("keywords") returns incomplete list of keywords

2011-04-27 Thread Ezio Melotti
Ezio Melotti added the comment: Attached patch adds True/False/None to the list of keywords and a special-cased path to have help('True'/'False'/'None') return the same as help(True/False/None). I also added tests and found out that nonlocal was missing too, so I added it to the list (the ch

[issue11933] newer() function in dep_util.py mixes up new vs. old files due stat.st_mtime vs stat[ST_MTIME]

2011-04-27 Thread Éric Araujo
Éric Araujo added the comment: > I was trying to suggest that the move to stat.st_mtime in dep_util.py > in the hg commit I mentioned be reverted back to use stat[ST_MTIME], > thereby matching the other python releases and the old behavior (and > matching file_util.py). It seems to me that would

[issue11762] Ast doc: warning and version number

2011-04-27 Thread Éric Araujo
Changes by Éric Araujo : -- versions: +Python 3.1 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.p

[issue11762] Ast doc: warning and version number

2011-04-27 Thread Éric Araujo
Éric Araujo added the comment: Please improve this rough phrasing: “Check the value of *ast.__version__* to write version-specific code blocks if you need to work across versions.” -- nosy: +eric.araujo ___ Python tracker

[issue11944] Function call with * and generator hide exception raised by generator.

2011-04-27 Thread Jeong-Min Lee
Changes by Jeong-Min Lee : -- versions: +Python 3.2 -Python 3.3 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue11944] Function call with * and generator hide exception raised by generator.

2011-04-27 Thread Jeong-Min Lee
New submission from Jeong-Min Lee : Expected "TypeError: cannot concatenate 'str' and 'int' objects" exception raised, but got following result. >>> def g(): ... '1' + 0 ... yield 1, 2 ... yield 3, 4 ... >>> zip(*g()) Traceback (most recent call last): File "", line 1, in TypeEr

[issue11726] linecache becomes specific to Python scripts in Python 3

2011-04-27 Thread Éric Araujo
Changes by Éric Araujo : -- nosy: +eric.araujo ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.pyth

[issue11883] Call connect() before sending an email with smtplib

2011-04-27 Thread Éric Araujo
Éric Araujo added the comment: I’d remove the “Connect to the SMTP server” comment before “s.connect()”. It’s redundant, contrary to the other comment (which no doubt prompted you to add a comment too) “Send the message via local SMTP server” which helpfully introduces the next lines of code

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

2011-04-27 Thread Éric Araujo
Changes by Éric Araujo : -- nosy: +haypo ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org

[issue10419] distutils command build_scripts fails with UnicodeDecodeError

2011-04-27 Thread Éric Araujo
Éric Araujo added the comment: I’m not sure how I feel about using surrogateescape. The distutils source is very similar across 2.7, 3.1, 3.2 and default, especially after the Great Revert and freeze last year to restore buggy-but-known behavior while the distutils2 project was created and a

[issue11940] Howto/Advocacy - update the link to John Ousterhout paper

2011-04-27 Thread Raymond Hettinger
Changes by Raymond Hettinger : -- resolution: -> fixed status: open -> closed ___ Python tracker ___ ___ Python-bugs-list mailing lis

[issue11940] Howto/Advocacy - update the link to John Ousterhout paper

2011-04-27 Thread Roundup Robot
Roundup Robot added the comment: New changeset eb7c4526ccbf by Raymond Hettinger in branch '2.7': Issue #11940: Update external link. http://hg.python.org/cpython/rev/eb7c4526ccbf -- ___ Python tracker ___

[issue11940] Howto/Advocacy - update the link to John Ousterhout paper

2011-04-27 Thread Roundup Robot
Roundup Robot added the comment: New changeset 4c5babbf7a73 by Raymond Hettinger in branch '3.1': Issue #11940: Update external link. http://hg.python.org/cpython/rev/4c5babbf7a73 New changeset 08647ab0ead7 by Raymond Hettinger in branch '3.2': Issue #11940: Update external link. http://hg.pyth

[issue11943] Add TLS-SRP (RFC 5054) support to ssl, _ssl, http, and urllib

2011-04-27 Thread Antoine Pitrou
Changes by Antoine Pitrou : -- nosy: +debatem1, pitrou stage: -> patch review type: -> feature request ___ Python tracker ___ ___ Py

[issue11943] Add TLS-SRP (RFC 5054) support to ssl, _ssl, http, and urllib

2011-04-27 Thread Quinn Slack
# [1] http://tools.ietf.org/html/rfc5054 [2] http://trustedhttp.org/ [3] http://trustedhttp.org/wiki/TLS-SRP_in_Python -- components: Library (Lib) files: python+tls-srp-20110427.patch hgrepos: 23 keywords: patch messages: 134627 nosy: sqs priority: normal severity: n

[issue11938] duplicated test name in getattr_static's test case

2011-04-27 Thread Ezio Melotti
Ezio Melotti added the comment: Fixed, thanks for the patch! -- assignee: -> ezio.melotti nosy: +ezio.melotti resolution: -> fixed stage: -> committed/rejected status: open -> closed ___ Python tracker

[issue11938] duplicated test name in getattr_static's test case

2011-04-27 Thread Roundup Robot
Roundup Robot added the comment: New changeset ef35dae58077 by Ezio Melotti in branch '3.2': #11938: Fix duplicated test name in test_inspect. Patch by Andreas Stührk. http://hg.python.org/cpython/rev/ef35dae58077 New changeset bdd6d8631994 by Ezio Melotti in branch 'default': #11938: merge wit

[issue11942] Fix signature of Py_AddPendingCall

2011-04-27 Thread Ezio Melotti
Ezio Melotti added the comment: Fixed, thanks for the patch! -- assignee: docs@python -> ezio.melotti resolution: -> fixed stage: patch review -> committed/rejected status: open -> closed ___ Python tracker _

[issue11942] Fix signature of Py_AddPendingCall

2011-04-27 Thread Roundup Robot
Roundup Robot added the comment: New changeset 6739b9ab7ced by Ezio Melotti in branch '2.7': #11942: Fix return type of Py_AddPendingCall. Patch by Sandro Tosi. http://hg.python.org/cpython/rev/6739b9ab7ced New changeset fd1f47a57ba2 by Ezio Melotti in branch '3.1': #11942: Fix return type of P

[issue11811] ssl.get_server_certificate() does not work for IPv6 addresses

2011-04-27 Thread Antoine Pitrou
Antoine Pitrou added the comment: Hello, > This patch (is_ipv6_enabled.diff) must be applied before > ssl_ipv6.diff. is_ipv6_enabled.diff is fine. As for ssl_ipv6.diff, it fails on certificate verification: == ERROR: test_get

[issue11926] help("keywords") returns incomplete list of keywords

2011-04-27 Thread Ezio Melotti
Ezio Melotti added the comment: +1 -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/m

[issue11942] Fix signature of Py_AddPendingCall

2011-04-27 Thread Sandro Tosi
Changes by Sandro Tosi : Added file: http://bugs.python.org/file21814/py_addpendingcall-py32.patch ___ Python tracker ___ ___ Python-bugs-list

[issue11942] Fix signature of Py_AddPendingCall

2011-04-27 Thread Sandro Tosi
New submission from Sandro Tosi : Following up with http://mail.python.org/pipermail/docs/2011-April/004021.html here's a couple of patch (the first for 2.7/3.1, the other for 3.2/default) to fix the signature of Py_AddPendingCall (in particular the return type). Adding in CC Ezio since he fix

[issue10148] st_mtime differs after shutil.copy2

2011-04-27 Thread Arfrever Frehtes Taifersar Arahesis
Arfrever Frehtes Taifersar Arahesis added the comment: Python >=3.3 contains os.futimens() and os.utimensat() functions. I have filed issue #11941, which suggests to add support for nanosecond resolution in result of os.stat(). -- ___ Python tracke

[issue11811] ssl.get_server_certificate() does not work for IPv6 addresses

2011-04-27 Thread Charles-Francois Natali
Changes by Charles-Francois Natali : Added file: http://bugs.python.org/file21812/is_ipv6_enabled.diff ___ Python tracker ___ ___ Python-bugs-

[issue11811] ssl.get_server_certificate() does not work for IPv6 addresses

2011-04-27 Thread Charles-Francois Natali
Charles-Francois Natali added the comment: A patch is attached, along with corresponding test. Notes: - since I don't have an IPv6 internet connectivity, I could only test it locally - I chose 'ipv6.google.com' as SSL server for the test. If it's a problem, I can change it for svn.python.org (i

[issue11914] pydoc modules/help('modules') crash in dirs with unreadable subdirs

2011-04-27 Thread Ben Okopnik
Ben Okopnik added the comment: Whoops... with all of that, I just realized that this bug should be filed against pkgutil, not pydoc (pydoc, of course, calls pkgutil to do the path resolution, which is where this crash occurs.) My bad. >>> import pkgutil >>> inst = pkgutil.ImpImporter(path='/t

[issue11941] Support st_atim, st_mtim and st_ctim attributes in os.stat_result

2011-04-27 Thread Arfrever Frehtes Taifersar Arahesis
New submission from Arfrever Frehtes Taifersar Arahesis : I would like to suggest to add st_atim, st_mtim and st_ctim attributes in os.stat_result objects returned by os.stat(). These attributes would be 2-tuples containing number of seconds and number of nanoseconds. They would expose releva

[issue11940] Howto/Advocacy - update the link to John Ousterhout paper

2011-04-27 Thread Raymond Hettinger
Raymond Hettinger added the comment: This looks good. Thanks for the patch. -- assignee: docs@python -> rhettinger nosy: +rhettinger ___ Python tracker ___

[issue8808] imaplib should support SSL contexts

2011-04-27 Thread Sijin Joseph
Sijin Joseph added the comment: I am attaching a patch for the default branch that adds a ssl_context parameter to IMAP4_SSL. Also added a couple of tests to test_imaplib to test the existing ctor with certfile and file and also the new one that accepts an SSLContext. Currently if the ssl_con

[issue11922] Add General Index to Windows .chm help file Contents

2011-04-27 Thread Terry J. Reedy
Terry J. Reedy added the comment: I had not really noticed that the Index *was* the General Index. In trying it out, I discovered that double-clicking on entries with multiple links in the General Index, such as 'name,binding' with 7 links, brings up a sub-box with all seven. So I will close

[issue11940] Howto/Advocacy - update the link to John Ousterhout paper

2011-04-27 Thread Sandro Tosi
New submission from Sandro Tosi : Following up http://mail.python.org/pipermail/docs/2011-April/004031.html here's a patch to update the link to John Ousterhout paper. It can be applied on all active branches. -- assignee: docs@python components: Documentation files: howto_advocacy_ous

[issue11936] plistlib.writePlistToBytes does not exist on 2.6 (osx) and documentation does not include information about version

2011-04-27 Thread Ned Deily
Ned Deily added the comment: You are looking at the documentation for Python 3, not Python 2. For Python 2.6, you should refer to its documentation: http://docs.python.org/release/2.6.6/library/plistlib.html For Python 3, many references to strings were changed to bytes as part of the chang

[issue11933] newer() function in dep_util.py mixes up new vs. old files due stat.st_mtime vs stat[ST_MTIME]

2011-04-27 Thread John S. Gruber
John S. Gruber added the comment: As I thought about it, I suppose I should demonstrate the problem with stat.st_mtime. Here's an example and its output on an ext4 file system: gruber@gruber-Satellite-L355D:~$ ./mtime.py (1303933305.5525582, 1303933305.5525582) (1303933305.552558, 1303933305.5

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

2011-04-27 Thread Terry J. Reedy
Terry J. Reedy added the comment: (Note: the word is 'separate', 2 e's and 2 a's, not 'seperate') (Note: We already know that using unbound unquoted names does not work. Please do not waste our time telling us the obvious.) (Note: I am removing IDLE because this does not seem to be an IDLE issu

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

2011-04-27 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- Removed message: http://bugs.python.org/msg134607 ___ Python tracker ___ ___ Python-bugs-list mailing l

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

2011-04-27 Thread Dev Player
Dev Player added the comment: Just delete the previous message... please. -- ___ Python tracker ___ ___ Python-bugs-list mailing list

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

2011-04-27 Thread Dev Player
Dev Player added the comment: This is an acedmic note. This is not really the place and perhaps better moved to a PEP or a forum. In my search to discover more about Python ( and its interactive interpreter and its help() function? statement? on my own) I noticed it was kind of a wart in Py

[issue10914] Python sub-interpreter test

2011-04-27 Thread Antoine Pitrou
Antoine Pitrou added the comment: Victor, the fix needs to go into 3.2 as well. -- assignee: -> haypo status: closed -> open ___ Python tracker ___

[issue10517] test_concurrent_futures crashes with "--with-pydebug" on RHEL5 with "Fatal Python error: Invalid thread state for this thread"

2011-04-27 Thread Antoine Pitrou
Antoine Pitrou added the comment: It should be fixed now! Thank you. -- resolution: -> fixed stage: commit review -> committed/rejected status: open -> closed versions: -Python 3.1 ___ Python tracker ___

[issue10517] test_concurrent_futures crashes with "--with-pydebug" on RHEL5 with "Fatal Python error: Invalid thread state for this thread"

2011-04-27 Thread Roundup Robot
Roundup Robot added the comment: New changeset 7b7ad9a88451 by Antoine Pitrou in branch '3.2': Issue #10517: After fork(), reinitialize the TLS used by the PyGILState_* http://hg.python.org/cpython/rev/7b7ad9a88451 New changeset c8f283cd3e6e by Antoine Pitrou in branch 'default': Issue #10517:

[issue11933] newer() function in dep_util.py mixes up new vs. old files due stat.st_mtime vs stat[ST_MTIME]

2011-04-27 Thread John S. Gruber
John S. Gruber added the comment: I can understand what you are saying about side effects. I was trying to suggest that the move to stat.st_mtime in dep_util.py in the hg commit I mentioned be reverted back to use stat[ST_MTIME], thereby matching the other python releases and the old behavior

[issue11937] Interix support

2011-04-27 Thread Antoine Pitrou
Changes by Antoine Pitrou : -- nosy: +loewis ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python

[issue11939] Implement stat.st_dev and os.path.samefile on windows

2011-04-27 Thread Brian Curtin
Brian Curtin added the comment: I created/assigned #10646 to myself for other samefile issues - I can cover this as well unless someone beats me to it. -- assignee: -> brian.curtin nosy: +brian.curtin stage: -> needs patch versions: +Python 3.3 __

[issue11937] Interix support

2011-04-27 Thread Jesús Cea Avión
Jesús Cea Avión added the comment: Markus, could you possibly provide a buildbot running under Interix?. A virtual machine could be OK, if available 24x7, with reasonable resources (CPU, memory). -- ___ Python tracker

[issue11914] pydoc modules/help('modules') crash in dirs with unreadable subdirs

2011-04-27 Thread Ben Okopnik
Ben Okopnik added the comment: Trivial fix: please see attached. As to test_pydoc.py, I don't know the system well enough to fiddle with it, but something like this should work (untested): def test_unreadable_dir(self): ''' pydoc should handle unreadable subdirs gracefully '''

[issue10517] test_concurrent_futures crashes with "--with-pydebug" on RHEL5 with "Fatal Python error: Invalid thread state for this thread"

2011-04-27 Thread Roundup Robot
Roundup Robot added the comment: New changeset f6feed6ec3f9 by Antoine Pitrou in branch '2.7': Issue #10517: After fork(), reinitialize the TLS used by the PyGILState_* http://hg.python.org/cpython/rev/f6feed6ec3f9 -- nosy: +python-dev ___ Python tra

[issue11921] distutils2 should be able to compile an Extension based on the Python implementation version

2011-04-27 Thread Santoso Wijaya
Changes by Santoso Wijaya : -- nosy: +santa4nt type: -> feature request ___ Python tracker ___ ___ Python-bugs-list mailing list Unsu

[issue10419] distutils command build_scripts fails with UnicodeDecodeError

2011-04-27 Thread Arfrever Frehtes Taifersar Arahesis
Changes by Arfrever Frehtes Taifersar Arahesis : -- nosy: +Arfrever, haypo versions: +Python 3.3 ___ Python tracker ___ ___ Python-bug

[issue10517] test_concurrent_futures crashes with "--with-pydebug" on RHEL5 with "Fatal Python error: Invalid thread state for this thread"

2011-04-27 Thread Antoine Pitrou
Changes by Antoine Pitrou : -- superseder: multiprocessing generates a fatal error -> ___ Python tracker ___ ___ Python-bugs-list mai

[issue10632] multiprocessing generates a fatal error

2011-04-27 Thread Antoine Pitrou
Changes by Antoine Pitrou : -- superseder: -> multiprocessing generates a fatal error ___ Python tracker ___ ___ Python-bugs-list mai

[issue10517] test_concurrent_futures crashes with "--with-pydebug" on RHEL5 with "Fatal Python error: Invalid thread state for this thread"

2011-04-27 Thread Antoine Pitrou
Changes by Antoine Pitrou : -- dependencies: -multiprocessing generates a fatal error stage: -> commit review superseder: -> multiprocessing generates a fatal error versions: +Python 2.7, Python 3.1, Python 3.3 ___ Python tracker

[issue11937] Interix support

2011-04-27 Thread Jesús Cea Avión
Jesús Cea Avión added the comment: I don't agree with some details of the patch (I would move the log-like calculation to a inline function, and document WHY it is needed at all, for instance), but supporting a new platform is good, moreover when the patch is so small. I would ask for a seas

[issue10632] multiprocessing generates a fatal error

2011-04-27 Thread Jesse Noller
Jesse Noller added the comment: Dupe of issue10517 -- resolution: -> duplicate status: open -> closed ___ Python tracker ___ ___ Pyt

[issue11834] wrong module installation dir on Windows

2011-04-27 Thread Bryce Verdier
Bryce Verdier added the comment: Ok, so after getting some off list help, I changed the defaults to what they should be. Also, Mark was right, "--install-scripts" generally puts things in pythondir\Scripts... as tested with pylint, mako, and some others. I changed data back to Data... though

[issue11939] Implement stat.st_dev and os.path.samefile on windows

2011-04-27 Thread Amaury Forgeot d'Arc
New submission from Amaury Forgeot d'Arc : Since 9cd1036455e7, os.stat() on Windows fills the st_ino member; it could fill st_dev just as easily; then os.path.samefile() could be shared with the posix implementation. -- components: Windows messages: 134595 nosy: amaury.forgeotdarc priori

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

2011-04-27 Thread Dev Player
Dev Player added the comment: What about this application modal popup window appearing behind the DOS window? (See attached) That popup window may only need to have a system style flag to push it to the top of the window z-order stack. What causes that popup to appear? Is it Python source cod

[issue11670] configparser read_file now iterates over f, docs still say it calls readline

2011-04-27 Thread Łukasz Langa
Łukasz Langa added the comment: Closed in http://hg.python.org/cpython/rev/6f937d6369b6. -- resolution: fixed -> accepted ___ Python tracker ___

[issue11670] configparser read_file now iterates over f, docs still say it calls readline

2011-04-27 Thread Roundup Robot
Roundup Robot added the comment: New changeset 6f937d6369b6 by Łukasz Langa in branch '3.2': Closes #11670: configparser read_file now iterates over f. http://hg.python.org/cpython/rev/6f937d6369b6 New changeset 9da06f771a57 by Łukasz Langa in branch 'default': Merged #11670 from 3.2 http://hg.

[issue11247] Error sending packets to multicast IPV4 address

2011-04-27 Thread Charles-Francois Natali
Charles-Francois Natali added the comment: Suggesting to close. -- nosy: +giampaolo.rodola ___ Python tracker ___ ___ Python-bugs-lis

[issue10632] multiprocessing generates a fatal error

2011-04-27 Thread Charles-Francois Natali
Charles-Francois Natali added the comment: It's a duplicate of http://bugs.python.org/issue10517 -- nosy: +neologix, pitrou ___ Python tracker ___ __

[issue10517] test_concurrent_futures crashes with "--with-pydebug" on RHEL5 with "Fatal Python error: Invalid thread state for this thread"

2011-04-27 Thread Charles-Francois Natali
Charles-Francois Natali added the comment: Here's an updated patch, tested on RHEL4U8. -- Added file: http://bugs.python.org/file21804/tls_reinit.diff ___ Python tracker ___ ___

[issue10517] test_concurrent_futures crashes with "--with-pydebug" on RHEL5 with "Fatal Python error: Invalid thread state for this thread"

2011-04-27 Thread Charles-Francois Natali
Changes by Charles-Francois Natali : Removed file: http://bugs.python.org/file21678/thread_invalid_key.diff ___ Python tracker ___ ___ Python-

[issue10517] test_concurrent_futures crashes with "--with-pydebug" on RHEL5 with "Fatal Python error: Invalid thread state for this thread"

2011-04-27 Thread Charles-Francois Natali
Changes by Charles-Francois Natali : Removed file: http://bugs.python.org/file21801/tls_reinit.diff ___ Python tracker ___ ___ Python-bugs-lis

[issue10517] test_concurrent_futures crashes with "--with-pydebug" on RHEL5 with "Fatal Python error: Invalid thread state for this thread"

2011-04-27 Thread Charles-Francois Natali
Changes by Charles-Francois Natali : Removed file: http://bugs.python.org/file21802/tls_reinit_bis.diff ___ Python tracker ___ ___ Python-bugs

[issue11914] pydoc modules/help('modules') crash in dirs with unreadable subdirs

2011-04-27 Thread Éric Araujo
Éric Araujo added the comment: The script is bugged, since whereis prefixes its output with its argument (i.e. here “pydoc: ”). It’s not a concern anyway: branches open for bugfixes are 2.7, 3.1, 3.2 and 3.3, so when we have a test (preferably as a patch to test_pydoc.py, see http://docs.pyt

[issue10517] test_concurrent_futures crashes with "--with-pydebug" on RHEL5 with "Fatal Python error: Invalid thread state for this thread"

2011-04-27 Thread Antoine Pitrou
Antoine Pitrou added the comment: > > Thank you. I like this patch, except that _PyGILState_ReInit() should be > > declared in the appropriate .h file, not in signalmodule.c. > > I asked myself this question when writing the patch: what's the > convention regarding functions ? Should they alwa

[issue11914] pydoc modules/help('modules') crash in dirs with unreadable subdirs

2011-04-27 Thread Ben Okopnik
Ben Okopnik added the comment: Here's a test that should exercise every version of "pydoc" installed on the system: mkdir -p /tmp/foo/bar; cd /tmp/foo; chmod 0 bar for n in `whereis -b pydoc`; do echo " $n "; $n modules; done Tested under Ubuntu with bash and sh; should work fine with

[issue10517] test_concurrent_futures crashes with "--with-pydebug" on RHEL5 with "Fatal Python error: Invalid thread state for this thread"

2011-04-27 Thread Charles-Francois Natali
Charles-Francois Natali added the comment: > Thank you. I like this patch, except that _PyGILState_ReInit() should be > declared in the appropriate .h file, not in signalmodule.c. I asked myself this question when writing the patch: what's the convention regarding functions ? Should they alwa

[issue8400] zipimporter find_module fullname mis-documented

2011-04-27 Thread Ram Rachum
Ram Rachum added the comment: I was bitten now as well... -- nosy: +cool-RR ___ Python tracker ___ ___ Python-bugs-list mailing list U

[issue11871] test_default_timeout() of test_threading.BarrierTests failure: BrokenBarrierError

2011-04-27 Thread Charles-Francois Natali
Charles-Francois Natali added the comment: The most obvious explanation for that failure is that the barrier's timeout is too low. def test_default_timeout(self): """ Test the barrier's default timeout """ #create a barrier with a low default timeout barri

[issue10517] test_concurrent_futures crashes with "--with-pydebug" on RHEL5 with "Fatal Python error: Invalid thread state for this thread"

2011-04-27 Thread Antoine Pitrou
Antoine Pitrou added the comment: > > You could add a new _PyGILState_ReInit() function and call it from > > PyOS_AfterFork() or PyEval_ReInitThreads(). > > See attached tls_reinit.diff patch. Thank you. I like this patch, except that _PyGILState_ReInit() should be declared in the appropriate

[issue11933] newer() function in dep_util.py mixes up new vs. old files due stat.st_mtime vs stat[ST_MTIME]

2011-04-27 Thread Éric Araujo
Éric Araujo added the comment: > Please note that I am not suggesting the code base use stat.st_mtime. Yep, I did :) Do you have another idea for a fix? We have to walk on eggshells with the distutils codebase: it has often happened that changes made to fix bugs were causing problems in thir

[issue10517] test_concurrent_futures crashes with "--with-pydebug" on RHEL5 with "Fatal Python error: Invalid thread state for this thread"

2011-04-27 Thread Charles-Francois Natali
Changes by Charles-Francois Natali : Added file: http://bugs.python.org/file21802/tls_reinit_bis.diff ___ Python tracker ___ ___ Python-bugs-l

[issue10517] test_concurrent_futures crashes with "--with-pydebug" on RHEL5 with "Fatal Python error: Invalid thread state for this thread"

2011-04-27 Thread Charles-Francois Natali
Charles-Francois Natali added the comment: > Ah, using the fallback implementation of tls? Surely this isn't a > problem with the pthreads tls, I'd be surprised if it retains TLS values > after fork. It surprised me too when I found that out, but it's really with the pthread TLS, on RHEL 4

[issue9723] Add shlex.quote

2011-04-27 Thread Xuanji Li
Changes by Xuanji Li : -- nosy: +xuanji ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/m

[issue11874] argparse assertion failure with brackets in metavars

2011-04-27 Thread Xuanji Li
Changes by Xuanji Li : -- nosy: +xuanji ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/

[issue11588] Add "necessarily inclusive" groups to argparse

2011-04-27 Thread Xuanji Li
Changes by Xuanji Li : -- nosy: +xuanji ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/

  1   2   >