[Python-Dev] PEP 8 and optional underscores (original) (raw)
Barry Warsaw barry at python.org
Thu Jun 12 15:04:14 CEST 2008
- Previous message: [Python-Dev] PEP 8 and optional underscores
- Next message: [Python-Dev] PEP 8 and optional underscores
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
On Jun 12, 2008, at 8:29 AM, Facundo Batista wrote:
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 : .isalive() 2.n+1 : .isalive() (deprecated), .alive (recommended) 2.n+2 : .alive
Personally, I'd go with a property .is_alive
- -Barry
-----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (Darwin)
iQCVAwUBSFEeznEjvBPtnXfVAQKEeQP8CdF+N1wX4Qwxn7iglGYq0peZEYagn4JG dOkP+TOkAzSciNfIotPaHJTGbyXsFtxLe3Rpq8r56/sPhHKS66+vCMojLBK64Iue 7/PDhZ300KRpPtbJOOA4OmqI2rz1fO+vflavICZlx7oIwC25L7dQSteu/NBJYGJN QX/Z8WutBng= =1B3v -----END PGP SIGNATURE-----
- Previous message: [Python-Dev] PEP 8 and optional underscores
- Next message: [Python-Dev] PEP 8 and optional underscores
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]