mirror of
https://github.com/xen-project/xen.git
synced 2026-10-28 10:11:27 +01:00
Added comment regarding a Python bug.
Signed-off-by: Ewan Mellor <ewan@xensource.com>
This commit is contained in:
1 parent
823ab3fd0c
commit
2a5cee571c
1 file changed
+1
@@ -62,6 +62,7 @@ if 'TRACE' not in logging.__dict__:
|
||||
# Work around a bug in Python's inspect module: findsource is supposed to
|
||||
# raise IOError if it fails, with other functions in that module coping
|
||||
# with that, but some people are seeing IndexError raised from there.
|
||||
# This is Python bug 1628987. http://python.org/sf/1628987.
|
||||
if hasattr(inspect, 'findsource'):
|
||||
real_findsource = getattr(inspect, 'findsource')
|
||||
def findsource(*args, **kwargs):
|
||||
|
||||