cpython icon indicating copy to clipboard operation
cpython copied to clipboard

gh-98040: Remove find_loader, find_module and other deprecated APIs

Open warsaw opened this issue 3 years ago • 4 comments

  • Issue: gh-98040

warsaw avatar Oct 07 '22 20:10 warsaw

Still lots of test failures and probably more things to remove, but it's a start!

warsaw avatar Oct 07 '22 20:10 warsaw

@brettcannon @ericsnowcurrently Well, this branch is already getting pretty big. Pull a thread, unravel a sweater. There's still some things to do (see the ticket), but it's not too late to provide feedback. I was pretty aggressive in removing things that seemed to be obsolete or testing obsolete APIs, so hopefully I wasn't too eager to remove things. Feedback welcome!

warsaw avatar Oct 07 '22 23:10 warsaw

Should this PR be a draft until the tests are passing?

brettcannon avatar Oct 14 '22 22:10 brettcannon

Should this PR be a draft until the tests are passing?

Yes, done. The blocker is being worked on upstream so I think pip 23.0 will likely unblock this PR. In the meantime, I'll keep the branch clean as is.

warsaw avatar Oct 15 '22 19:10 warsaw

Well, this branch is already getting pretty big. Pull a thread, unravel a sweater.

How much work would it be to move the imp removal to a separate PR? If a lot, don't worry about it. Either way, I am planning on reviewing these changes.

ericsnowcurrently avatar Oct 18 '22 15:10 ericsnowcurrently

How much work would it be to move the imp removal to a separate PR? If a lot, don't worry about it. Either way, I am planning on reviewing these changes.

It was kind of tricky, but let me take another look. I agree it would be better to split these into smaller PRs.

warsaw avatar Oct 18 '22 20:10 warsaw

Thanks for taking another look! I know what a pain it can be to split up a big PR.

ericsnowcurrently avatar Oct 19 '22 15:10 ericsnowcurrently

This branch is close enough now that I'll move it out of draft. @ericsnowcurrently and @brettcannon It's probably ready for review soon.

warsaw avatar Apr 29 '23 16:04 warsaw

Would you be happy for me to push to this branch with said docs cross-referencing changes?

Yes, this would be very helpful, thanks.

warsaw avatar May 01 '23 13:05 warsaw

Yes, this would be very helpful, thanks.

Done, thank you!

A

AA-Turner avatar May 02 '23 17:05 AA-Turner

Done, thank you!

Thank you!

warsaw avatar May 02 '23 18:05 warsaw