yes, the import fails, when you don't have python-gi-dbg installed.

after installing python-gi-dbg, I get:

$ python2.7-dbg -c 'import gi'
Traceback (most recent call last):
  File "<string>", line 1, in <module>
  File "/usr/lib/python2.7/dist-packages/gi/__init__.py", line 27, in <module>
    from ._gi import _API, Repository
ImportError: /usr/lib/python2.7/dist-packages/gi/_gi_d.so: undefined symbol: 
Py_InitModule4_64
[18485 refs]

so it looks like the extension is built using the normal version, not
the debug version of the interpreter.

-- 
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, which is subscribed to pygobject in Ubuntu.
https://bugs.launchpad.net/bugs/1091615

Title:
  [raring] recent versions break python2.7-dbg: undefined symbol:
  Py_InitModule4_64

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/pygobject/+bug/1091615/+subscriptions

-- 
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs

Reply via email to