- 01 Aug, 2010 19 commits
-
-
Georg Brandl authored
-
Mark Dickinson authored
-
Mark Dickinson authored
output with no type specifier failed to match the str output: - format(complex(-0.0, 2.0), '-') omitted the real part from the output, - format(complex(0.0, 2.0), '-') included a sign and parentheses.
-
Georg Brandl authored
-
Georg Brandl authored
#8826: the "expires" attribute value is a date string with spaces, but apparently not all user-agents put it in quotes. Handle that as a special case.
-
Ronald Oussoren authored
-
Georg Brandl authored
-
Georg Brandl authored
#8821: do not rely on Unicode strings being terminated with a \u0000, rather explicitly check range before looking for a second surrogate character.
-
Georg Brandl authored
-
Georg Brandl authored
-
Georg Brandl authored
-
Georg Brandl authored
-
Georg Brandl authored
Small improvements to pstats browser: do not crash on reading invalid file, and actually do a reload when executing "read" as intended.
-
Georg Brandl authored
#7395: fix traceback in do_add() when no stats are loaded. Apply same fix for do_sort() and do_reverse().
-
Georg Brandl authored
-
Georg Brandl authored
-
Georg Brandl authored
-
Georg Brandl authored
Build properties using lambdas. This makes test_pyclbr pass again, because it does not think that input and output are methods anymore.
-
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 21 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
-