A copy of the `imp` module that was removed in Python 3.12
Project description
zombie-imp
A particularly mischevious act of necromancy. That is,
A copy of the imp
module that was removed in Python 3.12.
Don't use this, it'll probably trick and bite you.
Usage
Can be summoned by import zombie_imp
.
On Python versions where imp
was banished, reanimate it using import imp
.
It promises (with a sneer) to be the same as before.
Some functionality that was severed from pkgutil
is interred
in zombie_imp.pkgutil
, ready for reattachment:
ImpImporter
ImpLoader
Development
You want to help it? Think you'll be rewarded? Great! It loves gullible brains.
Seriously, run!
Find a project that needs this and port that to importlib
.
License
The code was snatched from CPython, and is available under CPython's license
(SPDX: Python-2.0.1
).
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for zombie_imp-0.0.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 40a5b0826c9c434b92ffb7d6f350cca401d85b2326d55dabbd493bd10a2a3ec4 |
|
MD5 | 556f1258b2fb641a78a58513d1283931 |
|
BLAKE2b-256 | 2edb920b08cc3f0e6b3437d7e744eca2b1751191524de4ad82e33fb0a0c3d7da |