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 Decorater
Recipients Decorater
Date 2017-11-19.19:56:09
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1511121369.3.0.213398074469.issue32075@psf.upfronthosting.co.za>
In-reply-to
Content
I would like to make an C extension module which basically would have the ZipImporter type defined in the ``zipimport.c`` which defines most things related to ZipImporter to be public so that way one can set it to ``.tp_base`` on their C extension.

That should hopefully in the C side of things allow subclassing the zipimporter class outside of the Python layer as well. Otherwise I would have to manually copy the said definition from zipimport.c and that could be a huge risk if a bug or something in the ZipImporter was fixed that it wont automatically be fixed in the C version of the subclass. I want precisely this and for it to be exposed to other people who might want to subclass the zipimporter class outside of the Python layer as well.
History
Date User Action Args
2017-11-19 19:56:09Decoratersetrecipients: + Decorater
2017-11-19 19:56:09Decoratersetmessageid: <1511121369.3.0.213398074469.issue32075@psf.upfronthosting.co.za>
2017-11-19 19:56:09Decoraterlinkissue32075 messages
2017-11-19 19:56:09Decoratercreate