{"id":13610546,"url":"https://github.com/stackless-dev/stackless","last_synced_at":"2025-04-12T22:34:27.167Z","repository":{"id":46994470,"uuid":"102492542","full_name":"stackless-dev/stackless","owner":"stackless-dev","description":"The Stackless Python programming language","archived":true,"fork":true,"pushed_at":"2025-02-13T14:11:16.000Z","size":468852,"stargazers_count":1043,"open_issues_count":15,"forks_count":61,"subscribers_count":39,"default_branch":"main-slp","last_synced_at":"2025-02-13T15:26:04.141Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"http://www.stackless.com/","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":"python/cpython","license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/stackless-dev.png","metadata":{"files":{"readme":"README.rst","changelog":null,"contributing":".github/CONTRIBUTING.rst","funding":null,"license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":".github/CODEOWNERS","security":".github/SECURITY.md","support":null}},"created_at":"2017-09-05T14:36:10.000Z","updated_at":"2025-02-13T14:11:41.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/stackless-dev/stackless","commit_stats":null,"previous_names":[],"tags_count":100,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stackless-dev%2Fstackless","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stackless-dev%2Fstackless/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stackless-dev%2Fstackless/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stackless-dev%2Fstackless/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/stackless-dev","download_url":"https://codeload.github.com/stackless-dev/stackless/tar.gz/refs/heads/main-slp","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248642308,"owners_count":21138350,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-08-01T19:01:45.780Z","updated_at":"2025-04-12T22:34:27.159Z","avatar_url":"https://github.com/stackless-dev.png","language":"Python","readme":"Stackless Python.\n=================\n\nDevelopment of this project has now stopped, and the project is archived.\n\nThis is Python version 3.9.0 alpha 0\n====================================\n\n.. image:: https://travis-ci.org/python/cpython.svg?branch=master\n   :alt: CPython build status on Travis CI\n   :target: https://travis-ci.org/python/cpython\n\n.. image:: https://ci.appveyor.com/api/projects/status/4mew1a93xdkbf5ua/branch/master?svg=true\n   :alt: CPython build status on Appveyor\n   :target: https://ci.appveyor.com/project/python/cpython/branch/master\n\n.. image:: https://dev.azure.com/python/cpython/_apis/build/status/Azure%20Pipelines%20CI?branchName=master\n   :alt: CPython build status on Azure DevOps\n   :target: https://dev.azure.com/python/cpython/_build/latest?definitionId=4\u0026branchName=master\n\n.. image:: https://codecov.io/gh/python/cpython/branch/master/graph/badge.svg\n   :alt: CPython code coverage on Codecov\n   :target: https://codecov.io/gh/python/cpython\n\n.. image:: https://img.shields.io/badge/zulip-join_chat-brightgreen.svg\n   :alt: Python Zulip chat\n   :target: https://python.zulipchat.com\n\n\nCopyright (c) 2001-2019 Python Software Foundation.  All rights reserved.\n\nSee the end of this file for further copyright and license information.\n\n.. contents::\n\nGeneral Information\n-------------------\n\n- Website: https://www.python.org\n- Source code: https://github.com/python/cpython\n- Issue tracker: https://bugs.python.org\n- Documentation: https://docs.python.org\n- Developer's Guide: https://devguide.python.org/\n\nContributing to CPython\n-----------------------\n\nFor more complete instructions on contributing to CPython development,\nsee the `Developer Guide`_.\n\n.. _Developer Guide: https://devguide.python.org/\n\nUsing Python\n------------\n\nInstallable Python kits, and information about using Python, are available at\n`python.org`_.\n\n.. _python.org: https://www.python.org/\n\nBuild Instructions\n------------------\n\nOn Unix, Linux, BSD, macOS, and Cygwin::\n\n    ./configure\n    make\n    make test\n    sudo make install\n\nThis will install Python as ``python3``.\n\nYou can pass many options to the configure script; run ``./configure --help``\nto find out more.  On macOS and Cygwin, the executable is called ``python.exe``;\nelsewhere it's just ``python``.\n\nIf you are running on macOS with the latest updates installed, make sure to install\nOpenSSL or some other SSL software along with Homebrew or another package manager.\nIf issues persist, see https://devguide.python.org/setup/#macos-and-os-x for more\ninformation.\n\nOn macOS, if you have configured Python with ``--enable-framework``, you\nshould use ``make frameworkinstall`` to do the installation.  Note that this\ninstalls the Python executable in a place that is not normally on your PATH,\nyou may want to set up a symlink in ``/usr/local/bin``.\n\nOn Windows, see `PCbuild/readme.txt\n\u003chttps://github.com/python/cpython/blob/master/PCbuild/readme.txt\u003e`_.\n\nIf you wish, you can create a subdirectory and invoke configure from there.\nFor example::\n\n    mkdir debug\n    cd debug\n    ../configure --with-pydebug\n    make\n    make test\n\n(This will fail if you *also* built at the top-level directory.  You should do\na ``make clean`` at the top-level first.)\n\nTo get an optimized build of Python, ``configure --enable-optimizations``\nbefore you run ``make``.  This sets the default make targets up to enable\nProfile Guided Optimization (PGO) and may be used to auto-enable Link Time\nOptimization (LTO) on some platforms.  For more details, see the sections\nbelow.\n\n\nProfile Guided Optimization\n^^^^^^^^^^^^^^^^^^^^^^^^^^^\n\nPGO takes advantage of recent versions of the GCC or Clang compilers.  If used,\neither via ``configure --enable-optimizations`` or by manually running\n``make profile-opt`` regardless of configure flags, the optimized build\nprocess will perform the following steps:\n\nThe entire Python directory is cleaned of temporary files that may have\nresulted from a previous compilation.\n\nAn instrumented version of the interpreter is built, using suitable compiler\nflags for each flavour. Note that this is just an intermediary step.  The\nbinary resulting from this step is not good for real life workloads as it has\nprofiling instructions embedded inside.\n\nAfter the instrumented interpreter is built, the Makefile will run a training\nworkload.  This is necessary in order to profile the interpreter execution.\nNote also that any output, both stdout and stderr, that may appear at this step\nis suppressed.\n\nThe final step is to build the actual interpreter, using the information\ncollected from the instrumented one.  The end result will be a Python binary\nthat is optimized; suitable for distribution or production installation.\n\n\nLink Time Optimization\n^^^^^^^^^^^^^^^^^^^^^^\n\nEnabled via configure's ``--with-lto`` flag.  LTO takes advantage of the\nability of recent compiler toolchains to optimize across the otherwise\narbitrary ``.o`` file boundary when building final executables or shared\nlibraries for additional performance gains.\n\n\nWhat's New\n----------\n\nWe have a comprehensive overview of the changes in the `What's New in Python\n3.9 \u003chttps://docs.python.org/3.9/whatsnew/3.9.html\u003e`_ document.  For a more\ndetailed change log, read `Misc/NEWS\n\u003chttps://github.com/python/cpython/blob/master/Misc/NEWS.d\u003e`_, but a full\naccounting of changes can only be gleaned from the `commit history\n\u003chttps://github.com/python/cpython/commits/master\u003e`_.\n\nIf you want to install multiple versions of Python, see the section below\nentitled \"Installing multiple versions\".\n\n\nDocumentation\n-------------\n\n`Documentation for Python 3.9 \u003chttps://docs.python.org/3.9/\u003e`_ is online,\nupdated daily.\n\nIt can also be downloaded in many formats for faster access.  The documentation\nis downloadable in HTML, PDF, and reStructuredText formats; the latter version\nis primarily for documentation authors, translators, and people with special\nformatting requirements.\n\nFor information about building Python's documentation, refer to `Doc/README.rst\n\u003chttps://github.com/python/cpython/blob/master/Doc/README.rst\u003e`_.\n\n\nConverting From Python 2.x to 3.x\n---------------------------------\n\nSignificant backward incompatible changes were made for the release of Python\n3.0, which may cause programs written for Python 2 to fail when run with Python\n3.  For more information about porting your code from Python 2 to Python 3, see\nthe `Porting HOWTO \u003chttps://docs.python.org/3/howto/pyporting.html\u003e`_.\n\n\nTesting\n-------\n\nTo test the interpreter, type ``make test`` in the top-level directory.  The\ntest set produces some output.  You can generally ignore the messages about\nskipped tests due to optional features which can't be imported.  If a message\nis printed about a failed test or a traceback or core dump is produced,\nsomething is wrong.\n\nBy default, tests are prevented from overusing resources like disk space and\nmemory.  To enable these tests, run ``make testall``.\n\nIf any tests fail, you can re-run the failing test(s) in verbose mode.  For\nexample, if ``test_os`` and ``test_gdb`` failed, you can run::\n\n    make test TESTOPTS=\"-v test_os test_gdb\"\n\nIf the failure persists and appears to be a problem with Python rather than\nyour environment, you can `file a bug report \u003chttps://bugs.python.org\u003e`_ and\ninclude relevant output from that command to show the issue.\n\nSee `Running \u0026 Writing Tests \u003chttps://devguide.python.org/runtests/\u003e`_\nfor more on running tests.\n\nInstalling multiple versions\n----------------------------\n\nOn Unix and Mac systems if you intend to install multiple versions of Python\nusing the same installation prefix (``--prefix`` argument to the configure\nscript) you must take care that your primary python executable is not\noverwritten by the installation of a different version.  All files and\ndirectories installed using ``make altinstall`` contain the major and minor\nversion and can thus live side-by-side.  ``make install`` also creates\n``${prefix}/bin/python3`` which refers to ``${prefix}/bin/pythonX.Y``.  If you\nintend to install multiple versions using the same prefix you must decide which\nversion (if any) is your \"primary\" version.  Install that version using ``make\ninstall``.  Install all other versions using ``make altinstall``.\n\nFor example, if you want to install Python 2.7, 3.6, and 3.9 with 3.9 being the\nprimary version, you would execute ``make install`` in your 3.9 build directory\nand ``make altinstall`` in the others.\n\n\nIssue Tracker and Mailing List\n------------------------------\n\nBug reports are welcome!  You can use the `issue tracker\n\u003chttps://bugs.python.org\u003e`_ to report bugs, and/or submit pull requests `on\nGitHub \u003chttps://github.com/python/cpython\u003e`_.\n\nYou can also follow development discussion on the `python-dev mailing list\n\u003chttps://mail.python.org/mailman/listinfo/python-dev/\u003e`_.\n\n\nProposals for enhancement\n-------------------------\n\nIf you have a proposal to change Python, you may want to send an email to the\ncomp.lang.python or `python-ideas`_ mailing lists for initial feedback.  A\nPython Enhancement Proposal (PEP) may be submitted if your idea gains ground.\nAll current PEPs, as well as guidelines for submitting a new PEP, are listed at\n`python.org/dev/peps/ \u003chttps://www.python.org/dev/peps/\u003e`_.\n\n.. _python-ideas: https://mail.python.org/mailman/listinfo/python-ideas/\n\n\nRelease Schedule\n----------------\n\nSee :pep:`596` for Python 3.9 release details.\n\n\nCopyright and License Information\n---------------------------------\n\nCopyright (c) 2001-2019 Python Software Foundation.  All rights reserved.\n\nCopyright (c) 2000 BeOpen.com.  All rights reserved.\n\nCopyright (c) 1995-2001 Corporation for National Research Initiatives.  All\nrights reserved.\n\nCopyright (c) 1991-1995 Stichting Mathematisch Centrum.  All rights reserved.\n\nSee the file \"LICENSE\" for information on the history of this software, terms \u0026\nconditions for usage, and a DISCLAIMER OF ALL WARRANTIES.\n\nThis Python distribution contains *no* GNU General Public License (GPL) code,\nso it may be used in proprietary projects.  There are interfaces to some GNU\ncode but these are entirely optional.\n\nAll trademarks referenced herein are property of their respective holders.\n","funding_links":[],"categories":["Implementations","高性能","Python","Implementations [🔝](#readme)","Awesome Python"],"sub_categories":["Implementations"],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstackless-dev%2Fstackless","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fstackless-dev%2Fstackless","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstackless-dev%2Fstackless/lists"}