Nick Coghlan <[EMAIL PROTECTED]> added the comment: Agreed - I've been convinced that the right thing to do is reject bytes in int() and float() as well.
If we decide we still want to support a fast-path conversion it should be via separate methods (e.g an int.from_ascii class method and an int.to_ascii instance method). __________________________________ Tracker <[EMAIL PROTECTED]> <http://bugs.python.org/issue2483> __________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com