-----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:: 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 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-----
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