News for hackers. Stuff that matters.
Re:Brython, Python in the browser by cnlwsu on Tuesday January 29, 2013 @09:53AM (#5134257)
Even in python standard library there are mixtures ie threading.Thread. Although those (as I understand it) are just remnants of old implementation that is kept for backwards compatibility.
Re:Brython, Python in the browser by aidos on Tuesday January 29, 2013 @11:27AM (#5134796)
Isn't that normal? I though lowercase module name, uppercase class was the standard casing.

threading.Thread would seem to be consistent with the Google Python Style Guide (threading = module, Thread = Class)

http://google-styleguide.googlecode.com/svn/trunk/pyguide.ht...

Re:Brython, Python in the browser by cnlwsu on Thursday January 31, 2013 @10:56AM (#5145525)
the methods of threading.Thread are camel case (ie getName)

http://docs.python.org/2/library/threading.html