This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author meador.inge
Recipients Arfrever, brett.cannon, eric.snow, georg.brandl, meador.inge, scoder
Date 2012-08-13.17:31:15
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <CAK1Qooqk+VOqBX7YZdQXjR=gY9cd26BU-512h2CSxRiJbp9dXg@mail.gmail.com>
In-reply-to <1344878322.5.0.462547572529.issue15623@psf.upfronthosting.co.za>
Content
On Mon, Aug 13, 2012 at 12:18 PM, Brett Cannon <report@bugs.python.org> wrote:

> So deleting __init__.py and only having __init__.so in Python 3.2 should work.

It doesn't work:

quicksilver:bugs meadori$ python.exe --version
Python 3.2.3+
quicksilver:bugs meadori$ PYTHON=python.exe ./test.sh
['__main__', '_abcoll', '_bisect', '_codecs', '_collections',
'_functools', '_heapq', '_io', '_locale', '_sre', '_thread',
'_weakref', '_weakrefset', 'abc', 'bisect', 'builtins', 'codecs',
'collections', 'copyreg', 'encodings', 'encodings.aliases',
'encodings.latin_1', 'encodings.utf_8', 'errno', 'functools',
'genericpath', 'heapq', 'io', 'itertools', 'keyword', 'linecache',
'locale', 'my_test_package', 'operator', 'os', 'os.path', 'posix',
'posixpath', 're', 'reprlib', 'signal', 'site', 'sre_compile',
'sre_constants', 'sre_parse', 'stat', 'sys', 'sysconfig', 'token',
'tokenize', 'traceback', 'weakref', 'zipimport']
FILE:  my_test_package/__init__.py
PATH:  ['my_test_package']
Real package file used: my_test_package/__init__.so
[36494 refs]
quicksilver:bugs meadori$ rm my_test_package/__init__.py
quicksilver:bugs meadori$ PYTHON=python.exe ./test.sh
Traceback (most recent call last):
  File "<string>", line 1, in <module>
ImportError: No module named my_test_package
[36287 refs]
History
Date User Action Args
2012-08-13 17:31:16meador.ingesetrecipients: + meador.inge, brett.cannon, georg.brandl, scoder, Arfrever, eric.snow
2012-08-13 17:31:15meador.ingelinkissue15623 messages
2012-08-13 17:31:15meador.ingecreate