Post AWt1bliItR9tZGHFMO by eltonfc@bertha.social
(DIR) More posts by eltonfc@bertha.social
(DIR) Post #AWt1bksXzrl4yk3ugi by mgorny@fosstodon.org
2023-06-20T14:03:20Z
0 likes, 0 repeats
#Python language lawyers, we're seeing some interesting issue with #PyPy / ijson.ijson is calling the async function's __wait__() method and iterating over the results until it gets StopIteration exception, and it uses it to get the return value. This works in Python both in CPython and PyPy but within C API, CPython tp_iternext() raises StopIteration while in PyPy it does not — is that a bug or is there some other way to get the return value?https://github.com/ICRAR/ijson/issues/101https://foss.heptapod.net/pypy/pypy/-/issues/3956
(DIR) Post #AWt1bliItR9tZGHFMO by eltonfc@bertha.social
2023-06-20T14:11:13Z
0 likes, 0 repeats
@mgorny Hey @dunossauro @melissawm do you know anyone to point Michał to?
(DIR) Post #AWt1bmmEwHtwrl7u8O by melissawm@bolha.us
2023-06-20T14:33:59Z
0 likes, 0 repeats
@eltonfc @mgorny @dunossauro I know a PyPy developer but sadly he's not on mastodon. Will boost for reach
(DIR) Post #AWt1bnjROBFxpMpBPU by mgorny@fosstodon.org
2023-06-20T15:11:12Z
1 likes, 0 repeats
@melissawm @eltonfc @dunossauro, don't worry, PyPy devs will surely reply to the bug ;-). I mostly posted this because I thought others would find the problem interesting.