| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
Sorry, something went wrong.
There was a problem hiding this comment.
Some comments and suggestions on the implementation of this deprecation, based on how we've handled others recently.
Pro tip (since not everyone seems to know this): if you go to the Files changed tab of this PR, you can apply some or all of the suggestions in one click by clicking Add to batch on each suggestion you want, and then click Commit either at the top or on any added suggestion with a descriptive message.
Sorry, something went wrong.
…6coo.rst Co-authored-by: C.A.M. Gerlach <CAM.Gerlach@Gerlach.CAM>
|
Thank you for the reviews: @merwok and @CAM-Gerlach I've also checked that get_loader does not get 2 warnings (because it is using find_loader inside): >>> import pkgutil
>>> pkgutil.get_loader('os')
<stdin>:1: DeprecationWarning: 'pkgutil.get_loader' is deprecated and slated for removal in Python 3.14; use importlib.util.find_spec instead
<_frozen_importlib_external.SourceFileLoader object at 0x1012d55f0>
>>> test_pkgutil tests are also clean, no unwanted warnings. I will look through all logs again when it is completed. I've also merged one of the @CAM-Gerlach's suggestion, so you get a credit for your awesome proposals! 🤝 |
Sorry, something went wrong.
There was a problem hiding this comment.
Overall LGTM, but I think there might be some unnecessary checks in the tests for various module "kinds".
Sorry, something went wrong.
|
A Python core developer has requested some changes be made to your pull request before we can consider merging it. If you could please address their requests along with any other requests in other reviews from core developers that would be appreciated. Once you have made the requested changes, please leave a comment on this pull request containing the phrase I have made the requested changes; please review again. I will then notify any core developers who have left a review that you're ready for them to take another look at this pull request. |
Sorry, something went wrong.
Just FYI, you can apply some or all of them at once by going to the Files changed tab, clicking Add to batch on each suggestion and then clicking `Commit (with an appropriate message). |
Sorry, something went wrong.
…m/sobolevn/cpython into deprecate-pkgutil-get-find-loader
|
@brettcannon I forgot to send the magic phrase! I have made the requested changes; please review again |
Sorry, something went wrong.
|
Thanks for making the requested changes! @brettcannon: please review the changes made to this pull request. |
Sorry, something went wrong.
There was a problem hiding this comment.
Unfortunately I just realized that the documentation for pkgutil needs updating to mention the deprecations.
Sorry, something went wrong.
|
A Python core developer has requested some changes be made to your pull request before we can consider merging it. If you could please address their requests along with any other requests in other reviews from core developers that would be appreciated. Once you have made the requested changes, please leave a comment on this pull request containing the phrase I have made the requested changes; please review again. I will then notify any core developers who have left a review that you're ready for them to take another look at this pull request. |
Sorry, something went wrong.
Co-authored-by: Brett Cannon <brett@python.org>
…6coo.rst Co-authored-by: Brett Cannon <brett@python.org>
|
I have made the requested changes; please review again 🙂 |
Sorry, something went wrong.
|
Thanks for making the requested changes! @brettcannon: please review the changes made to this pull request. |
Sorry, something went wrong.
|
Oups, just found out that my push with pkgutil.rst change did not make it into this branch :( Redid it now, it worked! |
Sorry, something went wrong.
|
@sobolevn the changes look good, but now there are unfortunately merge conflicts. |
Sorry, something went wrong.
|
Done :) |
Sorry, something went wrong.
|
Thanks! |
Sorry, something went wrong.
|
Thank you for this additional cleanup! |
Sorry, something went wrong.
| Back | FazBrowse Home | New Git URL |
Refs #64138