Ezio Melotti
680241ec99
Fix indentation and class name in socket howto example.
2014-06-27 16:34:14 +03:00
Victor Stinner
eb39199f3d
(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.
2014-06-27 13:55:28 +02:00
Victor Stinner
80f53aa9a0
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.
2014-06-27 13:52:20 +02:00
Victor Stinner
fe4a979099
(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
2014-06-27 12:29:30 +02:00
Victor Stinner
bbd96c6f47
asyncio, Tulip issue 137: In debug mode, add the traceback where the coroutine
...
object was created to the "coroutine ... was never yield from" log
2014-06-27 12:28:41 +02:00
Victor Stinner
19b011109d
(Merge 3.4) asyncio: Oops, restore a removed test
2014-06-27 12:24:14 +02:00
Victor Stinner
c4cca45baf
asyncio: Oops, restore a removed test
2014-06-27 12:23:41 +02:00
Ned Deily
ddb1d82fe6
Issue #21875 : Remove vestigial references to Classic Mac OS in os module docs.
2014-06-26 23:42:38 -07:00
Ned Deily
5c867018f0
Issue #21875 : Remove vestigial references to Classic Mac OS in os module docs.
2014-06-26 23:40:06 -07:00
Benjamin Peterson
3cbae68de6
merge 3.4
2014-06-26 23:29:19 -07:00
Benjamin Peterson
1791c224dd
use NULL not 0
2014-06-26 23:29:13 -07:00
Victor Stinner
7722769b76
(Merge 3.4) Issue #21858 : Better handling of Python exceptions in the sqlite3
...
module.
2014-06-26 23:33:34 +02:00
Victor Stinner
297d104248
Issue #21858 : Better handling of Python exceptions in the sqlite3 module.
2014-06-26 23:32:00 +02:00
Zachary Ware
c59a49ddda
Issue #21829 : Merge with 3.4
2014-06-26 15:22:16 -05:00
Zachary Ware
7180c793c4
Issue #21829 : Fix running test_ctypes on Windows with -O or -OO
2014-06-26 15:20:44 -05:00
R David Murray
0c43ed8716
Merge #21476 : Unwrap fp in BytesParser so the file isn't unexpectedly closed.
2014-06-26 13:33:05 -04:00
R David Murray
c6772c4d59
#21476 : Unwrap fp in BytesParser so the file isn't unexpectedly closed.
...
This makes the behavior match that of Parser. Patch by Vajrasky Kok.
2014-06-26 13:31:43 -04:00
R David Murray
2f60820f4c
#20295 : Teach imghdr to recognize OpenEXR format images.
...
Patch by Martin Vignali, test by Claudiu Popa.
2014-06-26 12:27:57 -04:00
Raymond Hettinger
a157867a3d
merge
2014-06-26 09:25:41 -07:00
Raymond Hettinger
19454563d8
Issue #19145 : Remove duplicate ACKS entry
2014-06-26 09:25:18 -07:00
Terry Jan Reedy
d6dd534924
Merge with 3.4
2014-06-26 01:41:06 -04:00
Terry Jan Reedy
ede05736cf
Issue #18592 : For idlelib.SearchDialogBase, edit and add docstrings,
...
move two functions next to the functions that use them.
2014-06-26 01:40:51 -04:00
Victor Stinner
67825605c8
(Merge 3.4) asyncio: Handle error handler: enhance formatting of the callback
2014-06-26 01:36:47 +02:00
Victor Stinner
17b53f1301
asyncio: Handle error handler: enhance formatting of the callback
2014-06-26 01:35:45 +02:00
Victor Stinner
f5434f73d7
(Merge 3.4) Issue #21163 : Fix one more "Task was destroyed but it is pending!"
...
log in tests
2014-06-25 23:59:31 +02:00
Victor Stinner
72502c12a7
Issue #21163 : Fix one more "Task was destroyed but it is pending!" log in tests
2014-06-25 23:57:50 +02:00
Victor Stinner
86ceffc3ef
(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
2014-06-25 23:33:02 +02:00
Victor Stinner
7ba4061098
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
2014-06-25 23:32:25 +02:00
Victor Stinner
16b3c99141
(Merge 3.4) Issue #21163 , asyncio: Fix some "Task was destroyed but it is
...
pending!" logs in tests
2014-06-25 23:12:58 +02:00
Victor Stinner
87f16f892c
Issue #21163 , asyncio: Fix some "Task was destroyed but it is pending!" logs in tests
2014-06-25 23:11:21 +02:00
Ned Deily
68e915e641
Issue #21811 : Anticipated fixes to 3.x configure for OS X 10.10 Yosemite.
2014-06-25 13:46:33 -07:00
Ned Deily
36820b6e08
Issue #21811 : Anticipated fixes to 3.x configure for OS X 10.10 Yosemite.
2014-06-25 13:44:22 -07:00
Ned Deily
ce38f24af8
Issue #21811 : Anticipated fixes to 3.x and 2.7 for OS X 10.10 Yosemite.
2014-06-25 13:42:22 -07:00
Ned Deily
04cdfa1147
Issue #21811 : Anticipated fixes to 3.x and 2.7 for OS X 10.10 Yosemite.
2014-06-25 13:36:14 -07:00
Victor Stinner
893df48682
(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
2014-06-25 21:43:21 +02:00
Victor Stinner
975735f729
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
2014-06-25 21:41:58 +02:00
Serhiy Storchaka
e5243cc713
Issue #21729 : Used the "with" statement in the dbm.dumb module to ensure
...
files closing. Patch by Claudiu Popa.
2014-06-25 20:37:30 +03:00
Serhiy Storchaka
65c623de74
Issue #21729 : Used the "with" statement in the dbm.dumb module to ensure
...
files closing. Patch by Claudiu Popa.
2014-06-25 20:35:31 +03:00
Jesus Cea
9f65a35b7e
MERGE: Closes #20872 : dbm/gdbm/ndbm close methods are not documented
2014-06-25 13:06:32 +02:00
Jesus Cea
0c4baa40ec
MERGE: Closes #20872 : dbm/gdbm/ndbm close methods are not documented
2014-06-25 13:06:07 +02:00
Jesus Cea
ac4b7f705a
Closes #20872 : dbm/gdbm/ndbm close methods are not documented
2014-06-25 13:05:31 +02:00
Senthil Kumaran
fc0cad86c7
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.
2014-06-25 02:58:53 -07:00
Senthil Kumaran
601d6ec693
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.
2014-06-25 02:58:15 -07:00
Senthil Kumaran
b057970f0d
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.
2014-06-25 01:13:19 -07:00
Senthil Kumaran
99597c4d12
Correct the quopri module documentation. Mention the correct types of the
...
parameters on encodestring and decodestring.
Patch by Petri Lehtinen.
2014-06-25 01:12:03 -07:00
Vinay Sajip
33683dfb25
Merged documentation update from 3.4.
2014-06-25 07:31:21 +01:00
Vinay Sajip
ab960f838c
Fixed typo in documentation.
2014-06-25 07:30:46 +01:00
Raymond Hettinger
ee205dc7d8
merge
2014-06-24 21:39:27 -07:00
Raymond Hettinger
97d3555029
Issue #19145 : Fix handling of negative values for a "times" keyword argument to itertools.repeat()>
...
(Patch contributed by Vajrasky Kok.)
2014-06-24 21:36:58 -07:00
Jesus Cea
7232986239
MERGE: Closes #21441 : Reorder elements in documentation to match actual order in the code
2014-06-25 05:38:40 +02:00