Default scope of variables

Wayne Werner wayne at waynewerner.com
Thu Jul 4 11:45:50 EDT 2013


On Thu, 4 Jul 2013, Steven D'Aprano wrote:
>
> [1] Based on empirical evidence that Python supports names with length at
> least up to one million characters long, and assuming that each character
> can be an ASCII letter, digit or underscore.
>

The specification *does* state unlimited length:

http://docs.python.org/release/2.5.2/ref/identifiers.html

Though practicality beats purity.

-W



More information about the Python-list mailing list