cpython/Lib
Senthil Kumaran 88249b80d7 merge from 3.3
Fix thishost helper funtion in urllib. Returns the ipaddress of localhost when
hostname is resolvable by socket.gethostname for local machine. This all fixes
certain freebsd builtbot failures.
2013-06-01 11:12:52 -07:00
..
collections Issue #17900: Allowed pickling of recursive OrderedDicts. Decreased pickled 2013-05-21 12:47:57 +03:00
concurrent Merge 3.3, issue #17047: remove doubled words found in 2.7 to 2013-03-11 17:59:07 -04:00
ctypes - Issue #17754: Make ctypes.util.find_library() independent of the locale. 2013-05-15 18:04:50 +02:00
curses Fix docstring in curses (#16782) 2012-12-29 23:09:32 +02:00
dbm Replace IOError with OSError (#16715) 2012-12-25 16:47:37 +02:00
distutils Issue #18080: merge from 3.3 2013-05-28 16:45:06 -07:00
email Issue #17516: use comment syntax for comments, instead of multiline string 2013-03-26 01:11:54 +01:00
encodings Add fast-path in PyUnicode_DecodeCharmap() for pure 8 bit encodings: 2013-04-09 21:53:09 +02:00
html #17802: merge with 3.3. 2013-05-01 16:20:00 +03:00
http Issue #16658: add missing return to HTTPConnection.send(). 2013-04-12 22:50:42 +03:00
idlelib Merge with 3.3 2013-05-28 22:22:14 -04:00
importlib fix whitespace 2013-05-31 18:57:45 -04:00
json #16057: Clarify why the base method default is called in custom encoders. 2013-03-17 22:06:18 -04:00
lib2to3 Merge 3.3, issue #17047: remove doubled words found in 2.7 to 2013-03-11 17:59:07 -04:00
logging Closes #18046: Simplified logging internals relating to levels and their names. Thanks to Alex Gaynor for the patch. 2013-05-25 03:20:34 -07:00
msilib Issue #17047: remove doubled words found in 2.7 to 3.4 Lib/*, 2013-03-11 17:57:08 -04:00
multiprocessing Issue #17914: Add os.cpu_count(). Patch by Yogesh Chaudhari, based on an 2013-05-20 14:40:46 +02:00
plat-aix4
plat-darwin
plat-freebsd4
plat-freebsd5
plat-freebsd6
plat-freebsd7
plat-freebsd8
plat-generic - Issue #17086: Backport the patches from the 3.3 branch to cross-build 2013-01-31 23:52:03 +01:00
plat-linux Close #12326: sys.platform is now always 'linux' on Linux 2011-08-20 23:39:26 +02:00
plat-netbsd1
plat-next3
plat-sunos5
plat-unixware7
pydoc_data update pydoc topics 2013-03-23 10:15:25 -05:00
site-packages
sqlite3 Issue #14720: Enhance sqlite3 microsecond conversion, document its behavior 2013-02-26 21:46:12 +02:00
test frozen modules now apparently have empty __path__ 2013-05-31 22:18:26 -07:00
tkinter Fix usage of the unittest.skip decorator. 2013-03-19 13:27:24 +02:00
turtledemo #12677: correct turtle orientation in doc 2011-08-07 17:12:19 +02:00
unittest clean the environment from pre-existing PYTHONWARNINGS for test_warnings 2013-04-24 01:51:42 +02:00
urllib merge from 3.3 2013-06-01 11:12:52 -07:00
venv Closes #17743: Merged fix from 3.3. 2013-05-20 15:39:11 -07:00
wsgiref Issue #16714: use 'raise' exceptions, don't 'throw'. 2012-12-18 21:27:37 +02:00
xml Get rid of ugly code duplication for ElementTree.parse when the accelerator 2013-05-19 18:47:23 -07: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 #13576: add tests about the handling of (possibly broken) condcoms. 2011-12-19 07:29:03 +02:00
_osx_support.py Issue #13590: OS X Xcode 4 - improve support for universal extension modules 2013-01-31 01:28:23 -08:00
_pyio.py Issue #17516: remove dead code 2013-03-26 01:14:35 +01:00
_strptime.py #17572: merge with 3.3. 2013-04-04 02:16:27 +03:00
_threading_local.py
_weakrefset.py Issue #14195: Make WeakSet.__lt__ and WeakSet.__gt__ irreflexive. 2012-03-04 22:15:38 -06:00
abc.py Fix #16832 - expose cache validity checking support in ABCMeta 2013-05-25 18:41:50 +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 Issue #17047: remove doubled words added in 3.4, 2013-03-11 18:38:13 -04: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 Do not raise exception on close() on account of socket attribute still being None: 2013-04-09 17:21:25 +02:00
base64.py Issue #18011: Silence an unrelated noise introduced in changeset 1b5ef05d6ced. 2013-05-28 15:42:34 +03: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
calendar.py Issue #17049: Localized calendar methods now return unicode if a locale 2013-01-31 15:57:51 +02:00
cgi.py merge from 3.3 2013-01-23 03:01:23 -08: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 fix character index in ExtendedInterpolation's exception message 2013-04-24 01:25:55 +02:00
contextlib.py Issue #15806: Add contextlib.ignored(). 2013-03-10 22:26:51 -07:00
copy.py #11572: improvements to copy module tests along with removal of old test suite 2011-08-05 23:05:35 +02:00
copyreg.py Closes #13258: Use callable() built-in in the standard library. 2011-10-28 14:45:05 +02:00
cProfile.py Fix #17197: profile/cProfile modules refactored so that code of run() and runctx() utility functions is not duplicated in both modules. 2013-02-25 11:36:40 +01:00
crypt.py white space cleanup 2012-06-27 15:37:47 +02:00
csv.py
datetime.py #17571: merge with 3.3. 2013-04-13 20:12:53 +03:00
decimal.py Merge 3.3. 2013-05-29 15:47:24 +02:00
difflib.py Issue #13248: removed deprecated and undocumented difflib.isbjunk, isbpopular. 2013-03-19 19:44:04 -04:00
dis.py Issue #11816: multiple improvements to the dis module 2013-05-06 23:59:20 +10:00
doctest.py #17115,17116: Have modules initialize the __package__ and __loader__ 2013-05-04 13:56:58 -04:00
dummy_threading.py
filecmp.py Close #15442: Expand the list of default directories ignored by filecmp.dircmp and expose it as a module attribute 2013-01-12 06:13:32 -08:00
fileinput.py Replace IOError with OSError (#16715) 2012-12-25 16:47:37 +02:00
fnmatch.py Set cache sizes to a power-of-two 2013-02-17 01:33:37 -08:00
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 ftplib: update connect() docstring by mentioning 'timeout' argument 2013-04-26 15:23:43 +02:00
functools.py merge 2013-03-08 23:04:47 -08: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 #17484: add tests for getpass. 2013-04-08 01:48:22 -04:00
gettext.py Replace IOError with OSError (#16715) 2012-12-25 16:47:37 +02:00
glob.py Issue #16695: Document how glob handles filenames starting with a dot 2013-02-23 19:56:15 +01:00
gzip.py Back out patch for #1159051, which caused backwards compatibility problems. 2013-05-12 11:57:26 +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 Issue #16098: Update heapq.nsmallest to use the same algorithm as nlargest. 2013-03-05 02:15:01 -05:00
hmac.py Issue #16694: Add a pure Python implementation of the operator module. 2013-04-20 19:21:44 +02:00
imaplib.py Merge: #17443: Fix buffering in IMAP4_stream. 2013-03-19 13:56:54 -04:00
imghdr.py Replace IOError with OSError (#16715) 2012-12-25 16:47:37 +02:00
imp.py Issue #15902: Fix imp.load_module() to accept None as a file when 2013-05-03 10:37:08 -04:00
inspect.py #17115,17116: Have modules initialize the __package__ and __loader__ 2013-05-04 13:56:58 -04:00
io.py Replace IOError with OSError (#16715) 2012-12-25 16:47:37 +02:00
ipaddress.py Fix a few typos and a double semicolon. Patch by Eitan Adler. 2013-01-27 06:20:14 +02:00
keyword.py 17830: preserve line endings of original file when updating keywords. 2013-04-25 12:01:36 -04:00
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 modernize some modules' code by replacing OSError->ENOENT/ENOTDIR/EPERM/EEXIST occurrences with the corresponding pep-3151 exceptions (FileNotFoundError, NotADirectoryError, etc.) 2013-02-12 15:14:17 +01:00
mailcap.py Replace IOError with OSError (#16715) 2012-12-25 16:47:37 +02:00
mimetypes.py Issue #16316: mimetypes now recognizes the .xz and .txz (.tar.xz) extensions. 2013-05-04 15:12:55 +03: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 Update docstring with more useful text (from the PEP) 2012-02-26 01:37:47 +01:00
opcode.py rather than passing locals to the class body, just execute the class body in the proper environment 2013-05-16 14:37:25 -05:00
operator.py #16523: merge with 3.3. 2013-05-08 10:56:32 +03:00
optparse.py Merge 3.2 2011-10-28 14:52:29 +02:00
os.py Correction for 4f82b6cfee46. 2013-05-07 14:36:51 +01:00
pdb.py Replace IOError with OSError (#16715) 2012-12-25 16:47:37 +02:00
pickle.py Merge 3.3 2013-04-20 13:25:55 -07:00
pickletools.py Merge 3.3 2013-04-14 03:44:47 -07:00
pipes.py Merge doc changes from 3.2 (#10454, #12298) 2011-09-02 00:03:20 +02:00
pkgutil.py Merge fix for #16163 from 3.3 2013-04-14 23:01:11 +10:00
platform.py Replace IOError with OSError (#16715) 2012-12-25 16:47:37 +02:00
plistlib.py Ensure that plistlib doesn't corrupt deeply nested datastructures 2013-04-23 13:47:22 +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 posixpath.realpath() for multiple pardirs (fixes issue #6975). 2013-02-18 12:22:05 +02:00
pprint.py Issue #17150: pprint now uses line continuations to wrap long string literals. 2013-03-23 20:30:39 +01:00
profile.py Fix #17197: profile/cProfile modules refactored so that code of run() and runctx() utility functions is not duplicated in both modules. 2013-02-25 11:36:40 +01:00
pstats.py modernize some modules' code by using with statement around open() 2013-02-12 02:04:27 +01:00
pty.py #18066: remove vestigial code depending on the sgi module 2013-06-01 13:52:30 -04:00
py_compile.py Issue #17244: Don't mask exceptions raised during the creation of 2013-04-14 12:48:15 -04:00
pyclbr.py #14798: pyclbr now raises ImportError instead of KeyError for missing packages 2012-05-18 21:59:49 +03:00
pydoc.py #11182: remove the unused and undocumented pydoc.Scanner class. Patch by Martin Morrison. 2013-04-19 02:53:12 +03:00
queue.py Issue #14428, #14397: Implement the PEP 418 2012-04-29 02:41:27 +02:00
quopri.py Replace IOError with OSError (#16715) 2012-12-25 16:47:37 +02:00
random.py Revert changes for #13355 by request from Raymond Hettinger 2013-04-13 18:04:19 +03:00
re.py Issue #16564: Fixed a performance regression relative to Python 3.1 in the 2013-03-16 22:53:48 +02: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 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 Revert "Issue #16121: Fix line number accounting in shlex" 2013-02-23 23:12:35 +01:00
shutil.py - Issue #17012: shutil.which() no longer fallbacks to the PATH environment 2013-04-16 11:18:18 -04:00
site.py Issue #5845: avoid an exception at startup on OS X if no .editrc file exists. 2013-05-06 15:39:31 +02:00
smtpd.py modernize some modules' code by replacing OSError->ENOENT/ENOTDIR/EPERM/EEXIST occurrences with the corresponding pep-3151 exceptions (FileNotFoundError, NotADirectoryError, etc.) 2013-02-12 15:14:17 +01:00
smtplib.py #2118: IOError is deprecated, use OSError. 2013-04-14 06:46:35 -04:00
sndhdr.py #5024: whichhdr now returns the frame count for WAV files. 2013-03-18 17:42:42 -04:00
socket.py Fix issue #17675: make socket repr() provide local and remote addresses (if any). 2013-04-10 15:49:47 +02:00
socketserver.py Merge with 3.3 2012-12-26 15:15:17 +00:00
sre_compile.py Issue #17516: remove dead code 2013-03-26 01:14:35 +01:00
sre_constants.py Fix issue #13169: Reimport MAXREPEAT into sre_constants.py. 2013-02-18 11:14:21 +02:00
sre_parse.py #17341: Include name in re error message about invalid group name. 2013-04-14 13:00:54 -04:00
ssl.py Issue #17980: Fix possible abuse of ssl.match_hostname() for denial of service using certificates with many wildcards (CVE-2013-2099). 2013-05-18 17:59:12 +02: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 Issue #17804: New function `struct.iter_unpack` allows for streaming struct unpacking. 2013-04-27 00:20:04 +02:00
subprocess.py Issue #16624: subprocess.check_output now accepts an input argument, 2013-04-22 20:20:54 +03:00
sunau.py
symbol.py remain symbol.main to symbol._main mirroring token.py 2013-02-05 10:13:22 -05:00
symtable.py modernize some modules' code by using with statement around open() 2013-02-12 02:04:27 +01:00
sysconfig.py backout 66e30c4870bb for breaking OSX (#13150) 2013-03-22 09:37:13 -05:00
tabnanny.py Replace IOError with OSError (#16715) 2012-12-25 16:47:37 +02:00
tarfile.py Issue #16601: Restarting iteration over tarfile no more continues from where 2013-05-09 14:36:58 +03:00
telnetlib.py Issue #16717: get rid of socket.error, replace with OSError 2012-12-18 23:10:48 +02:00
tempfile.py Fix deprecation warning in tempfile. 2013-02-23 08:16:07 +02: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 Issue #11714: Use 'with' statements to assure a Semaphore releases a 2013-04-22 22:54:16 +03:00
timeit.py Issue #17414: Add timeit, repeat, and default_timer to timeit.__all__. 2013-03-15 03:04:25 -04: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 #17143: merge with 3.3. 2013-02-15 21:22:22 +02:00
traceback.py refactor traceback.py to reduce code duplication (closes #17646) 2013-04-29 16:09:39 -04:00
tty.py
turtle.py Merge 3.3, issue #17047: remove doubled words found in 2.7 to 2013-03-11 17:59:07 -04:00
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 Issue #18084: Use sys.byteorder in wave.py. 2013-05-29 23:38:00 +03:00
weakref.py Issue #15528: Add weakref.finalize to support finalization using 2013-05-05 23:05:00 +01:00
webbrowser.py - Issue #17536: Add to webbrowser's browser list: www-browser, x-www-browser, 2013-03-24 18:50:23 +01:00
xdrlib.py Merge: change docstring for xdrlib.Error to use new style exceptions. 2012-11-01 13:43:31 +02:00
zipfile.py Refactor recently added bugfix into more testable code by using a 2013-02-03 00:37:36 -08:00