| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
Sorry, something went wrong.
|
would you add news entry? |
Sorry, something went wrong.
|
Done! |
Sorry, something went wrong.
| @@ -173,6 +173,8 @@ def _dump_registry(cls, file=None): | |||
| for name in sorted(cls.__dict__.keys()): | |||
There was a problem hiding this comment.
sorted() is not needed anymore because dict order is stable.
Other option is whitelist members ('_abc_registry', '_abc_cache', '_abc_negative_cache', '_abc_negative_cache_version').
Sorry, something went wrong.
There was a problem hiding this comment.
I would prefer the whitelist: a suitable order increase also readability...
But I think to stick with if name.startswith("_abc_") is easier to maintain.
I was told that this will be rewritten in C, so it's not a big deal.
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.
|
I have made the requested changes; please review again |
Sorry, something went wrong.
|
Thanks for making the requested changes! @methane: please review the changes made to this pull request. |
Sorry, something went wrong.
|
thanks |
Sorry, something went wrong.
|
Hm, I think this is safe enough to backport to 3.6. |
Sorry, something went wrong.
|
Thanks @yahya-abou-imran for the PR, and @methane for merging it 🌮🎉.. I'm working now to backport this PR to: 3.6. |
Sorry, something went wrong.
|
GH-5163 is a backport of this pull request to the 3.6 branch. |
Sorry, something went wrong.
(cherry picked from commit ae12f5d)
| Back | FazBrowse Home | New Git URL |
https://bugs.python.org/issue32473