[New-bugs-announce] [issue37173] inspect.getfile error names module instead of passed class
flying sheep
report at bugs.python.org
Thu Jun 6 07:08:14 EDT 2019
New submission from flying sheep <flying-sheep at web.de>:
Currently, inspect.getfile(str) will report nonsense:
>>> inspect.getfile(str)
TypeError: <module 'builtins' (built-in)> is a built-in class
----------
components: Library (Lib)
messages: 344799
nosy: flying sheep
priority: normal
severity: normal
status: open
title: inspect.getfile error names module instead of passed class
versions: Python 3.7, Python 3.8, Python 3.9
_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue37173>
_______________________________________
More information about the New-bugs-announce
mailing list