En Sun, 19 Apr 2009 14:52:23 -0300, Paul Hankin <paul.han...@gmail.com>
escribió:
On Apr 19, 7:37 pm, "Gabriel Genellina" <gagsl-...@yahoo.com.ar>
wrote:
The threading module has such aliases, but there are no plans for mass
renaming all the stdlib that I know of. You'll have to live with this
inconsistency.
It's been fixed in Python 3.0!
What do you mean "fixed"?
Python 3.0.1 (r301:69561, Feb 13 2009, 20:04:18) [MSC v.1500 32 bit
(Intel)] on win32
Type "help", "copyright", "credits" or "license" for more information.
from threading import Thread
t = Thread()
t.name = "foo"
t.getName()
'foo'
t.setName("bar")
t.name
'bar'
Both the old camelCase methods and the new property are still there.
They're not even deprecated yet.
--
Gabriel Genellina
--
http://mail.python.org/mailman/listinfo/python-list