Commit 92022d8
authored
When Python is built in debug mode (if the Py_REF_DEBUG macro is
defined), the Py_INCREF() and Py_DECREF() function are now always
implemented as opaque functions to avoid leaking implementation
details like the "_Py_RefTotal" variable or the
_Py_DecRefTotal_DO_NOT_USE_THIS() function.
* Remove _Py_IncRefTotal_DO_NOT_USE_THIS() and
_Py_DecRefTotal_DO_NOT_USE_THIS() from the stable ABI.
* Remove _Py_NegativeRefcount() from limited C API.
1 parent bae415a commit 92022d8
File tree
5 files changed
+17
-27
lines changed- Doc/whatsnew
- Include
- Lib/test
- Misc
- PC
5 files changed
+17
-27
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
343 | 343 | | |
344 | 344 | | |
345 | 345 | | |
| 346 | + | |
| 347 | + | |
| 348 | + | |
| 349 | + | |
| 350 | + | |
| 351 | + | |
| 352 | + | |
| 353 | + | |
| 354 | + | |
346 | 355 | | |
347 | 356 | | |
348 | 357 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
585 | 585 | | |
586 | 586 | | |
587 | 587 | | |
588 | | - | |
589 | | - | |
590 | | - | |
591 | | - | |
592 | | - | |
593 | | - | |
| 588 | + | |
| 589 | + | |
| 590 | + | |
594 | 591 | | |
595 | 592 | | |
596 | 593 | | |
597 | 594 | | |
598 | | - | |
599 | | - | |
600 | | - | |
601 | | - | |
| 595 | + | |
602 | 596 | | |
603 | 597 | | |
604 | 598 | | |
| |||
616 | 610 | | |
617 | 611 | | |
618 | 612 | | |
619 | | - | |
620 | | - | |
| 613 | + | |
| 614 | + | |
621 | 615 | | |
622 | 616 | | |
623 | 617 | | |
| |||
647 | 641 | | |
648 | 642 | | |
649 | 643 | | |
650 | | - | |
651 | | - | |
| 644 | + | |
| 645 | + | |
652 | 646 | | |
653 | 647 | | |
654 | 648 | | |
| |||
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2428 | 2428 | | |
2429 | 2429 | | |
2430 | 2430 | | |
2431 | | - | |
2432 | | - | |
2433 | | - | |
2434 | | - | |
2435 | | - | |
2436 | | - | |
2437 | | - | |
2438 | | - | |
2439 | | - | |
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
0 commit comments