The text below is selected, press Ctrl+C to copy to your clipboard. (⌘+C on Mac) No line numbers will be copied.
Guest
Python FAQ: How does the Python version numbering scheme work? eg. Python version 3.11.0
By Guest on 7th November 2022 06:46:40 AM | Syntax: PYTHON | Views: 203



New Paste New paste | Download Paste Download | Toggle Line Numbers Show/Hide line no. | Copy Paste Copy text to clipboard
  1. How does the Python version numbering scheme work?
  2. --------------------------------------------------
  3.  
  4. Python versions are numbered "A.B.C" or "A.B":
  5.  
  6. * *A* is the major version number -- it is only incremented for really
  7.   major changes in the language.
  8.  
  9. * *B* is the minor version number -- it is incremented for less earth-
  10.   shattering changes.
  11.  
  12. * *C* is the micro version number -- it is incremented for each bugfix
  13.   release.
  14.  
  15. See **PEP 6** for more information about bugfix releases.
  16.  
  17. Not all releases are bugfix releases.  In the run-up to a new major
  18. release, a series of development releases are made, denoted as alpha,
  19. beta, or release candidate.  Alphas are early releases in which
  20. interfaces aren't yet finalized; it's not unexpected to see an
  21. interface change between two alpha releases. Betas are more stable,
  22. preserving existing interfaces but possibly adding new modules, and
  23. release candidates are frozen, making no changes except as needed to
  24. fix critical bugs.
  25.  
  26. Alpha, beta and release candidate versions have an additional suffix:
  27.  
  28. * The suffix for an alpha version is "aN" for some small number *N*.
  29.  
  30. * The suffix for a beta version is "bN" for some small number *N*.
  31.  
  32. * The suffix for a release candidate version is "rcN" for some small
  33.   number *N*.
  34.  
  35. In other words, all versions labeled *2.0aN* precede the versions
  36. labeled *2.0bN*, which precede versions labeled *2.0rcN*, and *those*
  37. precede 2.0.
  38.  
  39. You may also find version numbers with a "+" suffix, e.g. "2.2+".
  40. These are unreleased versions, built directly from the CPython
  41. development repository.  In practice, after a final minor release is
  42. made, the version is incremented to the next minor version, which
  43. becomes the "a0" version, e.g. "2.4a0".
  44.  
  45. See also the documentation for "sys.version", "sys.hexversion", and
  46. "sys.version_info".
  47.  
  48.  
  49.  
  50. How do I get a beta test version of Python?
  51. -------------------------------------------
  52.  
  53. Alpha and beta releases are available from
  54. https://www.python.org/downloads/.  All releases are announced on the
  55. comp.lang.python and comp.lang.python.announce newsgroups and on the
  56. Python home page at https://www.python.org/; an RSS feed of news is
  57. available.
  58.  
  59. You can also access the development version of Python through Git.
  60. See The Python Developer's Guide for details.
  61.  
  62.  
  63.  
  64. How do I submit bug reports and patches for Python?
  65. ---------------------------------------------------
  66.  
  67. To report a bug or submit a patch, use the issue tracker at
  68. https://github.com/python/cpython/issues.
  69.  
  70. For more information on how Python is developed, consult the Python
  71. Developer's Guide.
  72.  
  73.  
  74. Fun exercise: Leetcode - Compare Version Numbers (Python)
  75. https://www.youtube.com/watch?v=EScgtaakx2U
















Python software and documentation are licensed under the PSF License Agreement.
Starting with Python 3.8.6, examples, recipes, and other code in the documentation are dual licensed under the PSF License Agreement and the Zero-Clause BSD license.
Some software incorporated into Python is under different licenses. The licenses are listed with code falling under that license. See Licenses and Acknowledgements for Incorporated Software for an incomplete list of these licenses.

Python and it's documentation is:
Copyright © 2001-2022 Python Software Foundation. All rights reserved.
Copyright © 2000 BeOpen.com. All rights reserved.
Copyright © 1995-2000 Corporation for National Research Initiatives. All rights reserved.
Copyright © 1991-1995 Stichting Mathematisch Centrum. All rights reserved.

See History and License for complete license and permissions information:
https://docs.python.org/3/license.html#psf-license
  • Recent Pastes