in ftp cache pruning, avoid changing the size of a dict while iterating over it (closes #21463)

Patch by Skyler Leigh Amador.
This commit is contained in:
Benjamin Peterson 2014-06-07 15:08:04 -07:00
parent 4bb09c8432
commit 3c2dca67ac
4 changed files with 35 additions and 2 deletions

View file

@ -32,6 +32,7 @@ Fred Allen
Ray Allen
Billy G. Allie
Kevin Altis
Skyler Leigh Amador
Joe Amenta
A. Amoroso
Mark Anacker

View file

@ -22,6 +22,8 @@ Core and Builtins
Library
-------
- Issue #21463: In urllib.request, fix pruning of the FTP cache.
- Issue #21618: The subprocess module could fail to close open fds that were
inherited by the calling process and already higher than POSIX resource
limits would otherwise allow. On systems with a functioning /proc/self/fd