Go to file
Tomáš Chvátal 63a4856637 Accepting request 822056 from home:gmbr3:Active
- Removed CVE-2019-20907_tarfile-inf-loop.patch: fixed in upstream
- Removed recursion.tar: contained in upstream
- Update to 3.9.0b5:
  - bpo-41304: Fixes python3x._pth being ignored on Windows, caused 
    by the fix for bpo-29778 (CVE-2020-15801).
  - bpo-41162: Audit hooks are now cleared later during
    finalization to avoid missing events.
  - bpo-29778: Ensure python3.dll is loaded from correct locations 
    when Python is embedded (CVE-2020-15523).
  - bpo-39603: Prevent http header injection by rejecting control 
    characters in http.client.putrequest(…).
  - bpo-41295: Resolve a regression in CPython 3.8.4 where defining
    “__setattr__” in a multi-inheritance setup and 
    calling up the hierarchy chain could fail if builtins/extension
    types were involved in the base types.
  - bpo-41247: Always cache the running loop holder when running 
    asyncio.set_running_loop.
  - bpo-41252: Fix incorrect refcounting in 
    _ssl.c’s _servername_callback().
  - bpo-41215: Use non-NULL default values in the PEG parser 
    keyword list to overcome a bug that was '
    preventing Python from being properly compiled when using the
    XLC compiler. Patch by Pablo Galindo.
  - bpo-41218: Python 3.8.3 had a regression where compiling with 
    ast.PyCF_ALLOW_TOP_LEVEL_AWAIT would 
    aggressively mark list comprehension with CO_COROUTINE. Now only
    list comprehension making use of async/await will tagged as so.
  - bpo-41175: Guard against a NULL pointer dereference within 
    bytearrayobject triggered by the bytearray() + bytearray() operation.
  - bpo-39960: The “hackcheck” that prevents sneaking around a type’s 
    __setattr__() by calling the superclass method was 
    rewritten to allow C implemented heap types.
  - bpo-41288: Unpickling invalid NEWOBJ_EX opcode with the 
    C implementation raises now UnpicklingError instead of crashing.
  - bpo-39017: Avoid infinite loop when reading specially crafted 
    TAR files using the tarfile module (CVE-2019-20907, bsc#1174091).
  - bpo-41235: Fix the error handling in ssl.SSLContext.load_dh_params().
  - bpo-41207: In distutils.spawn, restore expectation that 
    DistutilsExecError is raised when the command is not found.
  - bpo-39168: Remove the __new__ method of typing.Generic.
  - bpo-41194: Fix a crash in the _ast module: it can no longer be 
    loaded more than once. It now uses a global state rather than a module state.
  - bpo-39384: Fixed email.contentmanager to allow set_content() to set a 
    null string.
  - bpo-41300: Save files with non-ascii chars. 
    Fix regression released in 3.9.0b4 and 3.8.4.
  - bpo-37765: Add keywords to module name completion list. 
    Rewrite Completions section of IDLE doc.
  - bpo-40170: Revert PyType_HasFeature() change: it reads 
    again directly the PyTypeObject.tp_flags 
    member when the limited C API is not used, rather than always calling 
    PyType_GetFlags() which hides implementation details.

OBS-URL: https://build.opensuse.org/request/show/822056
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:Factory/python39?expand=0&rev=18
2020-07-21 11:16:21 +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 Accepting request 822056 from home:gmbr3:Active 2020-07-21 11:16:21 +00:00
python39.spec Accepting request 822056 from home:gmbr3:Active 2020-07-21 11:16:21 +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.0b5.tar.xz Accepting request 822056 from home:gmbr3:Active 2020-07-21 11:16:21 +00:00
Python-3.9.0b5.tar.xz.asc Accepting request 822056 from home:gmbr3:Active 2020-07-21 11:16:21 +00:00
python.keyring osc copypac from project:devel:languages:python:Factory package:python38 revision:14 2020-07-13 06:10:55 +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.