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 mbussonn
Recipients BreamoreBoy, eric.snow, larry, mbussonn, ncoghlan, petr.viktorin, python-dev, steve.dower, zach.ware
Date 2015-05-24.23:36:15
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>

Since the last few patches related to this, I seem to have an issue with `Python/importdl.c:get_encoded_name` (I guess)  sometime returning the name with a leading dot. This lead to `PyInit_.modulename` being searched which fails.

My C-foo is extremely low, but changing [1] to `lastdot+1`
seem to do the trick for me (hence above supposition).

More especially in my case compiling Cython `failed to import Cython: dynamic module does not define module export function (PyInit_.Scanning)`, from `import Cython.Compiler.Scanning` I suppose. While it seem to does that ok with the `+1`.

I haven't found any related issues, and my read of pep 489 made me think this was not meant to change, Though I doubt my fix is correct.

Sorry if duplicate or already fixed, I searched as I could but did not found anything. 


Date User Action Args
2015-05-24 23:36:15mbussonnsetrecipients: + mbussonn, ncoghlan, larry, petr.viktorin, BreamoreBoy, python-dev, eric.snow, zach.ware, steve.dower
2015-05-24 23:36:15mbussonnsetmessageid: <>
2015-05-24 23:36:15mbussonnlinkissue24268 messages
2015-05-24 23:36:15mbussonncreate