[Cython] Failing test reimport_from_subinterpreter

Jeroen Demeyer J.Demeyer at UGent.be
Mon Oct 22 10:55:30 EDT 2018


n 2018-10-22 16:44, Jeroen Demeyer wrote:
> The entries marked with # <---- are different but I don't know why.

There is a difference in $PYTHONPATH.

When it works, PYTHONPATH equals 
'/home/jdemeyer/sage-test/local/var/tmp/sage/build/cython-0.29/src/TEST_TMP/support/lib.linux-ppc64le-2.7:/home/jdemeyer/sage-test/local/var/tmp/sage/build/cython-0.29/src:'

Note the trailing colon, which is what makes everything work since that 
gets translated to the current working directory!

When it fails, PYTHONPATH equals 
'/home/jdemeyer/sage-test/local/var/tmp/sage/build/cython-0.29/src/TEST_TMP/support/lib.linux-ppc64le-2.7:/home/jdemeyer/sage-test/local/var/tmp/sage/build/cython-0.29/src:/home/jdemeyer/sage-test/local'

...which has sys.prefix added for some reason.


More information about the cython-devel mailing list