GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — gh-145269: simplify bisect.bisect doc example by ngoldbaum · Pull Request #145270 · python/cpython

Conversation

@ngoldbaum

@ngoldbaum ngoldbaum commented Feb 26, 2026 •
edited
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown
Contributor

Thanks @nedbat for the suggestion on the docs discord.

  • Issue: Bisect docs define a function that uses a list as a default argument #145269

📚 Documentation preview 📚: https://cpython-previews--145270.org.readthedocs.build/

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
@ngoldbaum
ngoldbaum requested a review from rhettinger as a code owner February 26, 2026 19:46
@bedevere-app bedevere-app Bot added the awaiting review label Feb 26, 2026
@bedevere-app bedevere-app Bot mentioned this pull request Feb 26, 2026
Bisect docs define a function that uses a list as a default argument #145269
Closed
@bedevere-app bedevere-app Bot added the tests Tests in the Lib/test dir label Feb 26, 2026
@ngoldbaum
pythongh-145269: simplify bisect.bisect doc example
541e566
@ngoldbaum
ngoldbaum force-pushed the fix-doc-example branch from 63cea13 to 541e566 Compare February 26, 2026 19:48
eendebakpt
eendebakpt reviewed Feb 26, 2026
View reviewed changes
Comment thread Doc/library/bisect.rst Resolved

Uh oh!

There was an error while loading. Please reload this page.

eendebakpt
eendebakpt reviewed Feb 26, 2026
View reviewed changes
Comment thread Doc/library/bisect.rst Resolved

Uh oh!

There was an error while loading. Please reload this page.

@ngoldbaum @eendebakpt
Update Doc/library/bisect.rst
09c7965
Co-authored-by: Pieter Eendebak <[email protected]>
@eendebakpt eendebakpt added the skip news label Feb 26, 2026
eendebakpt
eendebakpt approved these changes Feb 26, 2026
View reviewed changes
@bedevere-app bedevere-app Bot added awaiting core review and removed awaiting review labels Feb 26, 2026
@ngoldbaum
Merge branch 'main' into fix-doc-example
a0f596d
itamaro
itamaro approved these changes Feb 28, 2026
View reviewed changes
@bedevere-app bedevere-app Bot added awaiting merge and removed awaiting core review labels Feb 28, 2026
@itamaro
itamaro enabled auto-merge (squash) February 28, 2026 08:59
@itamaro
itamaro merged commit fdb4b35 into python:main Feb 28, 2026
127 of 131 checks passed

Uh oh!

There was an error while loading. Please reload this page.

@bedevere-app bedevere-app Bot removed the awaiting merge label Feb 28, 2026
brijkapadia pushed a commit to brijkapadia/cpython that referenced this pull request Feb 28, 2026
@ngoldbaum @eendebakpt @brijkapadia
pythongh-145269: simplify bisect.bisect doc example (python#145270)
b17b37c
Co-authored-by: Pieter Eendebak <[email protected]>

---------

Co-authored-by: Pieter Eendebak <[email protected]>
@picnixz picnixz added needs backport to 3.13 only security fixes needs backport to 3.14 bugs and security fixes labels Feb 28, 2026
@miss-islington-app

miss-islington-app Bot commented Feb 28, 2026

Copy link
Copy Markdown

Thanks @ngoldbaum for the PR, and @itamaro for merging it 🌮🎉.. I'm working now to backport this PR to: 3.13.
🐍🍒⛏🤖 I'm not a witch! I'm not a witch!

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@miss-islington-app

miss-islington-app Bot commented Feb 28, 2026

Copy link
Copy Markdown

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

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

miss-islington pushed a commit to miss-islington/cpython that referenced this pull request Feb 28, 2026
@ngoldbaum @eendebakpt @miss-islington
pythongh-145269: simplify bisect.bisect doc example (pythonGH-145270)
61fe48a
Co-authored-by: Pieter Eendebak <[email protected]>

---------
(cherry picked from commit fdb4b35)

Co-authored-by: Nathan Goldbaum <[email protected]>
Co-authored-by: Pieter Eendebak <[email protected]>
miss-islington pushed a commit to miss-islington/cpython that referenced this pull request Feb 28, 2026
@ngoldbaum @eendebakpt @miss-islington
pythongh-145269: simplify bisect.bisect doc example (pythonGH-145270)
f08929f
Co-authored-by: Pieter Eendebak <[email protected]>

---------
(cherry picked from commit fdb4b35)

Co-authored-by: Nathan Goldbaum <[email protected]>
Co-authored-by: Pieter Eendebak <[email protected]>
@bedevere-app

bedevere-app Bot commented Feb 28, 2026

Copy link
Copy Markdown

GH-145367 is a backport of this pull request to the 3.14 branch.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@bedevere-app bedevere-app Bot removed the needs backport to 3.14 bugs and security fixes label Feb 28, 2026
@bedevere-app

bedevere-app Bot commented Feb 28, 2026

Copy link
Copy Markdown

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

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@bedevere-app bedevere-app Bot removed the needs backport to 3.13 only security fixes label Feb 28, 2026
picnixz pushed a commit that referenced this pull request Feb 28, 2026
@miss-islington @ngoldbaum @eendebakpt
[3.14] gh-145269: simplify bisect.bisect doc example (GH-145270) (#14…
4152bbb
…5367)

gh-145269: simplify bisect.bisect doc example (GH-145270)



---------
(cherry picked from commit fdb4b35)

Co-authored-by: Nathan Goldbaum <[email protected]>
Co-authored-by: Pieter Eendebak <[email protected]>
picnixz pushed a commit that referenced this pull request Feb 28, 2026
@miss-islington @ngoldbaum @eendebakpt
[3.13] gh-145269: simplify bisect.bisect doc example (GH-145270) (#14…
0e57600
…5368)

gh-145269: simplify bisect.bisect doc example (GH-145270)



---------
(cherry picked from commit fdb4b35)

Co-authored-by: Nathan Goldbaum <[email protected]>
Co-authored-by: Pieter Eendebak <[email protected]>
ljfp pushed a commit to ljfp/cpython that referenced this pull request Apr 25, 2026
@ngoldbaum @eendebakpt @ljfp
pythongh-145269: simplify bisect.bisect doc example (python#145270)
3f2be79
Co-authored-by: Pieter Eendebak <[email protected]>

---------

Co-authored-by: Pieter Eendebak <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

@itamaro itamaro itamaro approved these changes
@eendebakpt eendebakpt eendebakpt approved these changes
@rhettinger rhettinger Awaiting requested review from rhettinger rhettinger is a code owner

Uh oh!

There was an error while loading. Please reload this page.

Assignees

No one assigned

Labels

skip news tests Tests in the Lib/test dir

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

Uh oh!

There was an error while loading. Please reload this page.

4 participants

@ngoldbaum @itamaro @eendebakpt @picnixz
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.
You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.