Message244258
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... |
|
Date |
User |
Action |
Args |
2015-05-28 03:59:56 | scoder | set | recipients:
+ scoder, gvanrossum, ncoghlan, vstinner, asvetlov, python-dev, yselivanov |
2015-05-28 03:59:56 | scoder | set | messageid: <1432785596.34.0.16818214134.issue24017@psf.upfronthosting.co.za> |
2015-05-28 03:59:56 | scoder | link | issue24017 messages |
2015-05-28 03:59:56 | scoder | create | |
|