- 01 Aug, 2010 1 commit
-
-
R. David Murray authored
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.
-
- 31 Jul, 2010 39 commits
-
-
Raymond Hettinger authored
-
Antoine Pitrou authored
-
Georg Brandl authored
-
Georg Brandl authored
-
Georg Brandl authored
-
Georg Brandl authored
#8292: Fix three instances of truth tests on return values of filter() (which is always true in Python 3).
-
Georg Brandl authored
at import time, rather by default use the current streams like the other APIs that output help.
-
Georg Brandl authored
-
Georg Brandl authored
#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.
-
Georg Brandl authored
-
Georg Brandl authored
-
Georg Brandl authored
#3788: more tests for http.cookies, now at 95% coverage. Also bring coding style in the module up to PEP 8, where it does not break backwards compatibility.
-
Georg Brandl authored
-
Georg Brandl authored
-
Georg Brandl authored
#9442: do not document a specific format for sys.version; rather refer to version_info and the platform module.
-
Georg Brandl authored
-
Georg Brandl authored
-
Georg Brandl authored
-
Martin v. Löwis authored
-
Georg Brandl authored
#9440: Remove borderline test case that fails based on unpredictable conditions such as compiler flags.
-
Georg Brandl authored
-
Georg Brandl authored
-
Antoine Pitrou authored
-
Georg Brandl authored
-
Georg Brandl authored
-
Georg Brandl authored
-
Georg Brandl authored
-
Georg Brandl authored
-
Georg Brandl authored
-
Martin v. Löwis authored
-
Victor Stinner authored
I removed the implicit conversion from str to bytes.
-
Martin v. Löwis authored
-
Martin v. Löwis authored
-
Georg Brandl authored
-
Raymond Hettinger authored
-
Raymond Hettinger authored
-
Georg Brandl authored
-
Georg Brandl authored
Copy Sun-specific inclusion of <alloca.h> from 2.7 maint to trunk; it seems to not have been merged to py3k.
-
Martin v. Löwis authored
-