SHA256
1
0
forked from pool/python312
Go to file
Matej Cepl ddd6994ad4 - Update to the final release of 3.12.0:
Python 3.12 is the latest stable release of the Python
  programming language, with a mix of changes to the language and
  the standard library. The library changes focus on cleaning up
  deprecated APIs, usability, and correctness. Of note, the
  distutils package has been removed from the standard library.
  Filesystem support in os and pathlib has seen a number of
  improvements, and several modules have better performance.
  The language changes focus on usability, as f-strings have had
  many limitations removed and ‘Did you mean …’ suggestions
  continue to improve. The new type parameter syntax and type
  statement improve ergonomics for using generic types and type
  aliases with static type checkers.
  This article doesn’t attempt to provide a complete
  specification of all new features, but instead gives
  a convenient overview. For full details, you should refer to
  the documentation, such as the Library Reference and Language
  Reference. If you want to understand the complete
  implementation and design rationale for a change, refer to the
  PEP for a particular new feature; but note that PEPs usually
  are not kept up-to-date once a feature has been fully
  implemented.
  - New syntax features:
      - PEP 695, type parameter syntax and the type statement
  - New grammar features:
      - PEP 701, f-strings in the grammar
  - Interpreter improvements:
      - PEP 684, a unique per-interpreter GIL
      - PEP 669, low impact monitoring
      - Improved ‘Did you mean …’ suggestions for NameError,

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:Factory/python312?expand=0&rev=25
2023-10-02 17:22:36 +00:00
_multibuild osc copypac from project:home:dirkmueller:acdc:as_python3_module package:python312 revision:15 2023-04-13 15:34:51 +00:00
.gitattributes osc copypac from project:home:dirkmueller:acdc:as_python3_module package:python312 revision:15 2023-04-13 15:34:51 +00:00
.gitignore osc copypac from project:home:dirkmueller:acdc:as_python3_module package:python312 revision:15 2023-04-13 15:34:51 +00:00
baselibs.conf Make source_validator happy 2023-05-03 10:11:14 +00:00
bluez-devel-vendor.tar.xz - Update to the final release of 3.12.0: 2023-10-02 17:22:36 +00:00
bpo-31046_ensurepip_honours_prefix.patch - Update to the final release of 3.12.0: 2023-10-02 17:22:36 +00:00
externally_managed.in Accepting request 1102688 from home:dirkmueller:Factory 2023-08-07 14:46:36 +00:00
F00251-change-user-install-location.patch Accepting request 1102652 from home:dgarcia:branches:devel:languages:python:Factory 2023-08-07 15:58:04 +00:00
fix_configure_rst.patch - Update to the final release of 3.12.0: 2023-10-02 17:22:36 +00:00
idle3.appdata.xml osc copypac from project:home:dirkmueller:acdc:as_python3_module package:python312 revision:15 2023-04-13 15:34:51 +00:00
idle3.desktop osc copypac from project:home:dirkmueller:acdc:as_python3_module package:python312 revision:15 2023-04-13 15:34:51 +00:00
import_failed.map osc copypac from project:home:dirkmueller:acdc:as_python3_module package:python312 revision:15 2023-04-13 15:34:51 +00:00
import_failed.py osc copypac from project:home:dirkmueller:acdc:as_python3_module package:python312 revision:15 2023-04-13 15:34:51 +00:00
macros.python3 osc copypac from project:home:dirkmueller:acdc:as_python3_module package:python312 revision:15 2023-04-13 15:34:51 +00:00
no-skipif-doctests.patch Accepting request 1102652 from home:dgarcia:branches:devel:languages:python:Factory 2023-08-07 15:58:04 +00:00
PACKAGING-NOTES osc copypac from project:home:dirkmueller:acdc:as_python3_module package:python312 revision:15 2023-04-13 15:34:51 +00:00
pre_checkin.sh osc copypac from project:home:dirkmueller:acdc:as_python3_module package:python312 revision:15 2023-04-13 15:34:51 +00:00
python312-rpmlintrc osc copypac from project:home:dirkmueller:acdc:as_python3_module package:python312 revision:15 2023-04-13 15:34:51 +00:00
python312.changes - Update to the final release of 3.12.0: 2023-10-02 17:22:36 +00:00
python312.spec - Update to the final release of 3.12.0: 2023-10-02 17:22:36 +00:00
python-3.3.0b1-fix_date_time_compiler.patch Accepting request 1102652 from home:dgarcia:branches:devel:languages:python:Factory 2023-08-07 15:58:04 +00:00
python-3.3.0b1-localpath.patch Accepting request 1102652 from home:dgarcia:branches:devel:languages:python:Factory 2023-08-07 15:58:04 +00:00
python-3.3.0b1-test-posix_fadvise.patch Accepting request 1102652 from home:dgarcia:branches:devel:languages:python:Factory 2023-08-07 15:58:04 +00:00
Python-3.12.0.tar.xz - Update to the final release of 3.12.0: 2023-10-02 17:22:36 +00:00
Python-3.12.0.tar.xz.asc - Update to the final release of 3.12.0: 2023-10-02 17:22:36 +00:00
python.keyring Make source_validator happy 2023-05-03 10:11:14 +00:00
README.SUSE osc copypac from project:home:dirkmueller:acdc:as_python3_module package:python312 revision:15 2023-04-13 15:34:51 +00:00
skip-test_pyobject_freed_is_freed.patch Accepting request 1102652 from home:dgarcia:branches:devel:languages:python:Factory 2023-08-07 15:58:04 +00:00
skipped_tests.py osc copypac from project:home:dirkmueller:acdc:as_python3_module package:python312 revision:15 2023-04-13 15:34:51 +00:00
subprocess-raise-timeout.patch - Update to the final release of 3.12.0: 2023-10-02 17:22:36 +00:00

Python 3 in SUSE
==============

* Subpackages *

Python 3 is split into several subpackages, based on external dependencies.
The main package 'python3' has soft dependencies on all subpackages needed to
assemble the standard library; however, these might not all be installed by default.

If you attempt to import a module that is currently not installed, an ImportError is thrown,
with instructions to install the missing subpackage. Installing the subpackage might result
in installing libraries that the subpackage requires to function.


* ensurepip *

The 'ensurepip' module from Python 3 standard library (PEP 453) is supposed to deploy
a bundled copy of the pip installer. This makes no sense in a managed distribution like SUSE.
Instead, you need to install package 'python3-pip'. Usually this will be installed automatically
with 'python3'.

Using 'ensurepip' when pip is not installed will result in an ImportError with instructions
to install 'python3-pip'.


* Documentation *

You can find documentation in seprarate packages: python3-doc and
python3-doc-pdf. These contan following documents:

    Tutorial, What's New in Python, Global Module Index, Library Reference,
    Macintosh Module Reference, Installing Python Modules, Distributing Python
    Modules, Language Reference, Extending and Embedding, Python/C API,
    Documenting Python 

The python3-doc package constains many text files from source tarball.


* Interactive mode *

Interactive mode is by default enhanced with of history and command completion.
If you don't like these features, you can unset the PYTHONSTARTUP variable
in your .profile or disable it system wide in /etc/profile.d/python.sh.