[issue12690] Tix bug 2643483

2011-08-04 Thread Ned Deily
Ned Deily n...@acm.org added the comment: I think you are confusing the Tix widget set, an independent Tk-based project, with Tkinter, the Python interface to Tk, which is part of Python. The problem you linked to appears to be a Tix issue. That code is not part of Python. It needs to be

[issue12675] tokenize module happily tokenizes code with syntax errors

2011-08-04 Thread Gareth Rees
Gareth Rees g...@garethrees.org added the comment: I'm having a look to see if I can make tokenize.py better match the real tokenizer, but I need some feedback on a couple of design decisions. First, how to handle tokenization errors? There are three possibilities: 1. Generate an ERRORTOKEN,

[issue12675] tokenize module happily tokenizes code with syntax errors

2011-08-04 Thread Gareth Rees
Gareth Rees g...@garethrees.org added the comment: Having looked at some of the consumers of the tokenize module, I don't think my proposed solutions will work. It seems to be the case that the resynchronization behaviour of tokenize.py is important for consumers that are using it to

[issue12675] tokenize module happily tokenizes code with syntax errors

2011-08-04 Thread Gareth Rees
Gareth Rees g...@garethrees.org added the comment: Ah ... TokenInfo is a *subclass* of namedtuple, so I can add extra properties to it without breaking consumers that expect it to be a 5-tuple. -- ___ Python tracker rep...@bugs.python.org

[issue6695] PyXXX_ClearFreeList for dict, set, and list

2011-08-04 Thread Matthias Troffaes
Matthias Troffaes matthias.troff...@gmail.com added the comment: Patch against current tip attached. I can no longer reproduce the large memory leaks with the current tip (which is of course wonderful!), so I guess the second part of the patch (freeing the freelists during gc.collect) makes

[issue12677] Turtle, fix right/left rotation orientation

2011-08-04 Thread Sandro Tosi
Sandro Tosi sandro.t...@gmail.com added the comment: As mentioned by Ezio, and I also verified myself, mode() doesn't influence the orientation on left()/right() methods (probably it affects some other functs?). Following was Ezio and I discussed on IRC, I've updated the 2 patches to add a

[issue12677] Turtle, fix right/left rotation orientation

2011-08-04 Thread Sandro Tosi
Changes by Sandro Tosi sandro.t...@gmail.com: Added file: http://bugs.python.org/file22835/turtle_right-2.7-v2.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12677 ___

[issue7424] segmentation fault in listextend during install

2011-08-04 Thread rpointel
rpointel pyt...@xiri.fr added the comment: I changed the value from 1000 to 200, and it crashed the same way, then I tested with 20, and it ran into a runtime error but in a different place: c++ -pthread -L/home/ports/pobj/Python-2.7.1/Python-2.7.1 -Wl,--export-dynamic -o python

[issue7424] segmentation fault in listextend during install

2011-08-04 Thread Antoine Pitrou
Antoine Pitrou pit...@free.fr added the comment: The problem with such issues is that: - they are not reproduceable by someone of the core team - they only seem to occur in non-debug mode - they are probably tied to a specific compiler variant, either because of a compiler bug, or some

[issue12690] Tix bug 2643483

2011-08-04 Thread Ned Deily
Ned Deily n...@acm.org added the comment: Ah, I see now that the question is actually about the python.org Windows installers which, as a service to the user, pull in the external source of Tix during the build. (Tix is not included in the Python source distribution nor with the Mac OS X

[issue7247] test_fcntl_64_bit from test_fcntl.py fails in Python 2.6.4

2011-08-04 Thread Elias Pipping
Elias Pipping pipp...@exherbo.org added the comment: I had this problem as well. Recompiling my kernel with CONFIG_DNOTIFY=y fixed it (Thanks to David Leverton for pointing this out to me). -- ___ Python tracker rep...@bugs.python.org

[issue7424] segmentation fault in listextend during install

2011-08-04 Thread Remi Pointel
Remi Pointel pyt...@xiri.fr added the comment: Thanks Antoine for your response. Python 3.2.1 and Python 2.4.6 have been successfully installed (but Python 2.5.4 and Python 2.7.1 failed). -- ___ Python tracker rep...@bugs.python.org

[issue12691] tokenize.untokenize is broken

2011-08-04 Thread Gareth Rees
New submission from Gareth Rees g...@garethrees.org: tokenize.untokenize is completely broken. Python 3.2.1 (default, Jul 19 2011, 00:09:43) [GCC 4.2.1 (Apple Inc. build 5666) (dot 3)] on darwin Type help, copyright, credits or license for more information. import tokenize, io

[issue12691] tokenize.untokenize is broken

2011-08-04 Thread Ezio Melotti
Changes by Ezio Melotti ezio.melo...@gmail.com: -- nosy: +ezio.melotti stage: - test needed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12691 ___

[issue11572] bring Lib/copy.py to 100% coverage

2011-08-04 Thread Sandro Tosi
Sandro Tosi sandro.t...@gmail.com added the comment: Hi Brandon, I really like to see your patch applied, let's see what I can do (I also added Ezio in the loop). I think you only addressed half of msg132140 : could you please have a look at the first Éric's question? Also, still Éric made a

[issue12691] tokenize.untokenize is broken

2011-08-04 Thread Sandro Tosi
Sandro Tosi sandro.t...@gmail.com added the comment: Hi Gareth, would you like to provide a patch to fix the bug you spotted and add the relative case into the testsuite? -- nosy: +sandro.tosi ___ Python tracker rep...@bugs.python.org

[issue11572] bring Lib/copy.py to 100% coverage

2011-08-04 Thread Ezio Melotti
Ezio Melotti ezio.melo...@gmail.com added the comment: ISTM that the patch is trying to do too many things at once: 1) increase the test coverage, possibly fixing some bugs discovered while doing so; 2) refactor the tests to use the correct assert methods; 3) get rid of old code, and do some

[issue12691] tokenize.untokenize is broken

2011-08-04 Thread Gareth Rees
Gareth Rees g...@garethrees.org added the comment: See my last paragraph: I propose to deliver a single patch that fixes both this bug and issue12675. I hope this is OK. (If you prefer, I'll try to split the patch in two.) I just noticed another bug in untokenize(): in compatibility mode, if

[issue9338] argparse optionals with nargs='+' can't be followed by positionals

2011-08-04 Thread wrobell
wrobell wrob...@pld-linux.org added the comment: is there a chance to fix this issue? -- nosy: +wrobell ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue9338 ___

[issue11572] bring Lib/copy.py to 100% coverage

2011-08-04 Thread Sandro Tosi
Sandro Tosi sandro.t...@gmail.com added the comment: After a quick chat with Ezio, we tried to revert the changes to copy.py while keeping the ones on test, and the test suite passes. The next steps would probably be to just commit the diff for test_copy.py and see if the changes on copy.py

[issue12691] tokenize.untokenize is broken

2011-08-04 Thread Sandro Tosi
Sandro Tosi sandro.t...@gmail.com added the comment: The general rule would be to have separate patches. But in this case, if we have interdipendent changes, then those should be packed in a single patch (f.e. if changes to tokenize break untokenize, than those parts should be joined).

[issue12691] tokenize.untokenize is broken

2011-08-04 Thread Eric Snow
Changes by Eric Snow ericsnowcurren...@gmail.com: -- nosy: +ericsnow ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12691 ___ ___ Python-bugs-list

[issue11572] bring Lib/copy.py to 100% coverage

2011-08-04 Thread Brandon Craig Rhodes
Brandon Craig Rhodes bran...@rhodesmill.org added the comment: Ezio and Sandro, thank you very much for your attention to this issue, and for helping me split it into manageable chunks! To answer the question about why coverage does not show as high a total as it ought: it's because coverage

[issue11561] coverage of Python regrtest cannot see initial import of libs

2011-08-04 Thread Ezio Melotti
Changes by Ezio Melotti ezio.melo...@gmail.com: -- nosy: +ezio.melotti ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11561 ___ ___

[issue11572] bring Lib/copy.py to 100% coverage

2011-08-04 Thread Nick Coghlan
Nick Coghlan ncogh...@gmail.com added the comment: I'd assigned this to myself since I was discussing it with Brandon when he was working on it at the PyCon sprints. Since I certainly don't want to block anyone else getting to it, I'm unassigning it - feel free to take it forward :) IIRC, the

[issue7424] segmentation fault in listextend during install

2011-08-04 Thread Jon Buller
Jon Buller j...@bullers.net added the comment: I recently upgraded my SparcStation20 to NetBSD-current and thought I would try installing python again. I found that both 2.7.1 and whatever was the most current 2.5 pkgsrc version as of a few months ago built and installed just fine. I'm

[issue12692] test_urllib2net is triggering a ResourceWarning

2011-08-04 Thread Brett Cannon
New submission from Brett Cannon br...@python.org: Specifically, test.test_urllib2net.OtherNetworkTests.test_sites_no_connection_close is leaving a socket open somewhere, but tracking down exactly whom is to blame is a mess since socket.SocketIO.close() explicitly relies on refcounting to

[issue12693] test.support.transient_internet prints to stderr when verbose is false

2011-08-04 Thread Brett Cannon
New submission from Brett Cannon br...@python.org: When verbose mode if OFF, test.support.transient_internet prints out what resource was unavailable before raising the ResourceDenied exception. Not sure if this is a bug (since it has existed for a while) or it is on purpose and just happens