Mark Dickinson
5b1d35b9c7
Add test for memory leak reported in issue 9422.
2010-08-01 11:10:28 +00:00
Mark Dickinson
5b65df7ce2
Issue #9416 : Fix some issues with complex formatting where the
...
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.
2010-08-01 10:41:49 +00:00
Georg Brandl
8708e38597
Package some new files that are needed for running the test suite from the MSI package.
2010-08-01 09:17:53 +00:00
Georg Brandl
b16e38b825
#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.
2010-08-01 09:06:34 +00:00
Ronald Oussoren
bda4672b01
Ensure that test_site actually passes with a framework build
2010-08-01 09:02:50 +00:00
Georg Brandl
794f5b3559
#4810 : document "--" option separator in timeit help.
2010-08-01 08:52:32 +00:00
Georg Brandl
bd534f0349
#8821 : do not rely on Unicode strings being terminated with a \u0000, rather explicitly check range before looking for a second surrogate character.
2010-08-01 08:49:18 +00:00
Georg Brandl
9411eeb522
No need to split this, there are enough long lines.
2010-08-01 08:46:24 +00:00
Georg Brandl
8f9f466505
#1690103 : fix initial namespace for code run with trace.main().
2010-08-01 08:35:29 +00:00
Georg Brandl
920bc0fd86
Add another news entry.
2010-08-01 08:10:08 +00:00
Georg Brandl
f325e03f48
#8230 : make Lib/test/sortperf.py run on Python 3.
2010-08-01 08:07:49 +00:00
Georg Brandl
f02e7367eb
Small improvements to pstats browser: do not crash on reading invalid file, and actually do a reload when executing "read" as intended.
2010-08-01 07:57:47 +00:00
Georg Brandl
3e4f2ec704
#7395 : fix traceback in do_add() when no stats are loaded. Apply same fix for do_sort() and do_reverse().
2010-08-01 07:48:43 +00:00
Georg Brandl
0941012325
#8735 : better explain semantics of *values* argument for parse().
2010-08-01 06:53:28 +00:00
Georg Brandl
33b6a31c18
#8768 : name test method properly so that it gets executed.
2010-08-01 06:44:46 +00:00
Georg Brandl
04c837e4b4
#8773 : mailbox.py does not need to be executable.
2010-08-01 06:42:45 +00:00
Georg Brandl
76ae397583
Build properties using lambdas. This makes test_pyclbr pass again, because it does not think that input and output are methods anymore.
2010-08-01 06:32:55 +00:00
R. David Murray
7905d61b2c
#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.
2010-08-01 03:31:09 +00:00
Raymond Hettinger
f0f2e65a54
Fix build on VS8.
2010-07-31 23:33:22 +00:00
Antoine Pitrou
d67075e06d
Reorder entries by module lexicographic order
2010-07-31 22:48:02 +00:00
Georg Brandl
05245f7487
#5146 : handle UID THREAD command correctly.
2010-07-31 22:32:52 +00:00
Georg Brandl
87a1564f24
#5147 : revert accidental indentation of header constant for MozillaCookieJar.
2010-07-31 22:11:11 +00:00
Georg Brandl
241bdab735
#4007 : remove *.a and *.so.X.Y files in "make clean".
2010-07-31 22:05:54 +00:00
Georg Brandl
62e2ca2193
#8292 : Fix three instances of truth tests on return values of filter() (which is always true in Python 3).
2010-07-31 21:54:24 +00:00
Georg Brandl
78aa396415
#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.
2010-07-31 21:51:48 +00:00
Georg Brandl
bb1901529d
Fix "Berkeley" name.
2010-07-31 21:41:42 +00:00
Georg Brandl
cfb68218b7
#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.
2010-07-31 21:40:15 +00:00
Georg Brandl
a8867b4173
There always is a False and True now.
2010-07-31 21:26:40 +00:00
Georg Brandl
4f85ae10f5
#8910 : add a file explaining why Lib/test/data is there.
2010-07-31 21:12:15 +00:00
Georg Brandl
76e155a157
#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.
2010-07-31 21:04:00 +00:00
Georg Brandl
7b280e9197
Clarify comment in comments test case explaining comment semantics.
2010-07-31 20:13:44 +00:00
Georg Brandl
6cb7b6593e
#1286 : allow using fileinput.FileInput as context manager.
2010-07-31 20:08:15 +00:00
Georg Brandl
e42a59daec
#9442 : do not document a specific format for sys.version; rather refer to version_info and the platform module.
2010-07-31 20:05:31 +00:00
Georg Brandl
721507b315
#5778 : document that sys.version can contain a newline.
2010-07-31 19:59:55 +00:00
Georg Brandl
e87c0e1eaf
Remove trailing whitespace.
2010-07-31 19:29:15 +00:00
Georg Brandl
ec5ae3b9f5
Fix bad merge: test_support -> support.
2010-07-31 19:17:11 +00:00
Martin v. Löwis
5542cb01a0
Drop webchecker and BerkeleyDB license.
2010-07-31 18:59:20 +00:00
Georg Brandl
38005e8156
#9440 : Remove borderline test case that fails based on unpredictable conditions such as compiler flags.
2010-07-31 18:11:07 +00:00
Georg Brandl
ebb280cf90
Move news item to the correct position.
2010-07-31 18:09:46 +00:00
Georg Brandl
2e7346acc9
Re-commit r83327 now that the release is done.
2010-07-31 18:09:23 +00:00
Antoine Pitrou
4f2a0a8870
Add ssl changes to the 3.2 "what's new".
2010-07-31 18:08:33 +00:00
Georg Brandl
ee449c41b4
Post-release updates.
2010-07-31 18:05:35 +00:00
Georg Brandl
0860b61660
Tagging release 3.2a1.
2010-07-31 13:53:29 +00:00
Georg Brandl
85420413f8
From Martin: New UUIDs for the 3.2 release series.
2010-07-31 12:06:51 +00:00
Georg Brandl
a8fbc6a521
Import test_pdb with its full name, so that running python -m test.test_pdb succeeds.
2010-07-31 11:52:46 +00:00
Georg Brandl
f55c31594b
#9430 : document timedelta str() and repr().
2010-07-31 11:40:07 +00:00
Georg Brandl
a02607ea36
Rewrap.
2010-07-31 11:00:47 +00:00
Martin v. Löwis
71ba07c9c8
Truly uncomment rm lines.
2010-07-31 10:56:53 +00:00
Victor Stinner
d5baeee66b
Issue #8966 : Fix ctypes tests for Windows
...
I removed the implicit conversion from str to bytes.
2010-07-31 10:52:56 +00:00
Martin v. Löwis
73a01d4fb3
Delete openssl checkouts.
2010-07-31 10:50:16 +00:00