raise Python 2.6 compatible exceptions
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Wireshark |
Fix Released
|
Low
|
|||
wireshark (Debian) |
Fix Released
|
Unknown
|
|||
wireshark (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned | ||
Maverick |
Fix Released
|
Low
|
Micah Gersten |
Bug Description
Binary package hint: wireshark
REASON FOR SRU
This is the only change between 1.2.11-4 and 1.2.11-6 which were security updates, so if we can SRU this, we can continue to fakesync from squeeze for security support
-------
From: http://
Hello,
One of the changes brought by Python 2.6 is the removal of string
exceptions, so they won't work in Python 2.6 (just a side note: they
were also buggy before, since they were not guaranteed to work
reliable even in <2.6); as an example:
$ python2.5 -c "raise 'eggs'"
-c:1: DeprecationWarning: raising a string exception is deprecated
Traceback (most recent call last):
File "<string>", line 1, in <module>
eggs
$ python2.6 -c "raise 'eggs'"
Traceback (most recent call last):
File "<string>", line 1, in <module>
TypeError: exceptions must be old-style classes or derived from BaseException, not str
Changed in wireshark (Debian): | |
status: | Unknown → Fix Released |
Changed in wireshark: | |
importance: | Unknown → Low |
status: | Unknown → Fix Released |
Need to find a test case, so assigning to me