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
Jesus Cea
ca5c7153de
MERGE: Closes #21441 : Reorder elements in documentation to match actual order in the code
2014-06-25 05:38:06 +02:00
Jesus Cea
e8ef8b7a20
Closes #21441 : Reorder elements in documentation to match actual order in the code
2014-06-25 05:37:17 +02:00
Terry Jan Reedy
5827da3f9f
Merge with 3.4
2014-06-24 22:21:56 -04:00
Terry Jan Reedy
c5a72e6971
Issue #14117 : Inprove help text and docstrings, some for clarity, some just to
...
fit in the default width of the text window (45 chars).
2014-06-24 22:21:41 -04:00
Raymond Hettinger
d04d511078
merge
2014-06-24 18:13:31 -07:00
Raymond Hettinger
6f6922c090
Add news entry for #21832
2014-06-24 18:11:48 -07:00
Raymond Hettinger
b5e78dbb3b
merge
2014-06-24 18:07:57 -07:00
Raymond Hettinger
5cfec399db
merge
2014-06-24 18:07:33 -07:00
Raymond Hettinger
d21beaefc5
merge
2014-06-24 18:07:14 -07:00
Raymond Hettinger
f2bbb651a8
merge
2014-06-24 15:21:24 -07:00
Raymond Hettinger
bc000509e8
Issue 21832: Require named tuple inputs to be exact strings
2014-06-24 15:20:55 -07:00
Victor Stinner
5c2f5ab465
(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.
2014-06-24 22:58:23 +02:00
Victor Stinner
df29c4a83d
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.
2014-06-24 22:57:14 +02:00
Raymond Hettinger
ea2b007b44
merge
2014-06-24 13:52:19 -07:00
Raymond Hettinger
a99771e542
merge
2014-06-24 13:51:59 -07:00
Raymond Hettinger
16f08355ce
merge
2014-06-24 13:51:42 -07:00
Raymond Hettinger
aba9bfed73
merge
2014-06-24 13:51:18 -07:00
R David Murray
24a3c72638
merge: #20155 : use fake HTTP method names so windows doesn't hang the tests.
2014-06-24 16:49:04 -04:00
Raymond Hettinger
21468dfa4d
merge
2014-06-24 13:44:39 -07:00
Raymond Hettinger
7c59613a75
Issue 21832: Require named tuple inputs to be exact strings
2014-06-24 13:44:03 -07:00
R David Murray
14199f9392
#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.
2014-06-24 16:39:49 -04:00
Victor Stinner
777aa64eaa
(Merge 3.4) asyncio: Log an error if a Task is destroyed while it is still pending
2014-06-24 22:38:31 +02:00
Victor Stinner
a02f81ff17
asyncio: Log an error if a Task is destroyed while it is still pending
2014-06-24 22:37:53 +02:00
Raymond Hettinger
c03dc0f164
merge
2014-06-24 13:03:54 -07:00
Raymond Hettinger
4c945fe9e9
merge
2014-06-24 13:03:24 -07:00
Benjamin Peterson
f5c5175b47
merge 3.4
2014-06-23 20:16:06 -07:00
Benjamin Peterson
5bb0c84a8f
null merge 3.4
2014-06-23 20:16:01 -07:00
Benjamin Peterson
17f9b64c63
add Chris Foster
2014-06-23 20:14:46 -07:00
Raymond Hettinger
04ba0bb80c
Issue #11974 : Add tutorial section on class and instance variables
...
(Based on a patch from Renee Chu.)
2014-06-23 18:08:01 -07:00
Yury Selivanov
42407abe24
inspect: Validate that __signature__ is None or an instance of Signature.
...
Closes #21801 .
2014-06-23 10:23:50 -07:00
Yury Selivanov
c0f964fd55
inspect: Validate that __signature__ is None or an instance of Signature.
...
Closes #21801 .
2014-06-23 10:21:04 -07:00
Victor Stinner
289cae4f92
(Merge 3.4) asyncio: Fix BaseEventLoop._assert_is_current_event_loop():
...
get_event_loop() raises an exception if there is no current loop
2014-06-23 15:14:50 +02:00