[issue7309] crasher in str(Exception())

2009-11-12 Thread Armin Rigo
New submission from Armin Rigo ar...@users.sourceforge.net: 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

[issue7310] Unhelpful __repr__() in os.environ

2009-11-12 Thread Kent Johnson
New submission from Kent Johnson k...@kentsjohnson.com: 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,

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

2009-11-12 Thread Anand B Pillai
Anand B Pillai abpil...@gmail.com added the comment: Ok, so you think a documentation update is enough ? Thanks. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue7191 ___

[issue7311] Bug on regexp of HTMLParser

2009-11-12 Thread Chiyuan Zhang
New submission from Chiyuan Zhang plus...@gmail.com: 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

[issue7307] test_distutils failure under Windows 7

2009-11-12 Thread Amaury Forgeot d'Arc
Amaury Forgeot d'Arc amaur...@gmail.com 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 ___

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

2009-11-12 Thread Benjamin Peterson
Benjamin Peterson benja...@python.org added the comment: Fixed in r76231. -- nosy: +benjamin.peterson resolution: - fixed status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue1479099

[issue7312] Run some tests in a loop until failure

2009-11-12 Thread Antoine Pitrou
New submission from Antoine Pitrou pit...@free.fr: 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)

[issue7312] Run some tests in a loop until failure

2009-11-12 Thread Jesse Noller
Jesse Noller jnol...@gmail.com 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

[issue7134] Add looping capability to regrtest

2009-11-12 Thread Antoine Pitrou
Changes by Antoine Pitrou pit...@free.fr: -- resolution: - duplicate status: open - closed superseder: - Run some tests in a loop until failure ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue7134

[issue7312] Run some tests in a loop until failure

2009-11-12 Thread Antoine Pitrou
Antoine Pitrou pit...@free.fr 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 rep...@bugs.python.org http://bugs.python.org/issue7312

[issue7312] Run some tests in a loop until failure

2009-11-12 Thread Jesse Noller
Jesse Noller jnol...@gmail.com added the comment: Oh, no apologies needed. You have a patch! :) -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue7312 ___

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

2009-11-12 Thread Benjamin Peterson
Benjamin Peterson benja...@python.org added the comment: Finally got around to fixing this. r76230 -- nosy: +benjamin.peterson resolution: - fixed status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue4628

[issue7312] Run some tests in a loop until failure

2009-11-12 Thread R. David Murray
R. David Murray rdmur...@bitdance.com 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 :) --

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

2009-11-12 Thread Antoine Pitrou
Antoine Pitrou pit...@free.fr added the comment: Here is a patch. -- nosy: +pitrou stage: needs patch - patch review ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue6551 ___

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

2009-11-12 Thread Antoine Pitrou
Changes by Antoine Pitrou pit...@free.fr: -- keywords: +patch Added file: http://bugs.python.org/file15318/modcleanup.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue6551 ___

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

2009-11-12 Thread Alexandre Vassalotti
Alexandre Vassalotti alexan...@peadrop.com added the comment: The patch looks good to me. -- resolution: - accepted ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue6551 ___

[issue7060] test_multiprocessing dictionary changed size errors and hang

2009-11-12 Thread Benjamin Peterson
Benjamin Peterson benja...@python.org 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 rep...@bugs.python.org

[issue1294] Management of KeyboardInterrupt in cmd.py

2009-11-12 Thread Ilya Sandler
Ilya Sandler ilya.sand...@gmail.com 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