Mark Dickinson <dicki...@gmail.com> added the comment: Mark] > I *think* range uses long internally
Aargh! Sorry, Eric. I take it back. *xrange* uses longs internally (and used to use ints once upon a time, IIRC), but there's a weird mix of int and long in builtin_range that doesn't make any sense to me. I suspect it's historical, and may have to do both with the xrange int->long switch and the int -> Py_ssize_t switch. ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue6985> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com