http://hg.code.sf.net:8000/p/roundup/code/atom-log/tip/roundup/cgi/TAL/HTMLTALParser.py Mercurial Repository: p/roundup/code: roundup/cgi/TAL/HTMLTALParser.py history 2018-07-24T23:04:42+00:00 Python 3 preparation: update calls to dict methods. http://hg.code.sf.net:8000/p/roundup/code/#changeset-23b8e6067f7cdf5ff451f0a99cac4fb288e56859 Joseph Myers jsm@polyomino.org.uk 2018-07-24T23:04:42+00:00 2018-07-24T23:04:42+00:00
changeset 23b8e6067f7c
branch
bookmark
tag
user Joseph Myers <jsm@polyomino.org.uk>
description Python 3 preparation: update calls to dict methods.

Tool-assisted patch. Changes of iterkeys / itervalues / iteritems to
keys / values / items are fully automated, but may make things less
efficient in Python 2. Automated tools want to add list() around many
calls to keys / values / items, but I thought most such list()
additions were unnecessary because it seemed the result of keys /
values / items was just iterated over while the set of dict keys
remained unchanged, rather than used in a way requiring an actual
list, or used while the set of keys in the dict could change. It's
quite possible I missed some cases where list() was really needed, or
left in some unnecessary list() calls.

In cases where list() was only needed because the resulting list was
then sorted in-place, I changed the code to use calls to sorted().
files
Python 3 preparation: make relative imports explicit. http://hg.code.sf.net:8000/p/roundup/code/#changeset-d26921b851c328681aa6638475ce2cdae29963b4 Joseph Myers jsm@polyomino.org.uk 2018-07-24T22:22:08+00:00 2018-07-24T22:22:08+00:00
changeset d26921b851c3
branch
bookmark
tag
user Joseph Myers <jsm@polyomino.org.uk>
description Python 3 preparation: make relative imports explicit.

Tool-generated patch.
files
Python 3 preparation: change "x.has_key(y)" to "y in x". http://hg.code.sf.net:8000/p/roundup/code/#changeset-0942fe89e82e3e84d95a3d0ca5d8d15502f57348 Joseph Myers jsm@polyomino.org.uk 2018-07-24T22:08:17+00:00 2018-07-24T22:08:17+00:00
changeset 0942fe89e82e
branch
bookmark
tag
user Joseph Myers <jsm@polyomino.org.uk>
description Python 3 preparation: change "x.has_key(y)" to "y in x".

(Also likewise "not in" where appropriate.) Tool-generated patch.
files
Python 3 preparation: use repr() instead of ``. http://hg.code.sf.net:8000/p/roundup/code/#changeset-12fe83f90f0ddf3f04e005cd1a30473799f89d8b Joseph Myers jsm@polyomino.org.uk 2018-07-24T21:36:02+00:00 2018-07-24T21:36:02+00:00
changeset 12fe83f90f0d
branch
bookmark
tag
user Joseph Myers <jsm@polyomino.org.uk>
description Python 3 preparation: use repr() instead of ``.

Tool-generated patch.
files
Use Python-3-compatible 'as' syntax for except statements http://hg.code.sf.net:8000/p/roundup/code/#changeset-198b6e810c67c4e7e38f1aa41edbc864783fe6e6 Eric S. Raymond esr@thyrsus.com 2017-08-24T22:21:37-04:00 2017-08-24T22:21:37-04:00
changeset 198b6e810c67
branch
bookmark
tag
user Eric S. Raymond <esr@thyrsus.com>
description Use Python-3-compatible 'as' syntax for except statements

Many raise statements near these are also fixed.
So are two ivorrect file encoding marks ('utf8'->'utf-8').
files
beginning getting ZPT up to date: TAL first http://hg.code.sf.net:8000/p/roundup/code/#changeset-8c2402a78bb0a174debb190192b193a8f3767048 Richard Jones richard@users.sourceforge.net 2004-05-21T05:36:30+00:00 2004-05-21T05:36:30+00:00
changeset 8c2402a78bb0
branch
bookmark
tag
user Richard Jones <richard@users.sourceforge.net>
description beginning getting ZPT up to date: TAL first
files
documentation cleanup http://hg.code.sf.net:8000/p/roundup/code/#changeset-fc52d57c6c3e1527f340677f484744a40f645ad4 Richard Jones richard@users.sourceforge.net 2004-02-11T23:55:10+00:00 2004-02-11T23:55:10+00:00
changeset fc52d57c6c3e
branch
bookmark
tag
user Richard Jones <richard@users.sourceforge.net>
description documentation cleanup
files
moved http://hg.code.sf.net:8000/p/roundup/code/#changeset-b9988e118055f23a0685ebfe4ca61b4b96a95d0c Richard Jones richard@users.sourceforge.net 2002-09-05T00:37:09+00:00 2002-09-05T00:37:09+00:00
changeset b9988e118055
branch
bookmark
tag
user Richard Jones <richard@users.sourceforge.net>
description moved
files