Matthew Barnett added the comment: Not a bug.
Python 2 had 'range', which returned a list, and 'xrange', which returned an xrange object which was iterable: >>> range(7) [0, 1, 2, 3, 4, 5, 6] >>> xrange(7) xrange(7) >>> list(xrange(7)) [0, 1, 2, 3, 4, 5, 6] In Python 3, 'range' was dropped and 'xrange' was renamed to 'range': >>> range(7) range(0, 7) >>> list(range(7)) [0, 1, 2, 3, 4, 5, 6] BTW, that's not the Windows command prompt, that's the Python prompt. ---------- components: +Interpreter Core -Regular Expressions _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue28880> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com