[issue14419] Faster ascii decoding

2012-03-26 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: > +#if SIZEOF_LONG <= SIZEOF_VOID_P > +if (!((size_t) p & LONG_PTR_MASK)) { > > I wrote "q", not "p". You have to check p and q alignement to be able > to dereference p and q pointers. Initial q (destination) is always pointer-aligned, because PyASCIIObj

[issue14416] syslog missing constants

2012-03-26 Thread Federico Reghenzani
Changes by Federico Reghenzani : -- keywords: +patch Added file: http://bugs.python.org/file25036/mywork.patch ___ Python tracker ___

[issue14411] outdatedness on rlcompleter docstring

2012-03-26 Thread Roundup Robot
Roundup Robot added the comment: New changeset 37751d1cb4a8 by Georg Brandl in branch '3.2': Closes #14411: remove outdated comment in rlcompleter docstring. http://hg.python.org/cpython/rev/37751d1cb4a8 New changeset 39d1c2c7bcf7 by Georg Brandl in branch '2.7': Closes #14411: remove outdated

[issue14421] Avoid ResourceWarnings in ccbench

2012-03-26 Thread Roundup Robot
Roundup Robot added the comment: New changeset 505aea930985 by Georg Brandl in branch 'default': Closes #14421: use with statement to properly close socket in bandwidth test. http://hg.python.org/cpython/rev/505aea930985 -- nosy: +python-dev resolution: -> fixed stage: -> committed/re

[issue14006] Improve the documentation of xml.etree.ElementTree

2012-03-26 Thread Eli Bendersky
Eli Bendersky added the comment: There are two parallel discussions going on here: 1. The external ReST documentation 2. The internal docstring documentation I opened the issue with (1) in focus, since it's more important IMHO. Not only for the usual reasons (most users don't go into the sour

[issue14416] syslog missing constants

2012-03-26 Thread Edward Yang
Edward Yang added the comment: I misspoke about UUCP. SYSLOG appears to be missing from the documentation. Arguably they should be present if Linux supports them, and missing if they don't (same as LOG_PERROR, and some of the other constants.) Then you can do feature detection Python-side. -

[issue14421] Avoid ResourceWarnings in ccbench

2012-03-26 Thread Jeff Knupp
New submission from Jeff Knupp : ccbench.py warns about unclosed sockets in the bandwidth test. Fix to close socket properly at end of test. -- components: Demos and Tools files: ccbench.patch keywords: patch messages: 156891 nosy: Jeff.Knupp priority: normal severity: normal status: op

[issue14381] Intern certain integral floats for memory savings and performance

2012-03-26 Thread Eric Snow
Changes by Eric Snow : -- nosy: +eric.snow ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.o

[issue4528] test_httpservers consistently fails - OSError: [Errno 13] Permission denied (e.g. on OS X using tarball, but not svn tag r30)

2012-03-26 Thread R. David Murray
Changes by R. David Murray : -- resolution: -> duplicate status: open -> closed superseder: -> test_httpservers on Debian Testing ___ Python tracker ___

[issue7652] Merge C version of decimal into py3k.

2012-03-26 Thread STINNER Victor
STINNER Victor added the comment: You may now close the issue. -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe

[issue5301] add mimetype for image/vnd.microsoft.icon (patch)

2012-03-26 Thread R. David Murray
Changes by R. David Murray : -- stage: -> committed/rejected status: open -> closed ___ Python tracker ___ ___ Python-bugs-list mailin

[issue5301] add mimetype for image/vnd.microsoft.icon (patch)

2012-03-26 Thread Roundup Robot
Roundup Robot added the comment: New changeset 3e7f6f931e09 by R David Murray in branch '2.7': #5301: re-add image/vnd.microsoft.icon per discussion http://hg.python.org/cpython/rev/3e7f6f931e09 -- ___ Python tracker

[issue14405] Some "Other Resources" in the sidebar are hopelessly out of date

2012-03-26 Thread Eric Snow
Eric Snow added the comment: +0 as long as the linked pages don't go anywhere. They've been great resources, containing some information that is not located elsewhere. -- nosy: +eric.snow ___ Python tracker

[issue13608] remove born-deprecated PyUnicode_AsUnicodeAndSize

2012-03-26 Thread STINNER Victor
STINNER Victor added the comment: The Py_UNICODE* type is deprecated but since Python 3.3, Py_UNICODE=wchar_t and wchar_t* is a common type on Windows. PyUnicode_AsUnicodeAndSize() is used to encode Python strings to call Windows functions. PyUnicode_AsUnicodeAndSize() is preferred over PyUni

[issue14399] zipfile and creat/update comment

2012-03-26 Thread R. David Murray
R. David Murray added the comment: Hmm. When I did the same (changed to b'...') and ran it, I got an archive test.zip. When I then opened that archive using ZipFile, its comment attribute was b''. Thus I concluded that the bug exists in Python3. I don't remember seeing any output from run

[issue14417] dict RuntimeError workaround

2012-03-26 Thread STINNER Victor
Changes by STINNER Victor : -- nosy: +haypo ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.

[issue14399] zipfile and creat/update comment

2012-03-26 Thread Jeff Knupp
Jeff Knupp added the comment: I'm unable to reproduce on either 2.7 or 3.3. Running the following: from zipfile import ZipFile z=ZipFile('test.zip','a') z.comment='Create a new comment' z.close() produces the output: Archive: test.zip Create a new comment with the comment changed to b'...'

[issue14131] test_threading failure on WIndows 7 3.x buildbot

2012-03-26 Thread STINNER Victor
STINNER Victor added the comment: > It could be interesting to replace time.time() > by the new time.monotonic(). I changed threading (at least in threading.py) and queue modules to replace time.time() by time.steady() in the issue #14222. Other places in the threading module should be modifi

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

2012-03-26 Thread STINNER Victor
STINNER Victor added the comment: > gettimeofday returns you wall clock time: if a process > that modifies time is running, e.g. ntpd, you'll likely > to run into trouble. the value returned is _not_ monotonic, > ... The issue #12822 asks to use monotonic clocks when available. -- nosy

[issue14131] test_threading failure on WIndows 7 3.x buildbot

2012-03-26 Thread STINNER Victor
Changes by STINNER Victor : -- Removed message: http://bugs.python.org/msg156882 ___ Python tracker ___ ___ Python-bugs-list mailing l

[issue14131] test_threading failure on WIndows 7 3.x buildbot

2012-03-26 Thread STINNER Victor
STINNER Victor added the comment: > It could be interesting to replace time.time() > by the new time.monotonic(). The issue #12822 asks to use monotonic clocks when available. -- nosy: +haypo ___ Python tracker _

[issue12649] email.Header ignores maxlinelen when wrapping encoded words

2012-03-26 Thread R. David Murray
R. David Murray added the comment: Looking at this again, as_string defaults to maxheaderlen=0, which means no wrapping. In Python 3.2 you can pass it a maxheaderlen of 78 to get the correct behavior for passing the message to smtp. -- resolution: -> invalid stage: -> committed/rej

[issue14419] Faster ascii decoding

2012-03-26 Thread STINNER Victor
STINNER Victor added the comment: +#if SIZEOF_LONG <= SIZEOF_VOID_P +if (!((size_t) p & LONG_PTR_MASK)) { I wrote "q", not "p". You have to check p and q alignement to be able to dereference p and q pointers. sizeof(long) <= sizeof(void*) is always true. -- __

[issue14416] syslog missing constants

2012-03-26 Thread R. David Murray
R. David Murray added the comment: LOG_SYSLOG and LOG_UUCP have been present in Python for a *long* time (since 1998 at least). The other two are not. What fallbacks should be used if they don't exist? (I believe you meant 'facilities', rather than 'priorities'.) -- keywords: +easy

[issue14409] IDLE does not execute any commands (command prompt works fine!)

2012-03-26 Thread Roger Serwy
Roger Serwy added the comment: I'm glad to hear that IDLE now works. IDLE will recreate .idlerc if it doesn't exist and populate it with your settings. If you can, please post your original, broken .cfg files. I'll try to decipher the cause of the original problem. -- status: open ->

[issue14409] IDLE does not execute any commands (command prompt works fine!)

2012-03-26 Thread Ankit Agrawal
Ankit Agrawal added the comment: Hello Roger, Thanks much for the comment. What you're saying seems right! I've tried renaming the .idlerc folder (which I did find in my home folder) but this just gives me an error. See Image: http://dl.dropbox.com/u/32209936/rename%20problem.jpg After a fe

[issue14419] Faster ascii decoding

2012-03-26 Thread Serhiy Storchaka
Changes by Serhiy Storchaka : Added file: http://bugs.python.org/file25034/decode_ascii_2.patch ___ Python tracker ___ ___ Python-bugs-list ma

[issue14419] Faster ascii decoding

2012-03-26 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: > +if (((size_t) p & LONG_PTR_MASK) == ((size_t) q & LONG_PTR_MASK)) { > This test looks. I think that it should be replaced by: > if (!((size_t) q & LONG_PTR_MASK)) { "if (!((size_t) p & LONG_PTR_MASK)) {" if sizeof(long) <= sizeof(void *). And rewr

[issue14420] winreg SetValueEx DWord type incompatible with value argument

2012-03-26 Thread Bob
New submission from Bob : When calling winreg.SetValueEx(key, value_name, reserved, type, value), the value argument does not support the full range of a 32 bit unsigned integer, which the Window's registry API is expecting. For example, passing a value 0x8000 will result in the following

[issue14419] Faster ascii decoding

2012-03-26 Thread STINNER Victor
STINNER Victor added the comment: +if (((size_t) p & LONG_PTR_MASK) == ((size_t) q & LONG_PTR_MASK)) { This test looks. I think that it should be replaced by: if (!((size_t) q & LONG_PTR_MASK)) { -- ___ Python tracker

[issue14419] Faster ascii decoding

2012-03-26 Thread STINNER Victor
STINNER Victor added the comment: Results on a 64-bit Linux box, Intel(R) Core(TM) i7-2600 CPU @ 3.40GHz with 12 GB of RAM: Unpatched: 1 loops, best of 3: 150 usec per loop Patched: 1 loops, best of 3: 80.2 usec per loop -- nosy: +haypo _

[issue14419] Faster ascii decoding

2012-03-26 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: I would like to have someone tested it on a 64-bit platform. May be worth a copy smaller blocks, not sizeof(long) but sizeof(void *)? This guaranteed the alignment of the destination (and very likely the source). --

[issue14419] Faster ascii decoding

2012-03-26 Thread STINNER Victor
Changes by STINNER Victor : -- nosy: +pitrou ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python

[issue14386] Expose dictproxy as a public type

2012-03-26 Thread Guido van Rossum
Guido van Rossum added the comment: I like the suggestion of a library module containing proxy classes. -- ___ Python tracker ___ ___

[issue14419] Faster ascii decoding

2012-03-26 Thread Serhiy Storchaka
New submission from Serhiy Storchaka : The proposed patch accelerates ascii decoding in a particular case, when the alignment of the input data coincides with the alignment of data in PyASCIIObject. This is a common case on 32-bit platforms. I did not check whether the patch have any effect on

[issue14418] Document differences in SocketServer between Python 2.6 and 2.7

2012-03-26 Thread Geoffrey Bache
New submission from Geoffrey Bache : Here I'm referring to the section about RequestHandler objects under the SocketServer page. http://docs.python.org/release/2.7.2/library/socketserver.html#requesthandler-objects This appears to be the same in Python 2.6 and Python 2.7. But the objects do

[issue14386] Expose dictproxy as a public type

2012-03-26 Thread Raymond Hettinger
Raymond Hettinger added the comment: The weakref collections objects (sets, dicts, etc) were all put in a separate module and that has worked out well. I suggest doing the same for proxy objects. In maintaining the itertools module, I learned long ago that adding new tools to the module mad

[issue14386] Expose dictproxy as a public type

2012-03-26 Thread Stefan Krah
Stefan Krah added the comment: I wonder about the name: There is already a collections.abc.MappingView. -- nosy: +skrah ___ Python tracker ___ __

[issue14162] PEP 416: Add a builtin frozendict type

2012-03-26 Thread STINNER Victor
STINNER Victor added the comment: The PEP has been rejected. See issue #14386 for a new mappingview type. -- resolution: -> fixed status: open -> closed ___ Python tracker ___

[issue14383] Generalize the use of _Py_IDENTIFIER in ceval.c and typeobject.c

2012-03-26 Thread STINNER Victor
Changes by STINNER Victor : -- resolution: -> fixed status: open -> closed ___ Python tracker ___ ___ Python-bugs-list mailing list U

[issue14408] Support the load_tests protocol in the stdlib tests

2012-03-26 Thread Michael Foord
Changes by Michael Foord : -- title: Support the test_cases protocol in the stdlib tests -> Support the load_tests protocol in the stdlib tests ___ Python tracker ___ __

[issue14383] Generalize the use of _Py_IDENTIFIER in ceval.c and typeobject.c

2012-03-26 Thread Roundup Robot
Roundup Robot added the comment: New changeset c67f3681e032 by Victor Stinner in branch 'default': Issue #14383: Add _PyDict_GetItemId() and _PyDict_SetItemId() functions http://hg.python.org/cpython/rev/c67f3681e032 -- nosy: +python-dev ___ Python t

[issue14386] Expose dictproxy as a public type

2012-03-26 Thread Guido van Rossum
Guido van Rossum added the comment: Raymond, that sounds like a very irrational way of deciding where it should go. -- ___ Python tracker ___ ___

[issue14368] floattime() should not raise an exception

2012-03-26 Thread STINNER Victor
Changes by STINNER Victor : -- resolution: -> fixed status: open -> closed ___ Python tracker ___ ___ Python-bugs-list mailing list U

[issue14368] floattime() should not raise an exception

2012-03-26 Thread Roundup Robot
Roundup Robot added the comment: New changeset 206c45f45236 by Victor Stinner in branch 'default': Issue #14368: _PyTime_gettimeofday() cannot fail http://hg.python.org/cpython/rev/206c45f45236 -- nosy: +python-dev ___ Python tracker

[issue14408] Support the test_cases protocol in the stdlib tests

2012-03-26 Thread Michael Foord
Michael Foord added the comment: Thanks for doing the work Matt. In principle the patch looks good, and being able to run standard library tests direct from unittest is nice. It's also a step towards being able to use test discovery to run standard library tests. Is the thread setup and clean

[issue14409] IDLE does not execute any commands (command prompt works fine!)

2012-03-26 Thread Roger Serwy
Changes by Roger Serwy : -- status: open -> pending ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail

[issue14390] Tkinter single-threaded deadlock

2012-03-26 Thread John Bollinger
John Bollinger added the comment: I was already working on a standalone test, and now I have it ready. Using it I can demonstrate the issue against both the cpython trunk and against my local v2.6.6 binary distribution, therefore I have added v3.3 as an affected version. It is reasonable to

[issue14386] Expose dictproxy as a public type

2012-03-26 Thread Raymond Hettinger
Raymond Hettinger added the comment: I would very much like this to go somewhere other than the collections module. As the maintainer of that module, I've worked hard to keep it clutter free (people frequently want to stick things in that module when they can't think of some place else to pu

[issue14417] dict RuntimeError workaround

2012-03-26 Thread STINNER Victor
Changes by STINNER Victor : -- nosy: +gvanrossum ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.py

[issue14399] zipfile and creat/update comment

2012-03-26 Thread Anthony Kong
Changes by Anthony Kong : -- nosy: +Anthony.Kong ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.py

[issue6717] Some problem with recursion handling

2012-03-26 Thread Andrew Svetlov
Changes by Andrew Svetlov : -- nosy: +asvetlov ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.pytho

[issue8427] toplevel jumps to another location on the screen

2012-03-26 Thread Andrew Svetlov
Andrew Svetlov added the comment: Ping -- nosy: +asvetlov ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http:

[issue8378] PYTHONSTARTUP is not run by default when Idle is started

2012-03-26 Thread Andrew Svetlov
Changes by Andrew Svetlov : -- nosy: +asvetlov ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.pytho

[issue5594] IDLE startup configuration

2012-03-26 Thread Andrew Svetlov
Changes by Andrew Svetlov : -- nosy: +asvetlov ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.pytho

[issue5233] Enhance 2.7 IDLE to exec IDLESTARTUP/PYTHONSTARTUP on restart

2012-03-26 Thread Andrew Svetlov
Changes by Andrew Svetlov : -- nosy: +asvetlov ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.pytho

[issue5680] Command-line arguments when running in IDLE

2012-03-26 Thread Andrew Svetlov
Changes by Andrew Svetlov : -- nosy: +asvetlov ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.pytho

[issue14205] Raise an error if a dict is modified during a lookup

2012-03-26 Thread Jim Jewett
Jim Jewett added the comment: See http://bugs.python.org/issue14417 -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsub

[issue539907] Tkinter lock conflicts extension widgets

2012-03-26 Thread Andrew Svetlov
Changes by Andrew Svetlov : -- versions: +Python 3.3 -Python 2.7 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe

[issue539907] Tkinter lock conflicts extension widgets

2012-03-26 Thread Andrew Svetlov
Changes by Andrew Svetlov : -- nosy: +asvetlov ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.pyt

[issue989712] Support using Tk without a mainloop

2012-03-26 Thread Andrew Svetlov
Changes by Andrew Svetlov : -- assignee: kbk -> asvetlov ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http:

[issue989712] Support using Tk without a mainloop

2012-03-26 Thread Andrew Svetlov
Changes by Andrew Svetlov : -- status: open -> closed ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://m

[issue989712] Support using Tk without a mainloop

2012-03-26 Thread Andrew Svetlov
Andrew Svetlov added the comment: Roger, your patch is pushed. Please next time when you reopen closed bug set 'Resolution' field to 'remind'. Thank you. -- ___ Python tracker __

[issue989712] Support using Tk without a mainloop

2012-03-26 Thread Roundup Robot
Roundup Robot added the comment: New changeset 837ac3abf0c5 by Andrew Svetlov in branch 'default': Issue #989712: update the code to process tkinter messages in IDLE http://hg.python.org/cpython/rev/837ac3abf0c5 -- ___ Python tracker

[issue7635] 19.6 xml.dom.pulldom doc: stub?

2012-03-26 Thread Eli Bendersky
Eli Bendersky added the comment: Yes, sorry for missing this. I've placed a note in issue #14202 to review this. Mark, it would be great if you could prepare a fresh patch vs. 3.3 default with your additions. Let's continue discussion in #14202 - it's still open. -- _

[issue14202] The docs of xml.dom.pulldom are almost nonexistent

2012-03-26 Thread Eli Bendersky
Eli Bendersky added the comment: There was a patch for the docs (+ other stuff) in issue #7635 as well. It can be integrated, if relevant. -- ___ Python tracker ___ ___

[issue13608] remove born-deprecated PyUnicode_AsUnicodeAndSize

2012-03-26 Thread Benjamin Peterson
Benjamin Peterson added the comment: It could be made an internal function. -- nosy: +benjamin.peterson ___ Python tracker ___ ___ Py

[issue6488] ElementTree documentation refers to "path" with no explanation, and inconsistently

2012-03-26 Thread Eli Bendersky
Eli Bendersky added the comment: Closing the issue, unless someone wants to back-port this to 3.2/2.7 -- nosy: +eli.bendersky ___ Python tracker ___ _

[issue6488] ElementTree documentation refers to "path" with no explanation, and inconsistently

2012-03-26 Thread Eli Bendersky
Changes by Eli Bendersky : -- resolution: -> fixed stage: needs patch -> committed/rejected status: open -> closed ___ Python tracker ___

[issue14006] Improve the documentation of xml.etree.ElementTree

2012-03-26 Thread Eli Bendersky
Eli Bendersky added the comment: First step in the right direction - e38f4cf482c7 -- ___ Python tracker ___ ___ Python-bugs-list mail

[issue6488] ElementTree documentation refers to "path" with no explanation, and inconsistently

2012-03-26 Thread Roundup Robot
Roundup Robot added the comment: New changeset e38f4cf482c7 by Eli Bendersky in branch 'default': Issue #6488: Explain the XPath support of xml.etree.ElementTree, with code http://hg.python.org/cpython/rev/e38f4cf482c7 -- nosy: +python-dev ___ Python

[issue14006] Improve the documentation of xml.etree.ElementTree

2012-03-26 Thread Roundup Robot
Roundup Robot added the comment: New changeset e38f4cf482c7 by Eli Bendersky in branch 'default': Issue #6488: Explain the XPath support of xml.etree.ElementTree, with code http://hg.python.org/cpython/rev/e38f4cf482c7 -- nosy: +python-dev ___ Python

[issue786827] IDLE starts with no menus (Cygwin)

2012-03-26 Thread Andrew Svetlov
Andrew Svetlov added the comment: Closing as the latest cygwin build works fine. -- resolution: -> out of date stage: needs patch -> committed/rejected status: open -> closed ___ Python tracker _

[issue989712] Support using Tk without a mainloop

2012-03-26 Thread Roger Serwy
Roger Serwy added the comment: There's a subtle bug in the currently applied patch. import tkinter a = tkinter.Tk() b = tkinter.Tk() Closing the first window will prevent closing the second window. This example may seem abstract, but it is a real issue especially when using matplo

[issue14417] dict RuntimeError workaround

2012-03-26 Thread R. David Murray
R. David Murray added the comment: I must admit to being concerned by the possible impact of this change as well. -- nosy: +r.david.murray ___ Python tracker ___ ___

[issue13608] remove born-deprecated PyUnicode_AsUnicodeAndSize

2012-03-26 Thread Jim Jewett
Jim Jewett added the comment: It is now a useful function, as PyUnicode_AsUnicode defers to it. It is still born-deprecated, but that may be unavoidable, as all use of the wstr format is deprecated. -- ___ Python tracker

[issue14228] It is impossible to catch sigint on startup in python code

2012-03-26 Thread R. David Murray
R. David Murray added the comment: > Limited by what? The alphabet. I suppose we could use a -- option, but somebody would have to add support for those. -- ___ Python tracker __

[issue14417] dict RuntimeError workaround

2012-03-26 Thread Jim Jewett
New submission from Jim Jewett : Per the 3.3 WhatsNew: """issue 14205: A dict lookup now raises a RuntimeError if the dict is modified during the lookup. If you implement your own comparison function for objects used as dict keys and the dict is shared by multiple threads, access to the dict s

[issue14416] syslog missing constants

2012-03-26 Thread Edward Yang
New submission from Edward Yang : The syslog module is missing constants for a number of logging priorities available on modern Linuxen. In particular, the following options are missing: LOG_ODELAY, LOG_AUTHPRIV, LOG_SYSLOG, LOG_UUCP. -- components: Library (Lib) messages: 156842 nosy:

[issue14410] argparse typo

2012-03-26 Thread Sandro Tosi
Sandro Tosi added the comment: Thanks for your patch: committed! -- nosy: +sandro.tosi resolution: -> fixed stage: -> committed/rejected status: open -> closed ___ Python tracker

[issue14410] argparse typo

2012-03-26 Thread Roundup Robot
Roundup Robot added the comment: New changeset 03771ea22ead by Sandro Tosi in branch '2.7': Issue #14410: fix typo in argparse doc; patch by Tshepang Lekhonkhobe http://hg.python.org/cpython/rev/03771ea22ead New changeset 3e18af617266 by Sandro Tosi in branch '3.2': Issue #14410: fix typo in ar

[issue6634] sys.exit() called from threads other than the main one: undocumented behaviour

2012-03-26 Thread David Manowitz
David Manowitz added the comment: I have a couple of issues with that argument: 1.) Until fairly recently, the fact that sys.exit() when called from a non-primary thread only causes the thread to die, was not clearly documented (and still isn't in the python2.6 docs). Admittedly, thread.exit()

[issue7635] 19.6 xml.dom.pulldom doc: stub?

2012-03-26 Thread R. David Murray
R. David Murray added the comment: Looks like someone else noticed the problem, but did not notice that there was an existing issue with a patch :(. Sorry about that, Mark. Thanks very much for working on this, and I'm very sorry it got lost. Hopefully Eli will review your patch and see if

[issue14413] whatsnew deprecation tweak

2012-03-26 Thread R. David Murray
R. David Murray added the comment: Somebody (Raymond?) is going to go through and edit for style and consistency before the release. But I applied your tweak anyway. -- nosy: +r.david.murray resolution: -> fixed stage: -> committed/rejected status: open -> closed __

[issue14413] whatsnew deprecation tweak

2012-03-26 Thread Roundup Robot
Roundup Robot added the comment: New changeset c407db9120e9 by R David Murray in branch 'default': #14413: tweak word order in deprecation section http://hg.python.org/cpython/rev/c407db9120e9 -- nosy: +python-dev ___ Python tracker

[issue14415] ValueError: I/O operation on closed file

2012-03-26 Thread R. David Murray
R. David Murray added the comment: The bug tracker is not a good place to get programming help. Please try the python-tutors list, or the general python-list (see mail.python.org for a list of mailing lists). There will be people on one of those lists with time to help you out. --

[issue14228] It is impossible to catch sigint on startup in python code

2012-03-26 Thread poq
poq added the comment: > Because the available space for command line switches is rather limited Limited by what? > "MYENVVAR=foo python ..." That does not work with hashbangs (and env is kludgey). -- ___ Python tracker

[issue786827] IDLE starts with no menus (Cygwin)

2012-03-26 Thread R. David Murray
Changes by R. David Murray : -- nosy: -smccardell ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail

[issue14415] ValueError: I/O operation on closed file

2012-03-26 Thread thao nguyen
Changes by thao nguyen : Added file: http://bugs.python.org/file25030/argument.py ___ Python tracker ___ ___ Python-bugs-list mailing list Uns

[issue14415] ValueError: I/O operation on closed file

2012-03-26 Thread thao nguyen
Changes by thao nguyen : Removed file: http://bugs.python.org/file25029/argument.py ___ Python tracker ___ ___ Python-bugs-list mailing list U

[issue14415] ValueError: I/O operation on closed file

2012-03-26 Thread thao nguyen
New submission from thao nguyen : Dear Support Team, I have built a function (enclosed here) to merge many files (in this example is 2 files: "a1.txt" and "a2.txt") lines by lines. The output file is called "final_file". However, i could not have it run successfully. Content of "a1.txt": 1 3

[issue786827] IDLE starts with no menus (Cygwin)

2012-03-26 Thread Jason Tishler
Jason Tishler added the comment: Please do. When I tested the Cygwin Python 2.6.7-1 release, IDLE was one of my testcases. In my limited testing (I'm not a regular IDLE user), the menus appeared to function properly. -- ___ Python tracker

[issue786827] IDLE starts with no menus (Cygwin)

2012-03-26 Thread Andrew Svetlov
Andrew Svetlov added the comment: I like to close the issue if problem has been solved by cygwin itself. -- ___ Python tracker ___ _

[issue786827] IDLE starts with no menus (Cygwin)

2012-03-26 Thread Jason Tishler
Jason Tishler added the comment: AFAICT, this issue is resolved in the latest Cygwin Python package (i.e., 2.6.7-1) that is built against a X11-based Tcl/Tk instead of a Win32 GDI version: http://cygwin.com/ml/cygwin-announce/2012-02/msg00014.html --

[issue14410] argparse typo

2012-03-26 Thread Jim Jewett
Jim Jewett added the comment: Patch is doc-only, and looks good to me. -- nosy: +Jim.Jewett ___ Python tracker ___ ___ Python-bugs-li

[issue14414] xmlrpclib leaves connection in broken state if server returns error without content-length

2012-03-26 Thread Joachim Bauch
New submission from Joachim Bauch : If a XML-RPC server returns an error page without a content-length header (for example with "transfer-encoding: chunked" instead), the method "single_request" in xmlrpclib doesn't read the response before raising a ProtocolError. If this happens and the http

[issue14404] multiprocessing with maxtasksperchild: bug in control logic?

2012-03-26 Thread ranga
ranga added the comment: Thanks for the quick response, neologix. I copied the multiprocessing/ directory from latest cpython's 2.7 branch into my project dir and it works as advertised now! -- ___ Python tracker

[issue11826] Leak in atexitmodule

2012-03-26 Thread Stefan Krah
Stefan Krah added the comment: Actually _iomodule.c already has a freefunc with the same signature. atexit_free() is properly called in: static void module_dealloc(PyModuleObject *m) { PyObject_GC_UnTrack(m); if (m->md_def && m->md_def->m_free) m->md_def->m_free(m); if (m->m

[issue14381] Intern certain integral floats for memory savings and performance

2012-03-26 Thread Kristján Valur Jónsson
Kristján Valur Jónsson added the comment: Why do you think it isn't safe, Antoine? We only support IEEE platforms, and IEEE defines positive 0.0 to be all bits cleared. I personally don't think that even a small measurable performance degradation in creating new floats is problematic since th

[issue14087] multiprocessing.Condition.wait_for missing

2012-03-26 Thread Charles-François Natali
Changes by Charles-François Natali : -- nosy: +pitrou stage: -> commit review ___ Python tracker ___ ___ Python-bugs-list mailing lis

  1   2   >