[Python-Dev] PEP 8 and optional underscores
Facundo Batista
facundobatista at gmail.com
Thu Jun 12 14:29:24 CEST 2008
2008/6/12 Barry Warsaw <barry at python.org>:
>> function:: active_count()
>> method:: Thread.get_name()
>> method:: Thread.is_alive()
>> method:: Thread.is_daemon()
>> method:: Thread.set_daemon(daemonic)
>
> +1 on opting for properties in the specific cases here where it makes sense.
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
...?
Regards,
--
. Facundo
Blog: http://www.taniquetil.com.ar/plog/
PyAr: http://www.python.org/ar/
More information about the Python-Dev
mailing list