cpython/Lib
Miss Islington (bot) 299f69c24c
bpo-35125: remove inner callback on outer cancellation in asyncio shield (GH-10340)
When the future returned by shield is cancelled, its completion callback of the
inner future is not removed. This makes the callback list of inner inner future
grow each time a shield is created and cancelled.

This change unregisters the callback from the inner future when the outer
future is cancelled.

https://bugs.python.org/issue35125
(cherry picked from commit b35acc5b3a)

Co-authored-by: Romain Picard <romain.picard@oakbits.com>
2019-05-07 12:38:00 -07:00
..
asyncio bpo-35125: remove inner callback on outer cancellation in asyncio shield (GH-10340) 2019-05-07 12:38:00 -07:00
collections bpo-36321: Fix misspelled attribute in namedtuple() (GH-12375) (GH-12395) 2019-03-18 00:48:02 -07:00
concurrent [3.7] bpo-36492: Fix passing special keyword arguments to some functions. (GH-12637) (GH-12645) 2019-04-01 10:59:24 +03:00
ctypes bpo-36504: Fix signed integer overflow in _ctypes.c's PyCArrayType_new(). (GH-12660) 2019-04-03 10:55:26 -07:00
curses [3.7] bpo-36492: Fix passing special keyword arguments to some functions. (GH-12637) (GH-12645) 2019-04-01 10:59:24 +03:00
dbm
distutils bpo-28552: Fix distutils.sysconfig for empty sys.executable (GH-12875) (GH-12948) 2019-04-25 13:15:47 +02:00
email bpo-35133: Fix mistakes when concatenate string literals on different lines. (GH-10284) 2018-11-05 06:52:58 -08:00
encodings
ensurepip bpo-35807: Upgrade ensurepip bundled pip and setuptools (GH-12189) 2019-03-08 13:44:39 -08:00
html
http bpo-30458: Disallow control chars in http URLs. (GH-12755) (GH-13154) 2019-05-07 11:28:47 -04:00
idlelib [3.7] bpo-36766: Typos in docs and code comments (GH-13116). (GH-13136) 2019-05-06 13:55:19 -07:00
importlib bpo-35133: Fix mistakes when concatenate string literals on different lines. (GH-10284) 2018-11-05 06:52:58 -08:00
json
lib2to3 [3.7] bpo-36766: Typos in docs and code comments (GH-13116). (GH-13136) 2019-05-06 13:55:19 -07:00
logging [3.7] bpo-35726: Prevented QueueHandler formatting from affecting other handlers (GH-11537) (GH-12716) 2019-05-02 13:02:42 -04:00
msilib
multiprocessing [3.7] bpo-36766: Typos in docs and code comments (GH-13116). (GH-13136) 2019-05-06 13:55:19 -07:00
pydoc_data 3.7.3rc1 2019-03-12 15:14:21 -04:00
site-packages
sqlite3 bpo-35504: Fix segfaults and SystemErrors when deleting certain attrs. (GH-11175) 2018-12-17 07:10:20 -08:00
test bpo-35125: remove inner callback on outer cancellation in asyncio shield (GH-10340) 2019-05-07 12:38:00 -07:00
tkinter bpo-27313: Avoid test_ttk_guionly ComboboxTest fail with macOS Cocoa Tk (GH-12011) 2019-02-23 23:46:20 -08:00
turtledemo
unittest bpo-31855: unittest.mock.mock_open() results now respects the argument of read([size]) (GH-11521) (#13152) 2019-05-07 13:34:48 +01:00
urllib bpo-36742: Fixes handling of pre-normalization characters in urlsplit() (GH-13017) 2019-04-30 05:21:02 -07:00
venv bpo-36441: Fixes creating a venv when debug binaries are installed. (GH-12566) 2019-03-27 08:47:57 -07:00
wsgiref bpo-27682: Handle client connection terminations in wsgiref (GH-9713) 2019-05-01 20:52:40 +03:00
xml bpo-35052: Fix handler on xml.dom.minidom.cloneNode() (GH-11061) (GH-11066) 2018-12-10 11:56:48 +01:00
xmlrpc
__future__.py
__phello__.foo.py
_bootlocale.py
_collections_abc.py
_compat_pickle.py
_compression.py
_dummy_thread.py
_markupbase.py
_osx_support.py bpo-35257: Avoid leaking LTO linker flags into distutils (GH-10900) (GH-11264) 2018-12-23 15:45:10 -05:00
_py_abc.py
_pydecimal.py bpo-35133: Fix mistakes when concatenate string literals on different lines. (GH-10284) 2018-11-05 06:52:58 -08:00
_pyio.py bpo-36523: Add docstring to io.IOBase.writelines (GH-12683) 2019-04-22 21:08:24 +09:00
_sitebuiltins.py
_strptime.py
_threading_local.py
_weakrefset.py
abc.py
aifc.py
antigravity.py
argparse.py
ast.py
asynchat.py
asyncore.py
base64.py
bdb.py [3.7] bpo-36492: Fix passing special keyword arguments to some functions. (GH-12637) (GH-12645) 2019-04-01 10:59:24 +03:00
binhex.py
bisect.py
bz2.py
cProfile.py [3.7] bpo-36492: Fix passing special keyword arguments to some functions. (GH-12637) (GH-12645) 2019-04-01 10:59:24 +03:00
calendar.py
cgi.py bpo-35028: cgi: Fix max_num_fields off by one error (GH-9973) 2018-10-23 03:54:52 -07:00
cgitb.py
chunk.py
cmd.py
code.py
codecs.py
codeop.py
colorsys.py
compileall.py bpo-34022: Stop forcing of hash-based invalidation with SOURCE_DATE_EPOCH (GH-9607) 2018-11-28 09:45:36 -08:00
configparser.py bpo-27351: Fix ConfigParser.read() documentation and docstring (GH-8123) 2018-09-29 10:33:05 -06:00
contextlib.py [3.7] bpo-36492: Fix passing special keyword arguments to some functions. (GH-12637) (GH-12645) 2019-04-01 10:59:24 +03:00
contextvars.py
copy.py Issue #26167: Minimized overhead in copy.copy() and copy.deepcopy(). 2016-03-06 14:56:57 +02:00
copyreg.py
crypt.py
csv.py
dataclasses.py bpo-35960: Fix dataclasses.field throwing away empty metadata. (GH-11815) (GH-11826) 2019-02-12 07:11:48 -05:00
datetime.py [3.7] bpo-22005: Fixed unpickling instances of datetime classes pickled by Python 2. (GH-11017) (GH-11022) 2018-12-07 14:56:02 +02:00
decimal.py
difflib.py
dis.py
doctest.py bpo-24746: Avoid stripping trailing whitespace in doctest fancy diff (GH-10639) 2019-01-09 05:56:40 -08:00
dummy_threading.py
enum.py bpo-35899: Fix Enum handling of empty and weird strings (GH-11891) 2019-03-08 13:44:21 -08:00
filecmp.py
fileinput.py
fnmatch.py
formatter.py
fractions.py
ftplib.py [3.7] bpo-35128: Fix spacing issues in warning.warn() messages. (GH-10268). (GH-10280) 2018-11-01 14:19:23 +02:00
functools.py [3.7] bpo-36492: Fix passing special keyword arguments to some functions. (GH-12637) (GH-12645) 2019-04-01 10:59:24 +03:00
genericpath.py
getopt.py
getpass.py
gettext.py
glob.py
gzip.py
hashlib.py
heapq.py
hmac.py
imaplib.py [3.7] bpo-35128: Fix spacing issues in warning.warn() messages. (GH-10268). (GH-10280) 2018-11-01 14:19:23 +02:00
imghdr.py
imp.py
inspect.py bpo-33594: Add deprecation info in inspect.py module (GH-7036) 2018-10-19 17:05:49 -07:00
io.py
ipaddress.py
keyword.py
linecache.py
locale.py
lzma.py
macpath.py
mailbox.py
mailcap.py
mimetypes.py [3.7] bpo-31715 Add mimetype for extension .mjs (GH-3908) (GH-10977) 2018-12-23 15:46:40 -05:00
modulefinder.py
netrc.py
nntplib.py
ntpath.py [3.7] bpo-31047: Fix ntpath.abspath to trim ending separator (GH-10082) 2018-10-25 13:46:23 -04:00
nturl2path.py
numbers.py
opcode.py
operator.py
optparse.py
os.py
pathlib.py [3.7] bpo-36766: Typos in docs and code comments (GH-13116). (GH-13136) 2019-05-06 13:55:19 -07:00
pdb.py [3.7] bpo-35931: Gracefully handle any exception in pdb debug command (GH-12103) (GH-12285) 2019-03-11 21:00:59 -07:00
pickle.py bpo-32503: Avoid creating too small frames in pickles. (#5127) 2018-01-20 16:42:44 +02:00
pickletools.py Fix pickletools doc for NEWFALSE. (GH-9432) 2018-09-25 22:19:08 -07:00
pipes.py
pkgutil.py
platform.py [3.7] bpo-36766: Typos in docs and code comments (GH-13116). (GH-13136) 2019-05-06 13:55:19 -07:00
plistlib.py
poplib.py [3.7] bpo-35128: Fix spacing issues in warning.warn() messages. (GH-10268). (GH-10280) 2018-11-01 14:19:23 +02:00
posixpath.py [3.7] bpo-35755: shutil.which() uses os.confstr("CS_PATH") (GH-12862) 2019-04-17 18:38:06 +02:00
pprint.py bpo-35513, unittest: TextTestRunner uses time.perf_counter() (GH-11180) 2018-12-17 02:49:22 -08:00
profile.py [3.7] bpo-36492: Fix passing special keyword arguments to some functions. (GH-12637) (GH-12645) 2019-04-01 10:59:24 +03:00
pstats.py [3.7] bpo-36766: Typos in docs and code comments (GH-13116). (GH-13136) 2019-05-06 13:55:19 -07:00
pty.py Issue #18200: Back out usage of ModuleNotFoundError (8d28d44f3a9a) 2013-07-04 17:43:24 -04:00
py_compile.py bpo-34022: Stop forcing of hash-based invalidation with SOURCE_DATE_EPOCH (GH-9607) 2018-11-28 09:45:36 -08:00
pyclbr.py
pydoc.py bpo-35513: Replace time.time() with time.monotonic() in tests (GH-11182) 2018-12-17 01:03:04 -08:00
queue.py
quopri.py
random.py bpo-35513, unittest: TextTestRunner uses time.perf_counter() (GH-11180) 2018-12-17 02:49:22 -08:00
re.py
reprlib.py
rlcompleter.py
runpy.py
sched.py
secrets.py
selectors.py
shelve.py
shlex.py
shutil.py [3.7] bpo-35755: shutil.which() uses os.confstr("CS_PATH") (GH-12862) 2019-04-17 18:38:06 +02:00
signal.py
site.py bpo-35872 and bpo-35873: Clears __PYVENV_LAUNCHER__ variable (GH-11745) 2019-02-04 07:20:19 -08:00
smtpd.py
smtplib.py [3.7] bpo-35128: Fix spacing issues in warning.warn() messages. (GH-10268). (GH-10280) 2018-11-01 14:19:23 +02:00
sndhdr.py
socket.py
socketserver.py Fix typo in socketserver docstring (GH-11252) 2018-12-21 15:01:34 -08:00
sre_compile.py
sre_constants.py
sre_parse.py
ssl.py bpo-33023: Fix NotImplemented to NotImplementedError. (GH-10934) 2018-12-06 12:52:43 -08:00
stat.py
statistics.py
string.py
stringprep.py
struct.py
subprocess.py bpo-34812: subprocess._args_from_interpreter_flags(): add isolated (GH-10675) 2018-11-23 09:13:32 -08:00
sunau.py
symbol.py
symtable.py
sysconfig.py bpo-35299: Fixed sysconfig and distutils during PGO profiling (GH-11744) 2019-02-04 17:54:59 -08:00
tabnanny.py
tarfile.py
telnetlib.py
tempfile.py
textwrap.py
this.py
threading.py Fix typos and improve grammar in threading.Barrier docstrings (GH-12210) 2019-03-09 09:56:40 -08:00
timeit.py
token.py
tokenize.py [3.7] bpo-36766: Typos in docs and code comments (GH-13116). (GH-13136) 2019-05-06 13:55:19 -07:00
trace.py [3.7] bpo-36492: Fix passing special keyword arguments to some functions. (GH-12637) (GH-12645) 2019-04-01 10:59:24 +03:00
traceback.py
tracemalloc.py
tty.py
turtle.py [3.7] bpo-36766: Typos in docs and code comments (GH-13116). (GH-13136) 2019-05-06 13:55:19 -07:00
types.py bpo-36091: Remove reference to async generator in Lib/types.py. (GH-11996) 2019-03-03 06:54:39 -08:00
typing.py bpo-35341: Add generic version of OrderedDict to typing (GH-10850) 2018-12-02 08:14:44 -08:00
uu.py bpo-33687: Fix call to os.chmod() in uu.decode() (GH-7282) 2019-01-17 17:32:59 +03:00
uuid.py
warnings.py bpo-35178: Fix warnings._formatwarnmsg() (GH-12033) 2019-03-01 09:40:10 -08:00
wave.py
weakref.py [3.7] bpo-36492: Fix passing special keyword arguments to some functions. (GH-12637) (GH-12645) 2019-04-01 10:59:24 +03:00
webbrowser.py bpo-35308: Fix regression where BROWSER env var is not respected. (GH-10693) 2018-11-26 13:49:28 -08:00
xdrlib.py
zipapp.py
zipfile.py bpo-36434: Properly handle writing errors in ZIP files. (GH-12559) (GH-12628) 2019-03-30 15:52:16 +02:00