Staging
v0.5.1
https://github.com/python/cpython
Revision 8f83c2fb19c45350c2161d9e75dab4cd2bcaee28 authored by Victor Stinner on 30 November 2018, 16:04:35 UTC, committed by GitHub on 30 November 2018, 16:04:35 UTC
Fix an undefined behaviour in the pthread implementation of
PyThread_start_new_thread(): add a function wrapper to always return
NULL.

Add pythread_callback struct and pythread_wrapper() to thread_pthread.h.

(cherry picked from commit 9eea6eaf23067880f4af3a130e3f67c9812e2f30)
1 parent dab59fa
Raw File
Tip revision: 8f83c2fb19c45350c2161d9e75dab4cd2bcaee28 authored by Victor Stinner on 30 November 2018, 16:04:35 UTC
bpo-33015: Fix UB in pthread PyThread_start_new_thread (GH-6008) (GH-10823)
Tip revision: 8f83c2f
sre.py
"""This file is only retained for backwards compatibility.
It will be removed in the future.  sre was moved to re in version 2.5.
"""

import warnings
warnings.warn("The sre module is deprecated, please import re.",
              DeprecationWarning, 2)

from re import *
from re import __all__

# old pickles expect the _compile() reconstructor in this module
from re import _compile
back to top