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-106318: Add example for `str.encode()` by blaisep · Pull Request #134520 · python/cpython

Conversation

@blaisep

@blaisep blaisep commented May 22, 2025 •
edited by hugovk
Loading

Uh oh!

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

Copy link
Copy Markdown
Contributor

WIP for #106318


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

  • Issue: Add examples to docs for str methods #106318

Sorry, something went wrong.

Uh oh!

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

All reactions
@blaisep
Add example for str.encode()
7843b3a
WIP to fix python#106318
@bedevere-app bedevere-app Bot added docs Documentation in the Doc dir skip news awaiting review labels May 22, 2025
@github-project-automation github-project-automation Bot added this to Docs PRs May 22, 2025
@github-project-automation github-project-automation Bot moved this to Todo in Docs PRs May 22, 2025
@blaisep blaisep changed the title Add example for str.encode() gh-106318: Add example for str.encode() May 22, 2025
@bedevere-app bedevere-app Bot mentioned this pull request May 22, 2025
Add examples to docs for str methods #106318
Open
hugovk
hugovk reviewed May 23, 2025
View reviewed changes
Comment thread Doc/library/stdtypes.rst Resolved

Uh oh!

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

Comment thread Doc/library/stdtypes.rst Resolved

Uh oh!

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

@hugovk
Apply suggestions from code review
6722568
hugovk
hugovk approved these changes Jun 13, 2025
View reviewed changes

@hugovk hugovk left a comment

Copy link
Copy Markdown
Member

There was a problem hiding this comment.

Choose a reason for hiding this comment

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

Thanks!

Sorry, something went wrong.

Uh oh!

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

All reactions
@bedevere-app bedevere-app Bot added awaiting merge and removed awaiting review labels Jun 13, 2025
@hugovk
hugovk enabled auto-merge (squash) June 13, 2025 11:27
@hugovk hugovk added needs backport to 3.13 only security fixes needs backport to 3.14 bugs and security fixes labels Jun 13, 2025
@hugovk
hugovk merged commit 2734595 into python:main Jun 13, 2025
@github-project-automation github-project-automation Bot moved this from Todo to Done in Docs PRs Jun 13, 2025
@miss-islington-app

miss-islington-app Bot commented Jun 13, 2025

Copy link
Copy Markdown

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

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 awaiting merge label Jun 13, 2025
miss-islington pushed a commit to miss-islington/cpython that referenced this pull request Jun 13, 2025
@blaisep @hugovk @miss-islington
pythongh-106318: Add example for str.encode() (pythonGH-134520)
1876fff
(cherry picked from commit 2734595)

Co-authored-by: Blaise Pabon <[email protected]>
Co-authored-by: Hugo van Kemenade <[email protected]>
miss-islington pushed a commit to miss-islington/cpython that referenced this pull request Jun 13, 2025
@blaisep @hugovk @miss-islington
pythongh-106318: Add example for str.encode() (pythonGH-134520)
c036e59
(cherry picked from commit 2734595)

Co-authored-by: Blaise Pabon <[email protected]>
Co-authored-by: Hugo van Kemenade <[email protected]>
@bedevere-app

bedevere-app Bot commented Jun 13, 2025

Copy link
Copy Markdown

GH-135457 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 Jun 13, 2025
@bedevere-app

bedevere-app Bot commented Jun 13, 2025

Copy link
Copy Markdown

GH-135458 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 Jun 13, 2025
hugovk added a commit that referenced this pull request Jun 13, 2025
@miss-islington @blaisep @hugovk
[3.14] gh-106318: Add example for str.encode() (GH-134520) (#135457)
f22aae1
Co-authored-by: Blaise Pabon <[email protected]>
Co-authored-by: Hugo van Kemenade <[email protected]>
hugovk added a commit that referenced this pull request Jun 13, 2025
@miss-islington @blaisep @hugovk
[3.13] gh-106318: Add example for str.encode() (GH-134520) (#135458)
db408a4
Co-authored-by: Blaise Pabon <[email protected]>
Co-authored-by: Hugo van Kemenade <[email protected]>
lkollar pushed a commit to lkollar/cpython that referenced this pull request Jun 19, 2025
@blaisep @hugovk @lkollar
pythongh-106318: Add example for str.encode() (python#134520)
ec4d6eb
Co-authored-by: Hugo van Kemenade <[email protected]>
Pranjal095 pushed a commit to Pranjal095/cpython that referenced this pull request Jul 12, 2025
@blaisep @hugovk @Pranjal095
pythongh-106318: Add example for str.encode() (python#134520)
3de31ad
Co-authored-by: Hugo van Kemenade <[email protected]>
taegyunkim pushed a commit to taegyunkim/cpython that referenced this pull request Aug 4, 2025
@blaisep @hugovk @taegyunkim
pythongh-106318: Add example for str.encode() (python#134520)
34e57d9
Co-authored-by: Hugo van Kemenade <[email protected]>
Agent-Hellboy pushed a commit to Agent-Hellboy/cpython that referenced this pull request Aug 19, 2025
@blaisep @hugovk @Agent-Hellboy
pythongh-106318: Add example for str.encode() (python#134520)
e79ce9b
Co-authored-by: Hugo van Kemenade <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

@hugovk hugovk hugovk approved these changes

Uh oh!

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

Assignees

No one assigned

Labels

docs Documentation in the Doc dir skip news

Projects

Docs PRs
Status: Done

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.

2 participants

@blaisep @hugovk
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.