gh-91052: Add C API for watching dictionaries by carljm · Pull Request #31787 · python/cpython · GitHub

github.com

Tin mới

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

add support for watching writes to selected dictionaries #91052

View reviewed changes

: Add C API for watching dictionaries

Add second-watcher tests, fix MSVC warning

Over-engineer the watcher bits check

https://gist.github.com/carljm/fa125fe5147146cd62ae10485b3fc31b

Shows neutral PyPerformance results: https://gist.github.com/carljm/fa125fe5147146cd62ae10485b3fc31b

View reviewed changes

Learn more about hiding disruptive comments

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

Merge branch 'main' into dictwatch

Address review comments

Merge branch 'main' into dictwatch

gh-91051: allow setting a callback hook on PyType_Modified #97875

View reviewed changes

Merge branch 'main' into dictwatch

Address further review comments

Fix memory leaks in test_capi #98017

View reviewed changes

gh-91052: Add PyDict_Unwatch for unwatching a dictionary #98055

Merge branch 'main' into typewatch

: Add C API for watching dictionaries (

Split up _testcapimodule.c #93649