Message151951
Also, as Brett pointed out to me in #13853, bool is a subclass of int, so they should follow the same code path. I suggest replacing
elif type(e.args[0]) is int:
exitcode = e.args[0]
with something like
elif isinstance(e.args[0], int):
exitcode = e.args[0]
which assumes that a subtype of int is convertible to int. |
|
Date |
User |
Action |
Args |
2012-01-25 17:25:48 | brandjon | set | recipients:
+ brandjon, jnoller |
2012-01-25 17:25:48 | brandjon | set | messageid: <1327512348.28.0.497913714186.issue13854@psf.upfronthosting.co.za> |
2012-01-25 17:25:47 | brandjon | link | issue13854 messages |
2012-01-25 17:25:47 | brandjon | create | |
|