Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/encukou/zombie-imp

A particularly mischievous act of necromancy
https://github.com/encukou/zombie-imp

Last synced: 26 days ago
JSON representation

A particularly mischievous act of necromancy

Awesome Lists containing this project

README

        

# zombie-imp

~~A particularly mischievous 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`).