| 83383 01.08.2010 06:14:22, by
r.david.murray
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. ........
M
/python/branches/release31-maint
M
/python/branches/release31-maint/Lib/cmd.py
M
/python/branches/release31-maint/Lib/test/test_cmd.py
M
/python/branches/release31-maint/Misc/ACKS
M
/python/branches/release31-maint/Misc/NEWS
|
| 83382 01.08.2010 06:11:05, by
r.david.murray
Merged revisions 83381 via svnmerge from 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. ........ ................
M
/python/branches/release26-maint
M
/python/branches/release26-maint/Lib/cmd.py
M
/python/branches/release26-maint/Lib/test/test_cmd.py
M
/python/branches/release26-maint/Misc/ACKS
M
/python/branches/release26-maint/Misc/NEWS
|
| 83381 01.08.2010 06:04:03, by
r.david.murray
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. ........
M
/python/branches/release27-maint
M
/python/branches/release27-maint/Lib/cmd.py
M
/python/branches/release27-maint/Lib/test/test_cmd.py
M
/python/branches/release27-maint/Misc/ACKS
M
/python/branches/release27-maint/Misc/NEWS
|
| 83380 01.08.2010 05:31:09, by
r.david.murray
#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.
M
/python/branches/py3k/Lib/cmd.py
M
/python/branches/py3k/Lib/test/test_cmd.py
M
/python/branches/py3k/Misc/ACKS
M
/python/branches/py3k/Misc/NEWS
|
| 83379 01.08.2010 03:53:52, by
r.david.murray
Merged revisions 75659 via svnmerge from svn+ssh://pythondev@svn.python.org/python/trunk
Only the try/except was backported; owner and group were added in 2.7, as was the test file.
........ r75659 | tarek.ziade | 2009-10-24 09:29:44 -0400 (Sat, 24 Oct 2009) | 1 line #7066 - Fixed distutils.archive_util.make_archive behavior so it restores the cwd ........
M
/python/branches/release26-maint
M
/python/branches/release26-maint/Lib/distutils/archive_util.py
M
/python/branches/release26-maint/Misc/NEWS
|
| 83378 01.08.2010 03:33:07, by
ezio.melotti
Make sure that oldmsglist is initialaized when oldvalues is None.
M
/tracker/instances/python-dev/detectors/sendmail.py
|
| 83377 01.08.2010 03:18:57, by
r.david.murray
Unblocked revisions 75659 via svnmerge
........ r75659 | tarek.ziade | 2009-10-24 09:29:44 -0400 (Sat, 24 Oct 2009) | 1 line #7066 - Fixed distutils.archive_util.make_archive behavior so it restores the cwd ........
M
/python/branches/release26-maint
|
| 83376 01.08.2010 01:33:22, by
raymond.hettinger
Fix build on VS8.
M
/python/branches/py3k/PC/VS8.0/pythoncore.vcproj
|
| 83375 01.08.2010 00:48:02, by
antoine.pitrou
Reorder entries by module lexicographic order
M
/python/branches/py3k/Doc/whatsnew/3.2.rst
|
| 83374 01.08.2010 00:32:52, by
georg.brandl
#5146: handle UID THREAD command correctly.
M
/python/branches/py3k/Lib/imaplib.py
M
/python/branches/py3k/Misc/NEWS
|
| 83373 01.08.2010 00:11:11, by
georg.brandl
#5147: revert accidental indentation of header constant for MozillaCookieJar.
M
/python/branches/py3k/Lib/http/cookiejar.py
M
/python/branches/py3k/Misc/NEWS
|
| 83372 01.08.2010 00:05:54, by
georg.brandl
#4007: remove *.a and *.so.X.Y files in "make clean".
M
/python/branches/py3k/Makefile.pre.in
|
| 83371 31.07.2010 23:54:24, by
georg.brandl
#8292: Fix three instances of truth tests on return values of filter() (which is always true in Python 3).
M
/python/branches/py3k/Lib/distutils/command/sdist.py
M
/python/branches/py3k/Lib/http/server.py
M
/python/branches/py3k/Lib/platform.py
|
| 83370 31.07.2010 23:51:48, by
georg.brandl
#8198: the Helper class should not save the stdin and stdout objects at import time, rather by default use the current streams like the other APIs that output help.
M
/python/branches/py3k/Lib/pydoc.py
M
/python/branches/py3k/Misc/NEWS
|
| 83369 31.07.2010 23:41:42, by
georg.brandl
Fix "Berkeley" name.
M
/python/branches/py3k/Doc/library/dbm.rst
M
/python/branches/py3k/Misc/NEWS
|
| 83368 31.07.2010 23:40:15, by
georg.brandl
#7909: the prefixes \\.\ and \\?\ indicate special Windows paths, do not try to manipulate them. See http://msdn.microsoft.com/en-us/library/aa365247%28VS.85%29.aspx for details.
M
/python/branches/py3k/Lib/ntpath.py
M
/python/branches/py3k/Lib/test/test_ntpath.py
M
/python/branches/py3k/Misc/NEWS
|
| 83367 31.07.2010 23:33:40, by
victor.stinner
PyObject_CallMethod(): use 'N' format
instead of 'O' format to avoid Py_DECREF().
M
/python/branches/import_unicode/Parser/tokenizer.c
|
| 83366 31.07.2010 23:26:40, by
georg.brandl
There always is a False and True now.
M
/python/branches/py3k/Lib/test/test_optparse.py
|
| 83365 31.07.2010 23:22:36, by
georg.brandl
#1019882: if start() and stop() were not in the same stack frame, stats.load() would crash with IndexError.
M
/python/branches/release27-maint/Lib/hotshot/log.py
M
/python/branches/release27-maint/Lib/test/test_hotshot.py
M
/python/branches/release27-maint/Misc/NEWS
|
| 83364 31.07.2010 23:21:41, by
victor.stinner
catch PyUnicode_EncodeFSDefault() error
Create run_file() subfunction
M
/python/branches/import_unicode/Modules/main.c
|
|
|