[Python-Dev] PEP 8 and optional underscores (original) (raw)

Facundo Batista facundobatista at gmail.com
Thu Jun 12 14:29:24 CEST 2008


2008/6/12 Barry Warsaw <barry at python.org>:

function:: activecount() method:: Thread.getname() method:: Thread.isalive() method:: Thread.isdaemon() method:: Thread.setdaemon(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