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 berker.peksag
Recipients Winterflower, asvetlov, berker.peksag, danielsh, docs@python, eric.araujo, loewis, serhiy.storchaka
Date 2016-01-28.10:53:22
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1453978402.76.0.661964246727.issue16731@psf.upfronthosting.co.za>
In-reply-to
Content
I think the difference between xxlimited and xxmodule is still a bit ambiguous. I would expect a mention of PEP 384 or a link to https://docs.python.org/3/c-api/stable.html to explain what Py_LIMITED_API really is.

+#ifndef Py_LIMITED_API
+# error "This file requires Py_LIMITED_API"
+#endif

I don't have a strong opinion about this, but I think the error message could be more informative (e.g. you must define a Py_LIMITED_API macro) Or we can improve https://docs.python.org/3/c-api/stable.html to give an example there.
History
Date User Action Args
2016-01-28 10:53:22berker.peksagsetrecipients: + berker.peksag, loewis, eric.araujo, asvetlov, docs@python, serhiy.storchaka, danielsh, Winterflower
2016-01-28 10:53:22berker.peksagsetmessageid: <1453978402.76.0.661964246727.issue16731@psf.upfronthosting.co.za>
2016-01-28 10:53:22berker.peksaglinkissue16731 messages
2016-01-28 10:53:22berker.peksagcreate