Jeroen Demeyer schrieb am 21.10.2018 um 12:47:
> On 2018-10-16 20:30, Stefan Behnel wrote:
>> Difficult to say why this would fail to find the package. Could it be an
>> import path problem? Current directory missing from the PYTHONPATH or
>> something like that?
> 
> The problem is that the error depends on the proverbial "phase of the
> moon". When running the full testsuite, I always get the error. But any
> attempt at debugging it makes the error go away. So it must be something
> subtle, like a race condition or bad interaction with another test.

Maybe print "sys.path" and "sys.meta_path" in a couple of places? Before
and while running the test suite? There are pyximport tests, for example,
and "pyxim..." < "reimp...". It does sound like something in the import
system is leaking from previous tests.

Stefan
_______________________________________________
cython-devel mailing list
cython-devel@python.org
https://mail.python.org/mailman/listinfo/cython-devel

Reply via email to