New submission from Ronald Oussoren:

PyObjC has an extension that's imported as "objc._objc". This works fine on 
version upto the 3.5 beta (checkout from earlier today).

With that I get the following exception:

Python 3.5.0b1+ (default:7255af1a1c50+, May 25 2015, 11:46:18) 
[GCC 4.2.1 Compatible Apple LLVM 6.1.0 (clang-602.0.53)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> import objc
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File 
"/Users/ronald/Projects/pyobjc-hg/pyobjc/pyobjc-core/Lib/objc/__init__.py", 
line 18, in <module>
    _update()
  File 
"/Users/ronald/Projects/pyobjc-hg/pyobjc/pyobjc-core/Lib/objc/__init__.py", 
line 15, in _update
    import objc._objc as _objc
ImportError: dynamic module does not define module export function 
(PyInit_._objc)

----------
messages: 244030
nosy: brett.cannon, eric.snow, ncoghlan, ronaldoussoren
priority: high
severity: normal
status: open
title: regression for importing extensions in packages
versions: Python 3.5

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue24285>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to