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-107576: Ensure __orig_bases__ are our own in get_original_bases #107584

Merged
merged 8 commits into from Aug 3, 2023

Conversation

Gobot1234
Copy link
Contributor

@Gobot1234 Gobot1234 commented Aug 3, 2023

@Yhg1s Yhg1s added the needs backport to 3.12 bug and security fixes label Aug 3, 2023
Lib/types.py Outdated Show resolved Hide resolved
Gobot1234 and others added 2 commits August 3, 2023 14:16
Co-authored-by: Chris Bouchard <chris@upliftinglemma.net>
Co-authored-by: AlexWaygood <alex.waygood@gmail.com>
Copy link
Member

@AlexWaygood AlexWaygood left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@AlexWaygood AlexWaygood enabled auto-merge (squash) August 3, 2023 13:34
@AlexWaygood AlexWaygood merged commit ed4a978 into python:main Aug 3, 2023
22 checks passed
@miss-islington
Copy link
Contributor

Thanks @Gobot1234 for the PR, and @AlexWaygood for merging it 🌮🎉.. I'm working now to backport this PR to: 3.12.
🐍🍒⛏🤖

@bedevere-bot
Copy link

GH-107592 is a backport of this pull request to the 3.12 branch.

@bedevere-bot bedevere-bot removed the needs backport to 3.12 bug and security fixes label Aug 3, 2023
miss-islington pushed a commit to miss-islington/cpython that referenced this pull request Aug 3, 2023
…_bases` (pythonGH-107584)

(cherry picked from commit ed4a978)

Co-authored-by: James Hilton-Balfe <gobot1234yt@gmail.com>
Co-authored-by: Chris Bouchard <chris@upliftinglemma.net>
Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
Yhg1s pushed a commit that referenced this pull request Aug 3, 2023
…l_bases` (GH-107584) (#107592)

gh-107576: Ensure `__orig_bases__` are our own in `get_original_bases` (GH-107584)
(cherry picked from commit ed4a978)

Co-authored-by: James Hilton-Balfe <gobot1234yt@gmail.com>
Co-authored-by: Chris Bouchard <chris@upliftinglemma.net>
Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
@Gobot1234 Gobot1234 deleted the orig_bases-fix branch August 3, 2023 15:17
netbsd-srcmastr pushed a commit to NetBSD/pkgsrc that referenced this pull request Sep 18, 2023
Release 4.8.0 (September 17, 2023)

No changes since 4.8.0rc1.

Release 4.8.0rc1 (September 7, 2023)

- Add `typing_extensions.Doc`, as proposed by PEP 727. Patch by
  Sebastián Ramírez.
- Drop support for Python 3.7 (including PyPy-3.7). Patch by Alex Waygood.
- Fix bug where `get_original_bases()` would return incorrect results when
  called on a concrete subclass of a generic class. Patch by Alex Waygood
  (backporting python/cpython#107584, by James
  Hilton-Balfe).
- Fix bug where `ParamSpec(default=...)` would raise a `TypeError` on Python
  versions <3.11. Patch by James Hilton-Balfe
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

7 participants