This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author yselivanov
Recipients pablogsal, yselivanov
Date 2021-09-07.04:50:39
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1630990240.1.0.111200047499.issue45123@roundup.psfhosted.org>
In-reply-to
Content
Per discussion on python-dev (also see the linked email), PyAiter_Check should only check for `__anext__` existence (and not for `__aiter__`) to be consistent with `Py_IterCheck`.

While there, I'd like to rename PyAiter_Check to PyAIter_Check and PyObject_GetAiter to PyObject_GetAIter (i -> I).  First, we should apply CamelCase convention correctly, here "async" and "iter" are separate words; second, "Aiter" is marked as invalid spelling by spell checkers in IDEs which is annoying.

See https://mail.python.org/archives/list/python-dev@python.org/message/BRHMOFPEKGQCCKEKEEKGSYDR6NOPMRCC/ for more details.
History
Date User Action Args
2021-09-07 04:50:40yselivanovsetrecipients: + yselivanov, pablogsal
2021-09-07 04:50:40yselivanovsetmessageid: <1630990240.1.0.111200047499.issue45123@roundup.psfhosted.org>
2021-09-07 04:50:40yselivanovlinkissue45123 messages
2021-09-07 04:50:39yselivanovcreate