id,summary,reporter,owner,description,type,status,component,version,severity,resolution,keywords,cc,stage,has_patch,needs_docs,needs_tests,needs_better_patch,easy,ui_ux 8142,DeprecationWarning on Python 2.6 about tzinfo.__init__ taking no parameters,Karen Tracey ,nobody,"Running the test suite on [8223] with Python 2.6 beta2 I see a !DeprecationWarning about `tzinfo.__init__` taking no parameters: {{{ D:\u\kmt\django\trunk\tests>\bin\Python26b2\python.exe runtests.py --settings=testsettings dateformat d:\u\kmt\django\trunk\django\utils\tzinfo.py:40: DeprecationWarning: object.__init__() takes no parameters tzinfo.__init__(self, dt) ---------------------------------------------------------------------- Ran 1 test in 0.040s OK }}} I believe it's a result of this Python change: http://bugs.python.org/issue1683368. That is, it's never taken a parameter and Python is only now warning about it. I'll attach a patch that removes the extraneous parameter. Tested on Python 2.3.5/2.5.1/2.6b2. ",,closed,Uncategorized,dev,,fixed,python26,,Unreviewed,1,0,0,0,0,0