Tin mới
shihai1991:bpo_1635741_binascii_1
GitHub CopilotWrite better code with AI
GitHub Copilot appDirect agents from issue to merge
CodespacesInstant dev environments
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
GitHub SponsorsFund open source developers
Copilot for BusinessEnterprise-grade AI features
Premium SupportEnterprise-grade 24/7 support
Fix potential refleaks in binascii module
There was an error while loading. Please reload this page.
Learn more about hiding disruptive comments
The reason will be displayed to describe this comment to others. Learn more.
https://github.com/python/cpython/blob/master/Objects/moduleobject.c#L399
What's the reason? the malloc operation of md_state will be called after first calling binascii_traverse. https://github.com/python/cpython/blob/master/Objects/moduleobject.c#L399.
using the var name module to replace m
Use get_binascii_state instead of PyModule_GetState #26069
Py_Finalize() doesn't clear all Python objects at exit #44470