cpython/Lib
Victor Stinner 9d279b87d8 (Merge 3.4) Issue #22599: Enhance tokenize.open() to be able to call it during
Python finalization.

Before the module kept a reference to the builtins module, but the module
attributes are cleared during Python finalization. Instead, keep directly a
reference to the open() function.

This enhancement is not perfect, calling tokenize.open() can still fail if
called very late during Python finalization.  Usually, the function is called
by the linecache module which is called to display a traceback or emit a
warning.
2014-12-05 10:18:30 +01:00
..
asyncio Closes #22429, asyncio: Fix EventLoop.run_until_complete(), don't stop the 2014-12-05 01:44:10 +01:00
collections Issue #22609: Revert changes in UserDict. They conflicted with existing tests. 2014-11-27 17:46:15 +02:00
concurrent Issue #11271: concurrent.futures.Executor.map() now takes a *chunksize* 2014-10-04 20:20:10 +02:00
ctypes Issue #20160: broken ctypes calling convention on MSVC / 64-bit Windows (large structs) Patch by mattip 2014-11-05 19:30:30 -08:00
curses
dbm Issue #21729: Used the "with" statement in the dbm.dumb module to ensure 2014-06-25 20:37:30 +03:00
distutils Issue #8876: distutils now falls back to copying files when hard linking doesn't work. 2014-10-30 19:38:33 +01:00
email Merge: #21991: make headerregistry params property MappingProxyType. 2014-10-17 19:32:08 -04:00
encodings Issue #22406: Fixed the uu_codec codec incorrectly ported to 3.x. 2014-11-07 14:06:19 +02:00
ensurepip Upgrade setuptools to 7.0 2014-11-11 11:01:09 -05:00
html #21047: set the default value for the *convert_charrefs* argument of HTMLParser to True. Patch by Berker Peksag. 2014-08-02 18:36:12 +03:00
http Issue #21032. Fixed socket leak if HTTPConnection.getresponse() fails. 2014-12-01 13:10:12 +02:00
idlelib Fixed IDLE tests after changing re error messages (issue #22578). 2014-11-10 14:18:03 +02:00
importlib - Issue #22966: Fix __pycache__ pyc file name clobber when pyc_compile is 2014-12-01 17:52:43 -05:00
json Issue #21650: Add an --sort-keys option to json.tool CLI. 2014-11-10 09:56:54 +02:00
lib2to3 Issue #22173: Update lib2to3 tests to use unittest test discovery. 2014-10-29 12:24:59 -05:00
logging merge 3.4 (#22788) 2014-11-23 20:38:13 -06:00
msilib
multiprocessing Simplify code in multiprocessing.Connection.send_bytes(). 2014-07-31 18:41:57 -04:00
plat-aix4
plat-darwin
plat-freebsd4
plat-freebsd5
plat-freebsd6
plat-freebsd7
plat-freebsd8
plat-generic
plat-linux
plat-netbsd1
plat-next3
plat-sunos5
plat-unixware7
pydoc_data Update pydoc topics and fix supsicious markup for 3.4.2 final. 2014-10-05 19:03:48 -07:00
site-packages
sqlite3 Issue #21147: sqlite3 now raises an exception if the request contains a null 2014-09-11 13:29:05 +03:00
test (Merge 3.4) Issue #22599: Enhance tokenize.open() to be able to call it during 2014-12-05 10:18:30 +01:00
tkinter Issue #22769: Fixed ttk.Treeview.tag_has() when called without arguments. 2014-11-07 12:03:09 +02:00
turtledemo De-'colour'ize stdlib except for idlelib.configDialog. 2014-10-09 18:44:32 -04:00
unittest Issue #22894: TestCase.subTest() would cause the test suite to be stopped when in failfast mode, even in the absence of failures. 2014-11-23 15:56:41 +01:00
urllib Close #19494: add urrlib.request.HTTPBasicPriorAuthHandler 2014-11-12 23:33:50 +10:00
venv Issue #21663: Fixed error caused by trying to create an existing directory. 2014-06-05 09:31:20 +01:00
wsgiref Merge from 3.4 2014-09-17 16:32:46 +08:00
xml Removed duplicated words in in comments and docs. 2014-12-01 18:30:14 +02:00
xmlrpc merge 3.4 (#22960) 2014-11-29 23:34:30 -05:00
__future__.py
__phello__.foo.py
_bootlocale.py
_collections_abc.py Issue #22609: Constructors and update methods of mapping classes in the 2014-11-27 16:35:26 +02:00
_compat_pickle.py
_dummy_thread.py Issue 21137: Better repr for threading.Lock() 2014-05-25 18:22:35 -07:00
_markupbase.py
_osx_support.py Issue #21811: Anticipated fixes to 3.x and 2.7 for OS X 10.10 Yosemite. 2014-06-25 13:36:14 -07:00
_pydecimal.py Issue #19232: Fix sys.modules lookup (--without-threads) 2014-10-12 13:29:15 +02:00
_pyio.py Issue #22869: Split pythonrun into two modules 2014-11-20 21:39:37 +10:00
_sitebuiltins.py #9364: Improve the text printed by help(pydoc) and help(help). 2014-04-19 12:59:30 -04:00
_strptime.py Issue #22823: Use set literals instead of creating a set from a list 2014-11-09 15:56:33 -08:00
_threading_local.py
_weakrefset.py
abc.py Issue #22032: __qualname__ instead of __name__ is now always used to format 2014-07-22 15:00:37 +03:00
aifc.py
antigravity.py
argparse.py Closes #22675: fix typo. 2014-10-20 08:36:02 +02:00
ast.py
asynchat.py (Merge 3.4) Issue #16133: The asynchat.async_chat.handle_read() method now 2014-07-24 19:00:28 +02:00
asyncore.py Issue #22823: Use set literals instead of creating a set from a list 2014-11-09 15:56:33 -08:00
base64.py Issue #20879: Delay the initialization of encoding and decoding tables for 2014-03-17 22:38:41 +01:00
bdb.py
binhex.py
bisect.py
bz2.py
calendar.py
cgi.py remove unused argument (closes #21135) 2014-04-03 10:22:10 -04:00
cgitb.py
chunk.py
cmd.py
code.py #17442: Add chained traceback support to InteractiveInterpreter. 2014-09-29 11:25:00 -04:00
codecs.py Issue #19676: Added the "namereplace" error handler. 2014-11-25 13:57:17 +02:00
codeop.py
colorsys.py
compileall.py Issue #21338: Add silent mode for compileall. 2014-10-15 11:10:57 +03:00
configparser.py Closes #18159: ConfigParser getters not available on SectionProxy 2014-09-15 02:08:41 -07:00
contextlib.py Issue #22389: Add contextlib.redirect_stderr(). 2014-11-28 23:28:06 +02:00
copy.py improve idioms (closes #20642) 2014-05-03 20:22:00 -04:00
copyreg.py
cProfile.py
crypt.py
csv.py
datetime.py Closes issue #20858: Enhancements/fixes to pure-python datetime module 2014-09-28 19:11:56 -04:00
decimal.py Whitespace. 2014-09-10 18:00:46 +02:00
difflib.py Use two-argument form of next() and use a return-statement instead of an explicit raise StopIteration 2014-08-03 22:49:07 -07:00
dis.py Issue #21947: handle generator-iterator objects in dis 2014-07-25 23:02:56 +10:00
doctest.py Issue #22033: Reprs of most Python implemened classes now contain actual 2014-07-25 23:36:00 +03:00
dummy_threading.py
enum.py Issue22506: remove name & value from __dir__ as they now show up automatically 2014-10-21 13:40:35 -07:00
filecmp.py shallow defaults to 'True' not '1' (closes #21355) 2014-04-26 13:36:21 -04:00
fileinput.py Issue #21075: fileinput.FileInput now reads bytes from standard stream if 2014-05-14 21:08:33 +03:00
fnmatch.py
formatter.py Issue #19165: The formatter module graduates to full deprecation. 2014-03-21 10:52:33 -04:00
fractions.py #22464: Speed up common Fraction operations by special-casing several 2014-09-24 08:37:55 +02:00
ftplib.py merge 3.4 (#22921) 2014-11-23 17:06:39 -06:00
functools.py merge 2014-08-12 12:45:28 -07:00
genericpath.py Issue #21883: os.path.join() and os.path.relpath() now raise a TypeError with 2014-10-04 14:58:43 +03:00
getopt.py
getpass.py #21169: add comment and doc update for getpass change. 2014-04-14 10:28:58 -04:00
gettext.py Issue #18216: gettext now raises an error when a .mo file has an unsupported major version number. Patch by Aaron Hill. 2014-10-28 20:17:51 +01:00
glob.py Issue #13968: The glob module now supports recursive search in 2014-09-11 12:17:37 +03:00
gzip.py Issue #20875: Merge from 3.3 2014-03-09 14:47:58 -07:00
hashlib.py Removed duplicated words in in comments and docs. 2014-12-01 18:28:43 +02:00
heapq.py Issue #22186: Fix typos in Lib/. 2014-10-19 18:07:05 +03:00
hmac.py
imaplib.py merge 3.4 (#22921) 2014-11-23 17:06:39 -06:00
imghdr.py #20295: Teach imghdr to recognize OpenEXR format images. 2014-06-26 12:27:57 -04:00
imp.py Issue #20383: Introduce importlib.util.module_from_spec(). 2014-05-30 14:55:29 -04:00
inspect.py Issue #22186: Fix typos in Lib/. 2014-10-19 18:07:05 +03:00
io.py #21225: copy docstrings from base classes 2014-04-25 09:29:30 -04:00
ipaddress.py PEP 479: Use the return-keyword instead of raising StopIteration inside a generators. 2014-11-22 22:14:41 -08:00
keyword.py
linecache.py
locale.py Issue #13918: Provide a locale.delocalize() function which can remove 2014-10-23 22:52:31 +02:00
lzma.py
macpath.py Issue #21883: os.path.join() and os.path.relpath() now raise a TypeError with 2014-10-04 14:58:43 +03:00
macurl2path.py
mailbox.py PEP 479: Use the return-keyword instead of raising StopIteration inside a generators. 2014-11-22 22:14:41 -08:00
mailcap.py Issue #20331: Fixed possible FD leaks in various modules: 2014-01-25 19:43:56 +02:00
mimetypes.py Issue #20331: Fixed possible FD leaks in various modules: 2014-01-25 19:43:56 +02:00
modulefinder.py Issue #21707: Add missing kwonlyargcount argument to ModuleFinder.replace_paths_in_code(). 2014-07-07 14:58:12 +03:00
netrc.py
nntplib.py don't require OpenSSL SNI to pass hostname to ssl functions (#22921) 2014-11-23 17:04:34 -06:00
ntpath.py Fixed tests on Windows for issue #21883. 2014-10-04 16:09:02 +03:00
nturl2path.py
numbers.py
opcode.py PEP 465: a dedicated infix operator for matrix multiplication (closes #21176) 2014-04-09 23:55:56 -04:00
operator.py PEP 465: a dedicated infix operator for matrix multiplication (closes #21176) 2014-04-09 23:55:56 -04:00
optparse.py Issue #20315: Removed support for backward compatibility with early 2.x versions. 2014-01-20 21:29:31 +02:00
os.py os: Include posix functions in os.__all__. Closes issue #18554. 2014-09-26 12:33:06 -04:00
pathlib.py Close #22370: Windows detection in pathlib is now more robust. 2014-11-19 00:33:08 +01:00
pdb.py Issue #22186: Fix typos in Lib/. 2014-10-19 18:07:05 +03:00
pickle.py Issue #21905: Avoid RuntimeError in pickle.whichmodule() when sys.modules is mutated while iterating. 2014-10-04 22:15:27 +02:00
pickletools.py
pipes.py
pkgutil.py Issue #20383: Introduce importlib.util.module_from_spec(). 2014-05-30 14:55:29 -04:00
platform.py Issue #20976: pyflakes: Remove unused imports 2014-03-20 09:16:38 +01:00
plistlib.py Issue #21888: plistlib's load() and loads() now work if the fmt parameter is 2014-07-23 18:49:31 +03:00
poplib.py don't require OpenSSL SNI to pass hostname to ssl functions (#22921) 2014-11-23 17:04:34 -06:00
posixpath.py Fixed tests on Windows for issue #21883. 2014-10-04 16:09:02 +03:00
pprint.py
profile.py
pstats.py
pty.py
py_compile.py
pyclbr.py Issue 19944: Fix importlib.find_spec() so it imports parents as needed. 2014-01-25 15:32:46 -07:00
pydoc.py Issue #22314: pydoc now works when the LINES environment variable is set. 2014-11-28 00:11:07 +02:00
queue.py Issue #22043: time.monotonic() is now always available 2014-09-02 23:18:25 +02:00
quopri.py Correct the quopri module documentation. Mention the correct types of the 2014-06-25 01:12:03 -07:00
random.py merge 2014-05-25 17:28:38 -07:00
re.py merge 3.4 (#9179) 2014-11-30 11:51:16 -05:00
reprlib.py Issue #22824: Simplify reprlib output format for empty arrays 2014-11-15 10:58:58 -08:00
rlcompleter.py
runpy.py Issue #20383: Introduce importlib.util.module_from_spec(). 2014-05-30 14:55:29 -04:00
sched.py Issue #22043: time.monotonic() is now always available 2014-09-02 23:18:25 +02:00
selectors.py Fix issue 18931: selectors module now supports /dev/poll on Solaris. 2014-03-20 21:43:41 +01:00
shelve.py
shlex.py #18853: Fix resource warning in shlex's __main__ section. 2014-10-17 20:28:47 -04:00
shutil.py Issue #21280: Fixed a bug in shutil.make_archive() when create an archive of 2014-11-28 00:49:50 +02:00
signal.py Issue #21076: sigpending() is not available on Windows 2014-04-04 16:57:24 +02:00
site.py Issue #21711: support for "site-python" directories has now been removed from the site module (it was deprecated in 3.4). 2014-06-12 19:41:30 -04:00
smtpd.py #21725: Add RFC 6531 (SMTPUTF8) support to smtpd. 2014-08-09 16:40:49 -04:00
smtplib.py merge 3.4 (#22921) 2014-11-23 17:06:39 -06:00
sndhdr.py #18615: Make sndhdr return namedtuples. 2014-10-09 16:59:30 -04:00
socket.py Issue #20604: Added missed invalid mode in error message of socket.makefile(). 2014-11-19 12:34:07 +02:00
socketserver.py Issue #22186: Fix typos in Lib/. 2014-10-19 18:07:05 +03:00
sre_compile.py Minor code clean up and improvements in the re module. 2014-11-11 21:13:28 +02:00
sre_constants.py Removed unused function linecol() (added in issue #22578 by mistake). 2014-12-01 11:25:21 +02:00
sre_parse.py Issue #21032: Deprecated the use of re.LOCALE flag with str patterns or 2014-12-01 11:50:07 +02:00
ssl.py Issue #21356: Make ssl.RAND_egd() optional to support LibreSSL. The 2014-11-28 13:28:25 +01:00
stat.py Issue #21741: Add st_file_attributes to os.stat_result on Windows. 2014-06-19 09:46:37 -05:00
statistics.py Issue #22823: Use set literals instead of creating a set from a list 2014-11-09 15:56:33 -08:00
string.py Issue #13598: Add auto-numbering of replacement fields to string.Formatter. 2014-04-14 16:43:50 -04:00
stringprep.py
struct.py
subprocess.py Issue #21332: Ensure that `bufsize=1` in subprocess.Popen() selects line buffering, rather than block buffering. 2014-09-21 21:15:42 +02:00
sunau.py
symbol.py
symtable.py
sysconfig.py
tabnanny.py
tarfile.py Issue #21549: Added the "members" parameter to TarFile.list(). 2014-08-21 10:01:16 +03:00
telnetlib.py Issue #22043: time.monotonic() is now always available 2014-09-02 23:18:25 +02:00
tempfile.py tempfile: Fix docstring. Issue #21397, patch by R. David Murray. 2014-09-26 17:08:21 -04:00
textwrap.py
this.py
threading.py Merge: #11866: Eliminate race condition in the computation of names for new threads. 2014-10-04 17:45:15 -04:00
timeit.py Issue #2527: Add a *globals* argument to timeit functions, in order to override the globals namespace in which the timed code is executed. 2014-08-22 23:13:50 -04:00
token.py PEP 465: a dedicated infix operator for matrix multiplication (closes #21176) 2014-04-09 23:55:56 -04:00
tokenize.py (Merge 3.4) Issue #22599: Enhance tokenize.open() to be able to call it during 2014-12-05 10:18:30 +01:00
trace.py Issue #22043: time.monotonic() is now always available 2014-09-02 23:18:25 +02:00
traceback.py Issue #22032: __qualname__ instead of __name__ is now always used to format 2014-07-22 15:00:37 +03:00
tracemalloc.py tracemalloc: filter_traces() raises a TypeError if filters is not an iterable 2014-03-10 11:05:07 +01:00
tty.py
turtle.py Issue #22168: Prevent turtle AttributeError with non-default Canvas on OS X. 2014-09-13 23:39:16 -07:00
types.py
uu.py
uuid.py Issue #22902: The "ip" command is now used on Linux to determine MAC address 2014-11-30 20:39:04 +02:00
warnings.py Issue #4180: The warnings registries are now reset when the filters are modified. 2014-09-18 02:42:05 +02:00
wave.py
weakref.py Closes #21173: Fix len() on a WeakKeyDictionary when .clear() was called with an iterator alive. 2014-10-05 20:04:06 +02:00
webbrowser.py The webbrowser module now uses subprocess's start_new_session=True rather 2014-08-27 09:34:38 -07:00
xdrlib.py Issue #11694: Raise ConversionError in xdrlib as documented 2014-10-10 21:21:52 +03:00
zipfile.py Issue #14099: ZipFile.open() no longer reopen the underlying file. Objects 2014-12-03 09:14:36 +02:00