Tim Peters
59360aadd3
Back out 868ad6fa8e68 - it left all the buildbots failing.
...
Unclear to me why it was pushed to begin with. See issue 11798.
Perhaps it's because regrtest with -R was failing? Fine, but
that's better than regrtest _always_ failing ;-)
2013-08-31 23:44:34 -05:00
Ethan Furman
ec15a826ce
Close #18738 : Route __format__ calls to mixed-in type for mixed Enums (such as IntEnum).
2013-08-31 19:17:41 -07:00
Eli Bendersky
b2ff3cf0e9
Switch the AF_* and SOCK_* constants in the socket module to IntEnum.
...
Closes #18720 .
2013-08-31 15:13:30 -07:00
Terry Jan Reedy
7e7cf8bc51
Issue #12037 : Fix test_email for desktop Windows.
2013-08-31 17:16:45 -04:00
Terry Jan Reedy
740d6b6f39
Issue #12037 : Fix test_email for desktop Windows.
2013-08-31 17:12:21 -04:00
Terry Jan Reedy
2e87c87933
Merge from 3.3 #18489 Search Engine tests
2013-08-31 16:28:53 -04:00
Terry Jan Reedy
31e4d325b6
Issue #18489 : Add complete, gui-free tests for idlelib.SearchEngine.
...
Patch import and initialization in SearchEngine to make testing easier.
Improve docstrings, especially to clarify the double role of 'ok' parameters.
Original patch by Phil Webster.
2013-08-31 16:27:16 -04:00
Ethan Furman
13bdfa7a7f
Issue #18780 : code cleanup.
2013-08-31 12:48:51 -07:00
Andrew Svetlov
a41213726b
Temporary disable tests cleanup (issue 11798).
2013-08-31 20:55:25 +03:00
Ethan Furman
fb13721b1b
Close #18780 : %-formatting now prints value for int subclasses with %d, %i, and %u codes.
2013-08-31 10:18:55 -07:00
Charles-François Natali
08548f4a75
Merge.
2013-08-31 17:32:30 +02:00
Charles-François Natali
fcfb324e81
Use the recent support.HOSTv6 addition.
2013-08-31 14:40:49 +02:00
Antoine Pitrou
267964c837
Forward port new tests from Issue #18851 .
2013-08-31 00:12:37 +02:00
Antoine Pitrou
a8392717f1
Forward port new tests from Issue #18851 .
2013-08-30 23:38:13 +02:00
Charles-François Natali
79a53ea7d7
Issue #18418 : After fork(), reinit all threads states, not only active ones.
...
Patch by A. Jesse Jiryu Davis.
2013-08-30 23:34:26 +02:00
Charles-François Natali
9939cc89a4
Issue #18418 : After fork(), reinit all threads states, not only active ones.
...
Patch by A. Jesse Jiryu Davis.
2013-08-30 23:32:53 +02:00
Eli Bendersky
b586934f0e
Issue #17741 : Rename IncrementalParser and its methods.
...
The new names are hopefully more descriptive and consistent. If you feel you
don't agree with this change, *please* read issue 17741 first - there's a lot of
discussion in there.
2013-08-30 05:51:20 -07:00
Philip Jenvey
1221f6b603
utilize int.from_bytes
2013-08-29 18:33:50 -07:00
Benjamin Peterson
da0bea213d
improve comment
2013-08-29 17:29:30 -04:00
Benjamin Peterson
f908efb75c
make lists uniformly integers for the benefit of pypy
2013-08-29 17:27:57 -04:00
Gregory P. Smith
6cc50391a6
Fixes Issue #15507 : test_subprocess's test_send_signal could fail if the test
...
runner were run in an environment where the process inherited an ignore
setting for SIGINT. Restore the SIGINT handler to the desired
KeyboardInterrupt raising one during that test.
2013-08-29 13:39:44 -07:00
Gregory P. Smith
dee0434e2f
Fixes issue #15507 : test_subprocess's test_send_signal could fail if the test
...
runner were run in an environment where the process inherited an ignore
setting for SIGINT. Restore the SIGINT handler to the desired
KeyboardInterrupt raising one during that test.
2013-08-29 13:35:27 -07:00
Charles-François Natali
f25f80c839
Merge.
2013-08-29 19:27:17 +02:00
Charles-François Natali
e33d5b0bc8
Merge.
2013-08-29 19:26:37 +02:00
Charles-François Natali
74b7408604
Issue #18643 : Fix some test_socket failures due to large default socket buffer
...
sizes.
2013-08-29 19:02:23 +02:00
Charles-François Natali
5fd2642adb
Issue #18643 : Fix some test_socket failures due to large default socket buffer
...
sizes.
2013-08-29 19:01:40 +02:00
Richard Oudkerk
e0d25ce1fe
Issue #8713 : Print dangling processes/threads, if any.
2013-08-29 14:37:47 +01:00
Richard Oudkerk
83d7dea6aa
Issue #8713 : Cleanup before saving process._dangling.
2013-08-29 12:51:11 +01:00
Richard Oudkerk
968d05594e
Issue #8713 : Test should not print message about start method.
2013-08-29 12:41:19 +01:00
Serhiy Storchaka
de2800f8f1
Issue #17974 : Switch unittest from using getopt to using argparse.
2013-08-29 12:37:28 +03:00
Serhiy Storchaka
64f7c4e4ca
Issue #16799 : Switched from getopt to argparse style in regrtest's argument
...
parsing. Added more tests for regrtest's argument parsing.
2013-08-29 12:26:23 +03:00
Serhiy Storchaka
48e6a8c88a
Issue #18743 : Fix references to non-existant "StringIO" module
...
in docstrings and comments.
2013-08-29 11:39:48 +03:00
Serhiy Storchaka
50254c57cd
Issue #18743 : Fix references to non-existant "StringIO" module
...
in docstrings and comments.
2013-08-29 11:35:43 +03:00
Andrew Svetlov
7c1017bfee
Fix tests for #11798
2013-08-29 01:24:39 +03:00
Andrew Svetlov
eb97368451
Issue #11798 : TestSuite now drops references to own tests after execution.
2013-08-28 21:28:38 +03:00
Richard Oudkerk
6a53af893a
Issue #18786 : Don't reinstall old SIGUSR1 handler prematurely.
2013-08-28 13:50:19 +01:00
Victor Stinner
d98af985d0
(Merge 3.3) Fix @requires_freebsd_version and @requires_linux_version
...
decorators of test.support, run the test if the platform matchs!
2013-08-28 12:34:16 +02:00
Victor Stinner
d39dca9e33
Fix test_socket.test_SOCK_CLOEXEC(), the test was wrong
2013-08-28 12:28:18 +02:00
Victor Stinner
3b44a409de
Fix @requires_freebsd_version and @requires_linux_version decorators of
...
test.support, run the test if the platform matchs!
2013-08-28 12:26:28 +02:00
Victor Stinner
bff989ed20
test_posix.test_pipe2() now checks that the O_NONBLOCK flag is set
...
Use also os.get_inheritable() instead of fcntl() to check the inheritable flag
(FD_CLOEXEC).
2013-08-28 12:25:40 +02:00
Victor Stinner
67973c0279
Issue #18865 : remove unused import from multiprocessing.util.spawnv_passfds()
2013-08-28 12:21:47 +02:00
Richard Oudkerk
0d097b6299
Issue #18865 : PEP 446 makes multiprocessing.util.pipe() unnecessary.
2013-08-28 11:25:34 +01:00
Victor Stinner
daf455554b
Issue #18571 : Implementation of the PEP 446: file descriptors and file handles
...
are now created non-inheritable; add functions os.get/set_inheritable(),
os.get/set_handle_inheritable() and socket.socket.get/set_inheritable().
2013-08-28 00:53:59 +02:00
Serhiy Storchaka
46e1ce214b
Issue #18783 : Removed existing mentions of Python long type in docstrings,
...
error messages and comments.
2013-08-27 20:17:03 +03:00
Serhiy Storchaka
9594942716
Issue #18783 : Removed existing mentions of Python long type in docstrings,
...
error messages and comments.
2013-08-27 19:40:23 +03:00
Victor Stinner
14e461d5b9
Close #11619 : The parser and the import machinery do not encode Unicode
...
filenames anymore on Windows.
2013-08-26 22:28:21 +02:00
Eli Bendersky
6206a7e4b0
Remove the obsolete XMLParser._start/_start_list duality.
...
XMLParser configures expat to report attributes in a list (ordered_attributes),
so only _start_list is needed. Rename it to _start and kill _start.
2013-08-25 18:58:18 -07:00
Ezio Melotti
ec42975bc6
#18833 : merge with 3.3.
2013-08-26 00:17:21 +03:00
Ezio Melotti
4f1353ab10
#18833 : add a test for test_telnetlib. Patch by Alex Volkov.
2013-08-25 23:56:43 +03:00
Antoine Pitrou
7eaf3f7080
Issue #18808 : Non-daemon threads are now automatically joined when a sub-interpreter is shutdown (it would previously dump a fatal error).
2013-08-25 19:48:18 +02:00