Disable use of pyc file with no matching py file

Terry Reedy tjreedy at udel.edu
Wed Feb 1 14:57:11 EST 2012

On 2/1/2012 8:11 AM, John Roth wrote:

> One other point: I'm unclear if a compiled module in the source
> directory would be named spam.pyc or spam.cpython-32.pyc. I'd think
> the latter to allow two versions of a compiled-only distribution.

By test, it has to be spam.pyc, as before.

Terry Jan Reedy

More information about the Python-list mailing list