Message8097
pygettext.py which makes up a large part of this patch is python2. It uses:
print >> filehandle, ...
except Exception, var
import imp
dictionary.sort()
reduce() (without importing it)
tokenize(file.readline, tokeneater)
I got all of the above sorted.
I will attach a diff for anybody who might want to convert pygettext.py from python2
to python3. Not sure everything is working ok, but in testing it found an error
in one of my extensions. I was using '_( template % values)' rather than '_(template) %
values' and it flagged it. Reported that % was unexpected. Running it on itself
checked out ok.
See: changeset: 8080:d1c29284ccd9 |
|
Date |
User |
Action |
Args |
2024-07-13 22:35:48 | rouilj | set | messageid: <1720910148.68.0.235268155417.issue2551287@roundup.psfhosted.org> |
2024-07-13 22:35:48 | rouilj | set | recipients:
+ rouilj |
2024-07-13 22:35:48 | rouilj | link | issue2551287 messages |
2024-07-13 22:35:48 | rouilj | create | |
|