Skip to main content

Use this module to try out multiple interpreters and a per-interpreter GIL in Python 3.12. Do not use this for anything important.

Project description

Setup

To use this directory you must first build the development version of CPython on your machine by following the instructions here. (This can seem intimidating but the instructions are very clear and meticulous and you are likely to succeed on your first try).

Once you install the CPython development version (make sure you make any necessary path adjustments), when you run python --version you should see something like this:

Python 3.12.0a7+

Testing the Examples

After cloning this repo, use pip or pipx to (globally) install the hatch build system.

Move to the root directory of the cloned repo and run:

hatch shell

This configures and enters a virtual environment. Now move to the examples directory and you can run:

pytest
ruff check .
mypy .

Project details


Download files

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

Source Distribution

interpreters_3_12-0.0.1.1.tar.gz (21.9 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page