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 brett.cannon
Recipients Arfrever, Trundle, barry, brett.cannon, chba, eric.smith, eric.snow, jcea, jkloth, lemburg, loewis, meador.inge
Date 2014-03-25.18:27:19
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1395772039.55.0.794267908362.issue16047@psf.upfronthosting.co.za>
In-reply-to
Content
OK, so trying to import around the package was definitely why the first instance didn't work so that's all expected.

As for the failure when importing psycopg2, my guess is that the freezing of psycopg2.__init__ is not setting __path__ to anything reasonable to work with dynamically loading psycopg2._psycopg. That really shouldn't really ever work anyway since that just doesn't make sense from the perspective of freezing a package unless you made the extension module a built-in module, but I don't think submodules are supported in that case right now anyway.

MAL, do you agree with that assessment?
History
Date User Action Args
2014-03-25 18:27:19brett.cannonsetrecipients: + brett.cannon, lemburg, loewis, barry, jcea, eric.smith, jkloth, Arfrever, Trundle, meador.inge, eric.snow, chba
2014-03-25 18:27:19brett.cannonsetmessageid: <1395772039.55.0.794267908362.issue16047@psf.upfronthosting.co.za>
2014-03-25 18:27:19brett.cannonlinkissue16047 messages
2014-03-25 18:27:19brett.cannoncreate