[Python-Dev] PEP 215 redux: toward a simplified consensus? (original) (raw)
Martin v. Loewis martin@v.loewis.de
26 Feb 2002 00:34:26 +0100
- Previous message: [Python-Dev] PEP 215 redux: toward a simplified consensus?
- Next message: [Python-Dev] PEP 215 redux: toward a simplified consensus?
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Jeff Epler <jepler@unpythonic.dhs.org> writes:
It means that you must audit not only your source code, but also your message catalogs, to determine whether information that is supposed to remain internal to a program is not formatted into a string. Of course, it is fairly easy to do this audit by showing that the translated string doesn't contain substitution on any identifiers that the original string did not.
That specific test could be done automatically. In fact, GNU msgfmt already performs the test for c-format strings; msgfmt.py should probably learn about the common notations for string interpolation.
Regards, Martin
- Previous message: [Python-Dev] PEP 215 redux: toward a simplified consensus?
- Next message: [Python-Dev] PEP 215 redux: toward a simplified consensus?
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]