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 — Add tests for failing PyUnicode_AsUTF8AndSize() with psize=NULL by serhiy-storchaka · Pull Request #111100 · python/cpython

Conversation

@serhiy-storchaka

@serhiy-storchaka serhiy-storchaka commented Oct 20, 2023

Copy link
Copy Markdown
Member

No description provided.

Sorry, something went wrong.

Uh oh!

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

All reactions
@serhiy-storchaka
Add tests for failing PyUnicode_AsUTF8AndSize() with psize=NULL
f10b65e
@serhiy-storchaka serhiy-storchaka added tests Tests in the Lib/test dir skip issue skip news topic-C-API needs backport to 3.12 only security fixes labels Oct 20, 2023
@bedevere-app bedevere-app Bot added the awaiting core review label Oct 20, 2023
@serhiy-storchaka
serhiy-storchaka requested a review from vstinner October 20, 2023 06:40
@serhiy-storchaka serhiy-storchaka mentioned this pull request Oct 20, 2023
gh-111089: PyUnicode_AsUTF8() now raises on embedded NUL #111091
Merged
@serhiy-storchaka
serhiy-storchaka merged commit b60f058 into python:main Oct 20, 2023
@miss-islington-app

miss-islington-app Bot commented Oct 20, 2023

Copy link
Copy Markdown

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

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 core review label Oct 20, 2023
@serhiy-storchaka
serhiy-storchaka deleted the test_capi-unicode_asutf8andsize_null-errors branch October 20, 2023 09:54
@bedevere-app

bedevere-app Bot commented Oct 20, 2023

Copy link
Copy Markdown

GH-111105 is a backport of this pull request to the 3.12 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.12 only security fixes label Oct 20, 2023
miss-islington pushed a commit to miss-islington/cpython that referenced this pull request Oct 20, 2023
@serhiy-storchaka @miss-islington
Add tests for failing PyUnicode_AsUTF8AndSize() with psize=NULL (pyth…
d2b43e3
…onGH-111100)

(cherry picked from commit b60f058)

Co-authored-by: Serhiy Storchaka <[email protected]>
@vstinner

vstinner commented Oct 20, 2023

Copy link
Copy Markdown
Member

Follow-up: PR #111106.

All reactions

Sorry, something went wrong.

Uh oh!

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

@vstinner vstinner mentioned this pull request Oct 20, 2023
gh-111089: PyUnicode_AsUTF8AndSize() sets size on error #111106
Merged
serhiy-storchaka added a commit that referenced this pull request Oct 20, 2023
@miss-islington @serhiy-storchaka
[3.12] Add tests for failing PyUnicode_AsUTF8AndSize() with psize=NULL (
6b38ddb
GH-111100) (GH-111105)

(cherry picked from commit b60f058)

Co-authored-by: Serhiy Storchaka <[email protected]>
aisk pushed a commit to aisk/cpython that referenced this pull request Feb 11, 2024
@serhiy-storchaka @aisk
Add tests for failing PyUnicode_AsUTF8AndSize() with psize=NULL (pyth…
0c767fe
…onGH-111100)
Glyphack pushed a commit to Glyphack/cpython that referenced this pull request Sep 2, 2024
@serhiy-storchaka @Glyphack
Add tests for failing PyUnicode_AsUTF8AndSize() with psize=NULL (pyth…
4f4b1a7
…onGH-111100)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

@vstinner vstinner Awaiting requested review from vstinner

Uh oh!

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

Assignees

No one assigned

Labels

skip issue skip news tests Tests in the Lib/test dir topic-C-API

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.

2 participants

@serhiy-storchaka @vstinner
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.