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-121160: Add a test for readline.set_history_length #121326

Merged
merged 3 commits into from
Jul 16, 2024

Conversation

encukou
Copy link
Member

@encukou encukou commented Jul 3, 2024

I could not reproduce the reported issue, but, I didn't try very hard to test on various readline libraries.
Regardless, set_history_length was missing a test. This PR should show if the error exists on CPython's buildbot platforms. (And if it doesn't and it's merged, it should fail for redistributors with who build with different libraries.)

My copy of readline (Fedora 40) reports an extra history element after reading the file; IMO that's not the end of the world.

@bedevere-bot
Copy link

🤖 New build scheduled with the buildbot fleet by @encukou for commit ba60eae 🤖

If you want to schedule another build, you need to add the 🔨 test-with-buildbots label again.

@bedevere-bot bedevere-bot removed the 🔨 test-with-buildbots Test PR w/ buildbots; report in status section label Jul 3, 2024
@encukou encukou added the 🔨 test-with-buildbots Test PR w/ buildbots; report in status section label Jul 4, 2024
@bedevere-bot
Copy link

🤖 New build scheduled with the buildbot fleet by @encukou for commit 626439e 🤖

If you want to schedule another build, you need to add the 🔨 test-with-buildbots label again.

@bedevere-bot bedevere-bot removed the 🔨 test-with-buildbots Test PR w/ buildbots; report in status section label Jul 4, 2024
@encukou encukou merged commit 263c7e6 into python:main Jul 16, 2024
105 of 115 checks passed
@encukou encukou deleted the readline-history-test branch July 16, 2024 14:09
@encukou encukou added needs backport to 3.12 bug and security fixes needs backport to 3.13 bugs and security fixes labels Jul 16, 2024
@miss-islington-app
Copy link

Thanks @encukou for the PR 🌮🎉.. I'm working now to backport this PR to: 3.13.
🐍🍒⛏🤖

@miss-islington-app
Copy link

Thanks @encukou for the PR 🌮🎉.. I'm working now to backport this PR to: 3.12.
🐍🍒⛏🤖

miss-islington pushed a commit to miss-islington/cpython that referenced this pull request Jul 16, 2024
miss-islington pushed a commit to miss-islington/cpython that referenced this pull request Jul 16, 2024
@bedevere-app
Copy link

bedevere-app bot commented Jul 16, 2024

GH-121856 is a backport of this pull request to the 3.13 branch.

@bedevere-app bedevere-app bot removed the needs backport to 3.13 bugs and security fixes label Jul 16, 2024
@bedevere-app
Copy link

bedevere-app bot commented Jul 16, 2024

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

@bedevere-app bedevere-app bot removed the needs backport to 3.12 bug and security fixes label Jul 16, 2024
encukou added a commit that referenced this pull request Jul 16, 2024
encukou added a commit that referenced this pull request Jul 16, 2024
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.

2 participants