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
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,
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
___
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
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
___
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
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)
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
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
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
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
___
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
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 :)
--
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
___
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
___
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
___
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
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
18 matches
Mail list logo