gh-94808:Improve coverage of PyObject_Print by MonadChains · Pull Request #98749 · python/cpython · GitHub

github.com

Tin mới

MonadChains:gh-94808/improve-coverage-pyobject-print

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/object.c

Metabug: Improving C-level coverage #94808

Improve coverage of PyObject_Print

Merge branch 'main' into

View reviewed changes

Learn more about hiding disruptive comments

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

Close file when error is returned

cpython/Modules/_testcapimodule.c

cpython/Objects/object.c

Remove zero or negative reference counter check in PyObject_Print #98928

Merge branch 'main' into

Rework negative reference test

Merge in the main branch

Move the new tests

Nitpicks - Use test helpers - Use PyOS_snprintf - Touch up formatting (PEP 7)

Use Py_SET_REFCNT rather than ob_refcnt

Merge in the main branch

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

Hi! The buildbot ARM64 MacOS M1 Refleaks NoGIL 3.x has failed when building commit 90c3c68.

Squashed commit of the following:

Squashed commit of the following:

:Improve coverage of PyObject_Print (

gh-116622: Fix testPyObjectPrintOSError on Android #122487