Revision 7d93221a5c159ce506b2a557777d1a1751c7f743 authored by R. David Murray on 05 May 2010, 17:31:03 UTC, committed by R. David Murray on 05 May 2010, 17:31:03 UTC
Yukihiro Nakadaira noticed a typo in encode_7or8bit that was trying
to special case iso-2022 codecs.  It turns out that the code in
question is never used, because whereas it was designed to trigger
if the payload encoding was eight bit but its output encoding was
7 bit, in practice the payload is always converted to the 7bit
encoding before encode_7or8bit is called.  Patch by Shawat Anand.
1 parent b26dc46
History
File Mode Size
Python-ast.c -rw-r--r-- 257.9 KB
_warnings.c -rw-r--r-- 25.7 KB
asdl.c -rw-r--r-- 1.2 KB
ast.c -rw-r--r-- 107.0 KB
atof.c -rw-r--r-- 815 bytes
bltinmodule.c -rw-r--r-- 72.8 KB
ceval.c -rw-r--r-- 117.3 KB
codecs.c -rw-r--r-- 20.8 KB
compile.c -rw-r--r-- 92.9 KB
dtoa.c -rw-r--r-- 79.3 KB
dup2.c -rw-r--r-- 685 bytes
dynload_aix.c -rw-r--r-- 4.9 KB
dynload_atheos.c -rw-r--r-- 1.0 KB
dynload_beos.c -rw-r--r-- 6.3 KB
dynload_dl.c -rw-r--r-- 561 bytes
dynload_hpux.c -rw-r--r-- 1.3 KB
dynload_next.c -rw-r--r-- 3.4 KB
dynload_os2.c -rw-r--r-- 1020 bytes
dynload_shlib.c -rw-r--r-- 3.2 KB
dynload_stub.c -rw-r--r-- 202 bytes
dynload_win.c -rw-r--r-- 7.7 KB
errors.c -rw-r--r-- 18.6 KB
formatter_string.c -rw-r--r-- 652 bytes
formatter_unicode.c -rw-r--r-- 512 bytes
frozen.c -rw-r--r-- 1.2 KB
frozenmain.c -rw-r--r-- 1.3 KB
future.c -rw-r--r-- 3.7 KB
getargs.c -rw-r--r-- 45.1 KB
getcompiler.c -rw-r--r-- 366 bytes
getcopyright.c -rw-r--r-- 503 bytes
getcwd.c -rw-r--r-- 1.4 KB
getopt.c -rw-r--r-- 3.0 KB
getplatform.c -rw-r--r-- 130 bytes
getversion.c -rw-r--r-- 290 bytes
graminit.c -rw-r--r-- 38.6 KB
import.c -rw-r--r-- 83.9 KB
importdl.c -rw-r--r-- 2.0 KB
importdl.h -rw-r--r-- 990 bytes
mactoolboxglue.c -rw-r--r-- 13.1 KB
marshal.c -rw-r--r-- 31.6 KB
modsupport.c -rw-r--r-- 13.2 KB
mysnprintf.c -rw-r--r-- 3.1 KB
mystrtoul.c -rw-r--r-- 6.4 KB
peephole.c -rw-r--r-- 18.2 KB
pyarena.c -rw-r--r-- 5.8 KB
pyctype.c -rw-r--r-- 7.7 KB
pyfpe.c -rw-r--r-- 623 bytes
pymath.c -rw-r--r-- 1.4 KB
pystate.c -rw-r--r-- 17.6 KB
pystrcmp.c -rw-r--r-- 562 bytes
pystrtod.c -rw-r--r-- 34.2 KB
pythonrun.c -rw-r--r-- 47.6 KB
sigcheck.c -rw-r--r-- 529 bytes
strdup.c -rw-r--r-- 256 bytes
strtod.c -rw-r--r-- 5.1 KB
structmember.c -rw-r--r-- 8.4 KB
symtable.c -rw-r--r-- 40.9 KB
sysmodule.c -rw-r--r-- 48.1 KB
thread.c -rw-r--r-- 10.6 KB
thread_atheos.h -rw-r--r-- 5.3 KB
thread_beos.h -rw-r--r-- 5.4 KB
thread_cthread.h -rw-r--r-- 2.1 KB
thread_foobar.h -rw-r--r-- 1.3 KB
thread_lwp.h -rw-r--r-- 2.5 KB
thread_nt.h -rw-r--r-- 8.0 KB
thread_os2.h -rw-r--r-- 5.0 KB
thread_pth.h -rw-r--r-- 4.6 KB
thread_pthread.h -rw-r--r-- 11.5 KB
thread_sgi.h -rw-r--r-- 6.9 KB
thread_solaris.h -rw-r--r-- 2.4 KB
thread_wince.h -rw-r--r-- 3.4 KB
traceback.c -rw-r--r-- 6.7 KB

back to top