[issue15710] logging module crashes in Python 2.7.3 for handler.setLevel(long)
Antoine Pitrou
report at bugs.python.org
Fri Aug 24 21:09:21 CEST 2012
Antoine Pitrou added the comment:
> type(-2**31) is long for 2.5 and 2.6 as well as 2.7. The check was
> added as a response to #6314, to catch incorrect values being passed
> as levels.
Well, what is an incorrect value and why would you bother refusing long?
And how about small long values (e.g. long(0))?
----------
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue15710>
_______________________________________
More information about the Python-bugs-list
mailing list