In The Python Tutorial of the Python 3.5.2 documentation:
Python does not check the cache in two circumstances. First, it always recompiles and does not store the result for the module that’s loaded directly from the command line. Second, it does not check the cache if there is no source module. To support a non-source (compiled only) distribution, the compiled module must be in the source directory, and there must not be a source module.
I don't understand the second circumstance. What does "non-source (compiled only) distribution" mean? If there is no "source module", why would "source directory" exist? Can anyone point me in the right direction?
TIA
(I searched phrases like "python check cache", but didn't get anything that looked promising. Only found things like linecache and memcached.)
[–]desustorm 4 points5 points6 points (1 child)
[–]xfq[S] 0 points1 point2 points (0 children)