[Python-Dev] PEP 8 and optional underscores
Benjamin 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