Python Gotcha with Octal Numbers
Jeff Shannon
jeff at ccvcorp.com
Fri Feb 22 12:48:04 EST 2002
Grant Edwards wrote:
> I just got bit by the leading-zero thing again about 10 minutes
> ago when I changed the minor version number of something from 07
> to 08. Had to skip from 1.07 to 1.10...
So try using 010, which should then be converted back to 8 ... (or else keep your
versioning info as strings.)
Jeff Shannon
Technician/Programmer
Credit International
More information about the Python-list
mailing list