]> granicus.if.org Git - python/log
python
11 years agoIssue #21645: asyncio: add a watchdog in test_read_all_from_pipe_reader() for
Victor Stinner [Mon, 30 Jun 2014 10:32:59 +0000 (12:32 +0200)]
Issue #21645: asyncio: add a watchdog in test_read_all_from_pipe_reader() for
debug

11 years agoFix typo in socket.getaddrinfo() docstring.
Berker Peksag [Mon, 30 Jun 2014 08:30:00 +0000 (11:30 +0300)]
Fix typo in socket.getaddrinfo() docstring.

Reported by Krishna Kumar Thakur on docs@.

11 years agoFix typo in socket.getaddrinfo() docstring.
Berker Peksag [Mon, 30 Jun 2014 08:28:40 +0000 (11:28 +0300)]
Fix typo in socket.getaddrinfo() docstring.

Reported by Krishna Kumar Thakur on docs@.

11 years agoIssue #21811: Add Misc/NEWS entry.
Ned Deily [Mon, 30 Jun 2014 06:54:38 +0000 (23:54 -0700)]
Issue #21811: Add Misc/NEWS entry.

11 years agoIssue #21811: Add Misc/NEWS entry.
Ned Deily [Mon, 30 Jun 2014 06:51:55 +0000 (23:51 -0700)]
Issue #21811: Add Misc/NEWS entry.

11 years agoIssue #14235: Merge from 3.4.
Berker Peksag [Mon, 30 Jun 2014 01:05:54 +0000 (04:05 +0300)]
Issue #14235: Merge from 3.4.

11 years agoIssue #14235: Use importlib.reload() in test_cmd.test_coverage.
Berker Peksag [Mon, 30 Jun 2014 01:04:52 +0000 (04:04 +0300)]
Issue #14235: Use importlib.reload() in test_cmd.test_coverage.

11 years agoIssue #21679: Prevent extraneous fstat() calls during open(). Patch by Bohuslav...
Antoine Pitrou [Mon, 30 Jun 2014 00:07:28 +0000 (20:07 -0400)]
Issue #21679: Prevent extraneous fstat() calls during open().  Patch by Bohuslav Kabrda.

11 years agoMerge 3.4.
Stefan Krah [Sun, 29 Jun 2014 22:16:09 +0000 (00:16 +0200)]
Merge 3.4.

11 years agoIssue #21778: Clarify use of flags if PyBuffer_FillInfo() is used inside a
Stefan Krah [Sun, 29 Jun 2014 22:15:45 +0000 (00:15 +0200)]
Issue #21778:  Clarify use of flags if PyBuffer_FillInfo() is used inside a
getbufferproc().

11 years agoFixes #10541: regrtest -T is broken
Alexander Belopolsky [Sun, 29 Jun 2014 21:44:05 +0000 (17:44 -0400)]
Fixes #10541: regrtest -T is broken

 * makes test_trace tests restore the tracefunc after they run
 * write_results() in trace module will not terminate if lnotab
   cannot be found.

11 years agoIssue #20753: Merge with 3.4.
Berker Peksag [Sun, 29 Jun 2014 12:56:21 +0000 (15:56 +0300)]
Issue #20753: Merge with 3.4.

11 years agoIssue #20753: Skip PasswordProtectedSiteTestCase when Python is built without threads.
Berker Peksag [Sun, 29 Jun 2014 12:54:56 +0000 (15:54 +0300)]
Issue #20753: Skip PasswordProtectedSiteTestCase when Python is built without threads.

11 years ago(Merge 3.4) asyncio: sync with Tulip, add a new asyncio.coroutines module
Victor Stinner [Sat, 28 Jun 2014 22:47:28 +0000 (00:47 +0200)]
(Merge 3.4) asyncio: sync with Tulip, add a new asyncio.coroutines module

11 years agoasyncio: sync with Tulip, add a new asyncio.coroutines module
Victor Stinner [Sat, 28 Jun 2014 22:46:45 +0000 (00:46 +0200)]
asyncio: sync with Tulip, add a new asyncio.coroutines module

11 years agoMERGE: Closes #11279: test_posix and lack of "id -G" support - less noise required...
Jesus Cea [Sat, 28 Jun 2014 16:39:51 +0000 (18:39 +0200)]
MERGE: Closes #11279: test_posix and lack of "id -G" support - less noise required? (Solaris)

11 years agoCloses #11279: test_posix and lack of "id -G" support - less noise required? (Solaris)
Jesus Cea [Sat, 28 Jun 2014 16:39:35 +0000 (18:39 +0200)]
Closes #11279: test_posix and lack of "id -G" support - less noise required? (Solaris)

11 years agoIssue #21863: cProfile now displays the module name of C extension functions, in...
Antoine Pitrou [Sat, 28 Jun 2014 03:49:29 +0000 (23:49 -0400)]
Issue #21863: cProfile now displays the module name of C extension functions, in addition to their own name.

11 years ago(Merge 3.4) asyncio: Fix two "Coroutine xxx was never yielded from" messages in
Victor Stinner [Fri, 27 Jun 2014 23:19:28 +0000 (01:19 +0200)]
(Merge 3.4) asyncio: Fix two "Coroutine xxx was never yielded from" messages in
tests

11 years agoasyncio: Fix two "Coroutine xxx was never yielded from" messages in tests
Victor Stinner [Fri, 27 Jun 2014 23:19:11 +0000 (01:19 +0200)]
asyncio: Fix two "Coroutine xxx was never yielded from" messages in tests

11 years ago(Merge 3.4) asyncio: Fix unit tests on Windows, escape filenames in regex
Victor Stinner [Fri, 27 Jun 2014 22:14:28 +0000 (00:14 +0200)]
(Merge 3.4) asyncio: Fix unit tests on Windows, escape filenames in regex

11 years agoasyncio: Fix unit tests on Windows, escape filenames in regex
Victor Stinner [Fri, 27 Jun 2014 22:12:02 +0000 (00:12 +0200)]
asyncio: Fix unit tests on Windows, escape filenames in regex

11 years ago(Merge 3.4) Issue #11453: asyncore: emit a ResourceWarning when an unclosed
Victor Stinner [Fri, 27 Jun 2014 21:57:19 +0000 (23:57 +0200)]
(Merge 3.4) Issue #11453: asyncore: emit a ResourceWarning when an unclosed
file_wrapper object is destroyed. The destructor now closes the file if needed.
The close() method can now be called twice: the second call does nothing.

11 years agoIssue #11453: asyncore: emit a ResourceWarning when an unclosed file_wrapper
Victor Stinner [Fri, 27 Jun 2014 21:52:03 +0000 (23:52 +0200)]
Issue #11453: asyncore: emit a ResourceWarning when an unclosed file_wrapper
object is destroyed. The destructor now closes the file if needed. The close()
method can now be called twice: the second call does nothing.

11 years ago(Merge 3.4) Closes #21582: Cleanup test_asyncore. Patch written by diana.
Victor Stinner [Fri, 27 Jun 2014 20:47:41 +0000 (22:47 +0200)]
(Merge 3.4) Closes #21582: Cleanup test_asyncore. Patch written by diana.

- Use support.captured_stderr() where appropriate
- Removes some "from test.support import xxx" import and uses support.xxx
  instead.

11 years agoCloses #21582: Cleanup test_asyncore. Patch written by diana.
Victor Stinner [Fri, 27 Jun 2014 20:44:40 +0000 (22:44 +0200)]
Closes #21582: Cleanup test_asyncore. Patch written by diana.

- Use support.captured_stderr() where appropriate
- Removes some "from test.support import xxx" import and uses support.xxx
  instead.

11 years agoMerge socket howto fixes from 3.4.
Ezio Melotti [Fri, 27 Jun 2014 13:34:57 +0000 (16:34 +0300)]
Merge socket howto fixes from 3.4.

11 years agoFix indentation and class name in socket howto example.
Ezio Melotti [Fri, 27 Jun 2014 13:34:14 +0000 (16:34 +0300)]
Fix indentation and class name in socket howto example.

11 years ago(Merge 3.4) asyncio, Tulip issue 137: In debug mode, save traceback where
Victor Stinner [Fri, 27 Jun 2014 11:55:28 +0000 (13:55 +0200)]
(Merge 3.4) asyncio, Tulip issue 137: In debug mode, save traceback where
Future, Task and Handle objects are created. Pass the traceback to
call_exception_handler() in the 'source_traceback' key.

The traceback is truncated to hide internal calls in asyncio, show only the
traceback from user code.

Add tests for the new source_traceback, and a test for the 'Future/Task
exception was never retrieved' log.

11 years agoasyncio, Tulip issue 137: In debug mode, save traceback where Future, Task and
Victor Stinner [Fri, 27 Jun 2014 11:52:20 +0000 (13:52 +0200)]
asyncio, Tulip issue 137: In debug mode, save traceback where Future, Task and
Handle objects are created. Pass the traceback to call_exception_handler() in
the 'source_traceback' key.

The traceback is truncated to hide internal calls in asyncio, show only the
traceback from user code.

Add tests for the new source_traceback, and a test for the 'Future/Task
exception was never retrieved' log.

11 years ago(Merge 3.4) asyncio, Tulip issue 137: In debug mode, add the traceback where
Victor Stinner [Fri, 27 Jun 2014 10:29:30 +0000 (12:29 +0200)]
(Merge 3.4) asyncio, Tulip issue 137: In debug mode, add the traceback where
the coroutine object was created to the "coroutine ... was never yield from"
log

11 years agoasyncio, Tulip issue 137: In debug mode, add the traceback where the coroutine
Victor Stinner [Fri, 27 Jun 2014 10:28:41 +0000 (12:28 +0200)]
asyncio, Tulip issue 137: In debug mode, add the traceback where the coroutine
object was created to the "coroutine ... was never yield from" log

11 years ago(Merge 3.4) asyncio: Oops, restore a removed test
Victor Stinner [Fri, 27 Jun 2014 10:24:14 +0000 (12:24 +0200)]
(Merge 3.4) asyncio: Oops, restore a removed test

11 years agoasyncio: Oops, restore a removed test
Victor Stinner [Fri, 27 Jun 2014 10:23:41 +0000 (12:23 +0200)]
asyncio: Oops, restore a removed test

11 years agoIssue #21875: Remove vestigial references to Classic Mac OS in os module docs.
Ned Deily [Fri, 27 Jun 2014 06:42:38 +0000 (23:42 -0700)]
Issue #21875: Remove vestigial references to Classic Mac OS in os module docs.

11 years agoIssue #21875: Remove vestigial references to Classic Mac OS in os module docs.
Ned Deily [Fri, 27 Jun 2014 06:40:06 +0000 (23:40 -0700)]
Issue #21875: Remove vestigial references to Classic Mac OS in os module docs.

11 years agomerge 3.4
Benjamin Peterson [Fri, 27 Jun 2014 06:29:19 +0000 (23:29 -0700)]
merge 3.4

11 years agouse NULL not 0
Benjamin Peterson [Fri, 27 Jun 2014 06:29:13 +0000 (23:29 -0700)]
use NULL not 0

11 years ago(Merge 3.4) Issue #21858: Better handling of Python exceptions in the sqlite3
Victor Stinner [Thu, 26 Jun 2014 21:33:34 +0000 (23:33 +0200)]
(Merge 3.4) Issue #21858: Better handling of Python exceptions in the sqlite3
module.

11 years agoIssue #21858: Better handling of Python exceptions in the sqlite3 module.
Victor Stinner [Thu, 26 Jun 2014 21:32:00 +0000 (23:32 +0200)]
Issue #21858: Better handling of Python exceptions in the sqlite3 module.

11 years agoIssue #21829: Merge with 3.4
Zachary Ware [Thu, 26 Jun 2014 20:22:16 +0000 (15:22 -0500)]
Issue #21829: Merge with 3.4

11 years agoIssue #21829: Fix running test_ctypes on Windows with -O or -OO
Zachary Ware [Thu, 26 Jun 2014 20:20:44 +0000 (15:20 -0500)]
Issue #21829: Fix running test_ctypes on Windows with -O or -OO

11 years agoMerge #21476: Unwrap fp in BytesParser so the file isn't unexpectedly closed.
R David Murray [Thu, 26 Jun 2014 17:33:05 +0000 (13:33 -0400)]
Merge #21476: Unwrap fp in BytesParser so the file isn't unexpectedly closed.

11 years ago#21476: Unwrap fp in BytesParser so the file isn't unexpectedly closed.
R David Murray [Thu, 26 Jun 2014 17:31:43 +0000 (13:31 -0400)]
#21476: Unwrap fp in BytesParser so the file isn't unexpectedly closed.

This makes the behavior match that of Parser.  Patch by Vajrasky Kok.

11 years ago#20295: Teach imghdr to recognize OpenEXR format images.
R David Murray [Thu, 26 Jun 2014 16:27:57 +0000 (12:27 -0400)]
#20295: Teach imghdr to recognize OpenEXR format images.

Patch by Martin Vignali, test by Claudiu Popa.

11 years agomerge
Raymond Hettinger [Thu, 26 Jun 2014 16:25:41 +0000 (09:25 -0700)]
merge

11 years agoIssue #19145: Remove duplicate ACKS entry
Raymond Hettinger [Thu, 26 Jun 2014 16:25:18 +0000 (09:25 -0700)]
Issue #19145:  Remove duplicate ACKS entry

11 years agoMerge with 3.4
Terry Jan Reedy [Thu, 26 Jun 2014 05:41:06 +0000 (01:41 -0400)]
Merge with 3.4

11 years agoIssue #18592: For idlelib.SearchDialogBase, edit and add docstrings,
Terry Jan Reedy [Thu, 26 Jun 2014 05:40:51 +0000 (01:40 -0400)]
Issue #18592: For idlelib.SearchDialogBase, edit and add docstrings,
move two functions next to the functions that use them.

11 years ago(Merge 3.4) asyncio: Handle error handler: enhance formatting of the callback
Victor Stinner [Wed, 25 Jun 2014 23:36:47 +0000 (01:36 +0200)]
(Merge 3.4) asyncio: Handle error handler: enhance formatting of the callback

11 years agoasyncio: Handle error handler: enhance formatting of the callback
Victor Stinner [Wed, 25 Jun 2014 23:35:45 +0000 (01:35 +0200)]
asyncio: Handle error handler: enhance formatting of the callback

11 years ago(Merge 3.4) Issue #21163: Fix one more "Task was destroyed but it is pending!"
Victor Stinner [Wed, 25 Jun 2014 21:59:31 +0000 (23:59 +0200)]
(Merge 3.4) Issue #21163: Fix one more "Task was destroyed but it is pending!"
log in tests

11 years agoIssue #21163: Fix one more "Task was destroyed but it is pending!" log in tests
Victor Stinner [Wed, 25 Jun 2014 21:57:50 +0000 (23:57 +0200)]
Issue #21163: Fix one more "Task was destroyed but it is pending!" log in tests

11 years ago(Merge 3.4) asyncio: sync with Tulip
Victor Stinner [Wed, 25 Jun 2014 21:33:02 +0000 (23:33 +0200)]
(Merge 3.4) asyncio: sync with Tulip

- Python issue 21163: Fix more "Task was destroyed but it is pending!" logs in
  tests
- Add test to check that run_until_complete() checks the loop of the future

11 years agoasyncio: sync with Tulip
Victor Stinner [Wed, 25 Jun 2014 21:32:25 +0000 (23:32 +0200)]
asyncio: sync with Tulip

- Python issue 21163: Fix more "Task was destroyed but it is pending!" logs in
  tests
- Add test to check that run_until_complete() checks the loop of the future

11 years ago(Merge 3.4) Issue #21163, asyncio: Fix some "Task was destroyed but it is
Victor Stinner [Wed, 25 Jun 2014 21:12:58 +0000 (23:12 +0200)]
(Merge 3.4) Issue #21163, asyncio: Fix some "Task was destroyed but it is
pending!" logs in tests

11 years agoIssue #21163, asyncio: Fix some "Task was destroyed but it is pending!" logs in tests
Victor Stinner [Wed, 25 Jun 2014 21:11:21 +0000 (23:11 +0200)]
Issue #21163, asyncio: Fix some "Task was destroyed but it is pending!" logs in tests

11 years agoIssue #21811: Anticipated fixes to 3.x configure for OS X 10.10 Yosemite.
Ned Deily [Wed, 25 Jun 2014 20:46:33 +0000 (13:46 -0700)]
Issue #21811: Anticipated fixes to 3.x configure for OS X 10.10 Yosemite.

11 years agoIssue #21811: Anticipated fixes to 3.x configure for OS X 10.10 Yosemite.
Ned Deily [Wed, 25 Jun 2014 20:44:22 +0000 (13:44 -0700)]
Issue #21811: Anticipated fixes to 3.x configure for OS X 10.10 Yosemite.

11 years agoIssue #21811: Anticipated fixes to 3.x and 2.7 for OS X 10.10 Yosemite.
Ned Deily [Wed, 25 Jun 2014 20:42:22 +0000 (13:42 -0700)]
Issue #21811: Anticipated fixes to 3.x and 2.7 for OS X 10.10 Yosemite.

11 years agoIssue #21811: Anticipated fixes to 3.x and 2.7 for OS X 10.10 Yosemite.
Ned Deily [Wed, 25 Jun 2014 20:36:14 +0000 (13:36 -0700)]
Issue #21811: Anticipated fixes to 3.x and 2.7 for OS X 10.10 Yosemite.

11 years ago(Merge 3.4) asyncio, Tulip issue 177: Rewite repr() of Future, Task, Handle and
Victor Stinner [Wed, 25 Jun 2014 19:43:21 +0000 (21:43 +0200)]
(Merge 3.4) asyncio, Tulip issue 177: Rewite repr() of Future, Task, Handle and
TimerHandle

- Uniformize repr() output to format "<Class ...>"
- On Python 3.5+, repr(Task) uses the qualified name instead of the short name
  of the coroutine

11 years agoasyncio, Tulip issue 177: Rewite repr() of Future, Task, Handle and TimerHandle
Victor Stinner [Wed, 25 Jun 2014 19:41:58 +0000 (21:41 +0200)]
asyncio, Tulip issue 177: Rewite repr() of Future, Task, Handle and TimerHandle

- Uniformize repr() output to format "<Class ...>"
- On Python 3.5+, repr(Task) uses the qualified name instead of the short name
  of the coroutine

11 years agoIssue #21729: Used the "with" statement in the dbm.dumb module to ensure
Serhiy Storchaka [Wed, 25 Jun 2014 17:37:30 +0000 (20:37 +0300)]
Issue #21729: Used the "with" statement in the dbm.dumb module to ensure
files closing.  Patch by Claudiu Popa.

11 years agoIssue #21729: Used the "with" statement in the dbm.dumb module to ensure
Serhiy Storchaka [Wed, 25 Jun 2014 17:35:31 +0000 (20:35 +0300)]
Issue #21729: Used the "with" statement in the dbm.dumb module to ensure
files closing.  Patch by Claudiu Popa.

11 years agoMERGE: Closes #20872: dbm/gdbm/ndbm close methods are not documented
Jesus Cea [Wed, 25 Jun 2014 11:06:32 +0000 (13:06 +0200)]
MERGE: Closes #20872: dbm/gdbm/ndbm close methods are not documented

11 years agoMERGE: Closes #20872: dbm/gdbm/ndbm close methods are not documented
Jesus Cea [Wed, 25 Jun 2014 11:06:07 +0000 (13:06 +0200)]
MERGE: Closes #20872: dbm/gdbm/ndbm close methods are not documented

11 years agoCloses #20872: dbm/gdbm/ndbm close methods are not documented
Jesus Cea [Wed, 25 Jun 2014 11:05:31 +0000 (13:05 +0200)]
Closes #20872: dbm/gdbm/ndbm close methods are not documented

11 years agomerge from 3.4
Senthil Kumaran [Wed, 25 Jun 2014 09:58:53 +0000 (02:58 -0700)]
merge from 3.4

issue20753 - robotparser tests should not rely upon external resource when not required.

Specifically, it was relying a URL which gave HTTP 403 and used it to assert
it's methods, this changes undoes that and provides a local http server with
similar properties.

Patch contributed by Vajrasky Kok.

11 years agoissue20753 - robotparser tests should not rely upon external resource when not required.
Senthil Kumaran [Wed, 25 Jun 2014 09:58:15 +0000 (02:58 -0700)]
issue20753 - robotparser tests should not rely upon external resource when not required.

Specifically, it was relying a URL which gave HTTP 403 and used it to assert
it's methods, this changes undoes that and provides a local http server with
similar properties.

Patch contributed by Vajrasky Kok.

11 years agomerge from 3.4
Senthil Kumaran [Wed, 25 Jun 2014 08:13:19 +0000 (01:13 -0700)]
merge from 3.4

issue15588 - Correct the quopri module documentation. Mention the correct types
of the parameters on encodestring and decodestring.

Patch by Petri Lehtinen.

11 years agoCorrect the quopri module documentation. Mention the correct types of the
Senthil Kumaran [Wed, 25 Jun 2014 08:12:03 +0000 (01:12 -0700)]
Correct the quopri module documentation. Mention the correct types of the
parameters on encodestring and decodestring.

Patch by Petri Lehtinen.

11 years agoMerged documentation update from 3.4.
Vinay Sajip [Wed, 25 Jun 2014 06:31:21 +0000 (07:31 +0100)]
Merged documentation update from 3.4.

11 years agoFixed typo in documentation.
Vinay Sajip [Wed, 25 Jun 2014 06:30:46 +0000 (07:30 +0100)]
Fixed typo in documentation.

11 years agomerge
Raymond Hettinger [Wed, 25 Jun 2014 04:39:27 +0000 (21:39 -0700)]
merge

11 years agoIssue #19145: Fix handling of negative values for a "times" keyword argument to...
Raymond Hettinger [Wed, 25 Jun 2014 04:36:58 +0000 (21:36 -0700)]
Issue #19145:  Fix handling of negative values for a "times" keyword argument to itertools.repeat()>

(Patch contributed by Vajrasky Kok.)

11 years agoMERGE: Closes #21441: Reorder elements in documentation to match actual order in...
Jesus Cea [Wed, 25 Jun 2014 03:38:40 +0000 (05:38 +0200)]
MERGE: Closes #21441: Reorder elements in documentation to match actual order in the code

11 years agoMERGE: Closes #21441: Reorder elements in documentation to match actual order in...
Jesus Cea [Wed, 25 Jun 2014 03:38:06 +0000 (05:38 +0200)]
MERGE: Closes #21441: Reorder elements in documentation to match actual order in the code

11 years agoCloses #21441: Reorder elements in documentation to match actual order in the code
Jesus Cea [Wed, 25 Jun 2014 03:37:17 +0000 (05:37 +0200)]
Closes #21441: Reorder elements in documentation to match actual order in the code

11 years agoMerge with 3.4
Terry Jan Reedy [Wed, 25 Jun 2014 02:21:56 +0000 (22:21 -0400)]
Merge with 3.4

11 years agoIssue #14117: Inprove help text and docstrings, some for clarity, some just to
Terry Jan Reedy [Wed, 25 Jun 2014 02:21:41 +0000 (22:21 -0400)]
Issue #14117: Inprove help text and docstrings, some for clarity, some just to
fit in the default width of the text window (45 chars).

11 years agomerge
Raymond Hettinger [Wed, 25 Jun 2014 01:13:31 +0000 (18:13 -0700)]
merge

11 years agoAdd news entry for #21832
Raymond Hettinger [Wed, 25 Jun 2014 01:11:48 +0000 (18:11 -0700)]
Add news entry for #21832

11 years agomerge
Raymond Hettinger [Wed, 25 Jun 2014 01:07:57 +0000 (18:07 -0700)]
merge

11 years agomerge
Raymond Hettinger [Wed, 25 Jun 2014 01:07:33 +0000 (18:07 -0700)]
merge

11 years agomerge
Raymond Hettinger [Wed, 25 Jun 2014 01:07:14 +0000 (18:07 -0700)]
merge

11 years agomerge
Raymond Hettinger [Tue, 24 Jun 2014 22:21:24 +0000 (15:21 -0700)]
merge

11 years agoIssue 21832: Require named tuple inputs to be exact strings
Raymond Hettinger [Tue, 24 Jun 2014 22:20:55 +0000 (15:20 -0700)]
Issue 21832:  Require named tuple inputs to be exact strings

11 years ago(Merge 3.4) asyncio: repr(Task) now also contains the line number even if the
Victor Stinner [Tue, 24 Jun 2014 20:58:23 +0000 (22:58 +0200)]
(Merge 3.4) asyncio: repr(Task) now also contains the line number even if the
coroutine is done: use the first line number of the code object instead of the
current line number of the generator frame.

The name of the coroutine is not enough because many coroutines may have the
same name. It's a common case in asyncio tests for example.

11 years agoasyncio: repr(Task) now also contains the line number even if the coroutine is
Victor Stinner [Tue, 24 Jun 2014 20:57:14 +0000 (22:57 +0200)]
asyncio: repr(Task) now also contains the line number even if the coroutine is
done: use the first line number of the code object instead of the current line
number of the generator frame.

The name of the coroutine is not enough because many coroutines may have the
same name. It's a common case in asyncio tests for example.

11 years agomerge
Raymond Hettinger [Tue, 24 Jun 2014 20:52:19 +0000 (13:52 -0700)]
merge

11 years agomerge
Raymond Hettinger [Tue, 24 Jun 2014 20:51:59 +0000 (13:51 -0700)]
merge

11 years agomerge
Raymond Hettinger [Tue, 24 Jun 2014 20:51:42 +0000 (13:51 -0700)]
merge

11 years agomerge
Raymond Hettinger [Tue, 24 Jun 2014 20:51:18 +0000 (13:51 -0700)]
merge

11 years agomerge: #20155: use fake HTTP method names so windows doesn't hang the tests.
R David Murray [Tue, 24 Jun 2014 20:49:04 +0000 (16:49 -0400)]
merge: #20155: use fake HTTP method names so windows doesn't hang the tests.

11 years agomerge
Raymond Hettinger [Tue, 24 Jun 2014 20:44:39 +0000 (13:44 -0700)]
merge

11 years agoIssue 21832: Require named tuple inputs to be exact strings
Raymond Hettinger [Tue, 24 Jun 2014 20:44:03 +0000 (13:44 -0700)]
Issue 21832:  Require named tuple inputs to be exact strings

11 years ago#20155: use fake HTTP method names so windows doesn't hang the tests.
R David Murray [Tue, 24 Jun 2014 20:39:49 +0000 (16:39 -0400)]
#20155: use fake HTTP method names so windows doesn't hang the tests.

Windows was seeing the 'GET' generated by these tests as invalid and forcibly
closing the socket, causing the test to fail.

Patch by Jeff Allen.

11 years ago(Merge 3.4) asyncio: Log an error if a Task is destroyed while it is still pending
Victor Stinner [Tue, 24 Jun 2014 20:38:31 +0000 (22:38 +0200)]
(Merge 3.4) asyncio: Log an error if a Task is destroyed while it is still pending

11 years agoasyncio: Log an error if a Task is destroyed while it is still pending
Victor Stinner [Tue, 24 Jun 2014 20:37:53 +0000 (22:37 +0200)]
asyncio: Log an error if a Task is destroyed while it is still pending