##// END OF EJS Templates
encoding: use range() instead of xrange()...
encoding: use range() instead of xrange() Python 3 doesn't have xrange(). Instead, range() on Python 3 is a generator, like xrange() is on Python 2. The benefits of xrange() over range() are when there are very large ranges that are too expensive to pre-allocate. The code here is only creating <128 values, so the benefits of xrange() should be negligible. With this patch, encoding.py imports safely on Python 3.

File last commit:

r2575:7289d20b default
r28508:3c6e94d0 default
Show More
macosx-build.txt
11 lines | 272 B | text/plain | TextLexer
Vadim Gelfer
make stuff for macos x binary package....
r1686 to build a new macosx binary package:
Lee Cantey
Redirect MacPython link to point to python.org
r2575 install macpython from http://www.python.org/download/mac
Vadim Gelfer
make stuff for macos x binary package....
r1686
install py2app from http://pythonmac.org/packages/
make sure /usr/local/bin is in your path
run bdist_mpkg in top-level hg directory
find packaged stuff in dist directory