Commit 934f353
Fix for Python 3.14
Summary: Use `offsetof()` to find the offset of the `PyTupleObject`'s `ob_item` member, since upstream CPython could [add more fields](python/cpython#131529) in the future.
Reviewed By: prakashgayasen, islamismailov
Differential Revision: D83114258
fbshipit-source-id: f30225b70d07638c5092e2e022d11eb278a7c3ee1 parent 8e211fa commit 934f353
1 file changed
+8
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
19 | 19 | | |
20 | 20 | | |
21 | 21 | | |
| 22 | + | |
| 23 | + | |
22 | 24 | | |
23 | 25 | | |
24 | 26 | | |
| |||
29 | 31 | | |
30 | 32 | | |
31 | 33 | | |
32 | | - | |
| 34 | + | |
33 | 35 | | |
34 | 36 | | |
35 | 37 | | |
| |||
1789 | 1791 | | |
1790 | 1792 | | |
1791 | 1793 | | |
| 1794 | + | |
| 1795 | + | |
1792 | 1796 | | |
1793 | 1797 | | |
1794 | 1798 | | |
| |||
1799 | 1803 | | |
1800 | 1804 | | |
1801 | 1805 | | |
| 1806 | + | |
| 1807 | + | |
| 1808 | + | |
1802 | 1809 | | |
1803 | 1810 | | |
1804 | 1811 | | |
| |||
0 commit comments