[Python-checkins] python/dist/src/Lib threading.py,1.48,1.49
birkenfeld@users.sourceforge.net
birkenfeld at users.sourceforge.net
Fri Jul 15 11:13:23 CEST 2005
Update of /cvsroot/python/python/dist/src/Lib
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv13609/Lib
Modified Files:
threading.py
Log Message:
bug [ 1238170 ] threading.Thread uses {} as default argument
Index: threading.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/Lib/threading.py,v
retrieving revision 1.48
retrieving revision 1.49
diff -u -d -r1.48 -r1.49
--- threading.py 27 Jan 2005 22:48:30 -0000 1.48
+++ threading.py 15 Jul 2005 09:13:21 -0000 1.49
@@ -374,9 +374,11 @@
__exc_info = _sys.exc_info
def __init__(self, group=None, target=None, name=None,
- args=(), kwargs={}, verbose=None):
+ args=(), kwargs=None, verbose=None):
assert group is None, "group argument must be None for now"
_Verbose.__init__(self, verbose)
+ if kwargs is None:
+ kwargs = {}
self.__target = target
self.__name = str(name or _newname())
self.__args = args
More information about the Python-checkins
mailing list