Message133796
| Author |
lemburg |
| Recipients |
amaury.forgeotdarc, barry, ezio.melotti, lemburg, pitrou, rhettinger, vstinner |
| Date |
2011年04月15日.07:58:26 |
| SpamBayes Score |
2.0061792e-07 |
| Marked as misclassified |
No |
| Message-id |
<4DA7FA99.5040200@egenix.com> |
| In-reply-to |
<1302842009.31.0.831235852774.issue5057@psf.upfronthosting.co.za> |
| Content |
Ezio Melotti wrote:
>
> Ezio Melotti <ezio.melotti@gmail.com> added the comment:
>
> PEP 3147 says[0]:
> """
> For backward compatibility, Python will still support pyc-only distributions, however it will only do so when the pyc file lives in the directory where the py file would have been, i.e. not in the __pycache__ directory. pyc file outside of __pycache__ will only be imported if the py source file is missing.
> """
>
> Does that mean that there could be cases where untagged pyc files are used in 3.2+?
Yes... even though we did discuss using the same tagging support
in that scenario as well, at least for 3.3.
> In that case the patch should be ported to 3.2 and 3.3 too.
>
> [0]: http://www.python.org/dev/peps/pep-3147/#rationale |
|