[Python-Dev] Module version variable

Barry Warsaw barry at python.org
Mon Mar 21 22:10:44 CET 2011


On Mar 19, 2011, at 01:51 PM, Antoine Pitrou wrote:

>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...

I've made a note about it and will address it in PEP 396.

-Barry
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: not available
URL: <http://mail.python.org/pipermail/python-dev/attachments/20110321/7b4735ed/attachment.pgp>


More information about the Python-Dev mailing list