[issue6396] '' % object() raises TypeError

2011-06-26 Thread Terry J. Reedy
Terry J. Reedy added the comment: The original bug claim is invalid. But the following (3.2.0, winxp) strike me as a bug, hence the title change >>> class A: pass >>> '' % A() '' >>> '' % object() ... TypeError: not all arguments converted during string formatting More difference: >>> '%(a)

[issue5999] compile error on HP-UX 11.22 ia64 - 'mbstate_t' is used as a type, but has not been defined as a type

2011-06-26 Thread Terry J. Reedy
Terry J. Reedy added the comment: Sridhar, is there still a problem with current 3.2/3? If you are no longer working on this, I think we should close as languishing/postponed. -- nosy: +terry.reedy versions: +Python 3.2 -Python 3.1 ___ Python track

[issue11197] information leakage with SimpleHTTPServer

2011-06-26 Thread Senthil Kumaran
Senthil Kumaran added the comment: The module documentation for the SimpleHTTPServer class says that. """ This class serves files from the current directory and below, directly mapping the directory structure to HTTP requests. """ As it is already documented. Nothing else needs to be d

[issue12326] Linux 3: tests should avoid using sys.platform == 'linux2'

2011-06-26 Thread Charles-François Natali
Charles-François Natali added the comment: > That would be incorrect for some systems. For example, FreeBSD does > change sets of symbolic constants across system releases (mostly > additions, but sometimes also removals). Back then, SunOS 4 and SunOS > 5 were completely unrelated systems. > We

[issue6531] atexit_callfuncs() crashing within Py_Finalize() when using multiple interpreters.

2011-06-26 Thread Terry J. Reedy
Terry J. Reedy added the comment: What did you mean by 'crash'? An exception or a segfault or equivalent? I believe the finalization code was reworked a bit last fall, so could you determine whether or not there is still a problem in 3.2.1? Do not bother with 3.1.4 unless you think this is a

[issue4765] IDLE fails to "Delete Custom Key Set" properly

2011-06-26 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- versions: +Python 3.2, Python 3.3 -Python 2.6, Python 3.0, Python 3.1 ___ Python tracker ___ ___ Python-

[issue11253] autodocument first appearance of ctypes.wintypes constants

2011-06-26 Thread Senthil Kumaran
Senthil Kumaran added the comment: On Sun, Jun 26, 2011 at 10:44:59AM +, Mark Mc Mahon wrote: > So we need a doc patch? Should we update the older 'What's new in > Python 2.x' for added attribs? The Documentation patch may be applied only 2.7 and 3.2/3.3 releases now. What's new is updated

[issue6673] Uncaught comprehension SyntaxError eats up all memory

2011-06-26 Thread Terry J. Reedy
Terry J. Reedy added the comment: With 32bit winxp Windows Task Manager open to Processes, sorted by Men Usage, I verified expanding memory usage in 3.2.0 (and stopped at 200 mb versus normal <20Mb). While we do not expect compiler to catch while True: pass, it would be nice if this was, with

[issue12405] packaging does not record/remove directories it creates

2011-06-26 Thread Vinay Sajip
Vinay Sajip added the comment: I see that there's code to do this in install.py, but for some reason it seems not to be working in Windows. Investigating. -- ___ Python tracker ___

[issue12405] packaging does not record/remove directories it creates

2011-06-26 Thread Vinay Sajip
Vinay Sajip added the comment: More info on the problem (not Windows specific): if the installation creates a file several levels down a/b/c/file then during removal, only a/b/c is regarded as a candidate for removal; a/b and a are not considered as deletion candidates, and so never deleted,

[issue10760] tarfile doesn't handle sysfs well

2011-06-26 Thread Guy Rozendorn
Changes by Guy Rozendorn : -- nosy: +guyrozendorn ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.p

[issue12416] packaging does not have hooks callable during distribution removal

2011-06-26 Thread Vinay Sajip
New submission from Vinay Sajip : In general it is possible for an installation to make certain system changes other than the record of files written during an installation (for example, under Windows, there may be distribution-specific Windows registry updates). There seems to be no hook that

[issue6531] atexit_callfuncs() crashing within Py_Finalize() when using multiple interpreters.

2011-06-26 Thread Graham Dumpleton
Graham Dumpleton added the comment: Segmentation fault. The original description explains the problem is dereferencing of a NULL pointer which has a tendency to invoke such behaviour. -- ___ Python tracker ___

[issue2377] Replace import.c with a pure Python implementation

2011-06-26 Thread Brett Cannon
Changes by Brett Cannon : -- hgrepos: +34 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org

[issue2377] Replace __import__ w/ importlib.__import__

2011-06-26 Thread Brett Cannon
Changes by Brett Cannon : -- title: Replace import.c with a pure Python implementation -> Replace __import__ w/ importlib.__import__ ___ Python tracker ___ __

[issue8745] zipimport is a bit slow

2011-06-26 Thread Brett Cannon
Changes by Brett Cannon : -- assignee: brett.cannon -> ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://m

[issue8661] FAQ item 2.25 is unclear

2011-06-26 Thread Brett Cannon
Brett Cannon added the comment: This is out of date thanks to the rewrite of the FAQ for Mercurial. -- resolution: -> out of date status: open -> closed ___ Python tracker ___ _

[issue8912] `make patchcheck` should check the whitespace of .c/.h files

2011-06-26 Thread Brett Cannon
Changes by Brett Cannon : -- assignee: brett.cannon -> ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://m

[issue667770] import C API mess

2011-06-26 Thread Brett Cannon
Changes by Brett Cannon : -- dependencies: +Replace __import__ w/ importlib.__import__ ___ Python tracker ___ ___ Python-bugs-list ma

[issue7620] Vim syntax highlight

2011-06-26 Thread Brett Cannon
Changes by Brett Cannon : -- dependencies: +Usefulness of the Misc/Vim/ files? ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue2377] Replace __import__ w/ importlib.__import__

2011-06-26 Thread Brett Cannon
Brett Cannon added the comment: OK, so first step is to simply replace __import__ w/ importlib.__import__ using builtins.__import__ in order to make sure that all tests pass as expected. Can probably do this by doing the switch in Py_Initialize() somewhere. Next step after that will be seeing

[issue2377] Replace __import__ w/ importlib.__import__

2011-06-26 Thread Andreas Stührk
Changes by Andreas Stührk : -- nosy: +Trundle ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python

[issue6673] Uncaught comprehension SyntaxError eats up all memory

2011-06-26 Thread Nick Coghlan
Nick Coghlan added the comment: The acceptance of PEP 380 actually muddies the waters on this one - the expansion I cited as a syntax error now has a defined meaning. Specifically, list comprehensions containing yield expressions would become generators that return a list (set and dict compre

[issue11568] docstring of select.epoll.register() is wrong

2011-06-26 Thread Roundup Robot
Roundup Robot added the comment: New changeset 0610f70e6694 by Senthil Kumaran in branch '3.2': Fix closes issue 11568 - update select.epoll.register docstring with mention of correct behavior. http://hg.python.org/cpython/rev/0610f70e6694 -- nosy: +python-dev resolution: -> fixed sta

[issue11568] docstring of select.epoll.register() is wrong

2011-06-26 Thread Roundup Robot
Roundup Robot added the comment: New changeset a6586cb660dc by Senthil Kumaran in branch '2.7': Fix closes issue 11568 - update select.epoll.register docstring with mention of correct behavior. http://hg.python.org/cpython/rev/a6586cb660dc -- ___ Py

[issue11568] docstring of select.epoll.register() is wrong

2011-06-26 Thread Senthil Kumaran
Senthil Kumaran added the comment: On Sun, Jun 26, 2011 at 03:12:30PM +, Sandro Tosi wrote: > The patch is fine: but would you be interested in trying to write a > unittest for select.epoll.register ? it would be really nice to This is covered in test_epoll.py -- nosy: +orsenthil

<    1   2