cpython/Lib
Brett Cannon 569ff4fbbc Issue #15031: Refactor some code in importlib pertaining to validating
and compiling bytecode.

Thanks to Ronan Lamy for pointing the redundancy and taking an initial
stab at the refactor (as did Nick Coghlan).
2013-01-11 18:09:25 -05:00
..
collections Improve OrderedDict equality test. 2012-12-07 10:18:22 -08:00
concurrent Issue #16284: Prevent keeping unnecessary references to worker functions in concurrent.futures ThreadPoolExecutor. 2012-11-03 15:36:01 +02:00
ctypes Issue #16793. Replace deprecated unittest asserts with modern counterparts. 2012-12-28 00:32:19 +02:00
curses Fix docstring in curses (#16782) 2012-12-29 23:08:07 +02:00
dbm Replace IOError with OSError (#16715) 2012-12-25 16:47:37 +02:00
distutils Replace IOError with OSError (#16715) 2012-12-25 16:47:37 +02:00
email revert comment wording (#16714) 2012-12-19 22:47:05 +02:00
encodings Normalize whitespace 2012-06-16 22:50:54 +02:00
html #16245: Fix the value of a few entities in html.entities.html5. 2012-10-23 15:51:27 +02:00
http Issue #16833: In http.client.HTTPConnection, do not concatenate the request headers and body when the payload exceeds 16 KB, since it can consume more memory for no benefit. 2013-01-02 22:10:47 +01:00
idlelib Issue #16491: IDLE now prints chained exception tracebacks. 2013-01-09 12:26:54 +02:00
importlib Issue #15031: Refactor some code in importlib pertaining to validating 2013-01-11 18:09:25 -05:00
json #16009: JSON error messages now provide more information. Patch by Serhiy Storchaka. 2013-01-03 08:44:15 +02:00
lib2to3 Replace IOError with OSError (#16715) 2012-12-25 16:47:37 +02:00
logging Replace IOError with OSError (#16715) 2012-12-25 16:47:37 +02:00
msilib
multiprocessing issue 10527: fix missing import 2013-01-03 02:54:27 +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-sunos5
plat-unixware7
pydoc_data Update pydoc topics and suspicious markup file. 2012-08-25 12:14:59 +02:00
site-packages
sqlite3 merge #13934: document sqlite version strings, use correct one in test. 2013-01-10 20:19:35 -05:00
test merge 2013-01-11 15:43:34 -05:00
tkinter Merge heads 2013-01-02 10:40:36 +02:00
turtledemo
unittest Issue #16714: use 'raise' exceptions, don't 'throw'. 2012-12-18 21:27:37 +02:00
urllib Replace IOError with OSError (#16715) 2012-12-25 16:47:37 +02:00
venv Closes #16378: Merged docstring changes from 3.3. 2012-11-14 11:19:42 +00:00
wsgiref Issue #16714: use 'raise' exceptions, don't 'throw'. 2012-12-18 21:27:37 +02:00
xml Replace IOError with OSError (#16715) 2012-12-25 16:47:37 +02:00
xmlrpc Replace IOError with OSError (#16715) 2012-12-25 16:47:37 +02:00
__future__.py #14494: Document that absolute imports became default in 3.0 instead of 2.7. 2012-05-19 18:36:33 +03:00
__phello__.foo.py
_compat_pickle.py
_dummy_thread.py
_markupbase.py
_osx_support.py Replace IOError with OSError (#16715) 2012-12-25 16:47:37 +02:00
_pyio.py Replace IOError with OSError (#16715) 2012-12-25 16:47:37 +02:00
_strptime.py Issue #1667546: On platforms supporting tm_zone and tm_gmtoff fields 2012-06-13 22:15:26 -04:00
_threading_local.py
_weakrefset.py
abc.py Issue #16049: add abc.ABC helper class. 2012-12-13 19:09:33 +02:00
aifc.py Issue #16486: Make aifc files work with 'with' as context managers. 2012-12-29 22:54:49 +02:00
antigravity.py
argparse.py Replace IOError with OSError (#16715) 2012-12-25 16:47:37 +02:00
ast.py create NameConstant AST class for None, True, and False literals (closes #16619) 2012-12-06 17:41:04 -05:00
asynchat.py Issue #16787: Increase asyncore and asynchat default output buffers size, to 2013-01-01 16:31:54 +01:00
asyncore.py Issue #16787: Increase asyncore and asynchat default output buffers size, to 2013-01-01 16:31:54 +01:00
base64.py Speed up base64.urlsafe_{en,de}code(). 2012-06-22 15:16:09 -07:00
bdb.py Have Bdb frame_returning in the finally clause 2012-05-01 10:46:59 +08:00
binhex.py
bisect.py
bz2.py bz2 module: Rewrap docstrings at 72 columns, as per PEP 8. 2012-10-08 20:31:34 +02:00
cProfile.py
calendar.py #15421: fix an OverflowError in Calendar.itermonthdates() after datetime.MAXYEAR. Patch by Cédric Krier. 2012-09-21 17:26:35 +03:00
cgi.py Replace IOError with OSError (#16715) 2012-12-25 16:47:37 +02:00
cgitb.py merge #12890: don't emit <p> tags in text mode when logdir specified. 2012-10-27 14:55:25 -04:00
chunk.py Replace IOError with OSError (#16715) 2012-12-25 16:47:37 +02:00
cmd.py Issue 15337: help() shown as undocumented 2012-07-16 00:11:05 -07:00
code.py Issue #12643: Respect sys.excepthook in code.InteractiveConsole 2012-08-20 23:02:28 +10:00
codecs.py Issue16097 Fix small typo in comment (patch by Wael Al Jishi) 2012-10-01 16:41:08 +01:00
codeop.py
colorsys.py
compileall.py Replace IOError with OSError (#16715) 2012-12-25 16:47:37 +02:00
configparser.py configparser: preserve section order when using `__setitem__` (issue #16820) 2013-01-01 23:45:33 +01:00
contextlib.py Issue #16714: use 'raise' exceptions, don't 'throw'. 2012-12-18 21:26:36 +02:00
copy.py
copyreg.py
crypt.py white space cleanup 2012-06-27 15:37:47 +02:00
csv.py
datetime.py Closes #15973: fix a segmentation fault when comparing timezone objects. 2012-09-22 09:23:12 +02:00
decimal.py Merge 3.3. 2012-12-15 22:36:49 +01:00
difflib.py utilize yield from 2012-10-01 12:53:43 -07:00
dis.py Issue #11823: disassembly now shows argument counts on calls with keyword args 2012-06-07 14:28:14 -04:00
doctest.py #16522: Add FAIL_FAST flag to doctest. 2012-11-21 15:09:21 -05:00
dummy_threading.py
filecmp.py Cleanup filecmp: starting from 3.3 os.error is alias for OSError 2012-12-14 18:02:27 +02:00
fileinput.py Replace IOError with OSError (#16715) 2012-12-25 16:47:37 +02:00
fnmatch.py
formatter.py
fractions.py Issue #16469: Fraction(float('nan')) and Fraction(float('inf')) now raise ValueError and OverflowError (resp.), not TypeError. 2012-11-15 20:58:40 +00:00
ftplib.py Replace IOError with OSError (#16715) 2012-12-25 16:47:37 +02:00
functools.py Issue #12428: Add a pure Python implementation of functools.partial(). 2012-11-13 21:35:40 +01:00
genericpath.py Fix #11939. Set st_dev attribute on Windows to simplify os.path.samefile. 2012-12-26 07:03:03 -06:00
getopt.py
getpass.py Get rig of EnvironmentError (#16705) 2012-12-17 23:35:18 +02:00
gettext.py Replace IOError with OSError (#16715) 2012-12-25 16:47:37 +02:00
glob.py #16618: Make glob.glob match consistently across strings and bytes 2012-12-27 10:20:38 +01:00
gzip.py Replace IOError with OSError (#16715) 2012-12-25 16:47:37 +02:00
hashlib.py Issue #16113: integrade SHA-3 (Keccak) patch from http://hg.python.org/sandbox/cheimes 2012-10-06 02:23:36 +02:00
heapq.py
hmac.py Issue #15225: improve error message when hmac is passed a wrong key type. 2012-06-30 17:27:56 +02:00
imaplib.py Issue #16717: get rid of socket.error, replace with OSError 2012-12-18 23:10:48 +02:00
imghdr.py Replace IOError with OSError (#16715) 2012-12-25 16:47:37 +02:00
imp.py Issue #15828: Restore support for C extension modules in imp.load_module() 2012-09-01 00:13:45 +10:00
inspect.py Replace IOError with OSError (#16715) 2012-12-25 16:47:37 +02:00
io.py Replace IOError with OSError (#16715) 2012-12-25 16:47:37 +02:00
ipaddress.py Issue #15888: fixing problems in ipaddress doctests. Patch by Chris Jerdonek 2012-10-07 07:23:50 -07:00
keyword.py
linecache.py Replace IOError with OSError (#16715) 2012-12-25 16:47:37 +02:00
locale.py Issue #8767: Restore building with --disable-unicode. 2012-05-20 10:42:17 +02:00
lzma.py Issue #16034 follow-up: Apply optimizations to the lzma module. 2012-10-21 16:57:32 +02:00
macpath.py Issue #16706: get rid of os.error 2012-12-18 22:02:39 +02:00
macurl2path.py
mailbox.py Replace IOError with OSError (#16715) 2012-12-25 16:47:37 +02:00
mailcap.py Replace IOError with OSError (#16715) 2012-12-25 16:47:37 +02:00
mimetypes.py Replace IOError with OSError (#16715) 2012-12-25 16:47:37 +02:00
modulefinder.py merge with 3.3 2012-12-22 19:38:32 -05:00
netrc.py Replace IOError with OSError (#16715) 2012-12-25 16:47:37 +02:00
nntplib.py Replace IOError with OSError (#16715) 2012-12-25 16:47:37 +02:00
ntpath.py Fix #16788. Add samestat to Lib/ntpath.py 2012-12-26 08:22:00 -06:00
nturl2path.py Replace IOError with OSError (#16715) 2012-12-25 16:47:37 +02:00
numbers.py
opcode.py Issue #11823: disassembly now shows argument counts on calls with keyword args 2012-06-07 14:28:14 -04:00
optparse.py
os.py Issue #15845: Fix comparison between bytes and string. 2013-01-08 11:38:45 +02:00
pdb.py Replace IOError with OSError (#16715) 2012-12-25 16:47:37 +02:00
pickle.py Issue #12848: The pure Python pickle implementation now treats object lengths as unsigned 32-bit integers, like the C implementation does. 2012-11-24 20:41:34 +01:00
pickletools.py
pipes.py
pkgutil.py Replace IOError with OSError (#16715) 2012-12-25 16:47:37 +02:00
platform.py Replace IOError with OSError (#16715) 2012-12-25 16:47:37 +02:00
plistlib.py #14835: Make plistlib output empty arrays & dicts like OS X 2012-05-29 12:04:54 +02:00
poplib.py Issue #16717: get rid of socket.error, replace with OSError 2012-12-18 23:10:48 +02:00
posixpath.py Fix #11939. Set st_dev attribute on Windows to simplify os.path.samefile. 2012-12-26 07:03:03 -06:00
pprint.py Issues #10017 and #14998: Fix TypeError using pprint on dictionaries with unorderable key. 2012-07-21 11:17:38 +02:00
profile.py
pstats.py Replace IOError with OSError (#16715) 2012-12-25 16:47:37 +02:00
pty.py Replace IOError with OSError (#16715) 2012-12-25 16:47:37 +02:00
py_compile.py Replace IOError with OSError (#16715) 2012-12-25 16:47:37 +02:00
pyclbr.py #14798: pyclbr now raises ImportError instead of KeyError for missing packages 2012-05-18 21:59:49 +03:00
pydoc.py Replace IOError with OSError (#16715) 2012-12-25 16:47:37 +02:00
queue.py
quopri.py Replace IOError with OSError (#16715) 2012-12-25 16:47:37 +02:00
random.py Issue #15837: add some tests for random.shuffle(). 2012-11-04 02:10:33 +01:00
re.py
reprlib.py
rlcompleter.py
runpy.py Issue #16714: use 'raise' exceptions, don't 'throw'. 2012-12-18 21:27:37 +02:00
sched.py Issue #16640: Run less code under a lock in sched module. 2012-12-29 21:46:37 +02:00
shelve.py Add spaces to follow PEP8. 2012-10-06 18:38:30 +03:00
shlex.py
shutil.py Issue #16719: Get rid of WindowsError. Use OSError instead 2012-12-19 14:33:35 +02:00
site.py Replace IOError with OSError (#16715) 2012-12-25 16:47:37 +02:00
smtpd.py Issue #16717: get rid of socket.error, replace with OSError 2012-12-18 23:10:48 +02:00
smtplib.py Issue #16647: save socket error details in LMTP.connect() 2012-12-17 19:06:43 +02:00
sndhdr.py Replace IOError with OSError (#16715) 2012-12-25 16:47:37 +02:00
socket.py Replace IOError with OSError (#16715) 2012-12-25 16:47:37 +02:00
socketserver.py Merge with 3.3 2012-12-26 15:15:17 +00:00
sre_compile.py
sre_constants.py
sre_parse.py #13899: merge with 3.2. 2013-01-11 08:43:53 +02:00
ssl.py merge 3.3 (#16900) 2013-01-10 14:16:42 -06:00
stat.py #14807: move undocumented tarfile.filemode() to stat.filemode(). Add tarfile.filemode alias with deprecation warning. 2012-05-15 15:30:25 +02:00
string.py #13579: minimize code base drift for 'a' string.Formatter change. 2012-08-19 17:57:29 -04:00
stringprep.py
struct.py
subprocess.py Replace IOError with OSError (#16715) 2012-12-25 16:47:37 +02:00
sunau.py
symbol.py
symtable.py
sysconfig.py Replace IOError with OSError (#16715) 2012-12-25 16:47:37 +02:00
tabnanny.py Replace IOError with OSError (#16715) 2012-12-25 16:47:37 +02:00
tarfile.py Replace IOError with OSError (#16715) 2012-12-25 16:47:37 +02:00
telnetlib.py Issue #16717: get rid of socket.error, replace with OSError 2012-12-18 23:10:48 +02:00
tempfile.py Issue #16860: In tempfile, use O_CLOEXEC when available to set the 2013-01-04 18:33:02 +01:00
textwrap.py Close #13857: Added textwrap.indent() function (initial patch by Ezra 2012-06-11 23:07:51 +10:00
this.py
threading.py Fix #15567. collections.deque wasn't imported 2012-08-09 23:04:42 -05:00
timeit.py Add an option to timeit to use time.process_time() and mark -t and -c as deprecated. 2012-05-01 11:56:22 +02:00
token.py Replace IOError with OSError (#16715) 2012-12-25 16:47:37 +02:00
tokenize.py Replace IOError with OSError (#16715) 2012-12-25 16:47:37 +02:00
trace.py Replace IOError with OSError (#16715) 2012-12-25 16:47:37 +02:00
traceback.py Issue #16714: use 'raise' exceptions, don't 'throw'. 2012-12-18 21:27:37 +02:00
tty.py
turtle.py
types.py Eric Snow's implementation of PEP 421. 2012-06-03 16:18:47 -04:00
uu.py
uuid.py Replace IOError with OSError (#16715) 2012-12-25 16:47:37 +02:00
warnings.py Replace IOError with OSError (#16715) 2012-12-25 16:47:37 +02:00
wave.py Closes #16461: Wave library should be able to deal with 4GB wav files, and sample rate of 44100 Hz. 2012-11-17 03:41:54 +01:00
weakref.py Issue #14631: Add a new :class:`weakref.WeakMethod` to simulate weak references to bound methods. 2012-11-17 18:57:38 +01:00
webbrowser.py Replace IOError with OSError (#16715) 2012-12-25 16:47:37 +02:00
xdrlib.py Merge: change docstring for xdrlib.Error to use new style exceptions. 2012-11-01 13:43:31 +02:00
zipfile.py Replace IOError with OSError (#16715) 2012-12-25 16:47:37 +02:00