gh-94808: Cover `%p` in `PyUnicode_FromFormat` by sobolevn · Pull Request #96677 · python/cpython · GitHub

github.com

Tin mới

sobolevn:issue-94808

GitHub CopilotWrite better code with AI

GitHub Copilot appDirect agents from issue to merge

ActionsAutomate any workflow

CodespacesInstant dev environments

IssuesPlan and track work

Code ReviewManage code changes

Code QualityEnforce quality at merge

GitHub Advanced SecurityFind and fix vulnerabilities

Code securitySecure your code as you build

Secret protectionStop leaks before they start

View all use cases

Financial services

View all industries

Software Development

GitHub SponsorsFund open source developers

Copilot for BusinessEnterprise-grade AI features

Premium SupportEnterprise-grade 24/7 support

Pull requests 2.6k

Security and quality 0

cpython/Objects/unicodeobject.c

Metabug: Improving C-level coverage #94808

gh-94808: Cover `%p` in `PyUnicode_FromFormat`

Remove len assumptions from %p

View reviewed changes

Learn more about hiding disruptive comments

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

View reviewed changes

Merge branch 'main' into issue-94808

View reviewed changes

needs backport to 3.10

needs backport to 3.11

https://github.com/python/cpython/actions/runs/3200613350/jobs/5227726848

From https://github.com/python/cpython/actions/runs/3200613350/jobs/5227726848

Update test_unicode.py

View reviewed changes

Update Lib/test/test_unicode.py

PyUnicode_FromFormat

PyUnicode_FromFormat

⚠️⚠️⚠️ Buildbot failure ⚠️⚠️⚠️

Hi! The buildbot s390x SLES 3.x has failed when building commit 72c166a.

PyUnicode_FromFormat

PyUnicode_FromFormat

gh-94808: Cover `%p` in `PyUnicode_FromFormat` (#96677) Co-authored-by: Jelle Zijlstra <[email protected]>