Commit graph

43198 commits

Author SHA1 Message Date
Victor Stinner
8050ca9c6f Issue #14180: TestDateTime.test_microsecond_rounding() handles localtime() and
gmtime() failure on Windows
2012-03-14 00:17:05 +01:00
R David Murray
910df329fd #8315: add automatic unittest test discovery in test.test_email 2012-03-13 18:02:22 -04:00
Martin v. Löwis
f163efd736 Issue #5219: Prevent event handler cascade in IDLE.
Patch by Roger Serwy.
2012-03-13 14:46:22 -07:00
Martin v. Löwis
eb945a938d Issue #5219: Prevent event handler cascade in IDLE.
Patch by Roger Serwy.
2012-03-13 14:32:29 -07:00
Martin v. Löwis
ee381a0c36 Issue #5219: Prevent event handler cascade in IDLE.
Patch by Roger Serwy.
2012-03-13 14:18:36 -07:00
Martin v. Löwis
5c3c424237 Issue #2843: Add new Tk API to Tkinter.
Patch by Guilherme Polo and Andrew Svetlov.
2012-03-13 13:40:42 -07:00
Victor Stinner
5d272cc6a2 Close #14180: Factorize code to convert a number of seconds to time_t, timeval or timespec
time.ctime(), gmtime(), time.localtime(), datetime.date.fromtimestamp(),
datetime.datetime.fromtimestamp() and datetime.datetime.utcfromtimestamp() now
raises an OverflowError, instead of a ValueError, if the timestamp does not fit
in time_t.

datetime.datetime.fromtimestamp() and datetime.datetime.utcfromtimestamp() now
round microseconds towards zero instead of rounding to nearest with ties going
away from zero.
2012-03-13 13:35:55 +01:00
Vinay Sajip
71e51d66d6 Merged upstream change. 2012-03-13 12:18:55 +00:00
Vinay Sajip
69437da15f Merged upstream change. 2012-03-13 12:18:19 +00:00
Vinay Sajip
3cac309939 Merged upstream change. 2012-03-13 12:15:46 +00:00
Vinay Sajip
0f15181d39 Closes #14267: Merged fix from 3.2. 2012-03-13 12:15:09 +00:00
Vinay Sajip
27f48979ca Closes #14267: Corrected computation of rollover filename. 2012-03-13 12:10:33 +00:00
Vinay Sajip
9790e083a5 Closes #14267: Corrected computation of rollover filename. 2012-03-13 12:06:35 +00:00
Senthil Kumaran
19b114b818 merge to 3.3 - Fix closes Issue14281 - Test for cgi.escape by Brian Landers 2012-03-13 01:51:20 -07:00
Senthil Kumaran
47b5ddb9cf 3.2 - Fix closes Issue14281 - Test for cgi.escape by Brian Landers 2012-03-13 01:50:27 -07:00
Senthil Kumaran
d17a898fcf Fix closes Issue14281 - Test for cgi.escape by Brian Landers 2012-03-13 01:48:41 -07:00
Michael Foord
5738e4f3df Merge 2012-03-13 00:14:19 -07:00
Michael Foord
e01c62cd6b Fix unittest test discovery for Jython 2012-03-13 00:09:54 -07:00
R David Murray
a9719057a2 #8942: add test for __path__ contents in zipimport tests
Patch by Tatiana Al-Chueyr.
2012-03-12 21:16:33 -04:00
Martin v. Löwis
2b695a4678 Issue #1178863: Separate initialisation from setting when initializing
Tkinter.Variables; harmonize exceptions to ValueError; only delete variables
that have not been deleted; assert that variable names are strings
Patch by Andrew Svetlov.
2012-03-12 17:47:35 -07:00
Sean Reifschneider
7b3c975aaf closes #14259 re.finditer() now takes keyword arguments: pos, endpos.
Contrary to the documentation, finditer() did not take pos and endpos
keyword arguments.
2012-03-12 18:22:38 -06:00
Ezio Melotti
cc50ba26bd #14179: merge with 3.2. 2012-03-13 01:33:30 +02:00
Ezio Melotti
df723e1e5e #14179: add tests for re.compile. Patch by Florian Mladitsch. 2012-03-13 01:29:48 +02:00
Ezio Melotti
b56b6fff1f #14179: add tests for re.compile. Patch by Florian Mladitsch. 2012-03-13 01:25:40 +02:00
Eric V. Smith
f2bb8898ea Merge heads. 2012-03-12 15:29:06 -07:00
Eric V. Smith
97722c4132 str.format_map tests don't do what they say: fix to actually implement the intent of the test. Closes #13450. Patch by Akira Li. 2012-03-12 15:26:21 -07:00
Michael Foord
56bac7b9e1 Merge 2012-03-12 15:25:12 -07:00
Michael Foord
b36c70c9ff Move adding unittest test discovery command line options into their own method. 2012-03-12 15:24:46 -07:00
Eric V. Smith
1d4798cb93 Merge heads. 2012-03-12 15:18:30 -07:00
Eric V. Smith
edbb6ca084 str.format_map tests don't do what they say: fix to actually implement the intent of the test. Closes #13450. 2012-03-12 15:16:22 -07:00
Ezio Melotti
48d578c02a #13394: add more tests for the aifc module and use warnings.warn instead of print. Patch by Oleg Plakhotnyuk. 2012-03-12 23:57:18 +02:00
Ezio Melotti
85769539a3 #13394: add more tests for the aifc module. Patch by Oleg Plakhotnyuk. 2012-03-12 23:52:40 +02:00
Michael Foord
c1f5d8af57 Merge 2012-03-12 13:54:03 -07:00
Michael Foord
5f99ced092 Refactor unittest command line handling to always use optparse 2012-03-12 13:53:04 -07:00
Łukasz Langa
17591c1a1d Head merge. 2012-03-12 19:59:48 +01:00
Łukasz Langa
f3078fbee2 Fixes #13842: cannot pickle Ellipsis or NotImplemented.
Thanks for James Sanders for the bug report and the patch.
2012-03-12 19:46:12 +01:00
Benjamin Peterson
f28fcff17d adjust for change in AST type 2012-03-12 11:19:19 -07:00
Benjamin Peterson
7e0dbfbbde give the AST class a __dict__ 2012-03-12 09:46:44 -07:00
Benjamin Peterson
61a4161de4 merge 3.2 2012-03-12 09:43:27 -07:00
Benjamin Peterson
ef87f06798 allow AST objects to be like its subclasses 2012-03-12 09:43:09 -07:00
Benjamin Peterson
6645f7e590 merge heads 2012-03-12 09:28:51 -07:00
Benjamin Peterson
09b4bd03f6 merge 3.2 2012-03-12 09:28:36 -07:00
Benjamin Peterson
d279e286f2 every other ast object has a dict, so I think AST should, too 2012-03-12 09:27:36 -07:00
Eric V. Smith
851cad7616 Make test_logging no longer fail if zlib not present. Closes #14256. Patch by Pedro Kroger. 2012-03-11 22:46:04 -07:00
Ezio Melotti
b60156e809 #14161: fix test failures on Windows. 2012-03-12 02:09:02 +02:00
Ezio Melotti
11f8b6872a #14161: fix the __repr__ of file objects to escape the file name. 2012-03-12 01:17:02 +02:00
Antoine Pitrou
b69ef16fe6 Issue #14252: Fix subprocess.Popen.terminate() to not raise an error under Windows when the child process has already exited. 2012-03-11 19:33:29 +01:00
Antoine Pitrou
1f9a835400 Issue #14252: Fix subprocess.Popen.terminate() to not raise an error under Windows when the child process has already exited. 2012-03-11 19:29:12 +01:00
Antoine Pitrou
f60845b70a Issue #14252: Fix subprocess.Popen.terminate() to not raise an error under Windows when the child process has already exited. 2012-03-11 19:29:12 +01:00
Georg Brandl
4c7c3c58be Close #14210: add command argument completion to pdb: complete file names, global/local variables, aliases 2012-03-10 22:36:48 +01:00