Message168423
This came up while trying to build pygobject with Python 3.3. The problem is there are some erroneous imports in the fromlist with these bindings that can easily be fixed. But it is a behavioral change so I just wanted to raise awareness if it is not already known.
$ python3.2 -c "__import__('http', fromlist=['blah'])"
(works)
$ python3.3 -c "__import__('http', fromlist=['blah'])"
Traceback (most recent call last):
File "<string>", line 1, in <module>
ImportError: No module named 'http.blah'
Note this is also the case when using the C API: PyImport_ImportModuleEx |
|
Date |
User |
Action |
Args |
2012-08-16 22:42:08 | sfeltman | set | recipients:
+ sfeltman |
2012-08-16 22:42:08 | sfeltman | set | messageid: <1345156928.79.0.203974969225.issue15715@psf.upfronthosting.co.za> |
2012-08-16 22:42:08 | sfeltman | link | issue15715 messages |
2012-08-16 22:42:07 | sfeltman | create | |
|