A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from http://mail.python.org/pipermail/python-dev/2008-June/080287.html below:

[Python-Dev] PEP 8 and optional underscores

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

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