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 bup
Recipients bup
Date 2018-07-18.10:41:57
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1531910517.42.0.56676864532.issue34146@psf.upfronthosting.co.za>
In-reply-to
Content
So not only does the function it does use (`PyCData_nohash`) prevent PyType_Ready from setting _ctypes._SimpleCData.__dict__["__hash__"] to `None`, (contrary to to every other unhashable type in the standard library) but the error message it returns is less detailed.

It seems like a big deal if this were to be changed as it could break backwards compatibility so I won't open PR myself as I'm still not that familiar with the contribution process.
History
Date User Action Args
2018-07-18 10:41:57bupsetrecipients: + bup
2018-07-18 10:41:57bupsetmessageid: <1531910517.42.0.56676864532.issue34146@psf.upfronthosting.co.za>
2018-07-18 10:41:57buplinkissue34146 messages
2018-07-18 10:41:57bupcreate