Jeroen Demeyer schrieb am 18.06.19 um 13:47: > What's the purpose of commit > https://github.com/cython/cython/commit/8ac1a6a55fc44ff858cc367af556250a91f71d16 > > I can't think of any reasonable scenario where Py_TPFLAGS_METHOD_DESCRIPTOR > would be defined differently than in CPython (i.e. with value 1<<17). > > This is an honest question, I don't know what I'm missing.
We define a couple of CPython flag names for older versions, and some of them are defined as 0 instead of their bit value, because we are not using them ourselves and it gives '&' tests an obvious 0 result. We don't define this one specifically, but I wanted to allow this kind of empty definition for the flag, that's all. Stefan _______________________________________________ cython-devel mailing list cython-devel@python.org https://mail.python.org/mailman/listinfo/cython-devel