Antoine Pitrou <pit...@free.fr> added the comment: > There are plenty of tests that check implementation specific internal > behaviors. I don't think the presence of test alone would mean that it > can't be changed.
Right. In practice, returning a long instead of an int can produce bugs, mainly because some C functions will only accept ints and refuse longs. (which is the C functions' fault, but unless you want to find and fix all of them (including perhaps in 3rd-party libraries), I think it's better not to change the current behaviour) ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue9869> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com