cpython/Lib
Brett Cannon 881535b726 Issue #14582: Import returns the module returned by a loader instead
of sys.modules when possible.

This is being done for two reasons. One is to gain a little bit of
performance by skipping an unnecessary dict lookup in sys.modules. But
the other (and main) reason is to be a little bit more clear in how
things should work from the perspective of import's interactions with
loaders. Otherwise loaders can easily forget to return the module even
though PEP 302 explicitly states they are expected to return the module
they loaded.
2012-04-15 15:24:04 -04:00
..
collections Clarify that the purpose of computing all the miscellaneous collection types is to register them with the appropriate ABCs. 2012-04-05 13:31:12 -07:00
concurrent Issue #14406: Fix a race condition when using concurrent.futures.wait(return_when=ALL_COMPLETED). 2012-03-31 20:25:22 +02:00
ctypes - Issue #10181: New memoryview implementation fixes multiple ownership 2012-02-25 12:24:21 +01:00
curses (Merge 3.2) Fix curses module for strict SysV implementation (without has_key function) 2011-11-29 00:06:10 +01:00
dbm
distutils Merge 3.2.3 release clone. 2012-04-11 12:46:24 +02:00
email #14380: Make actual default match docs, fix __init__ order. 2012-03-22 22:40:44 -04:00
encodings Speed up IDNA for the common case 2011-11-10 22:49:20 +01:00
html HTMLParser is now able to handle slashes in the start tag. 2012-02-21 09:25:00 +02:00
http merge to default - Issue 10484 - Incorporate improvements to CGI module - Suggested by Glenn Linderman. Refactor code and tests 2012-04-12 02:37:11 +08:00
idlelib IDLE was relying on implicit relative imports which have gone away in 2012-04-14 20:44:23 -04:00
importlib Issue #14582: Import returns the module returned by a loader instead 2012-04-15 15:24:04 -04:00
json Merge 3.2: Issue #13703 plus some related test suite fixes. 2012-02-21 00:33:36 +01:00
lib2to3 remove get_prefix and set_prefix (#13248) 2012-03-14 17:41:15 -05:00
logging Closes #14436: merged fix from 3.2. 2012-03-29 20:18:21 +01:00
msilib Remove duplication. 2011-10-19 10:58:56 +03:00
multiprocessing Issue #14522: Avoid duplicating socket handles in multiprocessing.connection. 2012-04-07 22:38:52 +02:00
packaging Remove buggy change for #13719 in packaging 2012-03-07 20:56:18 +01:00
plat-aix4
plat-darwin
plat-freebsd4
plat-freebsd5
plat-freebsd6
plat-freebsd7
plat-freebsd8
plat-generic
plat-linux
plat-netbsd1
plat-next3
plat-os2emx
plat-sunos5
plat-unixware7
pydoc_data Update pydoc topics. 2012-04-01 13:46:44 +02:00
site-packages
sqlite3 Merge branch '3.2' 2012-02-21 13:59:40 +02:00
test Issue #13496: Merge from 3.2 2012-04-15 16:32:04 +01:00
tkinter Issue #3033: Add displayof parameter to tkinter font. 2012-04-05 12:41:20 +03:00
turtledemo
unittest Minor docstring / docs corrections for unittest.mock 2012-04-13 20:51:20 +01:00
urllib Explain the use of charset parameter with Content-Type header: issue11082 2012-03-15 18:15:34 -07:00
wsgiref
xml Issue #13782: streamline argument type-checking in ET.Element 2012-03-23 14:24:20 +02:00
xmlrpc Merge 3.2 2012-03-05 16:24:07 +01:00
__future__.py
__phello__.foo.py
_compat_pickle.py
_dummy_thread.py
_markupbase.py #13576: add tests about the handling of (possibly broken) condcoms. 2011-12-19 07:29:03 +02:00
_pyio.py Issue #12760: Refer to the new 'x' open mode as "exclusive creation" mode. 2012-01-14 11:51:00 +01:00
_strptime.py
_threading_local.py
_weakrefset.py Issue #14195: Make WeakSet.__lt__ and WeakSet.__gt__ irreflexive. 2012-03-04 22:15:38 -06:00
abc.py improve abstract property support (closes #11610) 2011-12-15 15:34:02 -05:00
aifc.py #13394: add more tests for the aifc module and use warnings.warn instead of print. Patch by Oleg Plakhotnyuk. 2012-03-12 23:57:18 +02:00
antigravity.py
argparse.py Merge 3.2 2011-10-28 14:52:29 +02:00
ast.py
asynchat.py
asyncore.py merge 79422b3684f1 in 3.3 branch (issue 10340) 2012-03-22 16:19:45 +01:00
base64.py Issue #13641: Decoding functions in the base64 module now accept ASCII-only unicode strings. 2012-02-20 19:30:23 +01:00
bdb.py
binhex.py
bisect.py
bz2.py Fix seekable() in BZ2File and LZMAFile to check whether the underlying file supports seek(). 2012-02-12 01:51:38 +02:00
calendar.py
cgi.py Issue #13248: turn 3.2's PendingDeprecationWarning into 3.3's DeprecationWarning (cgi, importlib, nntplib, smtpd). 2011-12-10 11:07:42 +01:00
cgitb.py
chunk.py
cmd.py Close #13500: Hitting EOF gets cmd.py into a infinite EOF on return loop 2011-12-06 20:46:57 +01:00
code.py
codecs.py
codeop.py
colorsys.py
compileall.py
configparser.py Merge with 3.2. 2011-10-19 11:06:26 +03:00
contextlib.py
copy.py
copyreg.py Closes #13258: Use callable() built-in in the standard library. 2011-10-28 14:45:05 +02:00
cProfile.py
crypt.py
csv.py
datetime.py Close #14180: Factorize code to convert a number of seconds to time_t, timeval or timespec 2012-03-13 13:35:55 +01:00
decimal.py Use the same exception hierarchy as decimal.py. FloatOperation now also 2012-03-23 14:46:48 +01:00
difflib.py Fix comment in difflib. 2011-12-10 13:02:17 +01:00
dis.py
doctest.py Merge #12757: Make doctest skipping in -OO mode work with unittest/regrtest -v 2012-03-21 14:55:04 -04:00
dummy_threading.py
filecmp.py
fileinput.py fileinput: replace this last occurence of codecs.open with builtins.open. 2011-11-07 19:43:07 +01:00
fnmatch.py Fix BytesWarnings in fnmatch 2011-11-08 18:39:15 +01:00
formatter.py
fractions.py
ftplib.py fix #13563: make use of with statement in ftplib.py where needed 2011-12-10 21:25:04 +01:00
functools.py Fix-up a comment 2012-03-31 02:19:06 -07:00
genericpath.py
getopt.py
getpass.py Remove redundant imports. 2011-11-04 08:29:17 +01:00
gettext.py
glob.py
gzip.py Clean up GzipFile mode string handling code. 2012-02-12 00:06:02 +02:00
hashlib.py
heapq.py Issue 13274: Make the pure python code for heapq more closely match the C implementation for an undefined corner case. 2011-10-30 14:32:54 -07:00
hmac.py Closes #13258: Use callable() built-in in the standard library. 2011-10-28 14:45:05 +02:00
imaplib.py Merge 3.2, fix typos. 2011-11-11 19:39:25 +01:00
imghdr.py
inspect.py Merge 2011-12-22 01:15:53 +00:00
io.py
keyword.py Fix instructions on how to rebuild some modules 2011-11-29 16:45:34 +01:00
linecache.py
locale.py Fix last remaining references to ex-devguide 2011-11-29 16:36:17 +01:00
lzma.py Fix seekable() in BZ2File and LZMAFile to check whether the underlying file supports seek(). 2012-02-12 01:51:38 +02:00
macpath.py
macurl2path.py
mailbox.py #12537: in mailbox avoid depending on knowledge of email package internals 2012-04-08 22:36:07 -04:00
mailcap.py
mimetypes.py Issue #13640: add application/vnd.apple.mpegurl MIME type; (partial) patch by Hiroaki Kawai 2012-01-01 18:34:29 +01:00
modulefinder.py
netrc.py
nntplib.py Issue #10287: nntplib now queries the server's CAPABILITIES first before sending MODE READER, and only sends it if not already in READER mode. 2012-02-14 23:30:35 +01:00
ntpath.py
nturl2path.py
numbers.py improve abstract property support (closes #11610) 2011-12-15 15:34:02 -05:00
opcode.py Implement PEP 380 - 'yield from' (closes #11682) 2012-01-13 21:43:40 +10:00
optparse.py Merge 3.2 2011-10-28 14:52:29 +02:00
os.py Issue #2377: Make importlib the implementation of __import__(). 2012-04-14 14:10:13 -04:00
os2emxpath.py
pdb.py Close #14210: add command argument completion to pdb: complete file names, global/local variables, aliases 2012-03-10 22:36:48 +01:00
pickle.py Fixes #13842: cannot pickle Ellipsis or NotImplemented. 2012-03-12 19:46:12 +01:00
pickletools.py Merge 3.2 2011-12-13 13:22:42 -05:00
pipes.py
pkgutil.py Issue #13645: pyc files now contain the size of the corresponding source 2012-01-13 18:52:16 +01:00
platform.py merge from 3.2 2012-02-01 15:15:14 -06:00
plistlib.py
poplib.py
posixpath.py
pprint.py
profile.py
pstats.py Issue #13839: When invoked on the command-line, the pstats module now accepts several filenames of profile stat files and merges them all. 2012-03-14 17:47:11 +01:00
pty.py Issue #2489: Fix bug in _copy loop that could consume 100% cpu on EOF. 2012-02-16 00:29:12 -08:00
py_compile.py Issue #13645: pyc files now contain the size of the corresponding source 2012-01-13 18:52:16 +01:00
pyclbr.py
pydoc.py Issue #2377: Make importlib the implementation of __import__(). 2012-04-14 14:10:13 -04:00
queue.py Issue #14222: Use the new time.steady() function instead of time.time() for 2012-03-15 01:22:16 +01:00
quopri.py
random.py Merge 3.2 2011-11-11 09:41:17 -06:00
re.py Merge with 3.2. 2012-03-10 09:27:30 +01:00
reprlib.py Avoid pulling threading when _thread is sufficient 2011-10-11 18:51:53 +02:00
rlcompleter.py Closes #14411: remove outdated comment in rlcompleter docstring. 2012-03-27 07:46:46 +02:00
runpy.py
sched.py (sched) when run() is invoked with blocking=False return the deadline of the next scheduled call in the scheduler; this use case was suggested in http://bugs.python.org/issue1641#msg149453 2012-03-15 13:05:41 +01:00
shelve.py
shlex.py
shutil.py Issue #13609: Add two functions to query the terminal size: 2012-02-08 23:28:36 +01:00
site.py Issue #2377: Make importlib the implementation of __import__(). 2012-04-14 14:10:13 -04:00
smtpd.py #14269: smtpd now conforms to the RFC and requires HELO before MAIL. 2012-03-20 16:16:29 -04:00
smtplib.py #12448: merge with 3.2. 2011-10-18 13:26:49 +03:00
sndhdr.py
socket.py Issue #14310: inter-process socket duplication for windows 2012-04-07 11:23:31 +00:00
socketserver.py Fix the patch for issue #7978: select() raises select.error before 3.3, not OSError. 2012-04-09 01:37:19 +02:00
sre_compile.py #13054: fix usage of sys.maxunicode after PEP-393. 2011-10-04 19:06:00 +03:00
sre_constants.py
sre_parse.py
ssl.py Issue #14204: The ssl module now has support for the Next Protocol Negotiation extension, if available in the underlying OpenSSL library. 2012-03-22 00:23:03 +01:00
stat.py
string.py
stringprep.py
struct.py
subprocess.py Issue #14252: Fix subprocess.Popen.terminate() to not raise an error under Windows when the child process has already exited. 2012-03-11 19:33:29 +01:00
sunau.py
symbol.py Fix instructions on how to rebuild some modules 2011-11-29 16:45:34 +01:00
symtable.py
sysconfig.cfg Remove inline comment, no longer supported by configparser. 2011-10-05 01:14:02 +02:00
sysconfig.py MERGE: And yet another emergency fix for #13803 bootstrap issue: Under Solaris, distutils doesn't include bitness in the directory name 2012-01-18 05:05:41 +01:00
tabnanny.py
tarfile.py Issue #5689: Avoid excessive memory usage by using the default lzma preset. 2012-01-18 14:01:17 +01:00
telnetlib.py
tempfile.py Issue #12856: Ensure child processes do not inherit the parent's random seed for filename generation in the tempfile module. 2011-11-25 21:29:27 +01:00
textwrap.py
this.py
threading.py Issue #14222: Use the new time.steady() function instead of time.time() for 2012-03-15 01:22:16 +01:00
timeit.py Merge 3.2 2011-10-28 14:52:29 +02:00
token.py Issue #13629: Renumber the tokens in token.h to match the _PyParser_TokenNames indexes. 2012-01-15 19:15:36 -06:00
tokenize.py Updated tokenize to support the inverse byte literals new in 3.3 2012-03-04 13:07:57 +00:00
trace.py Make the trace module ignore modules whose names start with "<" and 2012-04-10 21:05:53 -04:00
traceback.py Close issue #6210: Implement PEP 409 2012-02-26 17:49:52 +10:00
tty.py
turtle.py Issue #13439: Merge branch 3.2 2011-12-02 21:25:39 +02:00
types.py
uu.py
uuid.py
warnings.py Closes #13258: Use callable() built-in in the standard library. 2011-10-28 14:45:05 +02:00
wave.py
weakref.py Issue #14159: Fix the len() of weak containers (WeakSet, WeakKeyDictionary, WeakValueDictionary) to return a better approximation when some objects are dead or dying. 2012-03-01 16:26:35 +01:00
webbrowser.py - Issue #14493: Use gvfs-open/xdg-open in Lib/webbrowser.py. 2012-04-04 14:19:04 +02:00
xdrlib.py Cleanup code: remove int/long idioms and simplify a while statement. 2011-10-23 22:11:00 +02:00
zipfile.py Merge #14399: zipfile now correctly handles comments added to empty zipfiles. 2012-04-12 18:44:58 -04:00