[Python-Dev] PEP 328 and PEP 338, redux
Collin Winter
collinw at gmail.com
Tue Jun 27 18:34:32 CEST 2006
On 6/27/06, Nicko van Someren <nicko at nicko.org> wrote:
> Hum... other than effecting more or less every runnable python module
> around it should be very little impact. That sounds like quite a bit
> of impact to me!
Going from "__name__ == '__main__'" to "__name__.endswith('__main__')"
can be handled by a search-and-replace function, so, yes, the impact
is indeed minimal. It's not like you have to manually recode every
usage.
Collin Winter
More information about the Python-Dev
mailing list