pygettext and PEP #?#

Roman Suzi <[email protected]>
Newsgroups gmane.comp.python.internationalization
Message-ID <[email protected]>
Hello!

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@ADDRESS>\n"
"Language-Team: LANGUAGE <[email protected]>\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=CHARSET\n"
"Content-Transfer-Encoding: ENCODING\n"
"Generated-By: pygettext.py 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 _/ [email protected] _/
_/ Friday, September 14, 2001 _/ Powered by Linux RedHat 6.2 _/
_/ "URA Redneck if you own a homemade fur coat." _/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.