Go to file
Dominique Leuenberger e445e8dd23 Accepting request 831521 from devel:languages:python:Factory
- Update to 3.9.0rc1:
  * Core and Builtins
      - bpo-38156: Handle interrupts that come after EOF
        correctly in PyOS_StdioReadline.
  * Library
      - bpo-41497: Fix potential UnicodeDecodeError in dis
        module.
      - bpo-41490: Update ensurepip to install pip 20.2.1 and
        setuptools 49.2.1.
      - bpo-41467: On Windows, fix asyncio recv_into() return
        value when the socket/pipe is closed (BrokenPipeError):
        return 0 rather than an empty byte string (b'').
      - bpo-41425: Make tkinter doc example runnable.
      - bpo-41384: Raise TclError instead of TypeError when an
        unknown option is passed to tkinter.OptionMenu.
      - bpo-38731: Fix NameError in command-line interface of
        py_compile.
      - bpo-41317: Use add_done_callback() in
        asyncio.loop.sock_accept() to unsubscribe reader early on
        cancellation.
      - bpo-41364: Reduce import overhead of uuid.
      - bpo-41341: Recursive evaluation of typing.ForwardRef in
        get_type_hints.
      - bpo-41182: selector: use DefaultSelector based upon
        implementation
      - bpo-40726: Handle cases where the end_lineno is None on
        ast.increment_lineno().
  * Documentation
      - bpo-41045: Add documentation for debug feature of
        f-strings.
      - bpo-41314: Changed the release when from __future__
        import annotations becomes the default from 4.0 to 3.10
        (following a change in PEP 563).
  * Windows
      - bpo-41492: Fixes the description that appears in UAC
        prompts.
      - bpo-40948: Improve post-install message to direct people
        to the “py” command.
      - bpo-41412: The installer will now fail to install on
        Windows 7 and Windows 8. Further, the UCRT dependency is
        now always downloaded on demand.
      - bpo-40741: Update Windows release to include SQLite
        3.32.3.
  * IDLE
      - bpo-41468: Improve IDLE run crash error message (which
        users should never see).
      - bpo-41373: Save files loaded with no line ending, as when
        blank, or different line endings, by setting its line
        ending to the system default. Fix regression in 3.8.4 and
        3.9.0b4.
- Synchronize formatting and fixes with python38.

OBS-URL: https://build.opensuse.org/request/show/831521
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python39?expand=0&rev=4
2020-09-04 09:10:07 +00:00
_multibuild osc copypac from project:devel:languages:python:Factory package:python38 revision:14 2020-07-13 06:10:55 +00:00
.gitattributes osc copypac from project:devel:languages:python:Factory package:python38 revision:14 2020-07-13 06:10:55 +00:00
.gitignore osc copypac from project:devel:languages:python:Factory package:python38 revision:14 2020-07-13 06:10:55 +00:00
baselibs.conf - Update to 3.9.0b4: 2020-07-14 22:02:29 +00:00
bpo-31046_ensurepip_honours_prefix.patch Accepting request 821413 from home:gmbr3:Active 2020-07-17 07:21:45 +00:00
bsc1167501-invalid-alignment.patch Fix bsc1167501-invalid-alignment.patch 2020-07-20 15:44:00 +00:00
CVE-2019-5010-null-defer-x509-cert-DOS.patch osc copypac from project:devel:languages:python:Factory package:python38 revision:14 2020-07-13 06:10:55 +00:00
distutils-reproducible-compile.patch - Update to 3.9.0b4: 2020-07-14 22:02:29 +00:00
F00251-change-user-install-location.patch - Update to 3.9.0b4: 2020-07-14 22:02:29 +00:00
idle3.appdata.xml osc copypac from project:devel:languages:python:Factory package:python38 revision:14 2020-07-13 06:10:55 +00:00
idle3.desktop osc copypac from project:devel:languages:python:Factory package:python38 revision:14 2020-07-13 06:10:55 +00:00
import_failed.map Two more 38->39 changes 2020-07-14 22:45:00 +00:00
import_failed.py osc copypac from project:devel:languages:python:Factory package:python38 revision:14 2020-07-13 06:10:55 +00:00
macros.python3 Fix typo in macros.python3 2020-07-13 12:15:23 +00:00
PACKAGING-NOTES osc copypac from project:devel:languages:python:Factory package:python38 revision:14 2020-07-13 06:10:55 +00:00
pre_checkin.sh osc copypac from project:devel:languages:python:Factory package:python38 revision:14 2020-07-13 06:10:55 +00:00
python3-imp-returntype.patch osc copypac from project:devel:languages:python:Factory package:python38 revision:14 2020-07-13 06:10:55 +00:00
python39.changes - Update to 3.9.0rc1: 2020-09-02 14:47:05 +00:00
python39.spec - Update to 3.9.0rc1: 2020-09-02 14:47:05 +00:00
python-3.3.0b1-fix_date_time_compiler.patch - Update to 3.9.0b4: 2020-07-14 22:02:29 +00:00
python-3.3.0b1-localpath.patch osc copypac from project:devel:languages:python:Factory package:python38 revision:14 2020-07-13 06:10:55 +00:00
python-3.3.0b1-test-posix_fadvise.patch osc copypac from project:devel:languages:python:Factory package:python38 revision:14 2020-07-13 06:10:55 +00:00
Python-3.9.0rc1.tar.xz - Update to 3.9.0rc1: 2020-09-02 14:47:05 +00:00
Python-3.9.0rc1.tar.xz.asc - Update to 3.9.0rc1: 2020-09-02 14:47:05 +00:00
python.keyring We don't handle beta marks in the version well. 2020-09-01 14:29:24 +00:00
README.SUSE osc copypac from project:devel:languages:python:Factory package:python38 revision:14 2020-07-13 06:10:55 +00:00
skip_random_failing_tests.patch osc copypac from project:devel:languages:python:Factory package:python38 revision:14 2020-07-13 06:10:55 +00:00
skipped_tests.py Two more 38->39 changes 2020-07-14 22:45:00 +00:00
subprocess-raise-timeout.patch Accepting request 821366 from home:gmbr3:Active 2020-07-17 06:40:44 +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.