-
-
Notifications
You must be signed in to change notification settings - Fork 31.8k
gh-89896: importlib.abc.Traversable.name is an attribute not a method #93701
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Closed
+81,388
−33,475
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
…ythonGH-31636) (pythonGH-32171) The enter_context is updated with following information: 'The :meth:`__enter__` method returns the ExitStack instance, and performs no additional operations.' Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com> (cherry picked from commit 86384cf) Co-authored-by: vidhya <96202776+Vidhyavinu@users.noreply.github.com>
…ive" (pythonGH-32097) (pythonGH-32142) (cherry picked from commit 76f14b0) Co-authored-by: Yonatan Goldschmidt <yon.goldschmidt@gmail.com> Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com>
Co-authored-by: Jonathan <89750679+AHypnotoad@users.noreply.github.com> (cherry picked from commit 66584c8) Co-authored-by: Jonathan <jonathan.joyner94@gmail.com> Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com>
Update documentation to note that in some circumstances, KeyboardInterrupt may cause code to enter an inconsistent state. Also document sample workaround to avoid KeyboardInterrupt, if needed. (cherry picked from commit d0906c9) Co-authored-by: benfogle <benfogle@gmail.com>
…indows (pythonGH-32179) (cherry picked from commit d0c67ea) Co-authored-by: Dong-hee Na <donghee.na@python.org>
Co-authored-by: Andrew Svetlov <andrew.svetlov@gmail.com> (cherry picked from commit 8be7c2b) Co-authored-by: Dave Goncalves <davegoncalves@gmail.com>
…eter reinitialization (pythonGH-32212) (pythonGH-32216) Co-authored-by: Christian Heimes <christian@python.org>
(cherry picked from commit 76b8a07) Co-authored-by: Jeremy Kloth <jeremy.kloth@gmail.com>
pythonGH-32241) (cherry picked from commit 6066739) Co-authored-by: Zachary Ware <zach@python.org>
* init_config: wording fixes * bytearray: remove XXX, there is a good link to the buffer docs * bytes, call, exceptions: minor wording fixes (cherry picked from commit 677a879) Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com>
Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com> (cherry picked from commit 182e93c) Co-authored-by: Charlie Zhao <zhaoyu_hit@qq.com>
(cherry picked from commit ea56845) Co-authored-by: 180909 <wjh180909@gmail.com>
Co-authored-by: Jacob Walls <jacobtylerwalls@gmail.com> (cherry picked from commit 1f80dcd) Co-authored-by: Vitor Buxbaum Orlandi <vitorbuxbaum@gmail.com>
While floor/ceil 's documentation are very precise, `truncate` was not explained. I actually had to search online to understand the difference between `truncate` and `floor` (admittedly, once I remembered that numbers are signed, and that floating numbers actually uses a bit for negation symbol instead of two complement, it became obvious) Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com> Co-authored-by: Éric Araujo <merwok@netwok.org> Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu> Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com> (cherry picked from commit ebbdbbf) Co-authored-by: Arthur Milchior <arthur@milchior.fr>
…nGH-32262) The second parameter (named `func`) has been present since the `locale` module was introduced in eef1d4e, but has never been documented. This commit updates the documentation for `locale.atof` to clarify the behavior of the function and how the `func` parameter is used. Signed-off-by: Kevin Locke <kevin@kevinlocke.name> (cherry picked from commit 208da6d) Co-authored-by: Kevin Locke <kevin@kevinlocke.name>
* wording fixes in type.rst * grammar and punctuation in sys.rst * set: grammar fixes * structures: capitalization fix * grammar fixes for sequence * objects: point to Py_TYPE instead of direct object access * numbers: add more explicit Python equivalences * method: add missing period * memory: grammar fix * mapping: grammar fixes * long: grammar fix * iter: fix grammar for PyAIter_Check * init: grammar fix. (cherry picked from commit 897bc6f) Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com>
(cherry picked from commit 01be5d6) Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
…ythonGH-25212) (cherry picked from commit 4f5d56f) Co-authored-by: Jiashuo Li <4003950+jiasli@users.noreply.github.com>
…onGH-32285) (cherry picked from commit b82cdd1) Co-authored-by: Christian Heimes <christian@python.org>
) (cherry picked from commit 6db2db9) Co-authored-by: Bob Kline <bkline@users.noreply.github.com>
…page (pythonGH-29383) (cherry picked from commit 1ecfe3d) Co-authored-by: Christian Clauss <cclauss@me.com>
(cherry picked from commit 48269ea) Co-authored-by: 180909 <734461790@qq.com>
Clarify the `str()` docs to point out that `object.__str__()` follows special method lookup. Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com> (cherry picked from commit bb86d1d) Co-authored-by: Vanshaj Singhania <8797467+itsvs@users.noreply.github.com>
…ythonGH-29529) Signed-off-by: Rodrigo Tobar <rtobar@icrar.org> Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com> (cherry picked from commit b275267) Co-authored-by: rtobar <rtobar@icrar.org>
Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com> (cherry picked from commit 43571a3) Co-authored-by: Mike cm <mikecmcleod@gmail.com>
Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com> (cherry picked from commit cae0f5d) Co-authored-by: andrei kulakov <andrei.avk@gmail.com>
The following commit authors need to sign the Contributor License Agreement: |
PR snafu. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
As it says on the tin.
Closes #89896 and also addresses #93610 for Python 3.10 and earlier.