Lib/hotshot/stats.py patch is evil
Bug #88960 reported by
ChrisW
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
python2.4 (Ubuntu) |
Fix Released
|
Undecided
|
Matthias Klose | ||
python2.5 (Ubuntu) |
Fix Released
|
Undecided
|
Matthias Klose |
Bug Description
Binary package hint: python2.4
See this post:
http://
The patch referred to is here, apparently:
http://
Catching an import error like this and so indescriminately dumping out with sys.exit is pretty evil.
This stuffs up and third party library or am that wants to test hotshot's availability by to a try: except ImportError:, of which Zope's testrunner is one such example...
Changed in python2.4: | |
assignee: | nobody → doko |
status: | Unconfirmed → In Progress |
Changed in python2.5: | |
assignee: | nobody → doko |
status: | Unconfirmed → In Progress |
To post a comment you must log in.
fixed in python2. 4_2.4.4- 2ubuntu3