Skip to main content

Hack the interpreter for running rejected pep's changes.

Project description


pepalllow See what happens if a pep was accepted.


  • PEP211
  • PEP231
  • PEP276
  • PEP313
  • PEP336
  • PEP377


from pepallow.allow import Allow

with Allow(313):
    assert IV == 4

with Allow(211):
    s = [1, 2, 3]
    t = "abc"
    for i, j in s @ t:

How It Works

When you import pepallow.allow, it reimport your module then patch it with pepallow.peps/* items. The items uses power of the AST module cpython gave us.

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for pepallow, version 0.5
Filename, size File type Python version Upload date Hashes
Filename, size pepallow-0.5.tar.gz (4.2 kB) File type Source Python version None Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page