Go to file
Dominique Leuenberger 065f208443 Accepting request 889131 from devel:languages:python:Factory
- Update to 3.8.9:
  - bpo#42988 (bsc#1183374) CVE-2021-3426: Remove the getfile
    feature of the pydoc module which could be abused to read
    arbitrary files on the disk (directory traversal
    vulnerability). Moreover, even source code of Python modules
    can contain sensitive data like passwords. Vulnerability
    reported by David Schwörer.
  - bpo-43285: ftplib no longer trusts the IP address value
    returned from the server in response to the PASV command by
    default. This prevents a malicious FTP server from using the
    response to probe IPv4 address and port combinations on the
    client network.
  - Code that requires the former vulnerable behavior may set
    a trust_server_pasv_ipv4_address attribute on their
    ftplib.FTP instances to True to re-enable it.
  - bpo-43439: Add audit hooks for gc.get_objects(),
    gc.get_referrers() and gc.get_referents(). Patch by Pablo
    Galindo.
  - bpo-43660: Fix crash that happens when replacing sys.stderr
    with a callable that can remove the object while an exception
    is being printed. Patch by Pablo Galindo.
  - bpo-35883: Python no longer fails at startup with a fatal
    error if a command line argument contains an invalid Unicode
    character. The Py_DecodeLocale() function now escapes byte
    sequences which would be decoded as Unicode characters
    outside the [U+0000; U+10ffff] range.
  - bpo-43406: Fix a possible race condition where
    PyErr_CheckSignals tries to execute a non-Python signal
    handler.
  - bpo-35930: Raising an exception raised in a “future” instance
    will create reference cycles.
  - bpo-43577: Fix deadlock when using ssl.SSLContext debug
    callback with ssl.SSLContext.sni_callback().
  - bpo-43423: subprocess.communicate() no longer raises an
    IndexError when there is an empty stdout or stderr IO buffer
    during a timeout on Windows.
  - bpo-27820: Fixed long-standing bug of smtplib.SMTP where
    doing AUTH LOGIN with initial_response_ok=False will fail.
    The cause is that SMTP.auth_login _always_ returns a password
    if provided with a challenge string, thus non-compliant with
    the standard for AUTH LOGIN. Also fixes bug with the test for
    smtpd.
  - bpo-43399: Fix ElementTree.extend not working on iterators
    when using the Python implementation
  - bpo-43316: The python -m gzip command line application now
    properly fails when detecting an unsupported extension. It
    exits with a non-zero exit code and prints an error message
    to stderr.
  - bpo-43260: Fix TextIOWrapper can not flush internal buffer
    forever after very large text is written.
  - bpo-42782: Fail fast in shutil.move() to avoid creating
    destination directories on failure.
  - bpo-37193: Fixed memory leak in socketserver.ThreadingMixIn
    introduced in Python 3.7.
  - bpo-43199: Answer “Why is there no goto?” in the Design and
    History FAQ.
  - bpo-43407: Clarified that a result from time.monotonic(),
    time.perf_counter(), time.process_time(), or
    time.thread_time() can be compared with the result from any
    following call to the same function - not just the next
    immediate call.
  - bpo-27646: Clarify that ‘yield from <expr>’ works with any
    iterable, not just iterators.
  - bpo-36346: Update some deprecated unicode APIs which are
    documented as “will be removed in 4.0” to “3.12”. See PEP 623
    for detail.
  - bpo-37945: Fix test_getsetlocale_issue1813() of test_locale:
    skip the test if setlocale() fails. Patch by Victor Stinner.
  - bpo-41561: Add workaround for Ubuntu’s custom OpenSSL
    security level policy.
  - bpo-43631: Update macOS, Windows, and CI to OpenSSL 1.1.1k.
  - bpo-43617: Improve configure.ac: Check for presence of
    autoconf-archive package and remove our copies of M4 macros.
  - bpo-41837: Update macOS installer build to use OpenSSL
    1.1.1j.
  - bpo-42225: Document that IDLE can fail on Unix either from
    misconfigured IP masquerage rules or failure displaying
    complex colored (non-ascii) characters.
  - bpo-43283: Document why printing to IDLE’s Shell is often
    slower than printing to a system terminal and that it can be
    made faster by pre-formatting a single string before
    printing.

OBS-URL: https://build.opensuse.org/request/show/889131
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python38?expand=0&rev=12
2021-05-02 16:35:21 +00:00
_multibuild osc copypac from project:devel:languages:python:Factory package:python3 revision:376, using expand 2020-07-10 07:12:09 +00:00
.gitattributes osc copypac from project:devel:languages:python:Factory package:python3 revision:376, using expand 2020-07-10 07:12:09 +00:00
.gitignore osc copypac from project:devel:languages:python:Factory package:python3 revision:376, using expand 2020-07-10 07:12:09 +00:00
baselibs.conf - Update pre_checkin.sh and regenerate 2020-07-10 10:55:28 +00:00
bpo34022-stop_hash-based_invalidation_w_SOURCE_DATE_EPOCH.patch Update patches 2020-11-09 12:28:44 +00:00
bpo36302-sort-module-sources.patch osc copypac from project:devel:languages:python:Factory package:python3 revision:376, using expand 2020-07-10 07:12:09 +00:00
bpo-31046_ensurepip_honours_prefix.patch - Update to 3.8.7: 2020-12-22 08:33:15 +00:00
CVE-2019-5010-null-defer-x509-cert-DOS.patch osc copypac from project:devel:languages:python:Factory package:python3 revision:376, using expand 2020-07-10 07:12:09 +00:00
distutils-reproducible-compile.patch osc copypac from project:devel:languages:python:Factory package:python3 revision:376, using expand 2020-07-10 07:12:09 +00:00
F00102-lib64.patch - Update to 3.8.9: 2021-04-28 17:38:20 +00:00
F00251-change-user-install-location.patch osc copypac from project:devel:languages:python:Factory package:python3 revision:376, using expand 2020-07-10 07:12:09 +00:00
idle3.appdata.xml osc copypac from project:devel:languages:python:Factory package:python3 revision:376, using expand 2020-07-10 07:12:09 +00:00
idle3.desktop osc copypac from project:devel:languages:python:Factory package:python3 revision:376, using expand 2020-07-10 07:12:09 +00:00
import_failed.map - Update pre_checkin.sh and regenerate 2020-07-10 10:55:28 +00:00
import_failed.py osc copypac from project:devel:languages:python:Factory package:python3 revision:376, using expand 2020-07-10 07:12:09 +00:00
macros.python3 Accepting request 869854 from home:bnavigator:branches:devel:languages:python:Factory 2021-02-05 23:09:58 +00:00
PACKAGING-NOTES osc copypac from project:devel:languages:python:Factory package:python3 revision:376, using expand 2020-07-10 07:12:09 +00:00
pre_checkin.sh - Update pre_checkin.sh and regenerate 2020-07-10 10:55:28 +00:00
python3-imp-returntype.patch osc copypac from project:devel:languages:python:Factory package:python3 revision:376, using expand 2020-07-10 07:12:09 +00:00
python38.changes - Update to 3.8.9: 2021-04-28 17:38:20 +00:00
python38.spec Add BR autoconf-archive 2021-04-28 19:00:43 +00:00
python-3.3.0b1-fix_date_time_compiler.patch osc copypac from project:devel:languages:python:Factory package:python3 revision:376, using expand 2020-07-10 07:12:09 +00:00
python-3.3.0b1-localpath.patch osc copypac from project:devel:languages:python:Factory package:python3 revision:376, using expand 2020-07-10 07:12:09 +00:00
python-3.3.0b1-test-posix_fadvise.patch osc copypac from project:devel:languages:python:Factory package:python3 revision:376, using expand 2020-07-10 07:12:09 +00:00
Python-3.8.9.tar.xz - Update to 3.8.9: 2021-04-28 17:38:20 +00:00
Python-3.8.9.tar.xz.asc - Update to 3.8.9: 2021-04-28 17:38:20 +00:00
python.keyring Update python.keyring 2020-09-01 14:04:15 +00:00
README.SUSE osc copypac from project:devel:languages:python:Factory package:python3 revision:376, using expand 2020-07-10 07:12:09 +00:00
skip_random_failing_tests.patch Fix patches 2020-12-22 08:46:18 +00:00
skipped_tests.py - Update pre_checkin.sh and regenerate 2020-07-10 10:55:28 +00:00
sphinx-update-removed-function.patch - Add patch sphinx-update-removed-function.patch to no longer call 2020-12-05 17:29:43 +00:00
subprocess-raise-timeout.patch - Update to 3.8.8: 2021-02-19 16:53:23 +00:00
SUSE-FEDORA-multilib.patch - Update to 3.8.9: 2021-04-28 17:38:20 +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.