Raymond Hettinger wrote:
> The use cases for
> zfill() correspond to the cases where leading zeros are meaningfully 
> interpreted as decimals (this includes phone and social security numbers, 
> account numbers, and whatnot).

They're NOT numbers! They're STRINGS!

Leading zeroes would only be disallowed in *python
source code*. Things like int("00123") would still
work and be decimal.

--
Greg
_______________________________________________
Python-3000 mailing list
[email protected]
http://mail.python.org/mailman/listinfo/python-3000
Unsubscribe: 
http://mail.python.org/mailman/options/python-3000/archive%40mail-archive.com

Reply via email to