[Python-Dev] Module version variable

Antoine Pitrou solipsis at pitrou.net
Sat Mar 19 13:51:43 CET 2011


On Fri, 18 Mar 2011 20:12:19 -0700
Toshio Kuratomi <a.badger at gmail.com> wrote:
> There is a section in PEP8 about __version__ but it serves a slightly
> different purpose there:
> 
> """
> Version Bookkeeping
> 
>     If you have to have Subversion, CVS, or RCS crud in your source file, do
>     it as follows.
> 
>         __version__ = "$Revision: 88433 $"
>         # $Source$

This should be updated (or rather, removed) now that we use Mercurial...

Regards

Antoine.




More information about the Python-Dev mailing list