Re: [Python-Dev] best practices stdlib: purging xrange

May 8, 2007
7:57 a.m.
-1 It isn't "informally deprecated". The xrange() builtin has different performance characteristics and is still needed in Py2.x. Only in Py3k where range() becomes lazy like will the need disappear. Seriously, we should make every effort to make sure that Py3k doesn't unnecessarily backpropagate into an otherwise very stable codebase. An unwarranted s/xrange/range/g would be just one more reason to not upgrade to Py2.6. Raymond
6523
Age (days ago)
6523
Last active (days ago)
0 comments
1 participants
participants (1)
-
Raymond Hettinger