annotate 2to3-done.txt @ 5852:44b6a79f4e70 maint-1.6

pyme no longer exists at pypi. Try using the git repo of record so we can run the tests on this year old tree. Right after this release in mid 2018, pyme was depricated on 2018-10-16.
author John Rouillard <rouilj@ieee.org>
date Wed, 21 Aug 2019 20:59:32 -0400
parents bc250b4fb4c5
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
4357
13b3155869e0 Beginnings of a big code cleanup / modernisation to make 2to3 happy
Richard Jones <richard@users.sourceforge.net>
parents:
diff changeset
1 CAN'T VERIFY
13b3155869e0 Beginnings of a big code cleanup / modernisation to make 2to3 happy
Richard Jones <richard@users.sourceforge.net>
parents:
diff changeset
2
13b3155869e0 Beginnings of a big code cleanup / modernisation to make 2to3 happy
Richard Jones <richard@users.sourceforge.net>
parents:
diff changeset
3 ./roundup/backends/back_mysql.py
13b3155869e0 Beginnings of a big code cleanup / modernisation to make 2to3 happy
Richard Jones <richard@users.sourceforge.net>
parents:
diff changeset
4
13b3155869e0 Beginnings of a big code cleanup / modernisation to make 2to3 happy
Richard Jones <richard@users.sourceforge.net>
parents:
diff changeset
5 TODO
13b3155869e0 Beginnings of a big code cleanup / modernisation to make 2to3 happy
Richard Jones <richard@users.sourceforge.net>
parents:
diff changeset
6
13b3155869e0 Beginnings of a big code cleanup / modernisation to make 2to3 happy
Richard Jones <richard@users.sourceforge.net>
parents:
diff changeset
7 ./roundup/cgi/exceptions.py
13b3155869e0 Beginnings of a big code cleanup / modernisation to make 2to3 happy
Richard Jones <richard@users.sourceforge.net>
parents:
diff changeset
8 ./roundup/cgi/form_parser.py
13b3155869e0 Beginnings of a big code cleanup / modernisation to make 2to3 happy
Richard Jones <richard@users.sourceforge.net>
parents:
diff changeset
9 ./roundup/cgi/MultiMapping.py
13b3155869e0 Beginnings of a big code cleanup / modernisation to make 2to3 happy
Richard Jones <richard@users.sourceforge.net>
parents:
diff changeset
10 ./roundup/cgi/PageTemplates/__init__.py
13b3155869e0 Beginnings of a big code cleanup / modernisation to make 2to3 happy
Richard Jones <richard@users.sourceforge.net>
parents:
diff changeset
11 ./roundup/cgi/PageTemplates/Expressions.py
13b3155869e0 Beginnings of a big code cleanup / modernisation to make 2to3 happy
Richard Jones <richard@users.sourceforge.net>
parents:
diff changeset
12 ./roundup/cgi/PageTemplates/GlobalTranslationService.py
13b3155869e0 Beginnings of a big code cleanup / modernisation to make 2to3 happy
Richard Jones <richard@users.sourceforge.net>
parents:
diff changeset
13 ./roundup/cgi/PageTemplates/MultiMapping.py
13b3155869e0 Beginnings of a big code cleanup / modernisation to make 2to3 happy
Richard Jones <richard@users.sourceforge.net>
parents:
diff changeset
14 ./roundup/cgi/PageTemplates/PageTemplate.py
13b3155869e0 Beginnings of a big code cleanup / modernisation to make 2to3 happy
Richard Jones <richard@users.sourceforge.net>
parents:
diff changeset
15 ./roundup/cgi/PageTemplates/PathIterator.py
13b3155869e0 Beginnings of a big code cleanup / modernisation to make 2to3 happy
Richard Jones <richard@users.sourceforge.net>
parents:
diff changeset
16 ./roundup/cgi/PageTemplates/PythonExpr.py
13b3155869e0 Beginnings of a big code cleanup / modernisation to make 2to3 happy
Richard Jones <richard@users.sourceforge.net>
parents:
diff changeset
17 ./roundup/cgi/PageTemplates/TALES.py
13b3155869e0 Beginnings of a big code cleanup / modernisation to make 2to3 happy
Richard Jones <richard@users.sourceforge.net>
parents:
diff changeset
18 ./roundup/cgi/TAL/__init__.py
13b3155869e0 Beginnings of a big code cleanup / modernisation to make 2to3 happy
Richard Jones <richard@users.sourceforge.net>
parents:
diff changeset
19 ./roundup/cgi/TAL/DummyEngine.py
13b3155869e0 Beginnings of a big code cleanup / modernisation to make 2to3 happy
Richard Jones <richard@users.sourceforge.net>
parents:
diff changeset
20 ./roundup/cgi/TAL/HTMLParser.py
13b3155869e0 Beginnings of a big code cleanup / modernisation to make 2to3 happy
Richard Jones <richard@users.sourceforge.net>
parents:
diff changeset
21 ./roundup/cgi/TAL/HTMLTALParser.py
13b3155869e0 Beginnings of a big code cleanup / modernisation to make 2to3 happy
Richard Jones <richard@users.sourceforge.net>
parents:
diff changeset
22 ./roundup/cgi/TAL/markupbase.py
13b3155869e0 Beginnings of a big code cleanup / modernisation to make 2to3 happy
Richard Jones <richard@users.sourceforge.net>
parents:
diff changeset
23 ./roundup/cgi/TAL/TALDefs.py
13b3155869e0 Beginnings of a big code cleanup / modernisation to make 2to3 happy
Richard Jones <richard@users.sourceforge.net>
parents:
diff changeset
24 ./roundup/cgi/TAL/TALGenerator.py
13b3155869e0 Beginnings of a big code cleanup / modernisation to make 2to3 happy
Richard Jones <richard@users.sourceforge.net>
parents:
diff changeset
25 ./roundup/cgi/TAL/talgettext.py
13b3155869e0 Beginnings of a big code cleanup / modernisation to make 2to3 happy
Richard Jones <richard@users.sourceforge.net>
parents:
diff changeset
26 ./roundup/cgi/TAL/TALInterpreter.py
13b3155869e0 Beginnings of a big code cleanup / modernisation to make 2to3 happy
Richard Jones <richard@users.sourceforge.net>
parents:
diff changeset
27 ./roundup/cgi/TAL/TALParser.py
13b3155869e0 Beginnings of a big code cleanup / modernisation to make 2to3 happy
Richard Jones <richard@users.sourceforge.net>
parents:
diff changeset
28 ./roundup/cgi/TAL/TranslationContext.py
13b3155869e0 Beginnings of a big code cleanup / modernisation to make 2to3 happy
Richard Jones <richard@users.sourceforge.net>
parents:
diff changeset
29 ./roundup/cgi/TAL/XMLParser.py
13b3155869e0 Beginnings of a big code cleanup / modernisation to make 2to3 happy
Richard Jones <richard@users.sourceforge.net>
parents:
diff changeset
30 ./roundup/cgi/templating.py
13b3155869e0 Beginnings of a big code cleanup / modernisation to make 2to3 happy
Richard Jones <richard@users.sourceforge.net>
parents:
diff changeset
31 ./roundup/cgi/TranslationService.py
13b3155869e0 Beginnings of a big code cleanup / modernisation to make 2to3 happy
Richard Jones <richard@users.sourceforge.net>
parents:
diff changeset
32 ./roundup/cgi/wsgi_handler.py
13b3155869e0 Beginnings of a big code cleanup / modernisation to make 2to3 happy
Richard Jones <richard@users.sourceforge.net>
parents:
diff changeset
33 ./roundup/cgi/zLOG.py
13b3155869e0 Beginnings of a big code cleanup / modernisation to make 2to3 happy
Richard Jones <richard@users.sourceforge.net>
parents:
diff changeset
34 ./roundup/cgi/ZTUtils/__init__.py
13b3155869e0 Beginnings of a big code cleanup / modernisation to make 2to3 happy
Richard Jones <richard@users.sourceforge.net>
parents:
diff changeset
35 ./roundup/cgi/ZTUtils/Batch.py
13b3155869e0 Beginnings of a big code cleanup / modernisation to make 2to3 happy
Richard Jones <richard@users.sourceforge.net>
parents:
diff changeset
36 ./roundup/cgi/ZTUtils/Iterator.py
13b3155869e0 Beginnings of a big code cleanup / modernisation to make 2to3 happy
Richard Jones <richard@users.sourceforge.net>
parents:
diff changeset
37 ./roundup/configuration.py
13b3155869e0 Beginnings of a big code cleanup / modernisation to make 2to3 happy
Richard Jones <richard@users.sourceforge.net>
parents:
diff changeset
38 ./roundup/date.py
13b3155869e0 Beginnings of a big code cleanup / modernisation to make 2to3 happy
Richard Jones <richard@users.sourceforge.net>
parents:
diff changeset
39 ./roundup/dist/__init__.py
13b3155869e0 Beginnings of a big code cleanup / modernisation to make 2to3 happy
Richard Jones <richard@users.sourceforge.net>
parents:
diff changeset
40 ./roundup/dist/command/__init__.py
13b3155869e0 Beginnings of a big code cleanup / modernisation to make 2to3 happy
Richard Jones <richard@users.sourceforge.net>
parents:
diff changeset
41 ./roundup/dist/command/bdist_rpm.py
13b3155869e0 Beginnings of a big code cleanup / modernisation to make 2to3 happy
Richard Jones <richard@users.sourceforge.net>
parents:
diff changeset
42 ./roundup/dist/command/build.py
13b3155869e0 Beginnings of a big code cleanup / modernisation to make 2to3 happy
Richard Jones <richard@users.sourceforge.net>
parents:
diff changeset
43 ./roundup/dist/command/build_doc.py
13b3155869e0 Beginnings of a big code cleanup / modernisation to make 2to3 happy
Richard Jones <richard@users.sourceforge.net>
parents:
diff changeset
44 ./roundup/dist/command/build_scripts.py
13b3155869e0 Beginnings of a big code cleanup / modernisation to make 2to3 happy
Richard Jones <richard@users.sourceforge.net>
parents:
diff changeset
45 ./roundup/exceptions.py
13b3155869e0 Beginnings of a big code cleanup / modernisation to make 2to3 happy
Richard Jones <richard@users.sourceforge.net>
parents:
diff changeset
46 ./roundup/hyperdb.py
13b3155869e0 Beginnings of a big code cleanup / modernisation to make 2to3 happy
Richard Jones <richard@users.sourceforge.net>
parents:
diff changeset
47 ./roundup/i18n.py
13b3155869e0 Beginnings of a big code cleanup / modernisation to make 2to3 happy
Richard Jones <richard@users.sourceforge.net>
parents:
diff changeset
48 ./roundup/init.py
13b3155869e0 Beginnings of a big code cleanup / modernisation to make 2to3 happy
Richard Jones <richard@users.sourceforge.net>
parents:
diff changeset
49 ./roundup/install_util.py
13b3155869e0 Beginnings of a big code cleanup / modernisation to make 2to3 happy
Richard Jones <richard@users.sourceforge.net>
parents:
diff changeset
50 ./roundup/instance.py
13b3155869e0 Beginnings of a big code cleanup / modernisation to make 2to3 happy
Richard Jones <richard@users.sourceforge.net>
parents:
diff changeset
51 ./roundup/mailer.py
13b3155869e0 Beginnings of a big code cleanup / modernisation to make 2to3 happy
Richard Jones <richard@users.sourceforge.net>
parents:
diff changeset
52 ./roundup/mailgw.py
13b3155869e0 Beginnings of a big code cleanup / modernisation to make 2to3 happy
Richard Jones <richard@users.sourceforge.net>
parents:
diff changeset
53 ./roundup/msgfmt.py
13b3155869e0 Beginnings of a big code cleanup / modernisation to make 2to3 happy
Richard Jones <richard@users.sourceforge.net>
parents:
diff changeset
54 ./roundup/password.py
13b3155869e0 Beginnings of a big code cleanup / modernisation to make 2to3 happy
Richard Jones <richard@users.sourceforge.net>
parents:
diff changeset
55 ./roundup/rfc2822.py
13b3155869e0 Beginnings of a big code cleanup / modernisation to make 2to3 happy
Richard Jones <richard@users.sourceforge.net>
parents:
diff changeset
56 ./roundup/roundupdb.py
13b3155869e0 Beginnings of a big code cleanup / modernisation to make 2to3 happy
Richard Jones <richard@users.sourceforge.net>
parents:
diff changeset
57 ./roundup/scripts/__init__.py
13b3155869e0 Beginnings of a big code cleanup / modernisation to make 2to3 happy
Richard Jones <richard@users.sourceforge.net>
parents:
diff changeset
58 ./roundup/scripts/roundup_admin.py
13b3155869e0 Beginnings of a big code cleanup / modernisation to make 2to3 happy
Richard Jones <richard@users.sourceforge.net>
parents:
diff changeset
59 ./roundup/scripts/roundup_demo.py
13b3155869e0 Beginnings of a big code cleanup / modernisation to make 2to3 happy
Richard Jones <richard@users.sourceforge.net>
parents:
diff changeset
60 ./roundup/scripts/roundup_gettext.py
13b3155869e0 Beginnings of a big code cleanup / modernisation to make 2to3 happy
Richard Jones <richard@users.sourceforge.net>
parents:
diff changeset
61 ./roundup/scripts/roundup_mailgw.py
13b3155869e0 Beginnings of a big code cleanup / modernisation to make 2to3 happy
Richard Jones <richard@users.sourceforge.net>
parents:
diff changeset
62 ./roundup/scripts/roundup_server.py
13b3155869e0 Beginnings of a big code cleanup / modernisation to make 2to3 happy
Richard Jones <richard@users.sourceforge.net>
parents:
diff changeset
63 ./roundup/scripts/roundup_xmlrpc_server.py
13b3155869e0 Beginnings of a big code cleanup / modernisation to make 2to3 happy
Richard Jones <richard@users.sourceforge.net>
parents:
diff changeset
64 ./roundup/security.py
13b3155869e0 Beginnings of a big code cleanup / modernisation to make 2to3 happy
Richard Jones <richard@users.sourceforge.net>
parents:
diff changeset
65 ./roundup/support.py
13b3155869e0 Beginnings of a big code cleanup / modernisation to make 2to3 happy
Richard Jones <richard@users.sourceforge.net>
parents:
diff changeset
66 ./roundup/token.py
13b3155869e0 Beginnings of a big code cleanup / modernisation to make 2to3 happy
Richard Jones <richard@users.sourceforge.net>
parents:
diff changeset
67 ./roundup/version_check.py
13b3155869e0 Beginnings of a big code cleanup / modernisation to make 2to3 happy
Richard Jones <richard@users.sourceforge.net>
parents:
diff changeset
68 ./roundup/xmlrpc.py
13b3155869e0 Beginnings of a big code cleanup / modernisation to make 2to3 happy
Richard Jones <richard@users.sourceforge.net>
parents:
diff changeset
69 ./run_tests.py
13b3155869e0 Beginnings of a big code cleanup / modernisation to make 2to3 happy
Richard Jones <richard@users.sourceforge.net>
parents:
diff changeset
70 ./scripts/copy-user.py
13b3155869e0 Beginnings of a big code cleanup / modernisation to make 2to3 happy
Richard Jones <richard@users.sourceforge.net>
parents:
diff changeset
71 ./scripts/imapServer.py
13b3155869e0 Beginnings of a big code cleanup / modernisation to make 2to3 happy
Richard Jones <richard@users.sourceforge.net>
parents:
diff changeset
72 ./scripts/import_sf.py
13b3155869e0 Beginnings of a big code cleanup / modernisation to make 2to3 happy
Richard Jones <richard@users.sourceforge.net>
parents:
diff changeset
73 ./scripts/schema_diagram.py
13b3155869e0 Beginnings of a big code cleanup / modernisation to make 2to3 happy
Richard Jones <richard@users.sourceforge.net>
parents:
diff changeset
74 ./setup.py
13b3155869e0 Beginnings of a big code cleanup / modernisation to make 2to3 happy
Richard Jones <richard@users.sourceforge.net>
parents:
diff changeset
75 ./share/roundup/templates/classic/detectors/messagesummary.py
13b3155869e0 Beginnings of a big code cleanup / modernisation to make 2to3 happy
Richard Jones <richard@users.sourceforge.net>
parents:
diff changeset
76 ./share/roundup/templates/classic/detectors/nosyreaction.py
13b3155869e0 Beginnings of a big code cleanup / modernisation to make 2to3 happy
Richard Jones <richard@users.sourceforge.net>
parents:
diff changeset
77 ./share/roundup/templates/classic/detectors/statusauditor.py
13b3155869e0 Beginnings of a big code cleanup / modernisation to make 2to3 happy
Richard Jones <richard@users.sourceforge.net>
parents:
diff changeset
78 ./share/roundup/templates/classic/detectors/userauditor.py
13b3155869e0 Beginnings of a big code cleanup / modernisation to make 2to3 happy
Richard Jones <richard@users.sourceforge.net>
parents:
diff changeset
79 ./share/roundup/templates/classic/initial_data.py
13b3155869e0 Beginnings of a big code cleanup / modernisation to make 2to3 happy
Richard Jones <richard@users.sourceforge.net>
parents:
diff changeset
80 ./share/roundup/templates/classic/schema.py
13b3155869e0 Beginnings of a big code cleanup / modernisation to make 2to3 happy
Richard Jones <richard@users.sourceforge.net>
parents:
diff changeset
81 ./share/roundup/templates/minimal/detectors/userauditor.py
13b3155869e0 Beginnings of a big code cleanup / modernisation to make 2to3 happy
Richard Jones <richard@users.sourceforge.net>
parents:
diff changeset
82 ./share/roundup/templates/minimal/initial_data.py
13b3155869e0 Beginnings of a big code cleanup / modernisation to make 2to3 happy
Richard Jones <richard@users.sourceforge.net>
parents:
diff changeset
83 ./share/roundup/templates/minimal/schema.py
13b3155869e0 Beginnings of a big code cleanup / modernisation to make 2to3 happy
Richard Jones <richard@users.sourceforge.net>
parents:
diff changeset
84 ./test/__init__.py
13b3155869e0 Beginnings of a big code cleanup / modernisation to make 2to3 happy
Richard Jones <richard@users.sourceforge.net>
parents:
diff changeset
85 ./test/benchmark.py
13b3155869e0 Beginnings of a big code cleanup / modernisation to make 2to3 happy
Richard Jones <richard@users.sourceforge.net>
parents:
diff changeset
86 ./test/db_test_base.py
13b3155869e0 Beginnings of a big code cleanup / modernisation to make 2to3 happy
Richard Jones <richard@users.sourceforge.net>
parents:
diff changeset
87 ./test/memorydb.py
13b3155869e0 Beginnings of a big code cleanup / modernisation to make 2to3 happy
Richard Jones <richard@users.sourceforge.net>
parents:
diff changeset
88 ./test/mocknull.py
13b3155869e0 Beginnings of a big code cleanup / modernisation to make 2to3 happy
Richard Jones <richard@users.sourceforge.net>
parents:
diff changeset
89 ./test/session_common.py
13b3155869e0 Beginnings of a big code cleanup / modernisation to make 2to3 happy
Richard Jones <richard@users.sourceforge.net>
parents:
diff changeset
90 ./test/test_actions.py
13b3155869e0 Beginnings of a big code cleanup / modernisation to make 2to3 happy
Richard Jones <richard@users.sourceforge.net>
parents:
diff changeset
91 ./test/test_anydbm.py
13b3155869e0 Beginnings of a big code cleanup / modernisation to make 2to3 happy
Richard Jones <richard@users.sourceforge.net>
parents:
diff changeset
92 ./test/test_cgi.py
13b3155869e0 Beginnings of a big code cleanup / modernisation to make 2to3 happy
Richard Jones <richard@users.sourceforge.net>
parents:
diff changeset
93 ./test/test_dates.py
13b3155869e0 Beginnings of a big code cleanup / modernisation to make 2to3 happy
Richard Jones <richard@users.sourceforge.net>
parents:
diff changeset
94 ./test/test_hyperdbvals.py
13b3155869e0 Beginnings of a big code cleanup / modernisation to make 2to3 happy
Richard Jones <richard@users.sourceforge.net>
parents:
diff changeset
95 ./test/test_indexer.py
13b3155869e0 Beginnings of a big code cleanup / modernisation to make 2to3 happy
Richard Jones <richard@users.sourceforge.net>
parents:
diff changeset
96 ./test/test_locking.py
13b3155869e0 Beginnings of a big code cleanup / modernisation to make 2to3 happy
Richard Jones <richard@users.sourceforge.net>
parents:
diff changeset
97 ./test/test_mailer.py
13b3155869e0 Beginnings of a big code cleanup / modernisation to make 2to3 happy
Richard Jones <richard@users.sourceforge.net>
parents:
diff changeset
98 ./test/test_mailgw.py
13b3155869e0 Beginnings of a big code cleanup / modernisation to make 2to3 happy
Richard Jones <richard@users.sourceforge.net>
parents:
diff changeset
99 ./test/test_mailsplit.py
13b3155869e0 Beginnings of a big code cleanup / modernisation to make 2to3 happy
Richard Jones <richard@users.sourceforge.net>
parents:
diff changeset
100 ./test/test_memorydb.py
13b3155869e0 Beginnings of a big code cleanup / modernisation to make 2to3 happy
Richard Jones <richard@users.sourceforge.net>
parents:
diff changeset
101 ./test/test_multipart.py
13b3155869e0 Beginnings of a big code cleanup / modernisation to make 2to3 happy
Richard Jones <richard@users.sourceforge.net>
parents:
diff changeset
102 ./test/test_mysql.py
13b3155869e0 Beginnings of a big code cleanup / modernisation to make 2to3 happy
Richard Jones <richard@users.sourceforge.net>
parents:
diff changeset
103 ./test/test_postgresql.py
13b3155869e0 Beginnings of a big code cleanup / modernisation to make 2to3 happy
Richard Jones <richard@users.sourceforge.net>
parents:
diff changeset
104 ./test/test_rfc2822.py
13b3155869e0 Beginnings of a big code cleanup / modernisation to make 2to3 happy
Richard Jones <richard@users.sourceforge.net>
parents:
diff changeset
105 ./test/test_schema.py
13b3155869e0 Beginnings of a big code cleanup / modernisation to make 2to3 happy
Richard Jones <richard@users.sourceforge.net>
parents:
diff changeset
106 ./test/test_security.py
13b3155869e0 Beginnings of a big code cleanup / modernisation to make 2to3 happy
Richard Jones <richard@users.sourceforge.net>
parents:
diff changeset
107 ./test/test_sqlite.py
13b3155869e0 Beginnings of a big code cleanup / modernisation to make 2to3 happy
Richard Jones <richard@users.sourceforge.net>
parents:
diff changeset
108 ./test/test_templating.py
13b3155869e0 Beginnings of a big code cleanup / modernisation to make 2to3 happy
Richard Jones <richard@users.sourceforge.net>
parents:
diff changeset
109 ./test/test_textfmt.py
13b3155869e0 Beginnings of a big code cleanup / modernisation to make 2to3 happy
Richard Jones <richard@users.sourceforge.net>
parents:
diff changeset
110 ./test/test_token.py
13b3155869e0 Beginnings of a big code cleanup / modernisation to make 2to3 happy
Richard Jones <richard@users.sourceforge.net>
parents:
diff changeset
111 ./test/test_userauditor.py
13b3155869e0 Beginnings of a big code cleanup / modernisation to make 2to3 happy
Richard Jones <richard@users.sourceforge.net>
parents:
diff changeset
112 ./test/test_xmlrpc.py
13b3155869e0 Beginnings of a big code cleanup / modernisation to make 2to3 happy
Richard Jones <richard@users.sourceforge.net>
parents:
diff changeset
113 ./test.py
13b3155869e0 Beginnings of a big code cleanup / modernisation to make 2to3 happy
Richard Jones <richard@users.sourceforge.net>
parents:
diff changeset
114 ./tools/fixroles.py
13b3155869e0 Beginnings of a big code cleanup / modernisation to make 2to3 happy
Richard Jones <richard@users.sourceforge.net>
parents:
diff changeset
115 ./tools/load_tracker.py
13b3155869e0 Beginnings of a big code cleanup / modernisation to make 2to3 happy
Richard Jones <richard@users.sourceforge.net>
parents:
diff changeset
116 ./tools/migrate-queries.py
13b3155869e0 Beginnings of a big code cleanup / modernisation to make 2to3 happy
Richard Jones <richard@users.sourceforge.net>
parents:
diff changeset
117 ./tools/pygettext.py
13b3155869e0 Beginnings of a big code cleanup / modernisation to make 2to3 happy
Richard Jones <richard@users.sourceforge.net>
parents:
diff changeset
118 ./frontends/ZRoundup/__init__.py
13b3155869e0 Beginnings of a big code cleanup / modernisation to make 2to3 happy
Richard Jones <richard@users.sourceforge.net>
parents:
diff changeset
119 ./frontends/ZRoundup/ZRoundup.py
13b3155869e0 Beginnings of a big code cleanup / modernisation to make 2to3 happy
Richard Jones <richard@users.sourceforge.net>
parents:
diff changeset
120
13b3155869e0 Beginnings of a big code cleanup / modernisation to make 2to3 happy
Richard Jones <richard@users.sourceforge.net>
parents:
diff changeset
121
13b3155869e0 Beginnings of a big code cleanup / modernisation to make 2to3 happy
Richard Jones <richard@users.sourceforge.net>
parents:
diff changeset
122 DONE
13b3155869e0 Beginnings of a big code cleanup / modernisation to make 2to3 happy
Richard Jones <richard@users.sourceforge.net>
parents:
diff changeset
123
13b3155869e0 Beginnings of a big code cleanup / modernisation to make 2to3 happy
Richard Jones <richard@users.sourceforge.net>
parents:
diff changeset
124 ./doc/conf.py
13b3155869e0 Beginnings of a big code cleanup / modernisation to make 2to3 happy
Richard Jones <richard@users.sourceforge.net>
parents:
diff changeset
125 ./roundup/admin.py
13b3155869e0 Beginnings of a big code cleanup / modernisation to make 2to3 happy
Richard Jones <richard@users.sourceforge.net>
parents:
diff changeset
126 ./roundup/backends/__init__.py
13b3155869e0 Beginnings of a big code cleanup / modernisation to make 2to3 happy
Richard Jones <richard@users.sourceforge.net>
parents:
diff changeset
127 ./roundup/backends/back_anydbm.py
13b3155869e0 Beginnings of a big code cleanup / modernisation to make 2to3 happy
Richard Jones <richard@users.sourceforge.net>
parents:
diff changeset
128 ./roundup/backends/back_postgresql.py
13b3155869e0 Beginnings of a big code cleanup / modernisation to make 2to3 happy
Richard Jones <richard@users.sourceforge.net>
parents:
diff changeset
129 ./roundup/backends/back_sqlite.py
13b3155869e0 Beginnings of a big code cleanup / modernisation to make 2to3 happy
Richard Jones <richard@users.sourceforge.net>
parents:
diff changeset
130 ./roundup/backends/indexer_common.py
13b3155869e0 Beginnings of a big code cleanup / modernisation to make 2to3 happy
Richard Jones <richard@users.sourceforge.net>
parents:
diff changeset
131 ./roundup/backends/indexer_dbm.py
13b3155869e0 Beginnings of a big code cleanup / modernisation to make 2to3 happy
Richard Jones <richard@users.sourceforge.net>
parents:
diff changeset
132 ./roundup/backends/indexer_rdbms.py
13b3155869e0 Beginnings of a big code cleanup / modernisation to make 2to3 happy
Richard Jones <richard@users.sourceforge.net>
parents:
diff changeset
133 ./roundup/backends/locking.py
13b3155869e0 Beginnings of a big code cleanup / modernisation to make 2to3 happy
Richard Jones <richard@users.sourceforge.net>
parents:
diff changeset
134 ./roundup/backends/portalocker.py
4359
b9abbdd15259 another module modernised
Richard Jones <richard@users.sourceforge.net>
parents: 4357
diff changeset
135 ./roundup/backends/rdbms_common.py
4362
74476eaac38a more modernisation
Richard Jones <richard@users.sourceforge.net>
parents: 4359
diff changeset
136 ./roundup/backends/sessions_dbm.py
74476eaac38a more modernisation
Richard Jones <richard@users.sourceforge.net>
parents: 4359
diff changeset
137 ./roundup/backends/sessions_rdbms.py
74476eaac38a more modernisation
Richard Jones <richard@users.sourceforge.net>
parents: 4359
diff changeset
138 ./roundup/cgi/accept_language.py
74476eaac38a more modernisation
Richard Jones <richard@users.sourceforge.net>
parents: 4359
diff changeset
139 ./roundup/cgi/actions.py
74476eaac38a more modernisation
Richard Jones <richard@users.sourceforge.net>
parents: 4359
diff changeset
140 ./roundup/cgi/cgitb.py
74476eaac38a more modernisation
Richard Jones <richard@users.sourceforge.net>
parents: 4359
diff changeset
141
74476eaac38a more modernisation
Richard Jones <richard@users.sourceforge.net>
parents: 4359
diff changeset
142
74476eaac38a more modernisation
Richard Jones <richard@users.sourceforge.net>
parents: 4359
diff changeset
143 NOTHING DONE
74476eaac38a more modernisation
Richard Jones <richard@users.sourceforge.net>
parents: 4359
diff changeset
144
74476eaac38a more modernisation
Richard Jones <richard@users.sourceforge.net>
parents: 4359
diff changeset
145 ./roundup/__init__.py
74476eaac38a more modernisation
Richard Jones <richard@users.sourceforge.net>
parents: 4359
diff changeset
146 ./roundup/actions.py
74476eaac38a more modernisation
Richard Jones <richard@users.sourceforge.net>
parents: 4359
diff changeset
147 ./roundup/anypy/__init__.py
74476eaac38a more modernisation
Richard Jones <richard@users.sourceforge.net>
parents: 4359
diff changeset
148 ./roundup/backends/blobfiles.py
74476eaac38a more modernisation
Richard Jones <richard@users.sourceforge.net>
parents: 4359
diff changeset
149 ./roundup/backends/indexer_xapian.py
74476eaac38a more modernisation
Richard Jones <richard@users.sourceforge.net>
parents: 4359
diff changeset
150 ./roundup/cgi/__init__.py
74476eaac38a more modernisation
Richard Jones <richard@users.sourceforge.net>
parents: 4359
diff changeset
151 ./roundup/cgi/apache.py
74476eaac38a more modernisation
Richard Jones <richard@users.sourceforge.net>
parents: 4359
diff changeset
152 ./roundup/cgi/client.py
5244
09235a01250a Some porting advice from Joseph Myers.
Eric S. Raymond <esr@thyrsus.com>
parents: 5005
diff changeset
153
09235a01250a Some porting advice from Joseph Myers.
Eric S. Raymond <esr@thyrsus.com>
parents: 5005
diff changeset
154 Joseph S. Myers notes:
09235a01250a Some porting advice from Joseph Myers.
Eric S. Raymond <esr@thyrsus.com>
parents: 5005
diff changeset
155 >The key difficulty is undoubtedly dealing with the changes to string types
09235a01250a Some porting advice from Joseph Myers.
Eric S. Raymond <esr@thyrsus.com>
parents: 5005
diff changeset
156 >- combined with how the extensibility of Roundup means people will have
09235a01250a Some porting advice from Joseph Myers.
Eric S. Raymond <esr@thyrsus.com>
parents: 5005
diff changeset
157 >Python code in their instances (detectors, etc.), both directly and
09235a01250a Some porting advice from Joseph Myers.
Eric S. Raymond <esr@thyrsus.com>
parents: 5005
diff changeset
158 >embedded in HTML - which passes strings to Roundup interfaces and gets
09235a01250a Some porting advice from Joseph Myers.
Eric S. Raymond <esr@thyrsus.com>
parents: 5005
diff changeset
159 >strings from Roundup interfaces.
09235a01250a Some porting advice from Joseph Myers.
Eric S. Raymond <esr@thyrsus.com>
parents: 5005
diff changeset
160 >
09235a01250a Some porting advice from Joseph Myers.
Eric S. Raymond <esr@thyrsus.com>
parents: 5005
diff changeset
161 >Roundup makes heavy use of string objects that really are text strings -
09235a01250a Some porting advice from Joseph Myers.
Eric S. Raymond <esr@thyrsus.com>
parents: 5005
diff changeset
162 >logically, sequences of Unicode code points. Right now, those strings,
09235a01250a Some porting advice from Joseph Myers.
Eric S. Raymond <esr@thyrsus.com>
parents: 5005
diff changeset
163 >with Python 2, are str objects, encoded in UTF-8. This means that
09235a01250a Some porting advice from Joseph Myers.
Eric S. Raymond <esr@thyrsus.com>
parents: 5005
diff changeset
164 >people's Python code in their instances, running under Python 2, will
09235a01250a Some porting advice from Joseph Myers.
Eric S. Raymond <esr@thyrsus.com>
parents: 5005
diff changeset
165 >expect str objects encoded in UTF-8 (and if their code is e.g. generating
09235a01250a Some porting advice from Joseph Myers.
Eric S. Raymond <esr@thyrsus.com>
parents: 5005
diff changeset
166 >HTML text encoded in UTF-8 to be sent to the user, it never actually has
09235a01250a Some porting advice from Joseph Myers.
Eric S. Raymond <esr@thyrsus.com>
parents: 5005
diff changeset
167 >to deal with the encoding explicitly, just passes the text through).
09235a01250a Some porting advice from Joseph Myers.
Eric S. Raymond <esr@thyrsus.com>
parents: 5005
diff changeset
168 >(The experimental Jinja2 templating engine then explicitly converts those
09235a01250a Some porting advice from Joseph Myers.
Eric S. Raymond <esr@thyrsus.com>
parents: 5005
diff changeset
169 >UTF-8 encoded str objects to unicode objects because that's what Jinja2
09235a01250a Some porting advice from Joseph Myers.
Eric S. Raymond <esr@thyrsus.com>
parents: 5005
diff changeset
170 >expects to deal with.)
09235a01250a Some porting advice from Joseph Myers.
Eric S. Raymond <esr@thyrsus.com>
parents: 5005
diff changeset
171 >
09235a01250a Some porting advice from Joseph Myers.
Eric S. Raymond <esr@thyrsus.com>
parents: 5005
diff changeset
172 >It's quite plausible people's code in their instances will work fine with
09235a01250a Some porting advice from Joseph Myers.
Eric S. Raymond <esr@thyrsus.com>
parents: 5005
diff changeset
173 >Python 3 if it gets str objects for both Python 2 and Python 3 (UTF-8
09235a01250a Some porting advice from Joseph Myers.
Eric S. Raymond <esr@thyrsus.com>
parents: 5005
diff changeset
174 >encoded str for Python 2, ordinary Unicode string objects for Python 3).
09235a01250a Some porting advice from Joseph Myers.
Eric S. Raymond <esr@thyrsus.com>
parents: 5005
diff changeset
175 >It's more likely to break if it gets Python 2 unicode objects, although
09235a01250a Some porting advice from Joseph Myers.
Eric S. Raymond <esr@thyrsus.com>
parents: 5005
diff changeset
176 >using such objects in Python 2 seems to be how a lot of people do their
09235a01250a Some porting advice from Joseph Myers.
Eric S. Raymond <esr@thyrsus.com>
parents: 5005
diff changeset
177 >porting to Python 3. And certainly if when an instance is running with
09235a01250a Some porting advice from Joseph Myers.
Eric S. Raymond <esr@thyrsus.com>
parents: 5005
diff changeset
178 >Python 3, it gets an object that's not a native sequence of Unicode code
09235a01250a Some porting advice from Joseph Myers.
Eric S. Raymond <esr@thyrsus.com>
parents: 5005
diff changeset
179 >points, but has each UTF-8 byte as a separate element of the str object,
09235a01250a Some porting advice from Joseph Myers.
Eric S. Raymond <esr@thyrsus.com>
parents: 5005
diff changeset
180 >things will break.
09235a01250a Some porting advice from Joseph Myers.
Eric S. Raymond <esr@thyrsus.com>
parents: 5005
diff changeset
181 >
09235a01250a Some porting advice from Joseph Myers.
Eric S. Raymond <esr@thyrsus.com>
parents: 5005
diff changeset
182 >(I have an instance that uses Unicode collation via PyICU on data from
09235a01250a Some porting advice from Joseph Myers.
Eric S. Raymond <esr@thyrsus.com>
parents: 5005
diff changeset
183 >Roundup, for example. That works fine with UTF-8 str objects in Python 2,
09235a01250a Some porting advice from Joseph Myers.
Eric S. Raymond <esr@thyrsus.com>
parents: 5005
diff changeset
184 >would work fine with Python 2 unicode objects though I don't use those,
09235a01250a Some porting advice from Joseph Myers.
Eric S. Raymond <esr@thyrsus.com>
parents: 5005
diff changeset
185 >works fine with Python 3 str objects when used in their native way - the
09235a01250a Some porting advice from Joseph Myers.
Eric S. Raymond <esr@thyrsus.com>
parents: 5005
diff changeset
186 >same code has a large part also used outside of Roundup that works with
09235a01250a Some porting advice from Joseph Myers.
Eric S. Raymond <esr@thyrsus.com>
parents: 5005
diff changeset
187 >both Python 2 and Python 3. Actually, I'd like to have a way to make
09235a01250a Some porting advice from Joseph Myers.
Eric S. Raymond <esr@thyrsus.com>
parents: 5005
diff changeset
188 >Roundup's built-in sorting of database objects use Unicode collation, or
09235a01250a Some porting advice from Joseph Myers.
Eric S. Raymond <esr@thyrsus.com>
parents: 5005
diff changeset
189 >otherwise have a way of computing a sort key that isn't simply naming a
09235a01250a Some porting advice from Joseph Myers.
Eric S. Raymond <esr@thyrsus.com>
parents: 5005
diff changeset
190 >particular property as the sort key, but that's another matter.)
09235a01250a Some porting advice from Joseph Myers.
Eric S. Raymond <esr@thyrsus.com>
parents: 5005
diff changeset
191 >
09235a01250a Some porting advice from Joseph Myers.
Eric S. Raymond <esr@thyrsus.com>
parents: 5005
diff changeset
192 >But Roundup *also* has strings that are sequences of bytes - String()
09235a01250a Some porting advice from Joseph Myers.
Eric S. Raymond <esr@thyrsus.com>
parents: 5005
diff changeset
193 >database fields, which can be both. Many are data displayed directly on
09235a01250a Some porting advice from Joseph Myers.
Eric S. Raymond <esr@thyrsus.com>
parents: 5005
diff changeset
194 >web pages and edited there by the user - those are ordinary strings (UTF-8
09235a01250a Some porting advice from Joseph Myers.
Eric S. Raymond <esr@thyrsus.com>
parents: 5005
diff changeset
195 >at present). But FileClass objects have a String() content property which
09235a01250a Some porting advice from Joseph Myers.
Eric S. Raymond <esr@thyrsus.com>
parents: 5005
diff changeset
196 >is arbitrary binary data such as an attached file - which logically should
09235a01250a Some porting advice from Joseph Myers.
Eric S. Raymond <esr@thyrsus.com>
parents: 5005
diff changeset
197 >appear to the user as a bytes object in Python 3. Except that some
09235a01250a Some porting advice from Joseph Myers.
Eric S. Raymond <esr@thyrsus.com>
parents: 5005
diff changeset
198 >FileClass objects use that data to store text (e.g. the msg class in the
09235a01250a Some porting advice from Joseph Myers.
Eric S. Raymond <esr@thyrsus.com>
parents: 5005
diff changeset
199 >classic scheme). So you definitely need a Bytes() alternative to String()
09235a01250a Some porting advice from Joseph Myers.
Eric S. Raymond <esr@thyrsus.com>
parents: 5005
diff changeset
200 >fields, for binary data, and may or may not also need separate text and
09235a01250a Some porting advice from Joseph Myers.
Eric S. Raymond <esr@thyrsus.com>
parents: 5005
diff changeset
201 >binary variants of FileClass.
09235a01250a Some porting advice from Joseph Myers.
Eric S. Raymond <esr@thyrsus.com>
parents: 5005
diff changeset
202 >
09235a01250a Some porting advice from Joseph Myers.
Eric S. Raymond <esr@thyrsus.com>
parents: 5005
diff changeset
203 >I've found that for text-heavy code, always using str objects for text and
09235a01250a Some porting advice from Joseph Myers.
Eric S. Raymond <esr@thyrsus.com>
parents: 5005
diff changeset
204 >having them be normal Unicode strings in Python 3 but UTF-8-encoded in
09235a01250a Some porting advice from Joseph Myers.
Eric S. Raymond <esr@thyrsus.com>
parents: 5005
diff changeset
205 >Python 2 works well with the vast bulk of code being encoding-agnostic and
09235a01250a Some porting advice from Joseph Myers.
Eric S. Raymond <esr@thyrsus.com>
parents: 5005
diff changeset
206 >just passing the strings around. Obviously things are different for the
09235a01250a Some porting advice from Joseph Myers.
Eric S. Raymond <esr@thyrsus.com>
parents: 5005
diff changeset
207 >sort of code that mixes text and binary data - that is, the sort of thing
09235a01250a Some porting advice from Joseph Myers.
Eric S. Raymond <esr@thyrsus.com>
parents: 5005
diff changeset
208 >you describe as systems programs in your porting HOWTO. I don't think
09235a01250a Some porting advice from Joseph Myers.
Eric S. Raymond <esr@thyrsus.com>
parents: 5005
diff changeset
209 >Roundup really is such a systems program, except in limited areas such as
09235a01250a Some porting advice from Joseph Myers.
Eric S. Raymond <esr@thyrsus.com>
parents: 5005
diff changeset
210 >dealing with attached files.
5249
bc250b4fb4c5 More port planning.
Eric S. Raymond <esr@thyrsus.com>
parents: 5244
diff changeset
211
bc250b4fb4c5 More port planning.
Eric S. Raymond <esr@thyrsus.com>
parents: 5244
diff changeset
212 >For network data, Roundup is already careful about character sets -
bc250b4fb4c5 More port planning.
Eric S. Raymond <esr@thyrsus.com>
parents: 5244
diff changeset
213 >converting to UTF-8 on input (see e.g. "if client charset is different
bc250b4fb4c5 More port planning.
Eric S. Raymond <esr@thyrsus.com>
parents: 5244
diff changeset
214 >from the storage charset, recode form fields" in cgi/client.py, or the
bc250b4fb4c5 More port planning.
Eric S. Raymond <esr@thyrsus.com>
parents: 5244
diff changeset
215 >code in mailgw.py that checks the encoding of each MIME part and converts
bc250b4fb4c5 More port planning.
Eric S. Raymond <esr@thyrsus.com>
parents: 5244
diff changeset
216 >to UTF-8). Presumably in such cases the decoding would remain unchanged
bc250b4fb4c5 More port planning.
Eric S. Raymond <esr@thyrsus.com>
parents: 5244
diff changeset
217 >for Python 3, but the encoding should be a function that's a no-op for
bc250b4fb4c5 More port planning.
Eric S. Raymond <esr@thyrsus.com>
parents: 5244
diff changeset
218 >Python 3 to get native str objects there (and likewise for the places
bc250b4fb4c5 More port planning.
Eric S. Raymond <esr@thyrsus.com>
parents: 5244
diff changeset
219 >where data is turned into Python 2 unicode objects, processed and
bc250b4fb4c5 More port planning.
Eric S. Raymond <esr@thyrsus.com>
parents: 5244
diff changeset
220 >converted back to UTF-8 - both steps should be no-ops for Python 3).
bc250b4fb4c5 More port planning.
Eric S. Raymond <esr@thyrsus.com>
parents: 5244
diff changeset
221 >
bc250b4fb4c5 More port planning.
Eric S. Raymond <esr@thyrsus.com>
parents: 5244
diff changeset
222 >For reading templates, database string data, etc., Roundup knows the
bc250b4fb4c5 More port planning.
Eric S. Raymond <esr@thyrsus.com>
parents: 5244
diff changeset
223 >storage format is UTF-8 so has no explicit conversions - those are places
bc250b4fb4c5 More port planning.
Eric S. Raymond <esr@thyrsus.com>
parents: 5244
diff changeset
224 >that will need to be found and made to decode as UTF-8 for Python 3 (or do
bc250b4fb4c5 More port planning.
Eric S. Raymond <esr@thyrsus.com>
parents: 5244
diff changeset
225 >a no-op for Python 2).

Roundup Issue Tracker: http://roundup-tracker.org/