[Python-Dev] Planning on removing cache invalidation for file finders

Antoine Pitrou solipsis at pitrou.net
Sun Mar 3 12:29:48 CET 2013


On Sat, 2 Mar 2013 18:38:15 -0500
Brett Cannon <brett at python.org> wrote:
> >
> > You can deprecate the heuristic if you want (and can figure out how),
> > but a definite -1 on removing it without at least the usual
> > deprecation period for backwards incompatible changes.
> >
> 
> That part is easy: ImportWarning still exists so simply continuing to check
> the directory and noticing when a difference exists that affects subsequent
> imports and then raising the warning will handle that.

Won't that raise spurious ImportWarnings for people who don't actually
care about that?

Regards

Antoine.




More information about the Python-Dev mailing list