Raymond Hettinger
2389cd5f2b
Fix whitespace in example.
2014-08-02 22:30:26 -07:00
Ezio Melotti
045160bc39
#15114 , #21047 : update whatsnew in Python 3.5.
2014-08-02 18:54:30 +03:00
Ezio Melotti
6fc16d81af
#21047 : set the default value for the *convert_charrefs* argument of HTMLParser to True. Patch by Berker Peksag.
2014-08-02 18:36:12 +03:00
Ezio Melotti
73a4359eb0
#15114 : the strict mode and argument of HTMLParser, HTMLParser.error, and the HTMLParserError exception have been removed.
2014-08-02 14:10:30 +03:00
Victor Stinner
25e014bd91
Issue #18395 , #22108 : Update embedded Python examples to decode correctly
...
command line parameters: use Py_DecodeLocale() and PyUnicode_DecodeFSDefault().
2014-08-01 12:28:49 +02:00
Victor Stinner
f6a271ae98
Issue #18395 : Rename ``_Py_char2wchar()`` to :c:func:`Py_DecodeLocale`, rename
...
``_Py_wchar2char()`` to :c:func:`Py_EncodeLocale`, and document these
functions.
2014-08-01 12:28:48 +02:00
Victor Stinner
115171086a
Issue #22018 : On Windows, signal.set_wakeup_fd() now also supports sockets.
...
A side effect is that Python depends to the WinSock library.
2014-07-29 23:31:34 +02:00
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
Victor Stinner
425aaa11d8
(Merge 3.4) asyncio, Tulip issue 171: BaseEventLoop.close() now raises an
...
exception if the event loop is running. You must first stop the event loop and
then wait until it stopped, before closing it.
2014-06-23 01:03:13 +02:00
Victor Stinner
f328c7dc69
asyncio, Tulip issue 171: BaseEventLoop.close() now raises an exception if the
...
event loop is running. You must first stop the event loop and then wait until
it stopped, before closing it.
2014-06-23 01:02:37 +02:00
Victor Stinner
422a76d6ad
(Merge 3.4) asyncio: document the debug mode
2014-06-23 00:46:16 +02:00
Victor Stinner
62511fd6d6
asyncio: document the debug mode
2014-06-23 00:36:11 +02:00
Victor Stinner
d42b49256f
(Merge 3.4) asyncio: Enable the debug mode of event loops when the
...
PYTHONASYNCIODEBUG environment variable is set
2014-06-23 00:14:45 +02:00
Victor Stinner
7b7120e159
asyncio: Enable the debug mode of event loops when the PYTHONASYNCIODEBUG
...
environment variable is set
2014-06-23 00:12:14 +02:00
Benjamin Peterson
2a1a49063b
reflow to 80 chars
2014-06-22 14:19:07 -07:00
Benjamin Peterson
a96fea03e8
add BufferedIOBase.readinto1 ( closes #20578 )
...
Patch by Nikolaus Rath.
2014-06-22 14:17:44 -07:00
Charles-François Natali
6315ffa339
Merge.
2014-06-20 22:41:21 +01:00
Senthil Kumaran
4932e14542
issue 20091 - index entry for __main__ in runpy docs.
2014-06-20 01:37:53 -07:00
Ezio Melotti
9dca5357cc
#21690 : merge with 3.4.
2014-06-20 00:55:10 +03: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
037fa45a9f
(Merge 3.4) Tulip issue 83: document more asyncio functions in docstrings
2014-06-19 17:14:05 +02:00
Victor Stinner
d143209d7f
Tulip issue 83: document more asyncio functions in docstrings
2014-06-19 17:11:49 +02:00
Zachary Ware
63f277b694
Issue #21741 : Add st_file_attributes to os.stat_result on Windows.
...
Patch by Ben Hoyt.
2014-06-19 09:46:37 -05:00
Victor Stinner
9ec15176bc
(Merge 3.4) Closes #21758 : asyncio doc: mention explicitly that subprocess
...
parameters are bytes or character strings
2014-06-19 12:51:17 +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
Zachary Ware
42653dfcf7
Merge typo fix
2014-06-17 22:27:46 -05:00
Zachary Ware
8909127af2
Fix typo pointed out by cocoatomo on docs@
2014-06-17 22:26:59 -05:00
Victor Stinner
f4a1ffd84b
(Merge 3.4) asyncio: Fix pyflakes errors
...
- Add a missing import
- Remove an unused import
- Remove unused variables
2014-06-18 03:27:28 +02: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
Zachary Ware
9d91d0325c
Merge typo fix from 3.4
2014-06-16 11:14:47 -05:00
Zachary Ware
0aecc18bab
Fix typo reported by Jesse W on docs@
2014-06-16 11:13:01 -05:00
Victor Stinner
4a74a9a750
Issue #21205 : Complete the "versionchanged" note in inspect documentation
2014-06-16 16:25:22 +02:00
Victor Stinner
40ee30181f
Issue #21205 : Add a new ``__qualname__`` attribute to generator, the qualified
...
name, and use it in the representation of a generator (``repr(gen)``). The
default name of the generator (``__name__`` attribute) is now get from the
function instead of the code. Use ``gen.gi_code.co_name`` to get the name of
the code.
2014-06-16 15:59:28 +02:00
Terry Jan Reedy
69e3dbcb86
Merge with 3.4
2014-06-16 03:31:33 -04:00
Terry Jan Reedy
b6d1f48c14
Issue #21559 : Add alternative (historical) reason for OverflowError.
2014-06-16 03:31:00 -04:00
Terry Jan Reedy
4a518f02e2
Merge with 3.4
2014-06-16 03:05:53 -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
Benjamin Peterson
5b521fc9de
merge 3.4 ( #13779 )
2014-06-15 20:52:02 -07:00
Benjamin Peterson
e58e0c7f33
clarify when the list of subdirectories is read ( closes #13779 )
2014-06-15 20:51:12 -07:00
Benjamin Peterson
0ce9537fc5
improve note
2014-06-15 18:30:27 -07:00
Benjamin Peterson
3a0b6aa59b
merge 3.4 ( #21764 )
2014-06-14 18:52:14 -07:00
Benjamin Peterson
ef8abfc082
document IOBase.__del__'s behavior ( closes #21764 )
...
Patch from Nikolaus Rath.
2014-06-14 18:51:34 -07:00
Giampaolo Rodola'
892051af95
fix issue #6916 : undocument deprecated asynchat.fifo class.q
2014-06-14 17:03:42 +02:00
Vinay Sajip
21ceada492
Closes #21752 : Merged update from 3.4.
2014-06-14 09:27:10 +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
82fa90c06f
Merge with 3.4
2014-06-13 14:58:09 -04:00
Terry Jan Reedy
6926e3e835
Issue #21726 : Remove unnecessary and contextually wrong line.
2014-06-13 14:57:51 -04:00
Victor Stinner
b2788fe854
Issue #16136 : VMSError is done, bye bye VMS
2014-06-13 14:58:48 +02:00
Victor Stinner
583a068189
Issue #16136 : VMSError is done, bye bye VMS
2014-06-13 14:55:47 +02:00
Antoine Pitrou
9e82b17e9d
Issue #21711 : support for "site-python" directories has now been removed from the site module (it was deprecated in 3.4).
2014-06-12 19:41:30 -04:00
Zachary Ware
ba9fb0d83f
Fix doc build warning
2014-06-11 15:02:25 -05:00
R David Murray
6ffface429
#19840 : Add copy_function to shutil.move.
...
Patch by Claudiu Popa.
2014-06-11 14:40:13 -04:00
R David Murray
6fe56a329d
#14758 : add IPv6 support to smtpd.
...
Patch by Milan Oberkirch.
2014-06-11 13:48:58 -04:00
R David Murray
554bcbf1b9
#19662 : add decode_data to smtpd so you can get at DATA in bytes form.
...
Otherwise smtpd is restricted to 7bit clean data, since even if the
incoming data is actually utf-8, it will often break things to decode
it before parsing the message.
Patch by Maciej Szulik, with some adjustments (mostly the warning
support).
2014-06-11 11:18:08 -04:00
Senthil Kumaran
38ee9afb34
merge from 3.4
2014-06-11 06:19:47 -07:00
Senthil Kumaran
e9738239ba
#21693 - Fix the broken link for pylons project.
2014-06-11 06:19:21 -07:00
Giampaolo Rodola'
915d14190e
fix issue #17552 : add socket.sendfile() method allowing to send a file over a socket by using high-performance os.sendfile() on UNIX. Patch by Giampaolo Rodola'·
2014-06-11 03:54:30 +02:00
Serhiy Storchaka
b398d33c65
Issue #18039 : dbm.dump.open() now always creates a new database when the
...
flag has the value 'n'. Patch by Claudiu Popa.
2014-06-10 21:16:00 +03:00
Zachary Ware
4c4cde7829
Issue #21688 : Merge with 3.4
2014-06-10 12:08:20 -05:00
Zachary Ware
5989511183
Issue #21688 : Give informative error message when hhc.exe cannot be found.
...
Initial patch by Olive Kilburn.
2014-06-10 12:07:45 -05:00
Victor Stinner
791e5531c9
(Merge 3.4) Issue #21596 : asyncio.wait(): mention that the sequence of futures
...
must not be empty.
2014-06-10 11:16:18 +02:00
Victor Stinner
db74d982d4
Issue #21596 : asyncio.wait(): mention that the sequence of futures must not
...
be empty.
2014-06-10 11:16:05 +02:00
Victor Stinner
f10642e8a9
Merge 3.4
2014-06-10 10:26:38 +02:00
Victor Stinner
bb2fc5b2a5
Issue #21326 : Add a new is_closed() method to asyncio.BaseEventLoop
...
Add BaseEventLoop._closed attribute and use it to check if the event loop was
closed or not, instead of checking different attributes in each subclass of
BaseEventLoop.
run_forever() and run_until_complete() methods now raise a RuntimeError('Event loop is
closed') exception if the event loop was closed.
BaseProactorEventLoop.close() now also cancels "accept futures".
2014-06-10 10:23:10 +02:00
Victor Stinner
601f86207b
(Merge 3.4) Issue #21700 : Fix asyncio doc, add DatagramProtocol
2014-06-10 09:21:07 +02:00
Victor Stinner
15386652bf
Issue #21700 : Fix asyncio doc, add DatagramProtocol
2014-06-10 09:19:26 +02:00
R David Murray
fa66e01f19
Merge: #20903 : clarify what happens when an smtp connection timeout occurs.
2014-06-09 16:41:27 -04:00
R David Murray
6ceca4e3d8
#20903 : clarify what happens when an smtp connection timeout occurs.
...
Patch by Milan Oberkirch.
2014-06-09 16:41:06 -04:00
Nick Coghlan
9f488512a8
Issue #21569 : merge from 3.4
2014-06-09 13:30:33 +10:00
Nick Coghlan
b1f59cecc9
Issue #21569 : Fix incorrect cross reference
2014-06-09 13:14:54 +10:00
Benjamin Peterson
4fb01ffe66
backout 0fb7789b5eeb for test breakage ( #20578 )
2014-06-07 23:18:12 -07:00
Benjamin Peterson
10e847bbc7
add BufferedIOBase.readinto1 ( closes #20578 )
...
Patch by Nikolaus Rath.
2014-06-07 20:06:48 -07:00
Benjamin Peterson
66f80e92c3
merge 3.4 ( #12063 )
2014-06-07 17:55:53 -07:00
Benjamin Peterson
96e0430dfb
document TokenError and unclosed expression behavior ( closes #12063 )
...
Patch by Amandine Lee.
2014-06-07 17:47:41 -07:00
Benjamin Peterson
8dfd73a2b4
merge 3.4 ( #10503 )
2014-06-07 13:51:51 -07:00
Benjamin Peterson
4bb09c8432
specify that getuid() returns the real uid ( closes #10503 )
...
Patch by εσχατοκυριος.
2014-06-07 13:50:34 -07:00
Benjamin Peterson
33919e8423
merge 3.4 ( #21404 )
2014-06-07 12:48:09 -07:00
Benjamin Peterson
9b2731bfdd
document the compress_level argument to tarfile.open ( closes #21404 )
...
Patch by Katherine Busch.
2014-06-07 12:45:37 -07:00
Nick Coghlan
ce6c525762
Merge issue #21569 from 3.4
2014-06-08 00:00:13 +10:00
Nick Coghlan
024b2f52bf
Issue #21569 : sync Python 2.7 What's New with 2.7 version
2014-06-07 23:43:00 +10:00
Nick Coghlan
e2197a4805
Merge issue #21667 from 3.4
2014-06-07 23:22:06 +10:00
Nick Coghlan
1462786f00
Issue #21667 : Clarify string data model description
2014-06-07 23:21:14 +10:00
Zachary Ware
83500dc7a5
Merge quote quashing.
2014-06-06 09:14:33 -05:00
Zachary Ware
780b585fbc
Quash extraneous quote.
2014-06-06 09:13:18 -05:00
R David Murray
cc568b1222
Merge #21662 : fix typo, improve sentence flow
2014-06-05 15:32:34 -04:00
R David Murray
2c0781853a
#21662 : fix typo, improve sentence flow
...
Patch by Steve Dougherty.
2014-06-05 15:31:56 -04:00
R David Murray
d1130e3d05
Merge: #21653 : fix doc for return type of sqlite3.Row.keys().
2014-06-05 15:17:01 -04:00
R David Murray
092135ebc8
#21653 : fix doc for return type of sqlite3.Row.keys().
2014-06-05 15:16:38 -04:00
Zachary Ware
55757419bd
Closes #21661 : Merge typo fix.
2014-06-05 13:41:36 -05:00
Zachary Ware
66f305b1a0
Issue #21661 : Fix typo.
2014-06-05 13:41:06 -05:00
Victor Stinner
d967fc9da2
Issue #21515 : tempfile.TemporaryFile now uses os.O_TMPFILE flag is available
2014-06-05 14:27:45 +02:00
Victor Stinner
7088b99eb8
(Merge 3.4) Tulip issue 83, Python issue #21252 : Fill some XXX docstrings in asyncio
2014-06-05 12:07:14 +02:00
Victor Stinner
f9e49dd346
Tulip issue 83, Python issue #21252 : Fill some XXX docstrings in asyncio
2014-06-05 12:06:44 +02:00
Victor Stinner
17f3663497
Issue #21326 : Add asyncio.BaseEventLoop.is_closed() method
...
Add BaseEventLoop._closed attribute and use it to check if the event loop was
closed or not, instead of checking different attributes in each subclass of
BaseEventLoop.
run_forever() and run_until_complete() now raises a RuntimeError('Event loop is
closed') exception if the event loop was closed.
BaseProactorEventLoop.close() now also cancels "accept futures".
2014-06-04 01:06:24 +02:00
Zachary Ware
b369f5875c
Issue #21439 : Merge with 3.4
2014-06-03 09:34:39 -05:00
Zachary Ware
2f78b84c47
Issue #21439 : Fix a couple of typos.
2014-06-03 09:32:40 -05:00
Senthil Kumaran
6120ab8150
merge from 3.4
...
Update references to Python docs in the sidebar index.
Patch contributed by Auke Willem Oosterhoff.
2014-06-02 23:00:43 -07:00
Senthil Kumaran
8dc3df1b60
Update references to Python docs in the sidebar index.
...
Patch contributed by Auke Willem Oosterhoff.
2014-06-02 22:58:13 -07:00
Terry Jan Reedy
15ec11e4e3
Merge with 3.4
2014-06-02 20:43:13 -04:00
Terry Jan Reedy
b52f876767
Issue 21533: Dicts take iterables, not iterators. Patch by Wolfgang Maier.
2014-06-02 20:42:56 -04:00
Victor Stinner
06d736a891
(Merge 3.4) Issue #21601 : Document asyncio.Task.cancel(). Initial patch written
...
by Vajrasky Kok.
2014-06-02 23:08:52 +02:00
Victor Stinner
8d21357fb5
Issue #21601 : Document asyncio.Task.cancel(). Initial patch written by Vajrasky
...
Kok.
2014-06-02 23:06:46 +02:00
Victor Stinner
2bc4d95bb6
Issue #21233 : Revert bytearray(int) optimization using calloc()
2014-06-02 22:22:42 +02:00
Victor Stinner
d8f0d922d5
Issue #21233 : Rename the C structure "PyMemAllocator" to "PyMemAllocatorEx" to
...
make sure that the code using it will be adapted for the new "calloc" field
(instead of crashing).
2014-06-02 21:57:10 +02:00
Vinay Sajip
68b272b477
Merged documentation update from 3.4.
2014-06-02 00:31:44 +01:00
Vinay Sajip
e81c637bf8
Updated logging HOWTO section on optimization.
2014-06-02 00:30:48 +01:00
Benjamin Peterson
da30b46e57
merge 3.4
2014-05-31 13:17:15 -07:00
Benjamin Peterson
a8195770fa
give the correct fixer name ( closes #21604 )
2014-05-31 13:16:49 -07:00
Terry Jan Reedy
069c87bee4
Merge with 3.4
2014-05-30 16:20:25 -04:00
Terry Jan Reedy
0edb5c1668
Issue #21593 : (from StackOverflow) minor doc clarification for re.search.
2014-05-30 16:19:59 -04:00
Brett Cannon
2a17bde930
Issue #20383 : Introduce importlib.util.module_from_spec().
...
Along the way, dismantle importlib._bootstrap._SpecMethods as it was
no longer relevant and constructing the new function required
partially dismantling the class anyway.
2014-05-30 14:55:29 -04:00
Vinay Sajip
c8f0d6ebfc
Closes #21608 : Merged documentation update from 3.4.
2014-05-30 19:04:08 +01:00
Vinay Sajip
c673a9ab87
Issue #21608 : Updated HTTPHandler documentation.
2014-05-30 18:59:27 +01:00
Raymond Hettinger
35db43955c
Issue #13742 : Add key and reverse parameters to heapq.merge()
2014-05-30 02:28:36 -07:00
Victor Stinner
7434ed7b6a
(Merge 3.4) Issue #21454 : Fix asyncio.BaseEventLoop.connect_read_pipe doc
...
The function sets the the pipe to non-blocking mode.
2014-05-29 00:19:09 +02:00
Victor Stinner
a5b257af22
Issue #21454 : Fix asyncio.BaseEventLoop.connect_read_pipe doc
...
The function sets the the pipe to non-blocking mode.
2014-05-29 00:14:03 +02:00
Victor Stinner
a1a4ddf0a7
(Merge 3.4) Issue #21376 : document asyncio.TimeoutError
2014-05-29 00:05:13 +02:00
Victor Stinner
28d0ae48e9
Issue #21376 : document asyncio.TimeoutError
2014-05-29 00:04:57 +02:00
Raymond Hettinger
a73a34d176
merge
2014-05-26 22:21:11 -07:00
Raymond Hettinger
aa7886dd3f
Issue 21439: Minor issues in the reference manual.
...
(Contributed by Feliks Kluzniak.)
2014-05-26 22:20:37 -07:00
Raymond Hettinger
07e048519b
Issue 21575: Show list.sort() arguments in the tutorial.
2014-05-26 18:44:04 -07:00
Benjamin Peterson
e44b947a9d
merge 3.4
2014-05-26 15:48:19 -07:00
Benjamin Peterson
5e2c4d2de0
grammar and sentence flow fix
2014-05-26 15:48:12 -07:00
Benjamin Peterson
2059ded1af
merge 3.4
2014-05-26 15:45:22 -07:00
Benjamin Peterson
f9ea5f39d8
format reST directive in the usual way
2014-05-26 15:45:14 -07:00
Benjamin Peterson
0024fbb5ce
merge 3.4
2014-05-26 15:42:44 -07:00
Benjamin Peterson
0d81d80f6e
link to wikipedia description of cryptographic salt
2014-05-26 15:42:29 -07:00
Benjamin Peterson
0ccff4d3e1
oxford comma
2014-05-26 15:41:26 -07:00
Benjamin Peterson
3ecb1928cb
merge 3.4 ( #21586 )
2014-05-26 15:11:11 -07:00
Benjamin Peterson
419f1fa9bc
fix typo in variable name ( closes #21586 )
2014-05-26 15:10:42 -07:00
Raymond Hettinger
dfe098d215
Issue 16774: Add a new itertools recipe (suggested by Alexey Kachayev).
2014-05-25 22:03:56 -07:00
Raymond Hettinger
fa4ed0c145
merge
2014-05-25 18:06:27 -07:00
Raymond Hettinger
e8e2df3daa
Issue 21558: Fix a typo in the contextlib docs
2014-05-25 18:06:04 -07:00
Nick Coghlan
0afd0ad143
Merge from 3.4
2014-05-26 01:00:34 +10:00
Nick Coghlan
e1d54e5f8e
Mention setuptools & wheel as key terms for distribution
2014-05-26 00:50:11 +10:00
Charles-François Natali
a924fc7abc
Issue #21565 : multiprocessing: use contex-manager protocol for synchronization
...
primitives.
2014-05-25 14:12:12 +01:00
Serhiy Storchaka
2f8dca735e
Issue #20197 : Added support for the WebP image type in the imghdr module.
...
Patch by Fabrice Aneche and Claudiu Popa.
2014-05-25 11:45:37 +03:00
Terry Jan Reedy
a52ecc0a02
Merge with 3.4
2014-05-23 00:34:38 -04:00
Terry Jan Reedy
e17de09101
Issue #21545 : Add .pop example and tweak comment about pure mutation methods.
...
Patch prepared by David Harrigan.
2014-05-23 00:34:12 -04:00
Raymond Hettinger
a3d58ae2f2
merge
2014-05-23 03:47:11 +01:00
Raymond Hettinger
7096e26983
Issue 21479: Fix markup for the TarFile.open() classmethod.
2014-05-23 03:46:52 +01:00
Raymond Hettinger
14d062f2f5
merge
2014-05-23 00:04:26 +01:00
Raymond Hettinger
f7f64f94b1
Issue 21198: Minor tarfile documentation bug.
2014-05-23 00:03:45 +01:00
Raymond Hettinger
53260eaa56
merge
2014-05-22 23:37:31 +01:00
Raymond Hettinger
bd46e48381
Issue 21554: Repair an out-of-date tutorial example to reflect changes in shutil.
2014-05-22 23:37:09 +01:00
Charles-François Natali
644b8f52a8
Issue #21455 : Add a default backlog to socket.listen().
2014-05-22 19:45:39 +01:00
Donald Stufft
8b852f111e
Fix Issue #21528 - Fix documentation typos
2014-05-20 12:58:38 -04:00
Raymond Hettinger
22f2da3ccc
merge
2014-05-19 07:34:08 +01:00
Raymond Hettinger
ae4bab71e3
Don't grow strings by concatenation. Use ''.join() instead.
2014-05-18 21:02:25 +01:00
Antoine Pitrou
f48ff0dd6c
Issue #21430 : additions to the description of non-blocking SSL sockets
2014-05-18 00:56:53 +02:00
Antoine Pitrou
75e03388d8
Issue #21430 : additions to the description of non-blocking SSL sockets
2014-05-18 00:55:13 +02:00
Brian Quinlan
20efceb757
Issue #21362 : concurrent.futures does not validate that max_workers is proper
2014-05-17 13:51:10 -07:00
Antoine Pitrou
0dfce56cd1
Mention ipaddress improvements.
2014-05-15 22:55:40 +02:00
Antoine Pitrou
b9d9ce73d7
Better organization of the what's new
2014-05-15 22:47:33 +02:00
Antoine Pitrou
d87fcf438b
Issue #21364 : remove recommendation of broken pattern.
2014-05-15 22:39:41 +02:00
Antoine Pitrou
2d1ec06484
Issue #21364 : remove recommendation of broken pattern.
2014-05-15 22:38:56 +02:00
Victor Stinner
ef5b4e3dc3
Issue #21488 : Fix doc of codecs.decode() and codecs.encode(), no keyword support.
...
Patch written by Brad Aylsworth.
2014-05-14 17:08:45 +02:00
R David Murray
37f524f001
Merge: #21347 : use string not list in shell=True example.
2014-05-14 10:10:14 -04:00
R David Murray
ae9d193dc4
#21347 : use string not list in shell=True example.
...
Patch by Akira.
2014-05-14 10:09:52 -04:00
Antoine Pitrou
43e3d9409d
Issue #19775 : Add a samefile() method to pathlib Path objects.
...
Initial patch by Vajrasky Kok.
2014-05-13 10:50:15 +02:00
Jason R. Coombs
61f61dc679
Merge doc change from 3.3
2014-05-12 22:41:49 -04:00
Jason R. Coombs
73308d6869
Merge doc change from 3.3
2014-05-12 22:41:15 -04:00
Jason R. Coombs
13266fb5c8
Update docs to reflect resurrection of Setuptools over Distribute
2014-05-12 22:40:49 -04:00
Eric Snow
b7f1be309e
Merge from 3.4 (for #21226 ).
2014-05-12 18:25:00 -06:00
Eric Snow
08197a4616
Issue #21226 : Set all attrs in PyImport_ExecCodeModuleObject.
2014-05-12 17:54:55 -06:00
Victor Stinner
933da8efb7
(Merge 3.4) Issue #21485 : remove unnecesary .flush() calls in the asyncio
...
subprocess code example
2014-05-12 23:25:25 +02:00
Victor Stinner
b0539b27d9
Issue #21485 : remove unnecesary .flush() calls in the asyncio subprocess code
...
example
2014-05-12 23:25:09 +02:00
Antoine Pitrou
5fb195f854
Issue #16531 : ipaddress.IPv4Network and ipaddress.IPv6Network now accept an (address, netmask) tuple argument, so as to easily construct network objects from existing addresses.
2014-05-12 20:36:46 +02:00
Gregory P. Smith
3a17e21755
merge from 3.4 - clean up the subprocess docs warning-soup and
...
s/Unix/POSIX/.
2014-05-11 13:29:36 -07:00
Gregory P. Smith
8e0aa051e6
Change all references to Unix to POSIX in the subprocess docs. It's
...
more accurate and sounds less like a strange tale of yore.
2014-05-11 13:28:35 -07:00
Gregory P. Smith
6436cba9db
Remove the warning-soup from the subprocess documentation by adding
...
a Security Considerations section as preferred by both the devguide
and documentation users who do not wish to go insane.
2014-05-11 13:26:21 -07:00
Benjamin Peterson
384a3ea5c5
merge 3.4
2014-05-11 11:19:17 -07:00
Benjamin Peterson
5c8ce188ee
remove confusing delete indexing ( closes #21466 )
2014-05-11 11:18:51 -07:00
Raymond Hettinger
c89a451ae1
By popular demand, add back a security warning.
2014-05-11 02:26:23 -07:00
Raymond Hettinger
a7894f7f4c
Remove the redundant and poorly worded warning message.
...
The paragraph above already says, clearly and correctly, that
"However, being completely deterministic, it is not suitable for
all purposes, and is completely unsuitable for cryptographic purposes."
Also we should make any promises about SystemRandom or os.urandom()
being cryptographically secure (they may be, but be can't validate
that promise). Further, those are actual random number generators
not psuedo-random number generators.
2014-05-10 14:05:28 -07:00
Brett Cannon
6eaac13c92
Issue #21156 : importlib.abc.InspectLoader.source_to_code() is now a
...
staticmethod.
2014-05-09 12:28:22 -04:00
Brett Cannon
a237a98753
Merge for issue #21438
2014-05-09 11:56:07 -04:00
Brett Cannon
062fcac9a4
Issue #21438 : Document what loaders don't require a module name for
...
load_module().
2014-05-09 11:55:49 -04:00
Brett Cannon
f25f25796b
Merge for issue #21157
2014-05-09 10:37:55 -04:00
Brett Cannon
f26702b86e
Issue #21157 : Touch up imp docs to be more explicit about importlib
...
alternatives.
2014-05-09 10:37:31 -04:00
R David Murray
ef8f7792f3
Merge #21300 : fix typo
2014-05-08 10:06:17 -04:00
R David Murray
a83ade1d60
#21300 : fix typo
2014-05-08 10:05:47 -04:00
Tim Golden
ba74885e0c
Issue19643 Fix whitespace
2014-05-07 18:08:08 +01:00
Tim Golden
783377998a
Issue19643 Add an example of shutil.rmtree which shows how to cope with readonly files on Windows
2014-05-07 18:05:45 +01:00
R David Murray
5915505796
Merge: #21300 : Clean up the docs for the email "policy" arguments.
2014-05-06 21:33:50 -04:00
R David Murray
e25244657c
#21300 : Clean up the docs for the email "policy" arguments.
2014-05-06 21:33:18 -04:00
Zachary Ware
ed49265b91
Merge with 3.4
2014-05-06 09:19:16 -05:00
Zachary Ware
9fafc9f79a
Add prompts to interactive example.
...
This makes it match the new example below, and allows Sphinx's
"hide the prompts and output" feature to work.
2014-05-06 09:18:17 -05:00
Zachary Ware
4e6688d2b2
Issue #21366 : Document the fact that ``return`` in a ``finally`` clause
...
overrides a ``return`` in the ``try`` suite.
2014-05-06 09:07:51 -05:00
Zachary Ware
8edd532026
Issue #21366 : Document the fact that ``return`` in a ``finally`` clause
...
overrides a ``return`` in the ``try`` suite.
2014-05-06 09:07:13 -05:00
Guido van Rossum
a4790965f4
Merge 3.4->default: asyncio docs: ProactorEventLoop does not support SSL.
2014-05-05 07:35:29 -07:00
Guido van Rossum
5280d2e399
asyncio docs: ProactorEventLoop does not support SSL.
2014-05-05 07:34:56 -07:00
Victor Stinner
db067af12a
Issue #21233 : Add new C functions: PyMem_RawCalloc(), PyMem_Calloc(),
...
PyObject_Calloc(), _PyObject_GC_Calloc(). bytes(int) and bytearray(int) are now
using ``calloc()`` instead of ``malloc()`` for large objects which is faster
and use less memory (until the bytearray buffer is filled with data).
2014-05-02 22:31:14 +02:00
Stefan Krah
b151f8f60b
Issue #10650 : Remove the non-standard 'watchexp' parameter from the
...
Decimal.quantize() method in the Python version. It had never been
present in the C version.
2014-04-30 19:15:38 +02:00
Gregory P. Smith
30a6df5b64
Document the subprocess Popen.args attribute (issue21353)
2014-04-29 11:34:15 -07:00
Gregory P. Smith
d8ea56d26d
Document the subprocess Popen.args attribute (issue21353)
2014-04-29 11:33:56 -07:00
Gregory P. Smith
024c5eecbc
Document the subprocess Popen.args attribute (issue21353)
2014-04-29 11:33:23 -07:00
Zachary Ware
e83ce4b90f
Closes #17386 : Merge with 3.4
2014-04-29 09:47:39 -05:00
Zachary Ware
a67b97f438
Issue #17386 : Expand Doc/make.bat to be much more similar to Doc/Makefile
2014-04-29 09:45:33 -05:00
Zachary Ware
1de519c60d
Issue #17386 : Update Doc/README.txt to list all targets
...
supported by Doc/Makefile, as well as a bit of modernization,
cleanup, and notes about the difference between Unix and Windows.
2014-04-29 09:26:56 -05:00
Zachary Ware
9393fffa5f
Issue #17386 : List the 'htmlview' target in the Doc/Makefile help output.
2014-04-29 09:24:40 -05:00
Antoine Pitrou
92c4d45326
Add porting note for issue #20951 .
2014-04-29 10:05:59 +02:00
Antoine Pitrou
b4bebdafe3
Issue #20951 : SSLSocket.send() now raises either SSLWantReadError or SSLWantWriteError on a non-blocking socket if the operation would block. Previously, it would return 0.
...
Patch by Nikolaus Rath.
2014-04-29 10:03:28 +02:00
Terry Jan Reedy
727a463aa6
Merge with 3.4
2014-04-29 01:19:41 -04:00
Terry Jan Reedy
9cc9026294
Issue #21055 : Index (augmented) assignment symbols.
2014-04-29 01:19:17 -04:00
Terry Jan Reedy
e9dcfd1870
Merge with 3.4
2014-04-29 00:59:19 -04:00
Terry Jan Reedy
7c895edabc
Closes 21048: Index 'as' in import and with statements.
2014-04-29 00:58:56 -04:00
Terry Jan Reedy
c763807d9b
Merge with 3.4
2014-04-29 00:32:17 -04:00
Terry Jan Reedy
43e7cd38e5
Issue #21026 : Augment site doc based on experiments. Patch by Carol Willing.
2014-04-29 00:31:53 -04:00
Antoine Pitrou
63aeb71909
Issue #9307 : document the various Py_TPFLAGS_*_SUBCLASS flags. Patch by Yury V. Zaytsev.
2014-04-29 01:39:26 +02:00
Antoine Pitrou
f9f54a2f5f
Issue #9307 : document the various Py_TPFLAGS_*_SUBCLASS flags. Patch by Yury V. Zaytsev.
2014-04-29 01:39:03 +02:00
Antoine Pitrou
c695c95626
Issue #19940 : ssl.cert_time_to_seconds() now interprets the given time string in the UTC timezone (as specified in RFC 5280), not the local timezone.
...
Patch by Akira.
2014-04-28 20:57:36 +02:00
R David Murray
dd41f24687
Merge: #18243 : Remove obsolete cautionary note from email mktime_tz docs.
2014-04-26 19:01:47 -04:00
R David Murray
ae25f46706
#18243 : Remove obsolete cautionary note from email mktime_tz docs.
2014-04-26 19:01:18 -04:00
Giampaolo Rodola'
409569b1cf
update os.sendfile() doc signaling that cross-platform apps should not use headers, trailers and flags arguments
2014-04-24 18:09:21 +02:00
Benjamin Peterson
b0c597f5ff
merge 3.4 ( #21330 )
2014-04-22 21:55:07 -04:00
Benjamin Peterson
9e599673b4
fix off-by-one error ( closes #21330 )
2014-04-22 21:54:10 -04:00
Terry Jan Reedy
386b2b18f5
Merge with 3.4. Closes #21232 .
2014-04-18 17:00:50 -04:00
Terry Jan Reedy
bddecc3861
Issue #21232 : Replace .splitlines arg '1' with 'keepends=True'.
2014-04-18 17:00:19 -04:00
Zachary Ware
dee46b370e
Merge with 3.4
2014-04-18 15:45:02 -05:00
Zachary Ware
a37ff0fb80
Issue #21289 : Fix documentation building on Windows using Doc/make.bat.
...
Also fixes a long-standing typo in Doc/README.txt.
Initial patch by Dave Sawyer.
2014-04-18 15:10:40 -05:00
Benjamin Peterson
d065c48991
fix ref count annotations on sphinx >= 1.2.1 ( closes #21286 )
2014-04-17 18:29:01 -04:00
Senthil Kumaran
aad7cc9dba
Clarify BROWSER envar behavior in webbrowser.py. Noted by David Turner. Closes #21248
2014-04-16 23:43:34 -04:00
Senthil Kumaran
8b4a272c98
Correct the URL in the http.client example. Noted by Evens Fortuné. Closes #21229
2014-04-16 23:33:02 -04:00
R David Murray
f7f981829b
#18628 : clarify index entry for source file encoding declaration.
...
Patch by Sam Lucidi.
2014-04-16 21:48:04 -04:00
Senthil Kumaran
cad2bf20c3
Address issue 18229 - Explain http.server.BaseHTTPRequestHandler's .headers attribute further.
...
Initial patch by Caelyn McAulay.
2014-04-16 13:56:19 -04:00
Terry Jan Reedy
7f84d1eb63
#18566 : Whitespace
2014-04-15 23:44:14 -04:00
Terry Jan Reedy
6ac4240b6c
Issue #18566 : Clarify unittest setUp, tearDown doc. Patch by Nitika Agarwal.
2014-04-15 23:38:18 -04:00
R David Murray
fc1020d396
#20874 : reflow paragraph.
2014-04-15 20:26:54 -04:00
R David Murray
0e0e391fa3
#20874 : update tutorial wording: sophisticated line editing is now standard.
...
Patch by Rafael Mejia.
2014-04-15 20:25:18 -04:00
Vinay Sajip
65425b4bc6
Issue #21245 : updated documentation on exception() method and function.
2014-04-15 23:13:12 +01:00
Benjamin Peterson
af7c5b0bb5
merge 3.4
2014-04-17 18:29:27 -04:00
Senthil Kumaran
aedff520ea
merge 3.4
2014-04-16 23:44:03 -04:00
Senthil Kumaran
249e74aa26
merge 3.4
2014-04-16 23:33:30 -04:00
R David Murray
16b8c619cd
Merge: #18628 : clarify index entry for source file encoding declaration.
2014-04-16 21:50:25 -04:00
Kushal Das
8af9db3e4f
Closes Issue 21262: New method assert_not_called for Mock.
...
It raises AssertionError if the mock has been called.
2014-04-17 01:36:14 +05:30
Kushal Das
8c14534df6
Closes Issue 21238: New keyword argument `unsafe` to Mock.
...
It raises `AttributeError` incase of an attribute startswith assert
or assret.
2014-04-16 23:32:21 +05:30
Senthil Kumaran
c3ac9af6d0
merge 3.4
2014-04-16 13:56:41 -04:00
Antoine Pitrou
94a5b663bf
Issue #20896 : ssl.get_server_certificate() now uses PROTOCOL_SSLv23, not PROTOCOL_SSLv3, for maximum compatibility.
2014-04-16 18:56:28 +02:00
Andrew Kuchling
f5a429295d
#6490 : Expand documentation for os.popen().
...
Patch by Sam Kimbrel.
2014-04-16 09:10:53 -04:00
Terry Jan Reedy
f2dfa92704
Merge with 3.4
2014-04-15 23:44:37 -04:00
Terry Jan Reedy
62e582cdb4
Merge with 3.4
2014-04-15 23:38:44 -04:00
Andrew Kuchling
15b04eb429
#20103 : Rewrite description of itertools.accumulate().
...
Patch by Christian Hudon.
2014-04-15 22:28:40 -04:00
R David Murray
1b28088fd3
Merge #20874 fix.
2014-04-15 20:30:00 -04:00
Vinay Sajip
aef3027aaf
Closes #21245 : merged update from 3.4.
2014-04-15 23:13:54 +01:00
R David Murray
1976d9bf6d
#15916 : if there are no docstrings, make empty suite, not an error.
...
This makes doctest work like unittest: if the test case is empty, that
just means there are zero tests run, it's not an error. The existing
behavior was broken, since it only gave an error if there were *no*
docstrings, and zero tests run if there were docstrings but none of them
contained tests. So this makes it self-consistent as well.
Patch by Glenn Jones.
2014-04-14 20:28:36 -04:00
R David Murray
865d23d1dd
Merge: #15104 : add backtick code markup.
2014-04-14 18:54:21 -04:00
R David Murray
fe0e1082aa
#15104 : add backtick code markup.
2014-04-14 18:53:51 -04:00
Michael Foord
fddcfa27fa
Closes issue 17660. You no longer need to explicitly pass create=True when patching builtin names.
2014-04-14 16:25:20 -04:00
Andrew Kuchling
4f7b0c3c35
#10481 : describe universal_newlines' effect on communicate()/check_output() output (alternately bytes or strings)
...
Patch by Sam Kimbrel.
2014-04-14 15:08:18 -04:00
R David Murray
94255f3a80
Merge: #15104 : improve the discussion of __main__.
2014-04-14 15:05:12 -04:00
R David Murray
061cb3b04d
#15104 : improve the discussion of __main__.
...
Patch by Sam Lucidi.
2014-04-14 15:04:47 -04:00
Andrew Kuchling
7f54b2bf71
Merge from 3.4
2014-04-14 13:52:34 -04:00
Andrew Kuchling
44da19a63d
#18518 : mention that including a return statement changes/breaks the behaviour
2014-04-14 13:39:43 -04:00
Eric V. Smith
ebdaaf4087
Issue #20480 : Add ipaddress.reverse_pointer. Patch by Leon Weber.
2014-04-14 12:58:07 -04:00
Mark Dickinson
393a2a0fe0
Issue #20624 : Merge exception docs tweak from 3.4 branch.
2014-04-14 11:20:45 -04:00
Mark Dickinson
abf079de25
Issue #20624 : Exception docs wording tweak - clarify that it's okay to inherit from a subclass of Exception.
2014-04-14 11:20:12 -04:00
R David Murray
ce4d9c2f51
Merge: #21169 : add comment and doc update for getpass change.
2014-04-14 10:30:43 -04:00
R David Murray
604453c9ce
#21169 : add comment and doc update for getpass change.
2014-04-14 10:28:58 -04:00
Eric V. Smith
ae04491fd0
Merge 3.4: Fix faq example with division.
2014-04-14 07:53:33 -04:00
Eric V. Smith
04d8a245f1
Fix faq example with division.
2014-04-14 07:52:53 -04:00
Eric V. Smith
ad8d142c0f
Merge 3.4: Fix text about int() with octal numbers. Closes #21212 .
2014-04-14 07:46:21 -04:00
Eric V. Smith
fc9a4d828e
Fix text about int() with octal numbers. Closes #21212 .
2014-04-14 07:41:52 -04:00
Benjamin Peterson
fc8e9883be
correct sphinx mark up for cmdline options ( closes #21210 )
2014-04-13 19:52:14 -04:00
Ned Deily
656a87e48c
Remove references to the obsolete Mac Carbon modules in the GUI
...
section of the FAQ.
2014-04-12 09:33:05 -07:00
Ned Deily
ecd9e8ac67
Remove references to the obsolete Mac Carbon modules in the GUI
...
section of the FAQ.
2014-04-12 09:32:04 -07:00
Terry Jan Reedy
138185fa05
Merge with 3.4
2014-04-11 14:11:34 -04:00
Terry Jan Reedy
f98021cff2
Issue #21170 : Removed invalid parameter names from unittest doc.
...
Patch by Kushal Das.
2014-04-11 14:11:11 -04:00
Benjamin Peterson
d51374ed78
PEP 465: a dedicated infix operator for matrix multiplication ( closes #21176 )
2014-04-09 23:55:56 -04:00
Senthil Kumaran
db599886de
merge from 3.4
2014-04-09 11:45:14 -04:00
Senthil Kumaran
f3ddcc9ba7
issue #21190 : Fix the broken docs download link
2014-04-09 11:44:34 -04:00
Yury Selivanov
490a72e022
docs: Better wording for __objclass__ docs. Issue #19281
2014-04-08 14:01:12 -04:00
Yury Selivanov
b9aa8cb0c7
docs: Document __objclass__. Closes #19281 .
...
Initial patch by Nick Coghlan
2014-04-08 12:04:04 -04:00
Yury Selivanov
67ae50ee1c
inspect: Make Signature and Parameter hashable. Issue #20334 .
2014-04-08 11:46:50 -04:00
Benjamin Peterson
2deef0cf31
merge 3.4 ( #16395 )
2014-04-08 10:49:09 -04:00
Benjamin Peterson
ce0700ae7a
PySequence_Fast generally returns a list not a tuple ( closes #16395 )
2014-04-08 10:48:36 -04:00
Benjamin Peterson
bc91330efb
merge 3.4
2014-04-08 10:44:50 -04:00
Benjamin Peterson
f0f7844f38
the name of the slot of nb_multiply not nb_mul
2014-04-08 10:44:30 -04:00
Benjamin Peterson
fa7e11f8c4
merge 3.4 ( #21174 )
2014-04-07 19:35:36 -04:00
Benjamin Peterson
222ef82827
fix verb ( closes #21174 )
2014-04-07 19:34:33 -04:00
Yury Selivanov
af8a4dfb04
docs: Better wording for __objclass__ docs. Issue #19281
2014-04-08 14:00:35 -04:00
Yury Selivanov
d3f918ca44
docs: Document __objclass__. Closes #19281 .
...
Initial patch by Nick Coghlan
2014-04-08 12:03:07 -04:00
Senthil Kumaran
1b5643fcb4
merge from 3.4
2014-04-06 11:00:49 -07:00
Senthil Kumaran
6d6ec25e04
merge from 3.3
2014-04-06 11:00:15 -07:00
Senthil Kumaran
f5c34054f9
minor docfix (reported at docs@python.org) trace.py argument is --count not --counts
2014-04-06 10:59:47 -07:00
Brett Cannon
a04dbe4fe7
Issue #17621 : Introduce importlib.util.LazyLoader.
2014-04-04 13:53:38 -04:00
Brett Cannon
815a6f38a6
merge along w/ fix for issue #2107 (commit c9239171e429)
2014-04-04 10:20:28 -04:00
Brett Cannon
e7ef805833
merge of fix for issue #20942
2014-04-04 10:03:42 -04:00
Brett Cannon
18fc4e70f3
Issue #20942 : PyImport_ImportFrozenModuleObject() no longer sets
...
__file__.
This causes _frozen_importlib to no longer have __file__ set as well
as any frozen module imported using imp.init_frozen() (which is
deprecated).
2014-04-04 10:01:46 -04:00
Giampaolo Rodola'
e09fb7198a
fix #21076 : turn signal module constants into enums
2014-04-04 15:34:17 +02:00
Serhiy Storchaka
bcc174615c
Issue #20636 : Improved the repr of Tkinter widgets.
2014-04-04 15:45:02 +03:00
Serhiy Storchaka
578c9211d6
Issue #19505 : The items, keys, and values views of OrderedDict now support
...
reverse iteration using reversed().
2014-04-04 15:19:36 +03:00
Raymond Hettinger
a5a294e873
merge
2014-04-03 08:01:44 -07:00
Raymond Hettinger
b30b34c1aa
Issue 21143: Fix typo in docs for max().
2014-04-03 08:01:22 -07:00
Eli Bendersky
10fbf183b3
Issue #20375 : Clarify ET's parsing of comments and processing instructions.
...
Based on patch by Nikolaus Rath.
2014-04-03 06:15:28 -07:00
Eli Bendersky
0bd22d4277
Issue #20375 : Clarify ET's parsing of comments and processing instructions.
...
Based on patch by Nikolaus Rath.
2014-04-03 06:14:38 -07:00
Raymond Hettinger
0ac8e47149
merge
2014-04-02 03:17:33 -07:00
Raymond Hettinger
31b26f637a
Issue #18652 : Add an itertools recipe for first_true()
2014-04-02 03:16:42 -07:00
Raymond Hettinger
5236f89c2f
merge
2014-04-02 00:59:11 -07:00
Raymond Hettinger
f4284e45d0
Documentation nit. List the traditional keyword-only argument first and the default last.
2014-04-02 00:58:47 -07:00
Raymond Hettinger
9fd908907e
merge
2014-04-01 22:17:57 -07:00
Raymond Hettinger
da4bf8f16a
Issue 21125: minor documentation tweak.
2014-04-01 22:17:33 -07:00
Benjamin Peterson
d03e47c405
merge 3.4
2014-04-01 19:22:14 -04:00
Benjamin Peterson
1acc69c650
update version changed
2014-04-01 19:22:06 -04:00
Benjamin Peterson
18395290c3
merge 3.4 ( #21082 )
2014-04-01 19:21:57 -04:00
Benjamin Peterson
9dc203fff9
merge 3.3 ( #21082 )
2014-04-01 19:18:48 -04:00
Benjamin Peterson
4717e2112b
merge 3.2 ( #21082 )
2014-04-01 19:17:57 -04:00
Benjamin Peterson
ee5f1c13d1
remove directory mode check from makedirs ( closes #21082 )
2014-04-01 19:13:18 -04:00
Zachary Ware
bec07d099d
Closes #15067 : Merge port of 2.7 sqlite3 docs.
2014-04-01 12:22:51 -05:00
Zachary Ware
9d08562ed4
Issue #15067 : Port 2.7 sqlite3 docs to 3.4
2014-04-01 12:21:56 -05:00
Andrew Svetlov
53db2b8fad
#16716 : remove deprecation warning
2014-04-01 02:08:41 +03:00
Andrew Svetlov
c3bf6922b5
#16716 : remove deprecation warning
2014-04-01 02:08:25 +03:00
Andrew Svetlov
d6ee27895a
Merge 3.4: Get rid of deprecated IOError in the doc
2014-04-01 01:14:27 +03:00
Andrew Svetlov
08af00047b
Get rid of deprecated IOError in the doc
2014-04-01 01:13:30 +03:00
Andrew Svetlov
a7906dd2d9
Merge 3.4 ( #16716 )
2014-04-01 00:45:06 +03:00
Andrew Svetlov
5898d4f4d9
IOError -> OSError
2014-04-01 00:44:13 +03:00
Andrew Svetlov
a4dae7e6ab
Merge 3.4 ( #16716 )
2014-04-01 00:41:04 +03:00
Andrew Svetlov
050f9ea4d7
Fix the doc: add deprecation warning in select module.
2014-04-01 00:23:23 +03:00
Benjamin Peterson
ba6eba0850
merge 3.4 ( #21105 )
2014-03-30 15:07:25 -04:00
Benjamin Peterson
3a4340325b
make partialmethod example work ( closes #21105 )
2014-03-30 15:07:09 -04:00
Guido van Rossum
589872cbdf
Fix doc typo.
2014-03-29 21:14:04 -07:00
Guido van Rossum
502ef90ae2
Fix doc typo.
2014-03-29 21:14:04 -07:00
Raymond Hettinger
762bee299e
merge
2014-03-29 11:50:29 -07:00
Raymond Hettinger
1e1e601bd1
Minor readability improvement.
2014-03-29 11:50:08 -07:00
Yury Selivanov
67d727e824
inspect.docs: Document that Signature and Parameter are now picklable (issue #20726 )
2014-03-29 13:24:14 -04:00
Yury Selivanov
232b934620
inspect.docs: Fix indentation and version-added for Signature.from_callable
2014-03-29 13:18:30 -04:00
Nick Coghlan
607e430a74
Issue #19697 : merge docs from 3.4
2014-03-29 15:41:18 +10:00
Nick Coghlan
9aa00d1cd1
Issue #19697 : document more __main__.__spec__ quirks
2014-03-29 15:39:42 +10:00
Eric Snow
e50f9aa4bd
Issue #19697 : Document cases where __main__.__spec__ is None.
2014-03-28 18:10:33 -06:00
Eric Snow
03fd2ea447
Issue #19697 : Document cases where __main__.__spec__ is None.
2014-03-28 18:10:33 -06:00
Raymond Hettinger
9c5e98ff29
merge
2014-03-28 16:39:45 -07:00
Raymond Hettinger
4ab532bbfe
Issue 21014: Use booleans instead of 0 and 1 in examples.
2014-03-28 16:39:25 -07:00
Georg Brandl
aa1403c440
merge with 3.4
2014-03-28 19:49:02 +01:00
Georg Brandl
865bdbf4af
Doc: do not compress .epub for dist, it is already zipped.
2014-03-28 19:48:55 +01:00
Ned Deily
090eb1fd18
Issue #6676 : merge from 3.4
2014-03-27 16:44:06 -07:00
Ned Deily
e7d532fbc9
Issue #6676 : Ensure a meaningful exception is raised when attempting
...
to parse more than one XML document per pyexpat xmlparser instance.
(Original patches by Hirokazu Yamamoto and Amaury Forgeot d'Arc, with
suggested wording by David Gutteridge)
2014-03-27 16:39:58 -07:00
Yury Selivanov
da39645ad3
inspect.Signature: Add 'Signature.from_callable' classmethod. Closes #17373
2014-03-27 12:09:24 -04:00
Yury Selivanov
a5d63dd7b8
inspect.signature: Make Signature and Parameter picklable. Closes #20726
2014-03-27 11:31:43 -04:00
R David Murray
b0e6951193
Merge #20145 backport: delete whatsnew entry.
2014-03-25 15:34:17 -04:00
Victor Stinner
0ad0bfabf8
(Merge 3.4) Issue #12209 : Minor edits to faulthandler doc. Patch written by
...
Éric Araujo.
2014-03-25 12:34:17 +01:00
Victor Stinner
215ad66405
Issue #12209 : Minor edits to faulthandler doc. Patch written by Éric Araujo.
2014-03-25 12:33:56 +01:00
Vinay Sajip
6d457287eb
Merged documentation update from 3.4.
2014-03-25 11:22:24 +00:00
Vinay Sajip
4908910ab7
Updated external link in documentation.
2014-03-25 11:21:41 +00:00
Georg Brandl
b50f8c9c0d
merge with 3.4
2014-03-25 10:13:44 +01:00
Georg Brandl
1afe2af690
Closes #21045 : make the Qt help build not look completely stupid
2014-03-25 10:12:47 +01:00
Victor Stinner
acb6c0491c
(Merge 3.4) Issue #21006 : asyncio doc: reorganize subprocess doc
2014-03-25 09:40:39 +01:00
Victor Stinner
984600fba7
Issue #21006 : asyncio doc: reorganize subprocess doc
2014-03-25 09:40:26 +01:00
Georg Brandl
0d046e2a21
merge with 3.4
2014-03-25 09:34:55 +01:00
Georg Brandl
1c669c1154
Closes #18456 : Doc fix: PyDict_Update only works with dict-like objects, not key-value sequences. Patch by priyapappachan.
2014-03-25 09:34:30 +01:00
Donald Stufft
eaeb955f48
Merge in 3.4 to bring forward the Issue #21043 changes.
2014-03-24 19:28:08 -04:00
Donald Stufft
4137465bf5
Issue #21043 : Remove the recommendation for specific CA organizations
...
Closes #21043 by updating the documentation to remove specific CA
organizations and update the text to no longer need to tell you to
download root certificates, but instead use the OS certificates
avaialble through SSLContext.load_default_certs.
2014-03-24 19:26:03 -04:00
Charles-François Natali
1d29cc5b6c
Issue #21040 : socketserver: Use the selectors module.
2014-03-24 22:25:39 +00:00
Georg Brandl
77605cb937
merge with 3.4
2014-03-24 09:06:33 +01:00
Georg Brandl
df48b97855
Fix a few scoping issues with versionadded/versionchanged directives.
2014-03-24 09:06:18 +01:00
Georg Brandl
29636aeacc
Use deprecated-removed directive, clean up a few markup issues around
...
deprecated directives.
2014-03-24 08:42:37 +01:00
Zachary Ware
14017b2a53
Merge with 3.4
2014-03-23 22:22:12 -05:00
Zachary Ware
645d3b7655
Remove superfluous open parenthesis. Noticed by cocoatomo on docs@.
2014-03-23 22:21:38 -05:00
Donald Stufft
17dcf7531c
Merge the patch for issue #21013 into default
2014-03-23 19:12:13 -04:00
Donald Stufft
6a2ba94908
Issue #21013 : Enhance ssl.create_default_context() for server side contexts
...
Closes #21013 by modfying ssl.create_default_context() to:
* Move the restricted ciphers to only apply when using
ssl.Purpose.CLIENT_AUTH. The major difference between restricted and not
is the lack of RC4 in the restricted. However there are servers that exist
that only expose RC4 still.
* Switches the default protocol to ssl.PROTOCOL_SSLv23 so that the context
will select TLS1.1 or TLS1.2 if it is available.
* Add ssl.OP_NO_SSLv3 by default to continue to block SSL3.0 sockets
* Add ssl.OP_SINGLE_DH_USE and ssl.OP_SINGLE_ECDG_USE to improve the security
of the perfect forward secrecy
* Add ssl.OP_CIPHER_SERVER_PREFERENCE so that when used for a server side
socket the context will prioritize our ciphers which have been carefully
selected to maximize security and performance.
* Documents the failure conditions when a SSL3.0 connection is required so
that end users can more easily determine if they need to unset
ssl.OP_NO_SSLv3.
2014-03-23 19:05:28 -04:00
Georg Brandl
60fa3533eb
merge with 3.4
2014-03-23 23:04:45 +01:00
Georg Brandl
553e108fce
tutorial: no "linux2" sys.platform on 3.x (thanks Arfrever)
2014-03-23 23:03:59 +01:00
R David Murray
e1b6f97dae
#20145 : assert[Raises|Warns]Regex now raise TypeError on bad regex.
...
Previously a non-string, non-regex second argument could cause the test
to always pass.
Initial patch by Kamilla Holanda.
2014-03-23 15:08:43 -04:00
Antoine Pitrou
211e6d5908
Issue #20913 : make it clear that create_default_context() also enables hostname checking
2014-03-23 16:31:34 +01:00
Antoine Pitrou
f8cbbbb652
Issue #20913 : make it clear that create_default_context() also enables hostname checking
2014-03-23 16:31:08 +01:00
Georg Brandl
3fa7ea1348
merge with 3.4
2014-03-22 20:39:08 +01:00
Georg Brandl
75c5ab49ed
Closes #20975 : make date in the interpreter banner a little more consistent
2014-03-22 20:38:11 +01:00
Antoine Pitrou
0a0a9ade4f
Issue #20913 : improve the SSL security considerations to first advocate using create_default_context().
2014-03-22 18:19:36 +01:00
Antoine Pitrou
c5e075ff03
Issue #20913 : improve the SSL security considerations to first advocate using create_default_context().
2014-03-22 18:19:11 +01:00
Benjamin Peterson
940e207412
improve the command-line interface of json.tool ( closes #21000 )
...
A patch from Berker Peksag.
2014-03-21 23:17:29 -05:00
Donald Stufft
71b4192e15
Merge changes from 3.4 to bring in fixes for Issue #20995
2014-03-21 21:38:50 -04:00
Donald Stufft
79ccaa2cad
Issue #20995 : Enhance default ciphers used by the ssl module
...
Closes #20995 by Enabling better security by prioritizing ciphers
such that:
* Prefer cipher suites that offer perfect forward secrecy (DHE/ECDHE)
* Prefer ECDHE over DHE for better performance
* Prefer any AES-GCM over any AES-CBC for better performance and security
* Then Use HIGH cipher suites as a fallback
* Then Use 3DES as fallback which is secure but slow
* Finally use RC4 as a fallback which is problematic but needed for
compatibility some times.
* Disable NULL authentication, NULL encryption, and MD5 MACs for security
reasons
2014-03-21 21:33:34 -04:00
Victor Stinner
068281addd
(Merge 3.4) Close #21010 : Fix typo in asyncio doc. Patch written by Claudiu
...
Popa.
2014-03-21 17:17:28 +01:00
Victor Stinner
51f3129ba2
Close #21010 : Fix typo in asyncio doc. Patch written by Claudiu Popa.
2014-03-21 17:17:15 +01:00
Brett Cannon
33a4000374
Issue #20627 : xmlrpc.client.ServerProxy is now a context manager.
...
Patch by Claudiu Popa.
2014-03-21 11:24:40 -04:00
Brett Cannon
a77d0c36e5
Issue #19165 : The formatter module graduates to full deprecation.
2014-03-21 10:52:33 -04:00
Victor Stinner
6bc239619c
Issue #21006 : Fix subprocess example on Windows in asyncio doc
2014-03-21 11:56:40 +01:00
Victor Stinner
c419caffe8
Issue #21006 : Fix subprocess example on Windows in asyncio doc
2014-03-21 11:56:40 +01:00
Victor Stinner
7280486ce3
Close #21005 : Fix documentation of asyncio.subprocess.DEVNULL
2014-03-21 11:44:49 +01:00
Victor Stinner
bac6248e6c
Close #21005 : Fix documentation of asyncio.subprocess.DEVNULL
2014-03-21 11:44:49 +01:00
Benjamin Peterson
ee6bdc07d6
remove the ability of datetime.time to be considered false ( closes #13936 )
2014-03-20 18:00:35 -05:00
Giampaolo Rodola'
265ae86414
merge heads
2014-03-20 21:44:53 +01:00
Giampaolo Rodola'
f97e82937f
Fix issue 18931: selectors module now supports /dev/poll on Solaris.
2014-03-20 21:43:41 +01:00
Benjamin Peterson
8efe3df664
merge 3.4
2014-03-20 12:40:03 -05:00
Benjamin Peterson
409a1be6cf
improve start default for relpath
2014-03-20 12:39:53 -05:00
Zachary Ware
9636e98b18
Merge several minor doc fixes from 3.4
2014-03-20 11:28:16 -05:00
Zachary Ware
2f31b4b577
Fix typos in Doc/faq/extending. Found by cocoatomo on docs@.
2014-03-20 10:16:09 -05:00
Zachary Ware
dbd1c43e52
Fix spelling in enum docs.
...
"equivalant" was caught by Tobias Käs on docs@, "seperated" and "chartruese"
were discovered by a spell-checker.
2014-03-20 10:01:48 -05:00
Zachary Ware
253deed862
Add missing parenthesis. Found by cocoatomo on docs@.
2014-03-20 09:46:09 -05:00
Zachary Ware
a22ae21db6
Fix parameter name in docs for os.makedirs and os.removedirs.
...
Pointed out by Colin Davis on docs@.
2014-03-20 09:42:01 -05:00
Andrew Kuchling
c51da2b8a0
#14332 : provide a better explanation of junk in difflib docs
...
Initial patch by Alba Magallanes.
2014-03-19 16:43:06 -04:00
Andrew Kuchling
2e3743cd30
#13437 : link to the source code for a few more modules
2014-03-19 16:23:01 -04:00
Zachary Ware
31ee154c5f
Closes #20966 : Fix Tkinter Resources link (merge from 3.4)
2014-03-18 09:20:25 -05:00
Zachary Ware
088639936d
Issue #20966 : Fix Tkinter Resources link
2014-03-18 09:19:18 -05:00
Victor Stinner
eb7d40c12c
Doc: add What's New in Python 3.5 to whatsnew index
2014-03-18 09:01:21 +01:00
Georg Brandl
3f2350c647
merge with 3.4
2014-03-18 07:47:35 +01:00
Georg Brandl
f5c801fdca
Fix option description that is a warning in new Sphinx versions.
2014-03-18 07:44:07 +01:00
Victor Stinner
7143029d43
Issue #19977 : When the ``LC_TYPE`` locale is the POSIX locale (``C`` locale),
...
:py:data:`sys.stdin` and :py:data:`sys.stdout` are now using the
``surrogateescape`` error handler, instead of the ``strict`` error handler.
2014-03-18 01:18:21 +01:00
Victor Stinner
01adf06d37
Add a stub "whatsnew in 3.5" document.
2014-03-18 00:53:32 +01:00
Éric Araujo
42867c73c9
Merge 3.4
2014-03-17 16:50:35 -04:00
Éric Araujo
0b1be1a3b1
Fix typo in example ( #20963 )
2014-03-17 16:48:13 -04:00
Jesus Cea
d890dc1690
MERGE: Typo
2014-03-17 19:23:14 +01:00