[issue1294] Management of KeyboardInterrupt in cmd.py

2009-11-12 Thread Ilya Sandler
Ilya Sandler added the comment: > But currently, CTRL-C terminates the session instead of propagating upstream I am not sure I understand: currently Ctrl-C generates a KeyboardInterrupt, which can be caught by the application which can then decide how to proceed (in particular it can start an

[issue7060] test_multiprocessing dictionary changed size errors and hang

2009-11-12 Thread Benjamin Peterson
Benjamin Peterson added the comment: If this is not ported by the time we get to a 2.7 or 3.2 release, I'd like to back it out. -- priority: normal -> release blocker ___ Python tracker

[issue6551] test_codecs fails when ran after test_zipimport and test_mailbox.

2009-11-12 Thread Alexandre Vassalotti
Alexandre Vassalotti added the comment: The patch looks good to me. -- resolution: -> accepted ___ Python tracker ___ ___ Python-bugs

[issue6551] test_codecs fails when ran after test_zipimport and test_mailbox.

2009-11-12 Thread Antoine Pitrou
Changes by Antoine Pitrou : -- keywords: +patch Added file: http://bugs.python.org/file15318/modcleanup.patch ___ Python tracker ___ __

[issue6551] test_codecs fails when ran after test_zipimport and test_mailbox.

2009-11-12 Thread Antoine Pitrou
Antoine Pitrou added the comment: Here is a patch. -- nosy: +pitrou stage: needs patch -> patch review ___ Python tracker ___ ___ Pyth

[issue7312] Run some tests in a loop until failure

2009-11-12 Thread R. David Murray
R. David Murray added the comment: The patch generally looks good to me, but I think you overlooked line 507, where you do a pending.clear() in case of keyboard interrupt in -j mode. I tested it on trunk and it seems to work great, except when I press ctl-C :) -- _

[issue7312] Run some tests in a loop until failure

2009-11-12 Thread Jesse Noller
Jesse Noller added the comment: Oh, no apologies needed. You have a patch! :) -- ___ Python tracker ___ ___ Python-bugs-list mailing l

[issue7312] Run some tests in a loop until failure

2009-11-12 Thread Antoine Pitrou
Antoine Pitrou added the comment: > This is what I wanted to do in http://bugs.python.org/issue7134 Ah, sorry, I hadn't seen it. -- ___ Python tracker ___ __

[issue7134] Add looping capability to regrtest

2009-11-12 Thread Antoine Pitrou
Changes by Antoine Pitrou : -- resolution: -> duplicate status: open -> closed superseder: -> Run some tests in a loop until failure ___ Python tracker ___ _

[issue7312] Run some tests in a loop until failure

2009-11-12 Thread Jesse Noller
Jesse Noller added the comment: +1 I wanted to do this in +1 This is what I wanted to do in http://bugs.python.org/issue7134 I would put this in 2.x and 3.x :) There was some feedback in this ML thread: http://mail.python.org/pipermail/python-dev/2009-June/090238.html -- __

[issue7312] Run some tests in a loop until failure

2009-11-12 Thread Antoine Pitrou
New submission from Antoine Pitrou : It can be useful to run one or several of the regression tests in a loop, until one of the tests fail. Here is a patch to do that. (interesting thing, by the way: you can combine it with -j, in order to run several instance of the test at once) -- co

[issue1479099] 'compile' built-in function failures when missing EOL

2009-11-12 Thread Benjamin Peterson
Benjamin Peterson added the comment: Fixed in r76231. -- nosy: +benjamin.peterson resolution: -> fixed status: open -> closed ___ Python tracker ___ _

[issue4628] No universal newline support for compile() when using bytes

2009-11-12 Thread Benjamin Peterson
Benjamin Peterson added the comment: Finally got around to fixing this. r76230 -- nosy: +benjamin.peterson resolution: -> fixed status: open -> closed ___ Python tracker ___ ___

[issue7307] test_distutils failure under Windows 7

2009-11-12 Thread Amaury Forgeot d'Arc
Amaury Forgeot d'Arc added the comment: This is the same as issue7293. -- nosy: +amaury.forgeotdarc resolution: -> duplicate status: open -> closed superseder: -> test_msvc9compiler test_reg_class failure on new Windows box ___ Python tracker

[issue7311] Bug on regexp of HTMLParser

2009-11-12 Thread Chiyuan Zhang
New submission from Chiyuan Zhang : Hi all, I'm using BeautifulSoup to parsing an HTML page and find it refused to parse the page. By looking at the backtrace, I found it is a problem with the python built-in HTMLParser.py. In fact, the web page I'm parsing is with some Chinese characters. there

[issue7191] Odd behaviour with zlib.decompressobj optional parameter "wbits"

2009-11-12 Thread Anand B Pillai
Anand B Pillai added the comment: Ok, so you think a documentation update is enough ? Thanks. -- ___ Python tracker ___ ___ Python-bug

[issue7310] Unhelpful __repr__() in os.environ

2009-11-12 Thread Kent Johnson
New submission from Kent Johnson : In Python 2.x, os.environ extends UserDict.IterableUserDict and therefore os.environ.__repr__() shows the environment. This makes it easy and intuitive to view the entire environment in the interactive interpreter. In Python 3.1, os.environ extends _abcoll.Muta

[issue7309] crasher in str(Exception())

2009-11-12 Thread Armin Rigo
New submission from Armin Rigo : The __str__ method of some exception classes reads attributes without typechecking them. Alternatively, the issue could be that the user is allowed to set the value of these attributes directly, without typecheck. The typechecking is only done when we create the