SHA256
1
0
forked from pool/python312
Go to file
Dominique Leuenberger b3d4802698 Accepting request 1098684 from devel:languages:python:Factory
- Update to 3.12.0b4:
  - gh-issue-102988: CVE-2023-27043 (bsc#1210638): Prevent
    :func:`email.utils.parseaddr` and
    :func:`email.utils.getaddresses` from returning the realname
    portion of an invalid RFC2822 email header in the email
    address portion of the 2-tuple returned after being parsed by
    :class:`email._parseaddr.AddressList`.
  - gh-issue-106396: When the format specification of an
    f-string expression is empty, the parser now generates an
    empty :class:`ast.JoinedStr` node for it instead of an
    one-element :class:`ast.JoinedStr` with an empty string
    :class:`ast.Constant`.
  - gh-issue-106145: Make ``end_lineno`` and ``end_col_offset``
    required on ``type_param`` ast nodes.
  - gh-issue-105979: Fix crash in :func:`!_imp.get_frozen_object`
    due to improper exception handling.
  - gh-issue-98931: Ensure custom :exc:`SyntaxError` error
    messages are raised for invalid imports with multiple
    targets. Patch by Pablo Galindo
  - gh-issue-105908: Fixed bug where :gh:`99111` breaks future
    import ``barry_as_FLUFL`` in the Python REPL.
  - gh-issue-105340: Include the comprehension iteration
    variable in ``locals()`` inside a module- or class-scope
    comprehension.
  - gh-issue-105486: Change the repr of ``ParamSpec`` list of
    args in ``types.GenericAlias``.
  - gh-issue-101006: Improve error handling when read
    :mod:`marshal` data.
  - gh-issue-106524: Fix crash in :func:`!_sre.template` with
    templates containing invalid group indices.
  - gh-issue-106510: Improve debug output for atomic groups in
    regular expressions.
  - gh-issue-106503: Fix ref cycle in
    :class:`!asyncio._SelectorSocketTransport` by removing
    ``_write_ready`` in ``close``.
  - gh-issue-105497: Fix flag mask inversion when unnamed flags
    exist.
  - gh-issue-90876: Prevent :mod:`multiprocessing.spawn` from
    failing to *import* in environments where ``sys.executable``
    is ``None``.  This regressed in 3.11 with the addition of
    support for path-like objects in multiprocessing.
  - gh-issue-106292: Check for an instance-dict
    cached value in the :meth:`__get__` method of
    :func:`functools.cached_property`. This better matches the
    pre-3.12 behavior and improves compatibility for users
    subclassing :func:`functools.cached_property` and adding a
    :meth:`__set__` method.
  - gh-issue-106330: Fix incorrect matching of empty paths in
    :meth:`pathlib.PurePath.match`. This bug was introduced in
    Python 3.12.0 beta 1.
  - gh-issue-102541: Make pydoc.doc catch bad module ImportError
    when output stream is not None.
  - gh-issue-106152: Added PY_THROW event hook for
    :mod:`cProfile` for generators
  - gh-issue-106075: Added `asyncio.taskgroups.__all__` to
    `asyncio.__all__` for export in star imports.
  - gh-issue-105987: Fix crash due to improper reference counting
    in :mod:`asyncio` eager task factory internal routines.
  - gh-issue-105974: Fix bug where a :class:`typing.Protocol`
    class that had one or more non-callable members would
    raise :exc:`TypeError` when :func:`issubclass` was called
    against it, even if it defined a custom ``__subclasshook__``
    method. The behaviour in Python 3.11 and lower -- which has
    now been restored -- was not to raise :exc:`TypeError` in
    these situations if a custom ``__subclasshook__`` method was
    defined. Patch by Alex Waygood.
  - gh-issue-96145: Reverted addition of ``json.AttrDict``.
  - gh-issue-105497: Fix flag inversion when alias/mask members
    exist.
  - gh-issue-104554: Add RTSPS scheme support in urllib.parse
  - gh-issue-94777: Fix hanging :mod:`multiprocessing`
    ``ProcessPoolExecutor`` when a child process crashes while
    data is being written in the call queue.
  - gh-issue-106232: Make timeit doc command lines compatible
    with Windows by using double quotes for arguments.  This
    works on linux and macOS also.
  - gh-issue-101634: When running the Python test suite with
    ``-jN`` option, if a worker stdout cannot be decoded from
    the locale encoding report a failed testn so the exitcode is
    non-zero. Patch by Victor Stinner.
  - gh-issue-106118: Fix compilation for platforms without
    :data:`!O_CLOEXEC`. The issue was introduced with Python
    3.12b1 in :gh:`103295`. Patch by Erlend Aasland.
  - gh-issue-104692: Include ``commoninstall`` as a prerequisite
    for ``bininstall``
    This ensures that ``commoninstall`` is completed before
    ``bininstall`` is started when parallel builds are used (``make
    -j install``), and so the ``python3`` symlink is only installed
    after all standard library modules are installed.
  - gh-issue-106359: Argument Clinic now explicitly forbids
    "kwarg splats" in function calls used as annotations.
  - gh-issue-105227: The new :c:func:`PyType_GetDict` provides
    the dictionary for the given type object that is normally
    exposed by ``cls.__dict__``. Normally it's sufficient to
    use :c:member:`~PyTypeObject.tp_dict`, but for the static
    builtin types :c:member:`!tp_dict` is now always ``NULL``.
    :c:func:`!PyType_GetDict()` provides the correct dict object
    instead.

OBS-URL: https://build.opensuse.org/request/show/1098684
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python312?expand=0&rev=4
2023-07-15 21:15:11 +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 osc copypac from project:home:dirkmueller:acdc:as_python3_module package:python312 revision:15 2023-04-13 15:34:51 +00:00
bpo-31046_ensurepip_honours_prefix.patch Accepting request 1090373 from home:dgarcia:branches:devel:languages:python:Factory 2023-06-02 19:32:04 +00:00
F00251-change-user-install-location.patch Accepting request 1090373 from home:dgarcia:branches:devel:languages:python:Factory 2023-06-02 19:32:04 +00:00
fix_configure_rst.patch - Update to 3.12.0b4: 2023-07-11 22:30:57 +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 Fix patches 2023-06-28 20:21:39 +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 - gh-issue-102988: CVE-2023-27043 (bsc#1210638): Prevent 2023-07-11 22:31:39 +00:00
python312.spec - Update to 3.12.0b4: 2023-07-11 22:30:57 +00:00
python-3.3.0b1-fix_date_time_compiler.patch Accepting request 1090373 from home:dgarcia:branches:devel:languages:python:Factory 2023-06-02 19:32:04 +00:00
python-3.3.0b1-localpath.patch Accepting request 1090373 from home:dgarcia:branches:devel:languages:python:Factory 2023-06-02 19:32:04 +00:00
python-3.3.0b1-test-posix_fadvise.patch Accepting request 1090373 from home:dgarcia:branches:devel:languages:python:Factory 2023-06-02 19:32:04 +00:00
Python-3.12.0b4.tar.xz - Update to 3.12.0b4: 2023-07-11 22:30:57 +00:00
Python-3.12.0b4.tar.xz.asc - Update to 3.12.0b4: 2023-07-11 22:30:57 +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 osc copypac from project:home:dirkmueller:acdc:as_python3_module package:python312 revision:15 2023-04-13 15:34:51 +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 3.12.0b3: 2023-06-28 20:08:16 +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.