FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

gh-105751: Remove obsolete `object` base class in some ctypes tests by tomasr8 · Pull Request #107460 · python/cpython · GitHub

/ cpython Public

gh-105751: Remove obsolete object base class in some ctypes tests - #107460

Merged
ambv merged 1 commit into
python:mainfrom
tomasr8:ctypes-remove-object
Jul 31, 2023
Merged

gh-105751: Remove obsolete object base class in some ctypes tests#107460
ambv merged 1 commit into
python:mainfrom
tomasr8:ctypes-remove-object

Conversation

tomasr8 commented Jul 30, 2023
edited by bedevere-bot
Loading

Copy link
Copy Markdown
Member

Some classes in the ctypes tests still explicitly inherit from object which is a relic from Python 2.
Let's remove them. (This is a simple change so I think that a separate issue is not necessary?)

bedevere-bot added awaiting review tests Tests in the Lib/test dir labels Jul 30, 2023
ambv changed the title ctypes: Remove obsolete object base class in some test cases gh-105751: Remove obsolete object base class in some ctypes tests Jul 31, 2023
ambv added skip news needs backport to 3.11 only security fixes needs backport to 3.12 only security fixes labels Jul 31, 2023
ambv merged commit 520efec into python:main Jul 31, 2023

Copy link
Copy Markdown
Contributor

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

Copy link
Copy Markdown
Contributor

Sorry, @tomasr8 and @ambv, I could not cleanly backport this to 3.12 due to a conflict.
Please backport using cherry_picker on command line.
cherry_picker 520efecfc3aed34d3a44545c7cd872d1aea8c7dc 3.12

Copy link
Copy Markdown
Contributor

Sorry, @tomasr8 and @ambv, I could not cleanly backport this to 3.11 due to a conflict.
Please backport using cherry_picker on command line.
cherry_picker 520efecfc3aed34d3a44545c7cd872d1aea8c7dc 3.11

tomasr8 deleted the ctypes-remove-object branch July 31, 2023 13:34
ambv pushed a commit to ambv/cpython that referenced this pull request Jul 31, 2023
…types tests (pythonGH-107460)

(cherry picked from commit 520efec)

Co-authored-by: Tomas R <tomas.roun8@gmail.com>

Copy link
Copy Markdown

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

bedevere-bot removed the needs backport to 3.12 only security fixes label Jul 31, 2023
ambv pushed a commit to ambv/cpython that referenced this pull request Jul 31, 2023
…types tests (pythonGH-107460)

(cherry picked from commit 520efec)

Co-authored-by: Tomas R <tomas.roun8@gmail.com>

Copy link
Copy Markdown

GH-107502 is a backport of this pull request to the 3.11 branch.

bedevere-bot removed the needs backport to 3.11 only security fixes label Jul 31, 2023
ambv added a commit that referenced this pull request Jul 31, 2023
…tests (GH-107460) (#107502)

(cherry picked from commit 520efec)

Co-authored-by: Tomas R <tomas.roun8@gmail.com>
ambv added a commit that referenced this pull request Jul 31, 2023
…tests (GH-107460) (#107501)

(cherry picked from commit 520efec)

Co-authored-by: Tomas R <tomas.roun8@gmail.com>
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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

skip news tests Tests in the Lib/test dir

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants


Back | FazBrowse Home | New Git URL