A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://mail.python.org/pipermail/python-dev/2006-June/066629.html below:

[Python-Dev] PEP 328 and PEP 338, redux

[Python-Dev] PEP 328 and PEP 338, redux [Python-Dev] PEP 328 and PEP 338, reduxCollin 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

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4