[issue14395] sftp: downloading files with % in name fails due to logging

2012-03-26 Thread Parand Darugar
Parand Darugar tdaru...@yahoo.com added the comment: You're absolutely right, it's from paramiko. Apologies. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue14395 ___

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

2012-03-26 Thread Roger Serwy
Roger Serwy roger.se...@gmail.com added the comment: Hi Ankit, It looks like your configuration files for IDLE has a bug. Can you try renaming your .idlerc directory (likely located in your home directory) to something else and then retry using IDLE? Also, can you post your existing

[issue14410] argparse typo

2012-03-26 Thread Tshepang Lekhonkhobe
New submission from Tshepang Lekhonkhobe tshep...@gmail.com: typo fix -- assignee: docs@python components: Documentation files: typo.patch keywords: patch messages: 156801 nosy: docs@python, tshepang priority: normal severity: normal status: open title: argparse typo type: enhancement

[issue14411] outdatedness on rlcompleter docstring

2012-03-26 Thread Tshepang Lekhonkhobe
New submission from Tshepang Lekhonkhobe tshep...@gmail.com: This text appeared in Lib/rlcompleter.py in 1997, so ought to be outdated: This requires the latest extension to the readline module... -- assignee: docs@python components: Documentation, Library (Lib) messages: 156802 nosy:

[issue14373] C implementation of functools.lru_cache

2012-03-26 Thread Raymond Hettinger
Raymond Hettinger raymond.hettin...@gmail.com added the comment: I've just started looking at this. Nice job and good attention to detail on the error checking. Expect to have a few high-level suggestions and a ton of minor edits. Here are a couple of quick thoughts: * The comment style

[issue14399] zipfile and creat/update comment

2012-03-26 Thread Cassaigne
Cassaigne anthony.cassai...@gmail.com added the comment: Tanks à lot. To complete Information about this bug. it up and take a look. The relevant code is in Python, and I'm guessing there is some logic bug when only the comment is set (and nothing is added to the zipfile), but I haven't looked

[issue3367] Uninitialized value read in parsetok.c

2012-03-26 Thread Kristján Valur Jónsson
Kristján Valur Jónsson krist...@ccpgames.com added the comment: I don't quite understand what you're saying about line mismatch Victor. Anyway, if you look at it, it is clear that: 1) sys_update_path() can be called with argc==0 (main.c line 647) 2) 1742 was always setting arg0 to argv[0] that

[issue14408] Support the test_cases protocol in the stdlib tests

2012-03-26 Thread Antoine Pitrou
Changes by Antoine Pitrou pit...@free.fr: -- nosy: +michael.foord ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue14408 ___ ___ Python-bugs-list

[issue3367] Uninitialized value read in parsetok.c

2012-03-26 Thread Stefan Krah
Stefan Krah stefan-use...@bytereef.org added the comment: It's the line argv0 = argv[0] in sys_update_path(). The copies of argv made in python.c aren't NULL terminated. Kristján's patch worked around that (and fixes the problem), but I'd prefer to make a full copy of argv in python.c. Could

[issue14379] Several traceback docs improvements

2012-03-26 Thread R. David Murray
Changes by R. David Murray rdmur...@bitdance.com: -- type: - enhancement ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue14379 ___ ___

[issue3367] Uninitialized value read in parsetok.c

2012-03-26 Thread Stefan Krah
Stefan Krah stefan-use...@bytereef.org added the comment: 3) line 1812 assumes n to be equal to the length of arg0, but depending on conditional compilation, it may not get set at all, and in any case in line line 1805 it gets set only if p is not NULL. n is initialized to 0

[issue14373] C implementation of functools.lru_cache

2012-03-26 Thread Matt Joiner
Matt Joiner anacro...@gmail.com added the comment: I've fixed the commenting, and cache_info use. I've left the element management in pure C as it reduces memory use (56 bytes for 4 element list, vs. 16 for lru_cache_elem), and avoids ref counting overhead (3 refs per link, plus GC). The

[issue14373] C implementation of functools.lru_cache

2012-03-26 Thread Matt Joiner
Changes by Matt Joiner anacro...@gmail.com: Removed file: http://bugs.python.org/file24958/functools.lru_cache-in-c ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue14373 ___

[issue14412] Sqlite Integer Fields

2012-03-26 Thread Mendez
New submission from Mendez goatsofmen...@users.sourceforge.net: There appears to be a problem with the handling of integer fields in SQLite in the 32-bit release candidate for 2.7.3. I'm running the 64-bit version of Windows 7. I've attached a script which reproduces the issue. The following

[issue3367] Uninitialized value read in parsetok.c

2012-03-26 Thread STINNER Victor
STINNER Victor victor.stin...@gmail.com added the comment: Kristján's patch is wrong: n should be set to 0 even if argc 0. The patch is also useless with argv-alloc.diff. @Stefan: Your patch is correct and solves the issue. You can commit it to 2.7, 3.2 and 3.3. --

[issue3367] Uninitialized value read in parsetok.c

2012-03-26 Thread Kristján Valur Jónsson
Kristján Valur Jónsson krist...@ccpgames.com added the comment: I'm sure you didn't intend to use words such as wrong and useless Victor. Perhaps n must be 0 even for argc0, but I did that as an afterthought. Which is the reason I asked you to take a look rather than committing this right

[issue14412] Sqlite Integer Fields

2012-03-26 Thread Antoine Pitrou
Antoine Pitrou pit...@free.fr added the comment: Can't reproduce under Linux. Can someone test under Windows? -- components: +Library (Lib) nosy: +benjamin.peterson, brian.curtin, pitrou, tim.golden priority: normal - release blocker ___ Python

[issue3367] Uninitialized value read in parsetok.c

2012-03-26 Thread Stefan Krah
Stefan Krah stefan-use...@bytereef.org added the comment: I only have the C99 standard. It says [5.1.2.2.1]: - argv[argc] shall be a NULL pointer. Is this different in C89? Also, my patch terminates the *copies* of argv, not argv itself. -- ___

[issue3367] Uninitialized value read in parsetok.c

2012-03-26 Thread Stefan Krah
Stefan Krah stefan-use...@bytereef.org added the comment: KR page 115 also says: The standard requires that argv[argc] be a NULL pointer. So it must be in C89 as well. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue3367

[issue14386] Expose dictproxy as a public type

2012-03-26 Thread STINNER Victor
STINNER Victor victor.stin...@gmail.com added the comment: New patch replacing dictproxy() builtin type with collections.mappingview() type: - dictproxy() type doesn't need to be a builtin type - it is not specific to dict so replace dict prefix with mapping - view is a better suffix than

[issue3367] Uninitialized value read in parsetok.c

2012-03-26 Thread STINNER Victor
STINNER Victor victor.stin...@gmail.com added the comment: I'm sure you didn't intend to use words such as wrong and useless Victor.  Perhaps n must be 0 even for argc0, but I did that as an afterthought. If n is initialized as wcslen(argv[0]), test_cmd_line_script fails. --

[issue14412] Sqlite Integer Fields

2012-03-26 Thread Antoine Pitrou
Antoine Pitrou pit...@free.fr added the comment: Can't reproduce on a 2.7 debug build under Windows either. Some data points: hex(530428456761032704) '0x75c75df' hex(12349) '0x75c75df' Looking at #8033, it seems unlikely to have caused this problem. Perhaps we shipped the 2.7.3

[issue14412] Sqlite Integer Fields

2012-03-26 Thread Mendez
Mendez goatsofmen...@users.sourceforge.net added the comment: I've tried the 32-bit version of 3.2.3rc2 and that works as expected. There don't seem to be Windows builds of 2.6 and 3.1 available so I haven't been able to try those. -- ___ Python

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

2012-03-26 Thread Jesse Noller
Changes by Jesse Noller jnol...@gmail.com: -- nosy: +asksol, jnoller ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue14404 ___ ___ Python-bugs-list

[issue3367] Uninitialized value read in parsetok.c

2012-03-26 Thread Roundup Robot
Roundup Robot devn...@psf.upfronthosting.co.za added the comment: New changeset c0900fd6e4b3 by Stefan Krah in branch '3.2': Issue #3367: NULL-terminate argv[] copies to prevent an invalid access http://hg.python.org/cpython/rev/c0900fd6e4b3 New changeset 1ab8fa2277d9 by Stefan Krah in branch

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

2012-03-26 Thread Charles-François Natali
Charles-François Natali neolo...@free.fr added the comment: Sorry if I missed something, didn't RTFM etc. You didn't: it's a duplicate of #10332 (which has already been fixed). -- nosy: +neologix resolution: - duplicate stage: - committed/rejected status: open - closed superseder:

[issue1053687] PyOS_InputHook not called in IDLE subprocess

2012-03-26 Thread Andrew Svetlov
Changes by Andrew Svetlov andrew.svet...@gmail.com: -- versions: +Python 3.3 -Python 2.7, Python 3.1, Python 3.2 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue1053687 ___

[issue3367] Uninitialized value read in parsetok.c

2012-03-26 Thread Kristján Valur Jónsson
Kristján Valur Jónsson krist...@ccpgames.com added the comment: You are right, Stefan, argv[argc] is defined to be NULL by the standard. Jolly good. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue3367

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

2012-03-26 Thread Antoine Pitrou
Antoine Pitrou pit...@free.fr added the comment: Why an environment variable instead of a command line switch (as suggested by Ian Jackson)? Shouldn't a script be able to decide for itself how it handles signals? Because the available space for command line switches is rather limited, and

[issue14413] whatsnew deprecation tweak

2012-03-26 Thread Jim Jewett
New submission from Jim Jewett jimjjew...@gmail.com: http://www.python.org/~gbrandl/build/html2/whatsnew/3.3.html#pep-393-flexible-string-representation The packaging module replaces the distutils module All other deprecation messages list the deprecated object first, such as

[issue9609] make cProfile multi-stack aware

2012-03-26 Thread Kristján Valur Jónsson
Kristján Valur Jónsson krist...@ccpgames.com added the comment: I've presented the patch, but no one has voiced an opinion on it. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue9609 ___

[issue14087] multiprocessing.Condition.wait_for missing

2012-03-26 Thread Charles-François Natali
Changes by Charles-François Natali neolo...@free.fr: -- nosy: +pitrou stage: - commit review ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue14087 ___

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

2012-03-26 Thread Kristján Valur Jónsson
Kristján Valur Jónsson krist...@ccpgames.com 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

[issue11826] Leak in atexitmodule

2012-03-26 Thread Stefan Krah
Stefan Krah stefan-use...@bytereef.org 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)

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

2012-03-26 Thread ranga
ranga r_pyb...@curdrice.com 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

[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 m...@joachim-bauch.de: 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

[issue14410] argparse typo

2012-03-26 Thread Jim Jewett
Jim Jewett jimjjew...@gmail.com added the comment: Patch is doc-only, and looks good to me. -- nosy: +Jim.Jewett ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue14410 ___

[issue786827] IDLE starts with no menus (Cygwin)

2012-03-26 Thread Jason Tishler
Jason Tishler ja...@tishler.net 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 --

[issue786827] IDLE starts with no menus (Cygwin)

2012-03-26 Thread Andrew Svetlov
Andrew Svetlov andrew.svet...@gmail.com added the comment: I like to close the issue if problem has been solved by cygwin itself. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue786827 ___

[issue786827] IDLE starts with no menus (Cygwin)

2012-03-26 Thread Jason Tishler
Jason Tishler ja...@tishler.net 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. -- ___

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

2012-03-26 Thread thao nguyen
New submission from thao nguyen thaonphu...@gmail.com: 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

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

2012-03-26 Thread thao nguyen
Changes by thao nguyen thaonphu...@gmail.com: Removed file: http://bugs.python.org/file25029/argument.py ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue14415 ___

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

2012-03-26 Thread thao nguyen
Changes by thao nguyen thaonphu...@gmail.com: Added file: http://bugs.python.org/file25030/argument.py ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue14415 ___

[issue786827] IDLE starts with no menus (Cygwin)

2012-03-26 Thread R. David Murray
Changes by R. David Murray rdmur...@bitdance.com: -- nosy: -smccardell ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue786827 ___ ___

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

2012-03-26 Thread poq
poq p...@gmx.com 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

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

2012-03-26 Thread R. David Murray
R. David Murray rdmur...@bitdance.com 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

[issue14413] whatsnew deprecation tweak

2012-03-26 Thread Roundup Robot
Roundup Robot devn...@psf.upfronthosting.co.za 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 ___

[issue14413] whatsnew deprecation tweak

2012-03-26 Thread R. David Murray
R. David Murray rdmur...@bitdance.com 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

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

2012-03-26 Thread R. David Murray
R. David Murray rdmur...@bitdance.com 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

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

2012-03-26 Thread David Manowitz
David Manowitz david.manow...@gmail.com 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).

[issue14410] argparse typo

2012-03-26 Thread Roundup Robot
Roundup Robot devn...@psf.upfronthosting.co.za 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

[issue14410] argparse typo

2012-03-26 Thread Sandro Tosi
Sandro Tosi sandro.t...@gmail.com added the comment: Thanks for your patch: committed! -- nosy: +sandro.tosi resolution: - fixed stage: - committed/rejected status: open - closed ___ Python tracker rep...@bugs.python.org

[issue14416] syslog missing constants

2012-03-26 Thread Edward Yang
New submission from Edward Yang ezy...@mit.edu: 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)

[issue14417] dict RuntimeError workaround

2012-03-26 Thread Jim Jewett
New submission from Jim Jewett jimjjew...@gmail.com: 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,

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

2012-03-26 Thread R. David Murray
R. David Murray rdmur...@bitdance.com 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 rep...@bugs.python.org

[issue13608] remove born-deprecated PyUnicode_AsUnicodeAndSize

2012-03-26 Thread Jim Jewett
Jim Jewett jimjjew...@gmail.com 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

[issue14417] dict RuntimeError workaround

2012-03-26 Thread R. David Murray
R. David Murray rdmur...@bitdance.com added the comment: I must admit to being concerned by the possible impact of this change as well. -- nosy: +r.david.murray ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue14417

[issue989712] Support using Tk without a mainloop

2012-03-26 Thread Roger Serwy
Roger Serwy roger.se...@gmail.com 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

[issue786827] IDLE starts with no menus (Cygwin)

2012-03-26 Thread Andrew Svetlov
Andrew Svetlov andrew.svet...@gmail.com 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 rep...@bugs.python.org

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

2012-03-26 Thread Roundup Robot
Roundup Robot devn...@psf.upfronthosting.co.za 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

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

2012-03-26 Thread Roundup Robot
Roundup Robot devn...@psf.upfronthosting.co.za 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

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

2012-03-26 Thread Eli Bendersky
Eli Bendersky eli...@gmail.com added the comment: First step in the right direction - e38f4cf482c7 -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue14006 ___

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

2012-03-26 Thread Eli Bendersky
Changes by Eli Bendersky eli...@gmail.com: -- resolution: - fixed stage: needs patch - committed/rejected status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue6488 ___

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

2012-03-26 Thread Eli Bendersky
Eli Bendersky eli...@gmail.com added the comment: Closing the issue, unless someone wants to back-port this to 3.2/2.7 -- nosy: +eli.bendersky ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue6488

[issue13608] remove born-deprecated PyUnicode_AsUnicodeAndSize

2012-03-26 Thread Benjamin Peterson
Benjamin Peterson benja...@python.org added the comment: It could be made an internal function. -- nosy: +benjamin.peterson ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue13608 ___

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

2012-03-26 Thread Eli Bendersky
Eli Bendersky eli...@gmail.com 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 rep...@bugs.python.org http://bugs.python.org/issue14202

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

2012-03-26 Thread Eli Bendersky
Eli Bendersky eli...@gmail.com 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. --

[issue989712] Support using Tk without a mainloop

2012-03-26 Thread Roundup Robot
Roundup Robot devn...@psf.upfronthosting.co.za 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 --

[issue989712] Support using Tk without a mainloop

2012-03-26 Thread Andrew Svetlov
Andrew Svetlov andrew.svet...@gmail.com 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 rep...@bugs.python.org

[issue989712] Support using Tk without a mainloop

2012-03-26 Thread Andrew Svetlov
Changes by Andrew Svetlov andrew.svet...@gmail.com: -- status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue989712 ___ ___

[issue989712] Support using Tk without a mainloop

2012-03-26 Thread Andrew Svetlov
Changes by Andrew Svetlov andrew.svet...@gmail.com: -- assignee: kbk - asvetlov ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue989712 ___ ___

[issue539907] Tkinter lock conflicts extension widgets

2012-03-26 Thread Andrew Svetlov
Changes by Andrew Svetlov andrew.svet...@gmail.com: -- nosy: +asvetlov ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue539907 ___ ___

[issue539907] Tkinter lock conflicts extension widgets

2012-03-26 Thread Andrew Svetlov
Changes by Andrew Svetlov andrew.svet...@gmail.com: -- versions: +Python 3.3 -Python 2.7 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue539907 ___

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

2012-03-26 Thread Jim Jewett
Jim Jewett jimjjew...@gmail.com added the comment: See http://bugs.python.org/issue14417 -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue14205 ___

[issue5680] Command-line arguments when running in IDLE

2012-03-26 Thread Andrew Svetlov
Changes by Andrew Svetlov andrew.svet...@gmail.com: -- nosy: +asvetlov ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue5680 ___ ___ Python-bugs-list

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

2012-03-26 Thread Andrew Svetlov
Changes by Andrew Svetlov andrew.svet...@gmail.com: -- nosy: +asvetlov ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue5233 ___ ___ Python-bugs-list

[issue5594] IDLE startup configuration

2012-03-26 Thread Andrew Svetlov
Changes by Andrew Svetlov andrew.svet...@gmail.com: -- nosy: +asvetlov ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue5594 ___ ___ Python-bugs-list

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

2012-03-26 Thread Andrew Svetlov
Changes by Andrew Svetlov andrew.svet...@gmail.com: -- nosy: +asvetlov ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8378 ___ ___ Python-bugs-list

[issue8427] toplevel jumps to another location on the screen

2012-03-26 Thread Andrew Svetlov
Andrew Svetlov andrew.svet...@gmail.com added the comment: Ping -- nosy: +asvetlov ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8427 ___ ___

[issue6717] Some problem with recursion handling

2012-03-26 Thread Andrew Svetlov
Changes by Andrew Svetlov andrew.svet...@gmail.com: -- nosy: +asvetlov ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue6717 ___ ___ Python-bugs-list

[issue14399] zipfile and creat/update comment

2012-03-26 Thread Anthony Kong
Changes by Anthony Kong anthony.hw.k...@gmail.com: -- nosy: +Anthony.Kong ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue14399 ___ ___

[issue14417] dict RuntimeError workaround

2012-03-26 Thread STINNER Victor
Changes by STINNER Victor victor.stin...@gmail.com: -- nosy: +gvanrossum ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue14417 ___ ___

[issue14386] Expose dictproxy as a public type

2012-03-26 Thread Raymond Hettinger
Raymond Hettinger raymond.hettin...@gmail.com 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

[issue14390] Tkinter single-threaded deadlock

2012-03-26 Thread John Bollinger
John Bollinger john.bollin...@stjude.org 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

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

2012-03-26 Thread Roger Serwy
Changes by Roger Serwy roger.se...@gmail.com: -- status: open - pending ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue14409 ___ ___

[issue14408] Support the test_cases protocol in the stdlib tests

2012-03-26 Thread Michael Foord
Michael Foord mich...@voidspace.org.uk 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

[issue14368] floattime() should not raise an exception

2012-03-26 Thread Roundup Robot
Roundup Robot devn...@psf.upfronthosting.co.za 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

[issue14368] floattime() should not raise an exception

2012-03-26 Thread STINNER Victor
Changes by STINNER Victor victor.stin...@gmail.com: -- resolution: - fixed status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue14368 ___

[issue14386] Expose dictproxy as a public type

2012-03-26 Thread Guido van Rossum
Guido van Rossum gu...@python.org added the comment: Raymond, that sounds like a very irrational way of deciding where it should go. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue14386

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

2012-03-26 Thread Roundup Robot
Roundup Robot devn...@psf.upfronthosting.co.za 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

[issue14408] Support the load_tests protocol in the stdlib tests

2012-03-26 Thread Michael Foord
Changes by Michael Foord mich...@voidspace.org.uk: -- title: Support the test_cases protocol in the stdlib tests - Support the load_tests protocol in the stdlib tests ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue14408

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

2012-03-26 Thread STINNER Victor
Changes by STINNER Victor victor.stin...@gmail.com: -- resolution: - fixed status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue14383 ___

[issue14162] PEP 416: Add a builtin frozendict type

2012-03-26 Thread STINNER Victor
STINNER Victor victor.stin...@gmail.com added the comment: The PEP has been rejected. See issue #14386 for a new mappingview type. -- resolution: - fixed status: open - closed ___ Python tracker rep...@bugs.python.org

[issue14386] Expose dictproxy as a public type

2012-03-26 Thread Stefan Krah
Stefan Krah stefan-use...@bytereef.org added the comment: I wonder about the name: There is already a collections.abc.MappingView. -- nosy: +skrah ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue14386

[issue14386] Expose dictproxy as a public type

2012-03-26 Thread Raymond Hettinger
Raymond Hettinger raymond.hettin...@gmail.com 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

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

2012-03-26 Thread Geoffrey Bache
New submission from Geoffrey Bache gjb1...@users.sourceforge.net: 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

[issue14419] Faster ascii decoding

2012-03-26 Thread Serhiy Storchaka
New submission from Serhiy Storchaka storch...@gmail.com: 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

[issue14386] Expose dictproxy as a public type

2012-03-26 Thread Guido van Rossum
Guido van Rossum gu...@python.org added the comment: I like the suggestion of a library module containing proxy classes. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue14386 ___

[issue14419] Faster ascii decoding

2012-03-26 Thread STINNER Victor
Changes by STINNER Victor victor.stin...@gmail.com: -- nosy: +pitrou ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue14419 ___ ___ Python-bugs-list

[issue14419] Faster ascii decoding

2012-03-26 Thread Serhiy Storchaka
Serhiy Storchaka storch...@gmail.com 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). --

  1   2   >