pygettext and PEP #?#

Roman Suzi rnd at
Fri Sep 14 21:38:00 CEST 2001


I remeber we had hot discussion about how to tell
Python which encoding it's code is in.

po-files use the following convention:

"Project-Id-Version: PACKAGE VERSION\n"
"POT-Creation-Date: Fri Sep 14 21:32:52 2001\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL at ADDRESS>\n"
"Language-Team: LANGUAGE <LL at>\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=CHARSET\n"
"Content-Transfer-Encoding: ENCODING\n"
"Generated-By: 1.3\n"

Probably Python's module-level doc-string could also adopt
RFC-822 style header which will provide such meta-information?
(Right now doc strings do not concatenate).

That is, making __doc__ RFC822 message which header has metainfromation
and body - usual comments.

Sincerely yours, Roman Suzi
_/ Russia _/ Karelia _/ Petrozavodsk _/ rnd at _/
_/ Friday, September 14, 2001 _/ Powered by Linux RedHat 6.2 _/
_/ "URA Redneck if you own a homemade fur coat." _/

More information about the Python-list mailing list