In the current 3.0 doc for threading: http://docs.python.org/dev/py3k/library/threading.htm it says: Thread.getName() Thread.setName() Old API for name. and Thread.isDaemon() Thread.setDaemon() Old API for daemon. 'name' and 'daemon' properties should be listed as defaults and the old getter/setter methods should be noted as "Old API".
sorry for the confusion. The doc might actually be correct, but it seems ambiguous and confusing with respect to the name and daemon properties. if you look here: http://docs.python.org/dev/py3k/library/threading.html scroll down to where it says: Thread.getName() Thread.setName() Old API for name. when you click on "name", it expands and shows you the 'name' property. However, it looks like it is denoting this as the "Old API". at first glance it appears as though Thread.getName() and Thread.setName() are the new way, and you can click on 'name' to see the old API. I think the issue is actually the fact that Thread.name and Thread.daemon are not expanded in the HTML doc until you click on their names (unlike other properties/attributes in the doc which are already expanded) Let me know if I am not explaining well.
Hmm, I do see docs for name and daemon, directly below the respective getter/setter entries. For more clarity, I can only offer moving the getter/setter entries below the property entries.
Just took another look. The doc is correct and already shows name and daemon properties. it was just confusing at first since where it says "Old API for name", it links to the new style API and you jump to that section. perhaps it could be stated more clearly? If this is just a nit, please close this issue.