pyo3/newsfragments
bors[bot] 806eed5b07
Merge #2914
2914: correct ffi definition of PyIter_Check r=davidhewitt a=davidhewitt

Closes #2913 

It looks like what is happening is that PyO3 was relying on an outdated macro form of `PyIter_Check` which is now a CPython implementation detail, which would explain why it was behaving inconsistently on different platforms (likely due to differences in linkers / implementations).

The test I've pushed succeeds, but fails to compile due to a hygiene bug! I'm done for tonight so I'll take a look at that soon and then rebase this after.

Co-authored-by: David Hewitt <1939362+davidhewitt@users.noreply.github.com>
2023-02-03 20:51:15 +00:00
..
.gitignore
2886.fixed.md
2889.added.md Added support for PyErr_WriteUnraisable 2023-01-29 20:01:22 +00:00
2911.added.md
2912.added.md add PyDict.update() and PyDict.update_if_missing() 2023-02-03 06:32:01 +00:00
2914.changed.md use simplified PyIter_Check on CPython 3.7 2023-02-03 07:55:44 +00:00
2914.fixed.md correct ffi definition of PyIter_Check 2023-01-29 19:43:33 +00:00
2921.fixed.md
2923.fixed.md
2926.changed.md Warn about unknown config keys in PYO3_CONFIG_FILE 2023-01-29 10:49:27 +08:00