direct-io.hg
changeset 14600:94b873fb033a
Added comment regarding a Python bug.
Signed-off-by: Ewan Mellor <ewan@xensource.com>
Signed-off-by: Ewan Mellor <ewan@xensource.com>
author | Ewan Mellor <ewan@xensource.com> |
---|---|
date | Tue Mar 27 23:03:32 2007 +0100 (2007-03-27) |
parents | b13a95fc0e2f |
children | 966c65f0ddba |
files | tools/python/xen/xend/XendLogging.py |
line diff
1.1 --- a/tools/python/xen/xend/XendLogging.py Tue Mar 27 22:34:22 2007 +0100 1.2 +++ b/tools/python/xen/xend/XendLogging.py Tue Mar 27 23:03:32 2007 +0100 1.3 @@ -62,6 +62,7 @@ if 'TRACE' not in logging.__dict__: 1.4 # Work around a bug in Python's inspect module: findsource is supposed to 1.5 # raise IOError if it fails, with other functions in that module coping 1.6 # with that, but some people are seeing IndexError raised from there. 1.7 + # This is Python bug 1628987. http://python.org/sf/1628987. 1.8 if hasattr(inspect, 'findsource'): 1.9 real_findsource = getattr(inspect, 'findsource') 1.10 def findsource(*args, **kwargs):