Staging
v0.8.1
https://github.com/python/cpython
Revision 0d023db38623c7163f8264fecd4f8f881b4fccee authored by R. David Murray on 01 August 2010, 04:11:05 UTC, committed by R. David Murray on 01 August 2010, 04:11:05 UTC
svn+ssh://pythondev@svn.python.org/python/branches/release27-maint

................
  r83381 | r.david.murray | 2010-08-01 00:04:03 -0400 (Sun, 01 Aug 2010) | 23 lines

  Merged revisions 83380 via svnmerge from
  svn+ssh://pythondev@svn.python.org/python/branches/py3k

  ........
    r83380 | r.david.murray | 2010-07-31 23:31:09 -0400 (Sat, 31 Jul 2010) | 17 lines

    #8620: Cmd no longer truncates last character if stdin ends without newline

    Cmd used to blindly chop off the last character of every input line.  If
    the input reached EOF and there was no final new line, it would truncate
    the last character of the last command.  This fix instead strips trailing
    \r\n from the input lines.  While this is a small behavior change, it
    should not break any working code, since feeding a '\r\n' terminated
    file to Cmd would previously leave the \r's on the lines, resulting
    in failed command execution.

    I wrote the unit test in preparation for a PyOhio TeachMe session
    run by Catherine Devlin, and we can thank Catherine and the PyOhio
    session attendees for the fix.  I've added Catherine to the Acks file
    for organizing and leading the TeachMe session, out of which we will
    hopefully get some new contributors.
  ........
................
1 parent 2b112a6
History
Tip revision: 0d023db38623c7163f8264fecd4f8f881b4fccee authored by R. David Murray on 01 August 2010, 04:11:05 UTC
Merged revisions 83381 via svnmerge from
Tip revision: 0d023db
File Mode Size
Python-ast.c -rw-r--r-- 246.7 KB
_warnings.c -rw-r--r-- 24.9 KB
asdl.c -rw-r--r-- 1.4 KB
ast.c -rw-r--r-- 103.3 KB
atof.c -rw-r--r-- 1016 bytes
bltinmodule.c -rw-r--r-- 85.3 KB
ceval.c -rw-r--r-- 140.3 KB
codecs.c -rw-r--r-- 24.2 KB
compile.c -rw-r--r-- 109.6 KB
dup2.c -rw-r--r-- 685 bytes
dynload_aix.c -rw-r--r-- 5.7 KB
dynload_atheos.c -rw-r--r-- 1.2 KB
dynload_beos.c -rw-r--r-- 7.0 KB
dynload_dl.c -rw-r--r-- 561 bytes
dynload_hpux.c -rw-r--r-- 1.5 KB
dynload_next.c -rw-r--r-- 3.9 KB
dynload_os2.c -rw-r--r-- 1.2 KB
dynload_shlib.c -rw-r--r-- 3.6 KB
dynload_stub.c -rw-r--r-- 202 bytes
dynload_win.c -rw-r--r-- 9.2 KB
errors.c -rw-r--r-- 20.9 KB
formatter_string.c -rw-r--r-- 567 bytes
formatter_unicode.c -rw-r--r-- 461 bytes
frozen.c -rw-r--r-- 1.2 KB
frozenmain.c -rw-r--r-- 1.4 KB
future.c -rw-r--r-- 4.3 KB
getargs.c -rw-r--r-- 55.4 KB
getcompiler.c -rw-r--r-- 366 bytes
getcopyright.c -rw-r--r-- 503 bytes
getcwd.c -rw-r--r-- 1.5 KB
getmtime.c -rw-r--r-- 388 bytes
getopt.c -rw-r--r-- 3.3 KB
getplatform.c -rw-r--r-- 130 bytes
getversion.c -rw-r--r-- 290 bytes
graminit.c -rw-r--r-- 41.4 KB
import.c -rw-r--r-- 97.7 KB
importdl.c -rw-r--r-- 2.2 KB
importdl.h -rw-r--r-- 1.0 KB
mactoolboxglue.c -rw-r--r-- 13.7 KB
marshal.c -rw-r--r-- 35.8 KB
modsupport.c -rw-r--r-- 16.4 KB
mysnprintf.c -rw-r--r-- 3.3 KB
mystrtoul.c -rw-r--r-- 7.9 KB
peephole.c -rw-r--r-- 21.2 KB
pyarena.c -rw-r--r-- 5.8 KB
pyfpe.c -rw-r--r-- 623 bytes
pymath.c -rw-r--r-- 6.6 KB
pystate.c -rw-r--r-- 19.1 KB
pystrcmp.c -rw-r--r-- 613 bytes
pystrtod.c -rw-r--r-- 15.6 KB
pythonrun.c -rw-r--r-- 55.0 KB
sigcheck.c -rw-r--r-- 529 bytes
strdup.c -rw-r--r-- 256 bytes
strtod.c -rw-r--r-- 5.5 KB
structmember.c -rw-r--r-- 10.4 KB
symtable.c -rw-r--r-- 46.2 KB
sysmodule.c -rw-r--r-- 48.8 KB
thread.c -rw-r--r-- 11.2 KB
thread_atheos.h -rw-r--r-- 6.6 KB
thread_beos.h -rw-r--r-- 6.6 KB
thread_cthread.h -rw-r--r-- 3.0 KB
thread_foobar.h -rw-r--r-- 2.0 KB
thread_lwp.h -rw-r--r-- 3.4 KB
thread_nt.h -rw-r--r-- 7.3 KB
thread_os2.h -rw-r--r-- 6.3 KB
thread_pth.h -rw-r--r-- 5.3 KB
thread_pthread.h -rw-r--r-- 13.1 KB
thread_sgi.h -rw-r--r-- 10.9 KB
thread_solaris.h -rw-r--r-- 3.3 KB
thread_wince.h -rw-r--r-- 4.1 KB
traceback.c -rw-r--r-- 8.6 KB

back to top