[New-bugs-announce] [issue19947] Inspect module broken

Jimmy Merrild Krag report at bugs.python.org
Tue Dec 10 15:49:44 CET 2013


New submission from Jimmy Merrild Krag:

I have been having issues like the below all day:

C:\JMK\CurrentWork\CPH-3516>python airport_code_downloader.py
Traceback (most recent call last):
  File "airport_code_downloader.py", line 4, in <module>
    import inspect
  File "C:\Python33\lib\inspect.py", line 53, in <module>
    from dis import COMPILER_FLAG_NAMES as _flag_names
  File "C:\Python33\lib\dis.py", line 13, in <module>
    _have_code = (types.MethodType, types.FunctionType, types.CodeType, type)
AttributeError: 'module' object has no attribute 'MethodType'

C:\JMK\CurrentWork\CPH-3516>

It seems to be a problem with the types module. All the types seem non-existing.

----------
messages: 205818
nosy: beruic
priority: normal
severity: normal
status: open
title: Inspect module broken
versions: Python 3.3

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue19947>
_______________________________________


More information about the New-bugs-announce mailing list