zipimport: Remove deprecated find_loader() and find_module() methods, use find_spec() instead

vstinner · GitHub

In Python 3.10, the find_loader() and find_module() methods of zipimport were deprecated by commit

d2e94bb

and commit

57c6cb5

.

It's now time to remove them. The find_spec() method should be used instead.

See issue

#86301

and

PEP 451

for the rationale.

I wrote PR

#94380

to remove these methods.