A RetroSearch Logo

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

Search Query:

Showing content from http://mail.python.org/pipermail/python-dev/2008-June/080289.html below:

[Python-Dev] PEP 8 and optional underscores

[Python-Dev] PEP 8 and optional underscores [Python-Dev] PEP 8 and optional underscoresBenjamin Peterson musiccomposition at gmail.com
Thu Jun 12 14:54:02 CEST 2008
On Thu, Jun 12, 2008 at 7:29 AM, Facundo Batista
<facundobatista at gmail.com> wrote:
>> +1 on opting for properties in the specific cases here where it makes sense.

If you can get Guido to agree to it, I'll implement it.

>
> I'm +1 too... but which is the normal procedure here?
>
> Should it be...
>
>  2.n : .is_alive()
>  2.n+1 : .is_alive() (deprecated), .alive (recommended)
>  2.n+2 : .alive

I think:
2.x isAlive() (Py3kWarning), .alive (recommended for compatibility with 3.x)
3.x .alive


-- 
Cheers,
Benjamin Peterson
"There's no place like 127.0.0.1."
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