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 maxbachmann
Recipients maxbachmann
Date 2022-03-05.23:10:53
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1646521853.49.0.782047766895.issue46935@roundup.psfhosted.org>
In-reply-to
Content
It appears this only occurs when a C Extension is involved. When the so is imported first it is preferred over the .py file that the user would like to import. I could not find any documentation on this behavior, so I assume that this is not the intended.

My current workaround is the usage of a unique name for the C Extension and the importing everything from a Python file with the corresponding name.
History
Date User Action Args
2022-03-05 23:10:53maxbachmannsetrecipients: + maxbachmann
2022-03-05 23:10:53maxbachmannsetmessageid: <1646521853.49.0.782047766895.issue46935@roundup.psfhosted.org>
2022-03-05 23:10:53maxbachmannlinkissue46935 messages
2022-03-05 23:10:53maxbachmanncreate