Terry Jan Reedy
af9eb9628d
Issue #21768 : fix NameError in test_pydescr. Patch by Claudiu Popa.
2014-06-20 15:16:35 -04:00
Terry Jan Reedy
fe928de955
Issue #21768 : fix type in test_pydoc, patch by Claudiu Popa.
2014-06-20 14:59:11 -04:00
Victor Stinner
0e6f52a211
asyncio, Tulip issue 105: in debug mode, log callbacks taking more than 100 ms
...
to be executed.
2014-06-20 17:34:15 +02:00
Senthil Kumaran
4932e14542
issue 20091 - index entry for __main__ in runpy docs.
2014-06-20 01:37:53 -07:00
Ezio Melotti
642d4b654f
#21690 : fix a couple of links in the docs of the re module. Noticed by Julian Gilbey.
2014-06-20 00:52:11 +03:00
Victor Stinner
d143209d7f
Tulip issue 83: document more asyncio functions in docstrings
2014-06-19 17:11:49 +02:00
Victor Stinner
54c4b8e5c1
Closes #21595 : asyncio.BaseSelectorEventLoop._read_from_self() now reads all
...
available bytes from the "self pipe", not only a single byte. This change
reduces the risk of having the pipe full and so getting the innocuous
"BlockingIOError: [Errno 11] Resource temporarily unavailable" message.
2014-06-19 12:59:15 +02:00
Victor Stinner
6bfd854ea8
Closes #21758 : asyncio doc: mention explicitly that subprocess parameters are
...
bytes or character strings
2014-06-19 12:50:27 +02:00
Antoine Pitrou
2e4d3b133a
Issue #21722 : The distutils "upload" command now exits with a non-zero return code when uploading fails.
...
Patch by Martin Dengler.
2014-06-18 23:07:46 -04:00
Ned Deily
845fd9aa44
Issue #3485 : remove misleading comment
2014-06-18 13:09:40 -07:00
Zachary Ware
8909127af2
Fix typo pointed out by cocoatomo on docs@
2014-06-17 22:26:59 -05:00
Victor Stinner
64d750b36b
asyncio: Fix pyflakes errors
...
- Add a missing import
- Remove an unused import
- Remove unused variables
2014-06-18 03:25:23 +02:00
Victor Stinner
c73701de72
asyncio: Refactor tests: add a base TestCase class
2014-06-18 01:36:32 +02:00
Victor Stinner
d6f02fc649
asyncio: Refactor test__run_once_logging() to not rely on the exact number of
...
calls to time.monotonic(). Use a "fast select" and a "slow select" instead.
2014-06-18 01:22:15 +02:00
Victor Stinner
8d3e02ef5a
asyncio: Set __qualname__ attribute of CoroWrapper in @coroutine decorator on
...
Python 3.5
- Drop __slots__ optimization of CoroWrapper to be able to set the __qualname__
attribute.
- Add tests on __name__, __qualname__ and __module__ of a coroutine function
and coroutine object.
- Fix test_tasks when run in debug mode (PYTHONASYNCIODEBUG env var set) on
Python 3.3 or 3.4
2014-06-18 01:14:59 +02:00
Victor Stinner
66dc6b0f53
Issue #21723 : asyncio.Queue: support any type of number (ex: float) for the
...
maximum size. Patch written by Vajrasky Kok.
2014-06-17 23:36:21 +02:00
Terry Jan Reedy
14fbe72777
Issue #21694 : Add unittest for ParenMatch. Patch by Saimadhav Heblikar.
2014-06-17 16:35:20 -04:00
Benjamin Peterson
67fbed5d29
add Ammar Brohi for running ssllab's test on python.org and reporting a problem
2014-06-17 09:44:55 -07:00
Benjamin Peterson
59830b6ec4
revert tstate_delete_common, since it's pretty much wrong
2014-06-17 00:34:46 -07:00
Benjamin Peterson
95d75194ac
remove extra call to tstate_delete_common (merge artifact)
2014-06-16 23:49:02 -07:00
Benjamin Peterson
9db281662d
merge 3.3
2014-06-16 23:16:31 -07:00
Benjamin Peterson
0fd3972a3f
merge 3.2
2014-06-16 23:16:06 -07:00
Benjamin Peterson
314dc126ce
expect the correct platform-dependent linesep
2014-06-16 23:15:50 -07:00
Benjamin Peterson
068f81e115
avoid a deadlock with the interpreter head lock and the GIL during finalization
2014-06-16 23:07:49 -07:00
Benjamin Peterson
17548dda51
check if the thread is finalizing after retaking the GIL
2014-06-16 22:59:07 -07:00
Terry Jan Reedy
6637565298
Add Idle news entries.
2014-06-16 19:24:29 -04:00
Terry Jan Reedy
10b1c7cc8f
Issue #21686 : add unittest for idlelib.HyperParser. Original patch by Saimadhav
...
Heblikar. Correct a minor 3.x bug in HyperParser discovered by testing.
2014-06-16 19:01:01 -04:00
Victor Stinner
bc434e2052
asyncio: Task.__repr__() now also handles CoroWrapper
2014-06-17 00:26:36 +02:00
Victor Stinner
4b0432d190
Issue #21773 : Fix TestStdLib.test_pydoc() of test_enum. Patch written by
...
Claudiu Popa.
The print_diffs() function was not defined, using the assertEqual() is more
reliable.
2014-06-16 22:48:43 +02:00
Zachary Ware
0aecc18bab
Fix typo reported by Jesse W on docs@
2014-06-16 11:13:01 -05:00
Victor Stinner
4802c6ee55
Sync asyncio with Tulip: Fix test_tasks for Python 3.5
...
On Python 3.5, generator now gets their name from the function, no more from
the code. So we get the expected "notmuch" name instead of the generic "coro"
name.
2014-06-16 17:11:05 +02:00
Nick Coghlan
5b1fdc1e37
Issue #21669 : Special case print & exec syntax errors
2014-06-16 19:48:02 +10:00
Terry Jan Reedy
b6d1f48c14
Issue #21559 : Add alternative (historical) reason for OverflowError.
2014-06-16 03:31:00 -04:00
Terry Jan Reedy
f2fb73f675
Issue #19362 : Tweek len() doc and docstring to expand the indicated range of
...
arguments. Original patch by Gareth Rees.
2014-06-16 03:05:37 -04:00
Terry Jan Reedy
d0c1ea42f7
whitespace
2014-06-16 02:40:24 -04:00
Terry Jan Reedy
3e583307ab
Issue #21686 : idlelib/HyperParser.py - Update docstrings and comments and
...
replace \ line contiuation. Tested against nearly done test_hyperparser.py.
2014-06-16 02:33:35 -04:00
Benjamin Peterson
e58e0c7f33
clarify when the list of subdirectories is read ( closes #13779 )
2014-06-15 20:51:12 -07:00
Gregory P. Smith
9204e09178
fix a BytesWarning in my previous commit.
2014-06-15 20:16:01 -07:00
Gregory P. Smith
634aa68c2b
Isolate the subprocess test_close_fds_when_max_fd_is_lowered test so
...
that the rlimit calls happens in a child process rather than the
TestCase process to attempt to fix the gentoo buildbot's "Too many
open files" error.
2014-06-15 17:51:04 -07:00
Raymond Hettinger
92a4055343
Issue #21774 : Fix incorrect variable in xml.dom.minidom
2014-06-15 14:48:19 -07:00
Benjamin Peterson
ef8abfc082
document IOBase.__del__'s behavior ( closes #21764 )
...
Patch from Nikolaus Rath.
2014-06-14 18:51:34 -07:00
Benjamin Peterson
a8c75fe31a
merge 3.3 ( #21766 )
2014-06-14 18:41:13 -07:00
Benjamin Peterson
6cd1954c5c
merge 3.2 ( #21766 )
2014-06-14 18:40:10 -07:00
Benjamin Peterson
73b8b1cdb8
url unquote the path before checking if it refers to a CGI script ( closes #21766 )
2014-06-14 18:36:29 -07:00
Vinay Sajip
0220048083
Issue #21742 : Set stream to None after closing.
2014-06-14 10:22:05 +01:00
Vinay Sajip
e0d324d02b
Issue #21752 : Documented change to behaviour of logging.getLevelName().
2014-06-14 09:26:26 +01:00
Terry Jan Reedy
a40e6b0c94
Issue #21730 : Add no-thread skip in test_socket. Patch by Berker Peksag.
2014-06-13 15:20:45 -04:00
Terry Jan Reedy
6926e3e835
Issue #21726 : Remove unnecessary and contextually wrong line.
2014-06-13 14:57:51 -04:00
Zachary Ware
9422df0924
Issue #19493 : Refactor ctypes test package.
...
Skipped tests are now marked as skipped, formerly commented-out or
renamed-so-it-doesn't-look-like-a-test tests are uncommented, properly named,
and unconditionally skipped, some tests that simply didn't run before
are now able to run, and a few are split into multiple methods instead of
skipping via 'return' in the middle of a method. Also, a couple of unused
files are removed completely.
2014-06-13 13:44:39 -05:00
Terry Jan Reedy
bc7c96b9ea
Issue #20043 : Add direct test for _thread.
2014-06-13 14:23:43 -04:00