[New-bugs-announce] [issue20372] inspect.getfile should raise a TypeError if C object does not have __module__
Yury Selivanov
report at bugs.python.org
Thu Jan 23 21:26:09 CET 2014
New submission from Yury Selivanov:
I'm not sure if it is right to fix the inspect module, instead of making all C objects to have the '__module__' attribute (is it even possible?), but if it is, the patch is attached.
----------
files: getfile_patch_01.patch
keywords: patch
messages: 208988
nosy: ncoghlan, serhiy.storchaka, yselivanov
priority: high
severity: normal
status: open
title: inspect.getfile should raise a TypeError if C object does not have __module__
Added file: http://bugs.python.org/file33667/getfile_patch_01.patch
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue20372>
_______________________________________
More information about the New-bugs-announce
mailing list