cpython/Lib
Victor Stinner 292c835548 Issue #15478: Raising an OSError doesn't decode or encode the filename anymore
Pass the original filename argument to OSError constructor, instead of trying
to encode it to or decode it from the filesystem encoding. This change avoids
an additionnal UnicodeDecodeError on Windows if the filename cannot be decoded
from the filesystem encoding (ANSI code page).
2012-10-30 02:17:38 +01:00
..
collections utilize yield from 2012-10-01 12:53:43 -07:00
concurrent Fix concurrent.futures docstring typo: "Request Q" -> "Result Q". 2012-10-20 13:16:49 +01:00
ctypes Issue #16169: Fix ctypes.WinError()'s confusion between errno and winerror 2012-10-09 13:28:10 +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 #16135: Removal of OS/2 support (Remove OS2 and OS/2 references) 2012-10-05 02:48:46 +02:00
distutils Closes #16116: Merged fix from 3.3. 2012-10-23 20:27:43 +01:00
email utilize yield from 2012-10-01 12:53:43 -07: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 #16088: BaseHTTPRequestHandler's send_error method includes a 2012-10-10 23:16:21 -07:00
idlelib Issue #15853: merge 3.3 -> default 2012-10-22 15:20:13 -07:00
importlib Merge fix from #6074 from 3.3 2012-10-19 23:36:15 +10:00
json Merge issue #14570: Document json sort_keys parameter properly. 2012-10-28 14:11:21 +02:00
lib2to3 Issue #16120: Use |yield from| in stdlib. 2012-10-06 17:11:45 +03:00
logging remove obsolete hasattr() check for socket.sendall 2012-10-26 18:32:24 +02:00
msilib Remove duplication. 2011-10-19 10:58:56 +03:00
multiprocessing Merge 3.3 2012-10-27 12:56:30 +02:00
plat-aix4
plat-darwin
plat-freebsd4 Merged revisions 78644 via svnmerge from 2010-03-04 02:11:41 +00:00
plat-freebsd5 Merged revisions 78644 via svnmerge from 2010-03-04 02:11:41 +00:00
plat-freebsd6 Merged revisions 78644 via svnmerge from 2010-03-04 02:11:41 +00:00
plat-freebsd7 Merged revisions 78644 via svnmerge from 2010-03-04 02:11:41 +00:00
plat-freebsd8 Merged revisions 78644 via svnmerge from 2010-03-04 02:11:41 +00:00
plat-generic
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 Merged revisions 78678,78680,78682 via svnmerge from 2010-03-05 03:33:11 +00:00
plat-unixware7
pydoc_data Update pydoc topics and suspicious markup file. 2012-08-25 12:14:59 +02:00
site-packages
sqlite3 Merge branch '3.2' 2012-02-21 13:59:40 +02:00
test Issue #15478: Raising an OSError doesn't decode or encode the filename anymore 2012-10-30 02:17:38 +01:00
tkinter Issue #14446: Remove deprecated tkinter functions 2012-10-04 22:10:09 +03:00
turtledemo #12677: correct turtle orientation in doc 2011-08-07 17:12:19 +02:00
unittest merge 3.3 2012-10-09 11:16:13 -04:00
urllib Issue #16250: Fix URLError invocation with proper args 2012-10-27 02:48:21 -07:00
venv Closes #16340: Merged fix from 3.3. 2012-10-28 12:40:20 +00:00
wsgiref Issue #16220: wsgiref now always calls close() on an iterable response. 2012-10-21 14:14:34 +02:00
xml Issue #16089: Allow ElementTree.TreeBuilder to work again with a non-Element element_factory (fixes a regression in SimpleTAL). 2012-10-04 19:54:53 +02:00
xmlrpc Merge 3.2 2012-03-05 16:24:07 +01: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 Issue #11223: Replace threading._info() by sys.thread_info 2011-04-30 14:53:09 +02:00
_markupbase.py #13576: add tests about the handling of (possibly broken) condcoms. 2011-12-19 07:29:03 +02:00
_osx_support.py #16135: Removal of OS/2 support (Python code partial cleanup) 2012-10-05 03:15:39 +02:00
_pyio.py Issue #15841: The readable(), writable() and seekable() methods of BytesIO 2012-09-05 20:13:48 +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 Issue #9707: Rewritten reference implementation of threading.local which 2010-09-07 22:06:17 +00:00
_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 utilize yield from 2012-10-01 12:53:43 -07:00
ast.py remove ast.__version__ (closes #12273) 2011-07-15 21:10:13 -05:00
asynchat.py asynchat speedup improvement: avoid to use a function mimicking old buffer() builtin behavior; instead use plain slicing 2012-08-04 14:38:16 +02:00
asyncore.py merge 79422b3684f1 in 3.3 branch (issue 10340) 2012-03-22 16:19:45 +01:00
base64.py Speed up base64.urlsafe_{en,de}code(). 2012-06-22 15:16:09 -07:00
bdb.py issue13183 - Fix pdb skipping frames after hitting a breakpoint and running step. Patch by Xavier de Gaye 2012-05-01 10:07:49 +08:00
binhex.py remove unused imports (closes #12432) 2011-06-28 10:25:04 -05:00
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 #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 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 merge #12890: don't emit <p> tags in text mode when logdir specified. 2012-10-27 14:55:25 -04:00
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 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 Merged revisions 75472 via svnmerge from 2009-10-18 00:34:08 +00:00
colorsys.py
compileall.py #10454: a few edits to compileall help messages 2011-09-01 20:00:33 +02:00
configparser.py Fixes #14590: ConfigParser doesn't strip inline comment when delimiter occurs 2012-07-07 18:54:08 +02:00
contextlib.py Close #14969: Improve the handling of exception chaining in contextlib.ExitStack 2012-06-01 22:48:32 +10: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 Merged revisions 82805-82806,83523-83527,83536,83538,83542,83546-83548,83550-83555,83558,83560 via svnmerge from 2010-10-06 08:26:09 +00:00
crypt.py white space cleanup 2012-06-27 15:37:47 +02:00
csv.py #11565: Merge with 3.1. 2011-03-16 11:35:38 +02:00
datetime.py Closes #15973: fix a segmentation fault when comparing timezone objects. 2012-09-22 09:23:12 +02:00
decimal.py Issue #15544: Fix Decimal.__float__ to work with payload-carrying NaNs. 2012-08-24 19:32:13 +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 Merge #14649: clarify DocTestSuite error when there are no docstrings. 2012-09-10 10:16:46 -04:00
dummy_threading.py
filecmp.py Issue 11802: filecmp cache was growing without bound. 2011-06-25 17:20:21 +02:00
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 Make Fraction(-1).__hash__() return -2 rather than -1 (see issue 10356). 2010-11-13 10:27:38 +00:00
ftplib.py fix #13563: make use of with statement in ftplib.py where needed 2011-12-10 21:25:04 +01:00
functools.py Separate key creation logic from the sequence class that memoizes its hash value. 2012-06-04 00:21:14 -07:00
genericpath.py Merged revisions 78018,78035-78040,78042-78043,78046,78048-78052,78054,78059,78075-78080 via svnmerge from 2010-03-14 10:23:39 +00:00
getopt.py Issue #11621: fix bootstrap issue with getopt/gettext (following d3e46930ffe9) 2011-03-21 16:04:06 +01:00
getpass.py Remove redundant imports. 2011-11-04 08:29:17 +01:00
gettext.py Implemented PEP 405 (Python virtual environments). 2012-05-26 03:45:29 +01:00
glob.py utilize yield from 2012-10-01 12:53:43 -07:00
gzip.py Issue #15800: fix the closing of input / output files when gzip is used as a script. 2012-08-30 00:30:14 +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 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 Issue #15225: improve error message when hmac is passed a wrong key type. 2012-06-30 17:27:56 +02:00
imaplib.py Issues #11024: Fixes and additional tests for Time2Internaldate. 2012-06-22 21:03:39 -04:00
imghdr.py
imp.py Issue #15828: Restore support for C extension modules in imp.load_module() 2012-09-01 00:13:45 +10:00
inspect.py Issue #15401: Fix typo in inspect.getclosurevars docstring. 2012-07-19 21:33:21 -05:00
io.py merge 3.2 2012-05-07 22:24:05 -04:00
ipaddress.py Issue #15888: fixing problems in ipaddress doctests. Patch by Chris Jerdonek 2012-10-07 07:23:50 -07:00
keyword.py Fix instructions on how to rebuild some modules 2011-11-29 16:45:34 +01:00
linecache.py Issue #10335: Add tokenize.open(), detect the file encoding using 2010-11-09 01:08:59 +00:00
locale.py Fix last remaining references to ex-devguide 2011-11-29 16:36:17 +01:00
lzma.py Issue #16034 follow-up: Apply optimizations to the lzma module. 2012-10-21 16:57:32 +02:00
macpath.py Issue #767645: Set os.path.supports_unicode_filenames to True on Mac OS X 2010-09-13 19:41:36 +00:00
macurl2path.py
mailbox.py #16135: Removal of OS/2 support (Python code partial cleanup) 2012-10-05 03:15:39 +02:00
mailcap.py Fix #9923: mailcap now uses the OS path separator for the MAILCAP envvar. Not backported, since it could break cases where people worked around the old POSIX-specific behaviour on non-POSIX platforms. 2011-08-28 00:17:31 +10:00
mimetypes.py Issue #16316: mimetypes now recognizes the .xz and .txz (.tar.xz) extensions. 2012-10-28 14:52:34 +01:00
modulefinder.py Issue #13959: Deprecate imp.get_suffixes() for new attributes on 2012-05-11 12:58:42 -04:00
netrc.py fix regression in netrc comment handling (closes #12009) 2011-06-10 11:32:52 -05:00
nntplib.py #1079: Fix parsing of encoded words. 2012-06-02 17:56:49 -04:00
ntpath.py #16135: Removal of OS/2 support (Remove OS2 and OS/2 references) 2012-10-05 02:48:46 +02:00
nturl2path.py Fix Issue11474 - fix url2pathname() handling of '/C|/' on Windows 2011-04-14 13:16:30 +08:00
numbers.py improve abstract property support (closes #11610) 2011-12-15 15:34:02 -05:00
opcode.py Issue #11823: disassembly now shows argument counts on calls with keyword args 2012-06-07 14:28:14 -04:00
optparse.py Merge 3.2 2011-10-28 14:52:29 +02:00
os.py merge 3.3 2012-10-09 11:16:13 -04:00
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 Merge doc changes from 3.2 (#10454, #12298) 2011-09-02 00:03:20 +02:00
pkgutil.py Issue #16120: Use |yield from| in stdlib. 2012-10-07 23:21:15 +03:00
platform.py merge 3.2 2012-10-12 12:04:32 -04:00
plistlib.py #14835: Make plistlib output empty arrays & dicts like OS X 2012-05-29 12:04:54 +02:00
poplib.py Issue 11291: poplib suppresses errors on QUIT. 2011-02-25 22:28:24 +00:00
posixpath.py Merge #15342: Add clarifying sentence to posixpath.join docstring. 2012-07-21 14:34:51 -04: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 Issue #14428: Use the new time.perf_counter() and time.process_time() functions 2012-04-29 03:01:20 +02:00
pstats.py Merge issue #14900: Add aliases for sorting params for pstat to follow column names from pstat output. 2012-10-07 19:19:17 +03:00
pty.py pty.spawn() now returns the child process status as returned by os.waitpid(). 2012-09-29 12:41:03 -07: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 #14798: pyclbr now raises ImportError instead of KeyError for missing packages 2012-05-18 21:59:49 +03:00
pydoc.py merge 3.3 2012-10-09 11:16:13 -04:00
queue.py Issue #14428, #14397: Implement the PEP 418 2012-04-29 02:41:27 +02:00
quopri.py convert shebang lines: python -> python3 2010-03-11 22:53:45 +00:00
random.py Issue #14926: merge with 3.2 2012-06-02 19:40:20 +02:00
re.py #14236: merge with 3.2. 2012-04-29 13:37:13 +03: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 Close #15386: There was a loophole that meant importlib.machinery and imp would sometimes reference an uninitialised copy of importlib._bootstrap 2012-07-20 23:40:09 +10:00
sched.py Close #14690: Use monotonic clock instead of system clock in the sched, 2012-05-30 13:30:32 +02:00
shelve.py Add spaces to follow PEP8. 2012-10-06 18:38:30 +03:00
shlex.py #9723: refactor regex. 2011-08-16 19:03:41 +03:00
shutil.py Closes #1492704: Make shutil.copyfile() raise a distinct SameFileError 2012-10-07 12:49:58 +02:00
site.py #16135: Removal of OS/2 support (Python code partial cleanup) 2012-10-05 03:15:39 +02:00
smtpd.py #8739: upgrade smtpd to RFC 5321 and 1870. 2012-05-26 14:33:59 -04:00
smtplib.py #12448: merge with 3.2. 2011-10-18 13:26:49 +03:00
sndhdr.py Merged revisions 82856-82857 via svnmerge from 2010-07-13 23:19:20 +00:00
socket.py Issue #15842: the SocketIO.{readable,writable,seekable} methods now raise ValueError when the file-like object is closed. 2012-09-14 17:30:31 +02:00
socketserver.py #11109: clean up docs, add whatsnew entry, and fix Justin's last name. 2012-10-01 21:43:46 -04: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 Issue #3665: \u and \U escapes are now supported in unicode regular expressions. 2012-06-23 13:29:19 +02:00
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 #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 Merge #13579: teach string.Formatter about 'a'. 2012-08-19 17:45:40 -04:00
stringprep.py
struct.py Issue #11081: Fixed struct.__all__. Reviewed by Georg Brandl. 2011-01-31 19:27:55 +00:00
subprocess.py Fixes Issue #16114: The subprocess module no longer provides a 2012-10-10 03:44:47 -07:00
sunau.py Issue #10265: Close file objects explicitly in sunau. Patch by Brian Brazil. 2010-10-31 21:27:04 +00:00
symbol.py Fix instructions on how to rebuild some modules 2011-11-29 16:45:34 +01:00
symtable.py
sysconfig.py Merge issue #15298. 2012-10-17 18:05:27 -04:00
tabnanny.py Fix #12811 by closing files promptly in tabnanny.check. Patch by Anthony Briggs. 2011-08-22 16:19:19 +10:00
tarfile.py #16135: Removal of OS/2 support (Python code partial cleanup) 2012-10-05 03:15:39 +02:00
telnetlib.py Fixes Issue #14635: telnetlib will use poll() rather than select() when possible 2012-07-15 23:42:26 -07:00
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 Close #13857: Added textwrap.indent() function (initial patch by Ezra 2012-06-11 23:07:51 +10:00
this.py
threading.py Issue #14428, #14397: Implement the PEP 418 2012-04-29 02:41:27 +02: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 Issue #9260: A finer-grained import lock. 2012-05-17 18:55:59 +02:00
tokenize.py Merge branch 2012-07-07 12:26:56 +02:00
trace.py trace: remove unused imports. 2012-07-07 17:03:52 +02:00
traceback.py utilize yield from 2012-10-01 12:53:43 -07:00
tty.py
turtle.py Issue #13439: Merge branch 3.2 2011-12-02 21:25:39 +02:00
types.py Eric Snow's implementation of PEP 421. 2012-06-03 16:18:47 -04:00
uu.py Merged revisions 86037 via svnmerge from 2010-10-31 16:06:55 +00:00
uuid.py Issue #15118: Change return value of os.uname() and os.times() from 2012-06-24 04:33:36 -07:00
warnings.py Closes #13258: Use callable() built-in in the standard library. 2011-10-28 14:45:05 +02:00
wave.py Issue #10783: struct.pack() doesn't encode implicitly unicode to UTF-8 2010-12-28 13:26:42 +00:00
weakref.py utilize yield from 2012-10-01 12:53:43 -07:00
webbrowser.py #16135: Removal of OS/2 support (Remove OS2 and OS/2 references) 2012-10-05 02:48:46 +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 On behalf of Nadeem Vawda: issue #10376: micro-optimize reading from a Zipfile. 2012-06-23 16:44:48 +02:00