Vinay Sajip 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.

It could be argued that -2**31 is not a sensible log level. While int and long 
are supposed to be interchangeable for most purposes, isn't this a reasonable 
case where you shouldn't need to support long? If you feel not, what scenarios 
do you believe lie outside the "most purposes"?

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue15710>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to