Where does the convention of using private metadata variables like __author__
within a module come from?
This Python mailinglist thread seems to hint at some discussion about it in 2001, but by the sound of it the convention was already out in the wild.
Other than that, I can only find this PEP on package metadata, which seems influential but tangental at best.
I'd like to try and find some explicit material on the subject so my documentation tool can parse these metadata variables successfully.
My guess is, it's from the old times when packaging meta data was not common then. In PEP 8 one is encouraged to use the __version__ top level variable to hold the revision id of the versioning system in use. This dates back to 2001-05-01. PEP 396 is superseding this for module __version__ attributes.
For __author__ there is a post from the python dev mailing list, concerning this matter. This one dates back to 2001-03-01. The author questions the use of __author__: "What's next ? __cute_signoff__ ?".
Since there is no mention in the PEPs, we don't have to worry about __author__. Packaging metadata is our friend anyway.
http://mail.python.org/pipermail/python-dev/2001-March/013328.html