[Python-checkins] python/dist/src/Lib copy.py,1.42.8.1,1.42.8.2
aleax at users.sourceforge.net
aleax at users.sourceforge.net
Sun Feb 6 08:56:21 CET 2005
- Previous message: [Python-checkins] python/dist/src/Lib cgitb.py, 1.15,
1.16 cookielib.py, 1.5, 1.6 decimal.py, 1.32, 1.33 inspect.py,
1.59, 1.60 mhlib.py, 1.38, 1.39 posixfile.py, 1.27,
1.28 pydoc.py, 1.102, 1.103 smtplib.py, 1.68, 1.69 urllib2.py,
1.80, 1.81 warnings.py, 1.25, 1.26 whichdb.py, 1.19, 1.20
- Next message: [Python-checkins] python/dist/src/Lib/test test_copy.py, 1.11.8.1,
1.11.8.2
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Update of /cvsroot/python/python/dist/src/Lib
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv20725
Modified Files:
Tag: release23-maint
copy.py
Log Message:
fix bug 1114776
Index: copy.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/Lib/copy.py,v
retrieving revision 1.42.8.1
retrieving revision 1.42.8.2
diff -u -d -r1.42.8.1 -r1.42.8.2
--- copy.py 25 Jan 2005 12:52:18 -0000 1.42.8.1
+++ copy.py 6 Feb 2005 07:56:18 -0000 1.42.8.2
@@ -62,8 +62,9 @@
__all__ = ["Error", "copy", "deepcopy"]
+import inspect
def _getspecial(cls, name):
- for basecls in cls.__mro__:
+ for basecls in inspect.getmro(cls):
try:
return basecls.__dict__[name]
except:
- Previous message: [Python-checkins] python/dist/src/Lib cgitb.py, 1.15,
1.16 cookielib.py, 1.5, 1.6 decimal.py, 1.32, 1.33 inspect.py,
1.59, 1.60 mhlib.py, 1.38, 1.39 posixfile.py, 1.27,
1.28 pydoc.py, 1.102, 1.103 smtplib.py, 1.68, 1.69 urllib2.py,
1.80, 1.81 warnings.py, 1.25, 1.26 whichdb.py, 1.19, 1.20
- Next message: [Python-checkins] python/dist/src/Lib/test test_copy.py, 1.11.8.1,
1.11.8.2
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the Python-checkins
mailing list