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

2012-03-26 Thread Roger Serwy
Roger Serwy 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 config-main.cfg and config-key

[issue14410] argparse typo

2012-03-26 Thread Tshepang Lekhonkhobe
New submission from Tshepang Lekhonkhobe : 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 versions: Python 2.7

[issue14411] outdatedness on rlcompleter docstring

2012-03-26 Thread Tshepang Lekhonkhobe
New submission from Tshepang Lekhonkhobe : 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: docs@python, tshe

[issue14373] C implementation of functools.lru_cache

2012-03-26 Thread Raymond Hettinger
Raymond Hettinger 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 needs to switch to the /* style

[issue14399] zipfile and creat/update comment

2012-03-26 Thread Cassaigne
Cassaigne 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 at the code. I'm also addi

[issue3367] Uninitialized value read in parsetok.c

2012-03-26 Thread Kristján Valur Jónsson
Kristján Valur Jónsson 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 is undefined and this a

[issue14408] Support the test_cases protocol in the stdlib tests

2012-03-26 Thread Antoine Pitrou
Changes by Antoine Pitrou : -- nosy: +michael.foord ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail

[issue3367] Uninitialized value read in parsetok.c

2012-03-26 Thread Stefan Krah
Stefan Krah 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 one of you look at the patch?

[issue14379] Several traceback docs improvements

2012-03-26 Thread R. David Murray
Changes by R. David Murray : -- type: -> enhancement ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://ma

[issue3367] Uninitialized value read in parsetok.c

2012-03-26 Thread Stefan Krah
Stefan Krah 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 when its declared. I thin

[issue14373] C implementation of functools.lru_cache

2012-03-26 Thread Matt Joiner
Matt Joiner 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 difference might become

[issue14373] C implementation of functools.lru_cache

2012-03-26 Thread Matt Joiner
Changes by Matt Joiner : Removed file: http://bugs.python.org/file24958/functools.lru_cache-in-c ___ Python tracker ___ ___ Python-bugs-list m

[issue14412] Sqlite Integer Fields

2012-03-26 Thread Mendez
New submission from Mendez : 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 are the results I get with differen

[issue3367] Uninitialized value read in parsetok.c

2012-03-26 Thread STINNER Victor
STINNER Victor 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. -- ___ Py

[issue3367] Uninitialized value read in parsetok.c

2012-03-26 Thread Kristján Valur Jónsson
Kristján Valur Jónsson 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 argc>0, but I did that as an afterthought. Which is the reason I asked you to take a look rather than committing this right away. Please allow

[issue14412] Sqlite Integer Fields

2012-03-26 Thread Antoine Pitrou
Antoine Pitrou 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 tracker

[issue3367] Uninitialized value read in parsetok.c

2012-03-26 Thread Stefan Krah
Stefan Krah 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. -- ___ Python tracker

[issue3367] Uninitialized value read in parsetok.c

2012-03-26 Thread Stefan Krah
Stefan Krah added the comment: K&R page 115 also says: The standard requires that argv[argc] be a NULL pointer. So it must be in C89 as well. -- ___ Python tracker ___ __

[issue14386] Expose dictproxy as a public type

2012-03-26 Thread STINNER Victor
STINNER Victor 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 "proxy" to indicate

[issue3367] Uninitialized value read in parsetok.c

2012-03-26 Thread STINNER Victor
STINNER Victor 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 argc>0, 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 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 rc with a

[issue14412] Sqlite Integer Fields

2012-03-26 Thread Mendez
Mendez 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 tracker

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

2012-03-26 Thread Jesse Noller
Changes by Jesse Noller : -- nosy: +asksol, jnoller ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail

[issue3367] Uninitialized value read in parsetok.c

2012-03-26 Thread Roundup Robot
Roundup Robot 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 'default': Issue #3367: Merge fix

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

2012-03-26 Thread Charles-François Natali
Charles-François Natali 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: -> Multiproce

[issue1053687] PyOS_InputHook not called in IDLE subprocess

2012-03-26 Thread Andrew Svetlov
Changes by Andrew Svetlov : -- versions: +Python 3.3 -Python 2.7, Python 3.1, Python 3.2 ___ Python tracker ___ ___ Python-bugs-list

[issue3367] Uninitialized value read in parsetok.c

2012-03-26 Thread Kristján Valur Jónsson
Kristján Valur Jónsson added the comment: You are right, Stefan, argv[argc] is defined to be NULL by the standard. Jolly good. -- ___ Python tracker ___ ___

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

2012-03-26 Thread Antoine Pitrou
Antoine Pitrou 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 this isn't an

[issue14413] whatsnew deprecation tweak

2012-03-26 Thread Jim Jewett
New submission from Jim Jewett : 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 "platform.popen(): use the subproce

[issue9609] make cProfile multi-stack aware

2012-03-26 Thread Kristján Valur Jónsson
Kristján Valur Jónsson added the comment: I've presented the patch, but no one has voiced an opinion on it. -- ___ Python tracker ___

[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

[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

[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

[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

[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

[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

[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 --

[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: 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

[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

[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
Changes by thao nguyen : Added file: http://bugs.python.org/file25030/argument.py ___ Python tracker ___ ___ Python-bugs-list mailing list Uns

[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

[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

[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. --

[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

[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 __

[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

[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()

[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

[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

[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:

[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

[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 __

[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

[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 ___ ___

[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

[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 _

[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

[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 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 Eli Bendersky
Changes by Eli Bendersky : -- resolution: -> fixed stage: needs patch -> committed/rejected status: open -> closed ___ Python tracker ___

[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 ___ _

[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

[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 ___ ___

[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. -- _

[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

[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 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
Changes by Andrew Svetlov : -- assignee: kbk -> asvetlov ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http:

[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

[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

[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

[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

[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

[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

[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

[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:

[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

[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

[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

[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

[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

[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

[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

[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

[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

[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 ___ ___

[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

[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 STINNER Victor
Changes by STINNER Victor : -- resolution: -> fixed status: open -> closed ___ Python tracker ___ ___ Python-bugs-list mailing list U

[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 ___

[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 ___ __

[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

[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

[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

[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 STINNER Victor
Changes by STINNER Victor : -- nosy: +pitrou ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python

[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
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 _

  1   2   >