(info_add)
| 693 | |
| 694 | |
| 695 | def collect_testinternalcapi(info_add): |
| 696 | try: |
| 697 | import _testinternalcapi |
| 698 | except ImportError: |
| 699 | return |
| 700 | |
| 701 | call_func(info_add, 'pymem.allocator', _testinternalcapi, 'pymem_getallocatorsname') |
| 702 | |
| 703 | for name in ( |
| 704 | 'SIZEOF_PYGC_HEAD', |
| 705 | 'SIZEOF_PYOBJECT', |
| 706 | ): |
| 707 | copy_attr(info_add, f'_testinternalcapi.{name}', _testinternalcapi, name) |
| 708 | |
| 709 | |
| 710 | def collect_resource(info_add): |