Mercurial > p > roundup > code
view MANIFEST.in @ 5439:b00cd44fea16
Python 3 preparation: update string translate method call in cgi/accept_language.py.
The str translate method in Python 3 is sufficiently different from
that in Python 2 that different arguments are needed here. Note that
the existing code "ascii = ''.join([chr(x) for x in range(256)])" is
redundant with both versions (in Python 2, None can be used instead as
the first translate argument from Python 2.6 onwards).
| author | Joseph Myers <jsm@polyomino.org.uk> |
|---|---|
| date | Wed, 25 Jul 2018 11:44:01 +0000 |
| parents | 1ee8b7a671e7 |
| children | c652849bfc75 |
line wrap: on
line source
recursive-include share * recursive-include roundup *.* recursive-include frontends *.* recursive-include scripts *.* *-* recursive-include tools *.* base64 recursive-include test *.py *.txt recursive-include doc *.html *.png *.txt *.css *.example recursive-include detectors *.py README.txt global-exclude *.pyc *.pyo .DS_Store *.orig *.rej *~ \#* include run_tests.py demo.py *.txt include doc/conf.py doc/roundup-favicon.ico exclude 2to3-done.txt exclude doc/security.txt include locale/*.po locale/*.mo locale/roundup.pot
