Victor Stinner
c6aceeed29
(Merge 3.4) Issue #22063 : Mention in asyncio documentation that socket
...
operations require the socket to be non-blocking
2014-07-29 23:12:34 +02:00
Victor Stinner
ec2ce092a2
Issue #22063 : Mention in asyncio documentation that socket operations require
...
the socket to be non-blocking
2014-07-29 23:12:22 +02:00
Victor Stinner
1db9e7bb19
Issue #22054 : Add os.get_blocking() and os.set_blocking() functions to get and
...
set the blocking mode of a file descriptor (False if the O_NONBLOCK flag is
set, True otherwise). These functions are not available on Windows.
2014-07-29 22:32:47 +02:00
Andrew Svetlov
83e6675c0d
Document lock parameter for asyncio.Condition()
2014-07-26 19:53:38 +03:00
Andrew Svetlov
f200ce6333
Document lock parameter for asyncio.Condition()
2014-07-26 19:50:37 +03:00
Zachary Ware
b27d3a2d21
Closes #22072 : Merge typo fixes from 3.4
2014-07-25 13:31:36 -05:00
Zachary Ware
88a1977a08
Issue #22072 : Fix a couple of SSL doc typos. Patch by Alex Gaynor.
2014-07-25 13:30:50 -05:00
Nick Coghlan
efd5df9e52
Issue #21947 : handle generator-iterator objects in dis
...
Patch by Clement Rouault.
2014-07-25 23:02:56 +10:00
Victor Stinner
1d8948e023
Backout 42ced0d023cd: oops, i didn't want to push this changeset :-/
2014-07-24 22:51:05 +02:00
Victor Stinner
d18ccd19f0
tets
2014-07-24 21:58:53 +02:00
Victor Stinner
316b16de13
(Merge 3.4) Issue #16133 : The asynchat.async_chat.handle_read() method now
...
ignores BlockingIOError exceptions. Initial patch written by Xavier de Gaye.
Document also in asyncore documentation that recv() may raise BlockingIOError.
2014-07-24 19:00:28 +02:00
Victor Stinner
45cff66cf6
Issue #16133 : The asynchat.async_chat.handle_read() method now ignores
...
BlockingIOError exceptions. Initial patch written by Xavier de Gaye.
Document also in asyncore documentation that recv() may raise BlockingIOError.
2014-07-24 18:49:36 +02:00
Victor Stinner
e1d24f7ec3
Issue #21813 : Enhance documentation of the os.stat_result class.
2014-07-24 12:44:07 +02:00
Victor Stinner
992019c006
Backport os.rst documentation from Python 3.5.
2014-07-24 12:42:45 +02:00
Victor Stinner
6d4f4feca2
Issue #21813 : Enhance documentation of the os.stat_result class.
2014-07-24 12:42:16 +02:00
Andrew Svetlov
eb14455877
Merge 3.4: Fix incomplete sentence in asyncio docs.
2014-07-24 11:36:54 +03:00
Andrew Svetlov
ca4f34366a
Fix incomplete sentence in asyncio docs.
2014-07-24 11:36:33 +03:00
Terry Jan Reedy
3b1bcedd57
Merge with 3.4
2014-07-24 02:59:17 -04:00
Terry Jan Reedy
9ff41803af
Asyncio doc fixes: spelling, grammar, duplication.
2014-07-24 02:59:02 -04:00
Terry Jan Reedy
2e57dcc87e
Merge with 3.4
2014-07-24 02:33:32 -04:00
Terry Jan Reedy
c935a9530c
Englich grammar nit.
2014-07-24 02:33:14 -04:00
Terry Jan Reedy
ed82613ca0
Merge with 3.4
2014-07-23 20:30:41 -04:00
Terry Jan Reedy
9f5388f24f
Fix doc example bug reported on python-list by Akshay Verma.
2014-07-23 20:30:29 -04:00
Zachary Ware
f886697659
Closes #22002 : Merge with 3.4
2014-07-23 12:06:47 -05:00
Zachary Ware
f012ba42fe
Issue #22002 : Make full use of test discovery in test sub-packages.
...
Adds `load_package_tests` function to test.support, uses it in test_asyncio,
test_email, test_json, test_tools, test_importlib and all test_importlib
sub-packages to implement test discovery.
2014-07-23 12:00:29 -05:00
Andrew Svetlov
69e6230bdd
Merge 3.4
2014-07-23 11:27:49 +03:00
Andrew Svetlov
588517ca63
Fix grammar
2014-07-23 11:27:17 +03:00
Serhiy Storchaka
23ea9c8c91
Issue #15759 : "make suspicious", "make linkcheck" and "make doctest" in Doc/
...
now display special message when and only when there are failures.
2014-07-22 10:28:21 +03:00
Serhiy Storchaka
17f5f817de
Issue #15759 : "make suspicious", "make linkcheck" and "make doctest" in Doc/
...
now display special message when and only when there are failures.
2014-07-22 10:24:25 +03:00
Jason R. Coombs
eb0ef415d5
Issue #13540 : Removed redundant documentation about Action instance attributes. Updated example and documentation per recommendations by Steven Bethard in msg149524.
2014-07-20 10:52:46 -04:00
Benjamin Peterson
0172b115db
merge 3.4 ( #17210 )
2014-07-19 16:35:08 -07:00
Benjamin Peterson
102488b644
args doesn't need to be a tuple ( closes #17210 )
2014-07-19 16:34:33 -07:00
Mark Dickinson
866bbf1cf5
Issue #22006 : Merge from 3.4.
2014-07-19 21:45:24 +01:00
Mark Dickinson
e004c6cad5
Issue #22006 : Remove outdated _thread caveat. Thanks Dan O'Reilly for the report.
2014-07-19 21:45:06 +01:00
Zachary Ware
efe030c609
Closes #22004 : Merge with 3.4
2014-07-18 09:14:55 -05:00
Zachary Ware
0069eac0e5
Issue #22004 : Correct an argument name.
2014-07-18 09:11:48 -05:00
Victor Stinner
edfdf54790
(Merge 3.4) asyncio, tulip issue 190: Process.communicate() now ignores
...
ConnectionResetError too
2014-07-17 13:12:20 +02:00
Victor Stinner
d55b54d5c0
asyncio, tulip issue 190: Process.communicate() now ignores
...
ConnectionResetError too
2014-07-17 13:12:03 +02:00
Victor Stinner
0d35741b16
(Merge 3.4) asyncio, tulip issue 190: Process.communicate() must ignore
...
BrokenPipeError
If you want to handle the BrokenPipeError, you can easily reimplement
communicate().
Add also a unit test to ensure that stdin.write() + stdin.drain() raises
BrokenPipeError.
2014-07-17 12:48:33 +02:00
Victor Stinner
cc996b5789
asyncio, tulip issue 190: Process.communicate() must ignore BrokenPipeError
...
If you want to handle the BrokenPipeError, you can easily reimplement
communicate().
Add also a unit test to ensure that stdin.write() + stdin.drain() raises
BrokenPipeError.
2014-07-17 12:25:27 +02:00
Berker Peksag
68f411670e
Issue #21994 : Merge with 3.4.
2014-07-17 05:02:02 +03:00
Berker Peksag
38bf87c7f2
Issue #21994 : Fix SyntaxError in the SSLContext.check_hostname documentation.
2014-07-17 05:00:36 +03:00
Zachary Ware
05d7d15626
Merge with 3.4
2014-07-16 14:49:05 -05:00
Zachary Ware
8faecbfb42
Fix a minor typo in the turtle docs. Found by Brandon Passmore on docs@.
2014-07-16 14:48:48 -05:00
Raymond Hettinger
0823d4bfc9
merge
2014-07-14 01:52:44 -07:00
Raymond Hettinger
8323f68f3e
Issue 21977: Minor improvements to the regexes in the tokenizer example.
2014-07-14 01:52:00 -07:00
Victor Stinner
e8567106c0
Merge with 3.4
2014-07-12 03:20:40 +02:00
Victor Stinner
4bfb14ac10
asyncio: Server.close() leaves client sockets open
2014-07-12 03:20:24 +02:00
Victor Stinner
4fee7aab90
Merge 3.4
2014-07-11 23:48:10 +02:00
Victor Stinner
8ebeb03740
asyncio: improve the documentation of servers
...
- Fix the documentation of Server.close(): it closes sockets
- Replace AbstractServer with Server
- Document Server.sockets attribute
2014-07-11 23:47:40 +02:00
Victor Stinner
0d63f1228d
(Merge 3.4) asyncio: enhance documentation of platform support
2014-07-11 12:16:05 +02:00
Victor Stinner
778015b3bc
asyncio: enhance documentation of platform support
2014-07-11 12:13:39 +02:00
Berker Peksag
0be663062a
Issues #21948 and #16040 : Merge with 3.4.
2014-07-09 20:16:23 +03:00
Berker Peksag
740c730086
Issues #21948 and #16040 : Fix typos.
2014-07-09 20:15:28 +03:00
Victor Stinner
5f40168b1c
(Merge 3.4) Issue #21680 : Document asyncio event loops
2014-07-08 23:43:11 +02:00
Victor Stinner
aea82293be
Issue #21680 : Document asyncio event loops
2014-07-08 23:42:38 +02:00
Victor Stinner
4532c43e16
Merge 3.4
...
asyncio: sync with Tulip
- Tulip issue 185: Add a create_task() method to event loops. The create_task()
method can be overriden in custom event loop to implement their own task
class. For example, greenio and Pulsar projects use their own task class. The
create_task() method is now preferred over creating directly task using the
Task class.
- tests: fix a warning
- fix typo in the name of a test function
- Update AbstractEventLoop: add new event loop methods; update also the unit test
Update asyncio documentation
- Document the new create_task() method
- "Hide" the Task class: point to the create_task() method for interoperability
- Rewrite the documentation of the Task class
- Document the "Pending task destroyed"
- Update output in debug mode of examples in the dev section
- Replace Task() with create_task() in examples
2014-07-08 12:43:24 +02:00
Victor Stinner
530ef2f069
Update asyncio documentation
...
- Document the new create_task() method
- "Hide" the Task class: point to the create_task() method for interoperability
- Rewrite the documentation of the Task class
- Document the "Pending task destroyed"
- Update output in debug mode of examples in the dev section
- Replace Task() with create_task() in examples
2014-07-08 12:39:10 +02:00
Benjamin Peterson
3032ed7cb1
upgrade to unicode 7.0.0
2014-07-06 13:04:20 -07:00
Ezio Melotti
1f6b103440
#20135 : merge with 3.4.
2014-07-06 20:59:19 +03:00
Ezio Melotti
898eb82696
#20135 : move FAQ about mutable default arguments to the programming FAQs page.
2014-07-06 20:53:27 +03:00
Victor Stinner
3cadd802a4
(Merge 3.4) Closes #21921 : Fix ResourceWarning in the asyncio examples: close
...
the event loop at exit. Patch written by Vajrasky Kok (I modified also the
"hello world" example using a coroutine).
2014-07-05 15:41:18 +02:00
Victor Stinner
63b21a8ffa
Closes #21921 : Fix ResourceWarning in the asyncio examples: close the event
...
loop at exit. Patch written by Vajrasky Kok (I modified also the "hello world"
example using a coroutine).
2014-07-05 15:38:59 +02:00
Berker Peksag
e8b59dac12
Issue #21920 : Merge from 3.4.
2014-07-05 11:11:09 +03:00
Berker Peksag
5021cb553c
Issue #21920 : Add a missing colon to the __main__ doc.
...
Patch by Stefan Tatschner.
2014-07-05 11:10:16 +03:00
Berker Peksag
d5b5f54832
Merge from 3.4.
2014-07-04 15:07:31 +03:00
Berker Peksag
3410af45f8
Add an index entry for exec() builtin.
...
Reported by Draic Kin on docs@.
2014-07-04 15:06:45 +03:00
R David Murray
76e13c1c29
#15014 : Add 'auth' command to implement auth mechanisms and use it in login.
...
Patch by Milan Oberkirch.
2014-07-03 14:47:46 -04:00
Andrew Svetlov
a6237d822a
Merge 3.4
2014-07-03 16:07:57 +03:00
Andrew Svetlov
0d50af45b6
Update docs about tp_richcompare
2014-07-03 16:07:17 +03:00
Raymond Hettinger
748ff8bfd1
merge
2014-07-03 00:31:54 +01:00
Raymond Hettinger
11cda47661
Fix guidance for subclassing collections.Set()
2014-07-03 00:31:30 +01:00
Berker Peksag
3e887222aa
Issue #5800 : headers parameter of wsgiref.headers.Headers is now optional.
...
Patch by Pablo Torres Navarrete and SilentGhost.
2014-07-02 08:37:22 +03:00
Andrew Svetlov
09db75fcd6
Merge 3.4
2014-07-02 07:21:31 +03:00
Andrew Svetlov
ee750d8f8d
Use try-finally idiom in example for locks in multiprocessing
2014-07-02 07:21:03 +03:00
Berker Peksag
68e013cf0f
Issue #13689 : Merge from 3.4.
2014-07-01 06:03:24 +03:00
Berker Peksag
fd6400a47d
Issue #13689 : Remove a dead link from howto/urllib.
2014-07-01 06:02:42 +03:00
Stefan Krah
d95224ceaf
Merge 3.4.
2014-06-30 00:16:09 +02:00
Stefan Krah
bb458dbe59
Issue #21778 : Clarify use of flags if PyBuffer_FillInfo() is used inside a
...
getbufferproc().
2014-06-30 00:15:45 +02:00
Ezio Melotti
7b2ecc40a9
Merge socket howto fixes from 3.4.
2014-06-27 16:34:57 +03:00
Ezio Melotti
680241ec99
Fix indentation and class name in socket howto example.
2014-06-27 16:34:14 +03: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
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
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
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
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
Raymond Hettinger
c03dc0f164
merge
2014-06-24 13:03:54 -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
Benjamin Peterson
7534539536
merge 3.4 ( #13143 )
2014-06-22 18:00:07 -07:00
Benjamin Peterson
f6f78e1d9d
clarify that islink only really works if python knows about symlinks ( closes #13143 )
...
Patch from Yayoi Ukai.
2014-06-22 17:59:35 -07:00
Benjamin Peterson
19db33fb08
merge 3.4 ( #16667 )
2014-06-22 16:27:10 -07:00
Benjamin Peterson
9b29acd1fe
some timezone doc improvements ( closes #16667 )
...
From the combined efforts of Berber Peksage, Andrew Svetlov, and Yayoi Ukai.
2014-06-22 16:26:39 -07:00