> This backport checkin (Oct 5 2002) changed the exception text between > 2.2.1: > > >>> int(None) > Traceback (most recent call last): > File "<stdin>", line 1, in ? > TypeError: object can't be converted to int > > and 2.2.2 (last line): > > >>> int(None) > Traceback (most recent call last): > File "<stdin>", line 1, in ? > TypeError: int() argument must be a string or a number > > Should this change have been backported to 2.2.2 from the 2.3 > codebase? Clarifications of error messages is acceptable for bugfix releases. Some error messages need more clarification than others, and you can argue about this particular one, but I don't think you can rely on all error messages remaining the same within bugfix releases. --Guido van Rossum (home page: http://www.python.org/~guido/)
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4