[issue10845] test_multiprocessing failure under Windows

2011-01-30 Thread Georg Brandl
Changes by Georg Brandl : -- priority: release blocker -> critical ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscrib

[issue11069] IDLE crashes when Stack Viewer opened

2011-01-30 Thread Georg Brandl
Georg Brandl added the comment: Thanks, applied in r88258. -- nosy: +georg.brandl resolution: -> fixed status: open -> closed ___ Python tracker ___ ___

[issue10961] Pydoc touchups in new browser for 3.2

2011-01-30 Thread Georg Brandl
Georg Brandl added the comment: I fixed two instances of missing HTML escaping and committed as r88261. The code should be checked thoroughly for more such missing escaping. -- resolution: -> fixed status: open -> closed ___ Python tracker

[issue11051] system calls per import

2011-01-30 Thread Nadeem Vawda
Changes by Nadeem Vawda : -- nosy: +nvawda ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.o

[issue11051] system calls per import

2011-01-30 Thread Martin v . Löwis
Martin v. Löwis added the comment: > Something has gone out of control here. Why do we need to check so many > alternative locations? What change do you propose? -- ___ Python tracker ___

[issue11051] system calls per import

2011-01-30 Thread Raymond Hettinger
Changes by Raymond Hettinger : -- nosy: +rhettinger ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail

[issue11051] system calls per import

2011-01-30 Thread Georg Brandl
Changes by Georg Brandl : -- nosy: +georg.brandl ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.py

[issue11051] system calls per import

2011-01-30 Thread Antoine Pitrou
Antoine Pitrou added the comment: > > Something has gone out of control here. Why do we need to check so many > > alternative locations? > > What change do you propose? First, I don't understand why we need to check both "foo.so" and "foomodule.so". Second, I don't understand why we need to c

[issue10680] argparse: titles and add_mutually_exclusive_group don't mix (even with workaround)

2011-01-30 Thread Steven Bethard
Steven Bethard added the comment: Looks great, thanks. I've updated the patch so it applies okay to both release27-maint and py3k. All tests pass on both branches. It's a one line fix and the test case looks good, so there should be no problem applying this to release27-maint. For 3.2, the p

[issue10680] argparse: titles and add_mutually_exclusive_group don't mix (even with workaround)

2011-01-30 Thread Steven Bethard
Changes by Steven Bethard : Removed file: http://bugs.python.org/file20548/issue10680_withTestcase.patch ___ Python tracker ___ ___ Python-bug

[issue10680] argparse: titles and add_mutually_exclusive_group don't mix (even with workaround)

2011-01-30 Thread Steven Bethard
Changes by Steven Bethard : Removed file: http://bugs.python.org/file20114/argparse.diff ___ Python tracker ___ ___ Python-bugs-list mailing l

[issue10680] argparse: titles and add_mutually_exclusive_group don't mix (even with workaround)

2011-01-30 Thread Georg Brandl
Georg Brandl added the comment: I haven't started yet actually releasing, so this got in as r88263. -- nosy: +georg.brandl resolution: -> fixed ___ Python tracker ___ _

[issue7502] All DocTestCase instances compare and hash equal to each other

2011-01-30 Thread Cédric Krier
Cédric Krier added the comment: Here is a patch that defines __eq__ and __hash__ on DocTestCase. -- keywords: +patch nosy: +ced Added file: http://bugs.python.org/file20618/doctestcase_eq_hash.patch ___ Python tracker

[issue11069] IDLE crashes when Stack Viewer opened

2011-01-30 Thread Brian Curtin
Brian Curtin added the comment: This should be back-ported to the maintenance branch as well. I can take care of that if Georg is busy with release-related stuff. -- ___ Python tracker ___

[issue10680] argparse: titles and add_mutually_exclusive_group don't mix (even with workaround)

2011-01-30 Thread Steven Bethard
Steven Bethard added the comment: Awesome, thanks! Do you want to apply to 2.7 or should I? -- ___ Python tracker ___ ___ Python-bugs

[issue11071] What's New review comments

2011-01-30 Thread Nick Coghlan
New submission from Nick Coghlan : Reviewing the What's New docs, this seemed like the easiest way to give Raymond a list of things I noticed: - first sentence in the "ast" module section needs rewording (currently includes fragments from a couple of different phrasings) - in the "dis" module

[issue11071] What's New review comments

2011-01-30 Thread Nick Coghlan
Nick Coghlan added the comment: A couple more in the Build and CAPI section: - "The is a new function" should be "There is a new function" - "The PyUnicode_CompareWithASCIIString() now" either needs to drop the "The" or add "function" before the "now". It's fascinating to read all that and

[issue10680] argparse: titles and add_mutually_exclusive_group don't mix (even with workaround)

2011-01-30 Thread Georg Brandl
Georg Brandl added the comment: Please do. -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.pyth

[issue11069] IDLE crashes when Stack Viewer opened

2011-01-30 Thread Georg Brandl
Georg Brandl added the comment: Please do. -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.pyth

[issue11023] pep 227 missing text

2011-01-30 Thread Alan Isaac
Alan Isaac added the comment: Bear with my confusion about your response. Are you saying that CPython documentation bugs cannot be submitted here, or that this does not constitute a CPython documentation bug? I assume the latter. But then, can you tell me where to find the correct CPython

[issue10680] argparse: titles and add_mutually_exclusive_group don't mix (even with workaround)

2011-01-30 Thread Steven Bethard
Steven Bethard added the comment: Done in r88268. Thanks again everyone! -- ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue11071] What's New review comments

2011-01-30 Thread Nick Coghlan
Nick Coghlan added the comment: Another significant logging change: the addition of the "style" parameter for Formatter objects (allowing the use of str.format and string.Template style substitution instead of percent formatting) -- ___ Python trac

[issue11071] What's New review comments

2011-01-30 Thread Nick Coghlan
Nick Coghlan added the comment: The last two logging changes potentially worth mentioning that I noticed: - simple callables can now be supplied as logging filters (see the version 3.2 note in http://docs.python.org/dev/library/logging#filter-objects) - the logging API docs now include a sect

[issue11071] What's New review comments

2011-01-30 Thread Nick Coghlan
Nick Coghlan added the comment: I was wrong, I found one more potentially notable logging change: http://docs.python.org/dev/library/logging#logging.setLogRecordFactory -- ___ Python tracker __

[issue11071] What's New review comments

2011-01-30 Thread Nick Coghlan
Nick Coghlan added the comment: Adding Vinay, given the number of logging changes in 3.2 that don't appear to be in the What's New yet (the only logging change noted there at the moment is the inclusion of PEP 391) -- nosy: +vinay.sajip ___ Python

[issue11068] Python 2.7.1 Idle traceback on OS X (10.6.6)

2011-01-30 Thread David Meier
David Meier added the comment: Removing the 10.6 specific Python 2.7.1 installation (with the instructions provided by Ned) and reinstalling the 10.3-10.6 32bit installation fixed the aforementioned segfault. Thanks for the information, however, I do think it should be noted on the download

[issue9527] Add aware local time support to datetime module

2011-01-30 Thread Miki Tebeka
Changes by Miki Tebeka : -- nosy: -tebeka ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.or

[issue11048] "import ctypes" causes segfault on read-only filesystem

2011-01-30 Thread Marcin Bachry
Marcin Bachry added the comment: This patch fixes issue with unitialized variable which makes ctypes crash in error handler. Note that for you it merely turns "Segmentation fault" into MemoryError exception. Python ships with buggy version of libffi, which tries to allocate memory using mma

[issue11059] Mercurial fails on code.python.org repo

2011-01-30 Thread Steffen Daode Nurpmeso
Steffen Daode Nurpmeso added the comment: 'Had to look on a sunday once again, and it is still impossible to clone branches/release2.7-maint. In the meanwhile the Mercurial people from reacted - they play the ball back to python.org. *However*: there are a lot of

[issue10716] Modernize pydoc to use CSS

2011-01-30 Thread Ron Adam
Ron Adam added the comment: A reminder: Check for instances where html.escape is not called on data inserted into the html pages. I'll update the patch as the non-css (error handling) parts made it into python 3.2. :-) -- ___ Python tracker

[issue11059] Mercurial fails on code.python.org repo

2011-01-30 Thread Steffen Daode Nurpmeso
Steffen Daode Nurpmeso added the comment: says "code.python.org/hg often seems unstable.", so it seems to be a well known thing. I leave this issue now open nevertheless, and let some experienced Python.org user decide what to do with it. (Antoi

[issue11059] Mercurial fails on code.python.org repo

2011-01-30 Thread Antoine Pitrou
Antoine Pitrou added the comment: > 'Had to look on a sunday once again, and it is still impossible to > clone branches/release2.7-maint. It failed here on one attempt and succeeded on others. "hg verify" ran fine too, including on the server. I'm closing the issue again; in all likelihood, t

[issue11048] "import ctypes" causes segfault on read-only filesystem

2011-01-30 Thread Alexander Belopolsky
Alexander Belopolsky added the comment: It would be nice to add a unit test to this patch. I don't think messing with read-only filesystems is feasible in regrtest, but it seems from reading _ctypes_alloc_callback() source that similar behavior can be triggered by passing a failing converter

[issue11071] What's New review comments

2011-01-30 Thread Raymond Hettinger
Raymond Hettinger added the comment: Nick, thanks for the read-through and comments. Later this week, will get add a section of logging. Other people are also welcome to use this tracker item for other comments. -- ___ Python tracker

[issue6715] xz compressor support

2011-01-30 Thread devurandom
Changes by devurandom : -- nosy: -devurandom ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python

[issue7502] All DocTestCase instances compare and hash equal to each other

2011-01-30 Thread Antoine Pitrou
Changes by Antoine Pitrou : -- stage: needs patch -> patch review versions: +Python 3.3 -Python 2.6, Python 3.1 ___ Python tracker ___

[issue11069] IDLE crashes when Stack Viewer opened

2011-01-30 Thread Brian Curtin
Brian Curtin added the comment: Fixed in release31-maint in r88269. -- stage: -> committed/rejected ___ Python tracker ___ ___ Pytho

[issue10990] tests mutating sys.gettrace() w/o re-instating previous state

2011-01-30 Thread Brett Cannon
Changes by Brett Cannon : Removed file: http://bugs.python.org/file20581/issue10990.diff ___ Python tracker ___ ___ Python-bugs-list mailing l

[issue10990] tests mutating sys.gettrace() w/o re-instating previous state

2011-01-30 Thread Brett Cannon
Brett Cannon added the comment: Sorry about that. New patch attached. -- Added file: http://bugs.python.org/file20620/issue_10990.diff ___ Python tracker ___ ___

[issue9931] test_ttk_guionly hangs on XP5

2011-01-30 Thread Paul Moore
Paul Moore added the comment: Patch looks good to me. Can this be applied? As a temporary workaround I have set my buildbot to run interactively. Once the fix is applied, I will switch back to running as a service. -- keywords: +buildbot ___ Python

[issue9931] test_ttk_guionly hangs on XP5

2011-01-30 Thread Paul Moore
Changes by Paul Moore : -- nosy: +gpolo ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/m

[issue571767] string.capitlize() documentation

2011-01-30 Thread Isaul Vargas
Isaul Vargas added the comment: Internal python docs need to be updated. help(str.capitalize) still has the old incorrect documentation. I tested this on Python 2.6 on Windows, and Python 2.7 in Ubuntu 11.04 alpha. -- nosy: +Dude-X -fdrake, mdcowles type: -> behavior versions: +Python

[issue5863] bz2.BZ2File should accept other file-like objects.

2011-01-30 Thread Nadeem Vawda
Nadeem Vawda added the comment: OK, I've rewritten the whole bz2 module (patch attached), and I think it is now ready for review. The BZ2File implementation is a cleaned-up version of the one from my previous patch, with some further additions. I've factored out the common compressor/decompre

[issue9973] Sometimes buildbot fails to cleanup working copy

2011-01-30 Thread Antoine Pitrou
Antoine Pitrou added the comment: As far as I can tell, the same change also needs to be done in build-amd64.bat and clean-amd64.bat. -- nosy: +pitrou ___ Python tracker ___ ___

[issue9973] Sometimes buildbot fails to cleanup working copy

2011-01-30 Thread Antoine Pitrou
Antoine Pitrou added the comment: By the way, the order of these lines in clean-amd64.bat looks wrong: cd PCbuild @echo Deleting .pyc/.pyo files ... del /s Lib\*.pyc Lib\*.pyo -- ___ Python tracker ___

[issue9973] Sometimes buildbot fails to cleanup working copy

2011-01-30 Thread Antoine Pitrou
Antoine Pitrou added the comment: Oh, and the regrtest command line in test-amd64.bat lacks some options ("-rwW -n") compared to test.bat. -- ___ Python tracker ___

[issue9973] Sometimes buildbot fails to cleanup working copy

2011-01-30 Thread David Bolen
David Bolen added the comment: Probably - it's just a general sequencing change, so I suppose should apply equally to all platforms. I suppose even better would be to consolidate the two clean scripts into one (with a parameter for 32 v. 64), but just patching both is less of a change. Unre

[issue9931] test_ttk_guionly hangs on XP5

2011-01-30 Thread David Bolen
David Bolen added the comment: Perhaps somewhat orthogonal to the patch, but in terms of the original hang issue, does your service definition have the "interact with desktop" option checked? That ought to permit any normal UI processing to take place as if you were running it interactively.

[issue2193] Cookie Colon Name Bug

2011-01-30 Thread John J Lee
John J Lee added the comment: I agree with And Clover that Carsten Klein's comments in #msg127366 are not correct, for the reason that And stated. Also, Carsten repeats again the idea that the trac issue is about the trac server failing to generate appropriate cookies -- but that issue was in

[issue11051] system calls per import

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

[issue10512] regrtest ResourceWarning - unclosed sockets and files

2011-01-30 Thread Brett Cannon
Brett Cannon added the comment: Attached is a simpler fix for test_cgi so it can get in for Python 3.2. You can reproduce the failure if you run ``./python -W error -m test test_cgi``. Georg, can I commit? -- assignee: -> georg.brandl nosy: +brett.cannon, georg.brandl Added file: htt

[issue9931] test_ttk_guionly hangs on XP5

2011-01-30 Thread Nick Coghlan
Changes by Nick Coghlan : -- priority: normal -> high ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mai

[issue11071] What's New review comments

2011-01-30 Thread Nick Coghlan
Nick Coghlan added the comment: Correct docs links for LogRecord attributes section: http://docs.python.org/dev/library/logging#logrecord-attributes -- ___ Python tracker ___ _

[issue9931] test_ttk_guionly hangs on XP5

2011-01-30 Thread Paul Moore
Paul Moore added the comment: > Perhaps somewhat orthogonal to the patch, but in terms of the original hang > issue, does your service definition have the "interact with desktop" option > checked?  That ought to permit any normal UI processing to take place as if > you were running it interac

[issue9931] test_ttk_guionly hangs on XP5

2011-01-30 Thread David Bolen
David Bolen added the comment: If I recall correctly, if you're not using localsystem then its much tougher, as by default it won't have access to your interactive desktop, just something internal that you won't see, maybe just a hidden windows station. You're right that the interact setting

[issue11072] Add MLSD command support to ftplib

2011-01-30 Thread Giampaolo Rodola'
New submission from Giampaolo Rodola' : >From RFC-3659: The MLST and MLSD commands are intended to standardize the file and directory information returned by the server-FTP process. These commands differ from the LIST command in that the format of the replies is strictly defined alt

[issue10940] IDLE 3.2 hangs with Cmd-M hotkey on OS X 10.6 with 64-bit installer and A/S Tk 8.5

2011-01-30 Thread Ned Deily
Ned Deily added the comment: Committed in r88270 for release in 2.7.2. -- status: pending -> closed versions: +Python 2.7 ___ Python tracker ___

[issue10882] Add os.sendfile()

2011-01-30 Thread Giampaolo Rodola'
Giampaolo Rodola' added the comment: In case someone is interested in statistics, I wrote a sendfile() wrapper by using ctypes for pyftpdlib and benchmark results are quite impressive: http://code.google.com/p/pyftpdlib/issues/detail?id=152#c5 -- __

[issue9362] Make exit/quit hint more novice friendly

2011-01-30 Thread Westley Martínez
Westley Martínez added the comment: This is annoying. Every beginner's Python tutorial I've read made it very clear how to exactly exit the interactive shell. Ctrl has been in use for years. Changing it for novices' sake is ridiculous. Do we need to expand every abbreviation? Python will turn

[issue11073] threading.Thread documentation can be improved

2011-01-30 Thread Roy Smith
New submission from Roy Smith : The documentation for the threading.Thread constructor says: "target is the callable object to be invoked by the run() method. Defaults to None, meaning nothing is called." This could be improved by explicitly stating that target is called in a static context.

[issue11016] Add S_ISDOOR to the stat module

2011-01-30 Thread Jesús Cea Avión
Jesús Cea Avión added the comment: Martin, what if C posix module (or whoever) would export the symbolic constants, and update "stat.py" to use those symbolic constants?. Do you think that would be an improvement?. -- ___ Python tracker

[issue11072] Add MLSD command support to ftplib

2011-01-30 Thread Eric Smith
Changes by Eric Smith : -- nosy: +eric.smith ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python

[issue11073] threading.Thread documentation can be improved

2011-01-30 Thread R. David Murray
R. David Murray added the comment: I have no idea what "a static context" means, so it wouldn't make it any clearer to me. Can you explain further what your confusion is? -- nosy: +r.david.murray type: -> feature request versions: +Python 2.7, Python 3.1, Python 3.2 -Python 2.6

[issue11073] threading.Thread documentation can be improved

2011-01-30 Thread Roy Smith
Roy Smith added the comment: What I meant was whether target should be declared as @staticmethod or not. -- ___ Python tracker ___ __

[issue11074] fix tokenize so it can be reloaded

2011-01-30 Thread Brett Cannon
New submission from Brett Cannon : The tokenize module stores the built-in open() module in a global assignment statement. Problem is that if you reload the module, that global assignment picks up the module's own open() that came into existence during the initial import. The attached patch f

[issue11071] What's New review comments

2011-01-30 Thread Raymond Hettinger
Raymond Hettinger added the comment: Eli, put your suggestions here. Do not edit the document directly. Right now, it's conflicting with my pending edits. Also, see the instruction at the top of the document. -- assignee: rhettinger -> eli.bendersky nosy: +eli.bendersky _

[issue11071] What's New review comments

2011-01-30 Thread Eli Bendersky
Eli Bendersky added the comment: Raymond, as I said in the email sorry I wasn't aware of the issue, and Georg permitted me to commit directly to the file once the freeze is over. Maybe there was a misunderstanding. Also, can you refer me to the part of the file you mean? I see it says "Anyone

[issue11071] What's New review comments

2011-01-30 Thread Raymond Hettinger
Raymond Hettinger added the comment: Can you join IRC #python for a bit? -- ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue10479] cgitb.py should assume a binary stream for output

2011-01-30 Thread Glenn Linderman
Glenn Linderman added the comment: So since cgi.py was fixed to use the .buffer attribute of sys.stdout, that leaves sys.stdout itself as a character stream, and cgitb.py can successfully write to that. If cgitb.py never writes anything but ASCII, then maybe that should be documented, and th

[issue10480] cgi.py should document the need for binary stdin/stdout

2011-01-30 Thread Glenn Linderman
Glenn Linderman added the comment: Fixed by issue 10841 and issue 4953. -- status: open -> closed ___ Python tracker ___ ___ Python-b

[issue10512] regrtest ResourceWarning - unclosed sockets and files

2011-01-30 Thread Nadeem Vawda
Nadeem Vawda added the comment: Looks good to me. My earlier patch was more defensive because I wasn't sure whether any of the other tests might be using cgi.log(), but it seems that this isn't the case. -- ___ Python tracker

[issue11075] Turtle crash with IDLE on Mac OS X 10.6

2011-01-30 Thread Alex McNerney
New submission from Alex McNerney : Info: I have Python 2.7.1:86832 (32-bit) installed using ActiveState Tcl/Tk 8.5.9 on Mac OS X 10.6 Problem: Whenever I try to run (from the IDLE) a Python script using the turtle module, the window that shows up will draw anything passed to it, but it will n

[issue11071] What's New review comments

2011-01-30 Thread Raymond Hettinger
Changes by Raymond Hettinger : -- Removed message: http://bugs.python.org/msg127573 ___ Python tracker ___ ___ Python-bugs-list mailin

[issue11071] What's New review comments

2011-01-30 Thread Georg Brandl
Georg Brandl added the comment: I was just told about typo and grammar fixes though :) -- nosy: +georg.brandl ___ Python tracker ___

[issue11071] What's New review comments

2011-01-30 Thread Raymond Hettinger
Changes by Raymond Hettinger : -- assignee: eli.bendersky -> rhettinger ___ Python tracker ___ ___ Python-bugs-list mailing list Unsub

[issue11016] Add S_ISDOOR to the stat module

2011-01-30 Thread Martin v . Löwis
Martin v. Löwis added the comment: > Martin, what if C posix module (or whoever) would export the symbolic > constants, and update "stat.py" to use those symbolic constants?. > > Do you think that would be an improvement?. Improvement compared to what? The status quo? Certainly. Compared to a

[issue11071] What's New review comments

2011-01-30 Thread Eli Bendersky
Eli Bendersky added the comment: r88274 - python/branches/py3k/Doc/whatsnew/3.2.rst "Revert r88272 -- the examples are more readable with spacing." Raymond - then perhaps we should consider revising PEP 8 as well. When I first read it, the "no spaces around =" rule for kwargs was strange at f