Staging
v0.5.1
v0.5.1
swh:1:snp:635f4099902912592851108bcac178ff574f7c5f
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
Tip revision: 550e4673be538d98b6ddf5550b3922539cf5c4b2 authored by Victor Stinner on 08 December 2020, 23:32:54 UTC
bpo-32381: Add _PyRun_SimpleFileObject() (GH-23709)
bpo-32381: Add _PyRun_SimpleFileObject() (GH-23709)
Tip revision: 550e467
File | Mode | Size |
---|---|---|
Demo | ||
Doc | ||
Grammar | ||
Include | ||
Lib | ||
Mac | ||
Misc | ||
Modules | ||
Objects | ||
PC | ||
PCbuild | ||
Parser | ||
Python | ||
RISCOS | ||
Tools | ||
.bzrignore | -rw-r--r-- | 673 bytes |
.hgignore | -rw-r--r-- | 869 bytes |
.hgtags | -rw-r--r-- | 4.3 KB |
LICENSE | -rw-r--r-- | 13.8 KB |
Makefile.pre.in | -rw-r--r-- | 38.3 KB |
README | -rw-r--r-- | 53.7 KB |
configure | -rwxr-xr-x | 371.7 KB |
configure.in | -rw-r--r-- | 109.6 KB |
install-sh | -rwxr-xr-x | 7.0 KB |
pyconfig.h.in | -rw-r--r-- | 28.9 KB |
setup.py | -rw-r--r-- | 85.5 KB |
![swh spinner](/static/img/swh-spinner.gif)
Computing file changes ...