Skip to content
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

gh-89896: importlib.abc.Traversable.name is an attribute not a method #93701

Closed
wants to merge 1,629 commits into from

Conversation

warsaw
Copy link
Member

@warsaw warsaw commented Jun 10, 2022

As it says on the tin.

Closes #89896 and also addresses #93610 for Python 3.10 and earlier.

JelleZijlstra and others added 30 commits March 28, 2022 19:39
…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>
…-32186)

bpo-47151: Fallback to fork when vfork fails in subprocess. An OS kernel can specifically decide to disallow vfork() in a process. No need for that to prevent us from launching subprocesses.
(cherry picked from commit 4a08c4c)

Co-authored-by: Gregory P. Smith <greg@krypto.org>
…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>
…GH-29845)

(cherry picked from commit c93a0ac)

Co-authored-by: 180909 <wjh180909@gmail.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>
…H-21380)

Co-authored-by: Andrew Kuchling <amk@amk.ca>
Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com>
(cherry picked from commit a74892c)

Co-authored-by: yyyyyyyan <24644216+yyyyyyyan@users.noreply.github.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>
…24778)

It is not preferable to keep a copy of the implementation in the
docs.
(cherry picked from commit e06f920)

Co-authored-by: Zackery Spytz <zspytz@gmail.com>
@cpython-cla-bot
Copy link

The following commit authors need to sign the Contributor License Agreement:

Click the button to sign:
CLA not signed

@warsaw
Copy link
Member Author

warsaw commented Jun 10, 2022

PR snafu.

@warsaw warsaw closed this Jun 10, 2022
@warsaw warsaw deleted the issue-89896 branch June 10, 2022 23:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

importlib.abc.Traversable.name does not match