Bug 8333

Summary: python3-debugger (pdb) does not work out of the box
Product: [Build System, Metadata & Runtime] OE-Core Reporter: Alejandro Hernandez <alejandro.hernandez>
Component: devtools / tool chainAssignee: Alejandro Hernandez <alejandro.hernandez>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: Undecided CC: meta.mr.watcher, meta.watcher
Version: 1.9   
Target Milestone: 2.0   
Hardware: x86   
OS: Multiple   
Whiteboard:
OS type for building Yocto: --- Type of Regression: ---
Verified: Documentation change: No (bug/feature does not impact docs)

Description Alejandro Hernandez 2015-09-18 20:53:26 UTC
Python's debugger (pdb) should work out of the box when installing python3-debugger, but when trying to import it, fails with the following error:

Python 3.4.3 (default, Sep 11 2015, 17:08:27) 
[GCC 4.9.3] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import pdb
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/usr/lib/python3.4/pdb.py", line 73, in <module>
    import bdb
  File "/usr/lib/python3.4/bdb.py", line 6, in <module>
    from inspect import CO_GENERATOR
  File "/usr/lib/python3.4/inspect.py", line 35, in <module>
    import importlib.machinery
ImportError: No module named 'importlib'

It is missing dependency importlib and maybe others.