bpo-39573: Add Py_IS_TYPE macro by corona10 · Pull Request #18488 · python/cpython · GitHub

github.com

Tin mới

corona10:bpo-39573

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

View reviewed changes

Learn more about hiding disruptive comments

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

bpo-39573: Add Py_IS_TYPE macro

codecov Bot commented Feb 12, 2020 • edited Loading Uh oh! There was an error while loading. Please reload this page.

codecov Bot commented Feb 12, 2020 • edited Loading Uh oh! There was an error while loading. Please reload this page.

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

bpo-39573: Update PyXXX_CheckExact() APIs

View reviewed changes

bpo-39573: Apply code review

View reviewed changes

bpo-39573: Apply code review

[C API] Avoid accessing PyObject and PyVarObject members directly: add Py_SET_TYPE() and Py_IS_TYPE(), disallow Py_TYPE(obj)=type #83754

⌂git
1/1