Staging
v0.5.1
v0.5.1
https://github.com/python/cpython
Revision 94ee389308ec9e0e07b3f7a944d5179aba540c5e authored by Serhiy Storchaka on 24 February 2014, 12:43:03 UTC, committed by Serhiy Storchaka on 24 February 2014, 12:43:03 UTC
str.encode, bytes.decode and bytearray.decode now use an internal API to throw LookupError for known non-text encodings, rather than attempting the encoding or decoding operation and then throwing a TypeError for an unexpected output type. The latter mechanism remains in place for third party non-text encodings. Backported changeset d68df99d7a57.
1 parent 20f8728
Tip revision: 94ee389308ec9e0e07b3f7a944d5179aba540c5e authored by Serhiy Storchaka on 24 February 2014, 12:43:03 UTC
Issue #19619: Blacklist non-text codecs in method API
Issue #19619: Blacklist non-text codecs in method API
Tip revision: 94ee389
File | Mode | Size |
---|---|---|
_ctypes.dsp | -rw-r--r-- | 4.8 KB |
_ctypes_test.dsp | -rw-r--r-- | 4.1 KB |
_elementtree.dsp | -rw-r--r-- | 4.6 KB |
_msi.dsp | -rw-r--r-- | 4.1 KB |
_multiprocessing.dsp | -rw-r--r-- | 4.4 KB |
_socket.dsp | -rw-r--r-- | 4.0 KB |
_sqlite3.dsp | -rw-r--r-- | 4.9 KB |
_ssl.dsp | -rw-r--r-- | 2.4 KB |
_ssl.mak | -rw-r--r-- | 713 bytes |
_testcapi.dsp | -rw-r--r-- | 4.1 KB |
_tkinter.dsp | -rw-r--r-- | 4.3 KB |
build_ssl.py | -rw-r--r-- | 8.2 KB |
build_tkinter.py | -rw-r--r-- | 2.0 KB |
bz2.dsp | -rw-r--r-- | 3.9 KB |
make_versioninfo.dsp | -rw-r--r-- | 4.2 KB |
pcbuild.dsw | -rw-r--r-- | 5.6 KB |
pyexpat.dsp | -rw-r--r-- | 4.5 KB |
python.dsp | -rw-r--r-- | 3.8 KB |
pythoncore.dsp | -rw-r--r-- | 16.8 KB |
pythonw.dsp | -rw-r--r-- | 3.9 KB |
readme.txt | -rw-r--r-- | 6.8 KB |
rmpyc.py | -rw-r--r-- | 600 bytes |
rt.bat | -rwxr-xr-x | 1.4 KB |
select.dsp | -rw-r--r-- | 4.1 KB |
tcl852.patch | -rw-r--r-- | 428 bytes |
unicodedata.dsp | -rw-r--r-- | 4.1 KB |
w9xpopen.dsp | -rw-r--r-- | 3.5 KB |
winsound.dsp | -rw-r--r-- | 3.9 KB |
![swh spinner](/static/img/swh-spinner.gif)
Computing file changes ...