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 scoder
Recipients asvetlov, gvanrossum, ncoghlan, python-dev, scoder, vstinner, yselivanov
Date 2015-05-28.03:59:56
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1432785596.34.0.16818214134.issue24017@psf.upfronthosting.co.za>
In-reply-to
Content
Another question: is it ok if Cython implements and uses the "tp_as_async" slot in all Py3.x versions (3.2+)? It shouldn't hurt, but it would speed up async/await in Cython at least under Py3.x. Only Py2.6/7 would then have to resort to calling "__await__()" etc. at the Python level.

One drawback is that Py<3.5 currently (needlessly) checks that "tp_reserved" and "tp_richcompare" are both implemented, but that can be worked around by also implementing the latter...
History
Date User Action Args
2015-05-28 03:59:56scodersetrecipients: + scoder, gvanrossum, ncoghlan, vstinner, asvetlov, python-dev, yselivanov
2015-05-28 03:59:56scodersetmessageid: <1432785596.34.0.16818214134.issue24017@psf.upfronthosting.co.za>
2015-05-28 03:59:56scoderlinkissue24017 messages
2015-05-28 03:59:56scodercreate