GeezerVisonThe World Wide Web, restored to 800 pixels of glory. | ||||||||||||||
| Home|About|Gaming cabinet|Archives|How it works|Starter sites | ||||||||||||||
GeezerVison is showing github.com — bpo-32075: Expose ZipImporter Type Object in the include header files. by AraHaan · Pull Request #4470 · python/cpython Conversation
|
| extern "C" { | ||
| #endif | ||
|
|
||
| PyAPI_DATA(PyTypeObject) PyZipImporter_Type; |
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
This and the rest of the file shouldn't be part of the stable ABI.
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
But then how would someone be able to subclass or subtype the zip importer in their C code?
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
Relying only on the stable ABI is an opt-in thing when you build an extension, so leaving this out of it won't prevent it from being available overall, just in a certain instance.
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
I personally don't have time to review and contemplate the ramifications of this, but I would suggest that any changes not be part of the stable ABI. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
|
zipimport have been rewritten in pure Python (bpo-25711). |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
Successfully merging this pull request may close these issues.
There was an error while loading. Please reload this page.