[ python-Bugs-1522237 ] _threading_local.py logic error in _localbase __new__
SourceForge.net
noreply at sourceforge.net
Fri Jul 14 02:52:54 CEST 2006
Bugs item #1522237, was opened at 2006-07-13 20:52
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=1522237&group_id=5470
Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: Python Library
Group: Python 2.5
Status: Open
Resolution: None
Priority: 5
Submitted By: Tony Nelson (tony_nelson)
Assigned to: Nobody/Anonymous (nobody)
Summary: _threading_local.py logic error in _localbase __new__
Initial Comment:
I don't understand _threading_local.py, but I think
that parens are needed below in class _localbase __new__().
if args or kw and (cls.__init__ is object.__init__):
raise TypeError...
should be "(args or kw)", I think, looking at the
related test in _patch().
I'm not quite sure if this is python 2.5, but it is in
trunk.
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=1522237&group_id=5470
More information about the Python-bugs-list
mailing list