Christian Heimes
46dac0723a
Explain why PROTOCOL_SSLv23 does not support SSLv2 and SSLv3 by default.
2016-09-13 12:10:45 +02:00
Christian Heimes
17352fff92
Explain why PROTOCOL_SSLv23 does not support SSLv2 and SSLv3 by default.
2016-09-13 12:09:55 +02:00
Martin Panter
b2317a4d9d
Issue #15819 : Merge include search from 3.5 into 3.6
2016-09-13 12:40:51 +00:00
Raymond Hettinger
dcbed36e71
merge
2016-09-12 23:39:05 -07:00
Raymond Hettinger
a33e9f7047
Issue #28104 : More accurately document set method signatures
2016-09-12 23:38:50 -07:00
Berker Peksag
e4c16fa364
Merge from 3.6
2016-09-13 05:53:01 +03:00
Berker Peksag
b5d67b7278
Fix headers in whatsnew/3.6.rst
2016-09-13 05:52:32 +03:00
Berker Peksag
f821abafb7
Issue #28103 : Merge from 3.6
2016-09-13 04:50:09 +03:00
Berker Peksag
b7abaa85ae
Issue #28103 : Merge from 3.5
2016-09-13 04:49:44 +03:00
Berker Peksag
7927e75758
Issue #28103 : Use ``'...'`` style in zipfile documentation
...
Patch by Stephen J. Turnbull.
2016-09-13 04:49:12 +03:00
Ned Deily
4829bc6619
Bump to 3.7.0a0
2016-09-12 17:29:04 -04:00
Ned Deily
0112625fba
Change SOURCE_URI for pydoc source URLs to point to 3.6 branch
2016-09-12 10:56:13 -04:00
Victor Stinner
6287177169
Issue #27350 : Document compact dict memory usage
2016-09-12 14:43:14 +02:00
Raymond Hettinger
0d5048cb21
Issue #17941 : Add a *module* parameter to collections.namedtuple()
2016-09-12 00:18:31 -07:00
Terry Jan Reedy
3dad1a5b82
Merge 3.5 - Issue #15308 : Add 'interrupt execution' (^C) to Shell menu.
...
Patch by Roger Serwy, updated by Bayard Randel.
2016-09-12 01:57:25 -04:00
Terry Jan Reedy
4b73676c3d
Issue #15308 : Add 'interrupt execution' (^C) to Shell menu.
...
Patch by Roger Serwy, updated by Bayard Randel.
2016-09-12 01:50:03 -04:00
Berker Peksag
34b74fffb3
Add missing versionadded directives
2016-09-12 08:00:01 +03:00
Alexander Belopolsky
18f3a9b93c
Closes #25283 : Make tm_gmtoff and tm_zone available on all platforms.
2016-09-11 22:55:16 -04:00
Raymond Hettinger
0b51fd4341
merge
2016-09-11 17:24:05 -07:00
Raymond Hettinger
06e18a7c24
Issue #26511 : Reference the id() function in the 'is' and 'is not' docs
2016-09-11 17:23:49 -07:00
Christian Heimes
c4d2e500a9
Update whatsnew with my contributions
2016-09-12 01:14:35 +02:00
Christian Heimes
5fe668c672
Issue #28085 : Add PROTOCOL_TLS_CLIENT and PROTOCOL_TLS_SERVER for SSLContext
2016-09-12 00:01:11 +02:00
Ned Deily
ef71d20548
Add some additional suspicious exemption rules for recent doc changes.
2016-09-11 15:49:37 -04:00
Guido van Rossum
015d874626
Issue #28076 : Variable annotations should be mangled for private names.
...
By Ivan Levkivskyi.
2016-09-11 09:45:24 -07:00
Vinay Sajip
d5ee406ff1
Closes #23105 : Merged update from 3.5.
2016-09-11 15:16:58 +01:00
Vinay Sajip
e4946e73c8
Issue #23105 : Updated documentation on open() flag constants.
2016-09-11 15:15:59 +01:00
Eric V. Smith
b5690864ba
Issue 24454: Added whatsnew entry, removed __getitem__ from match_methods. Thanks Serhiy Storchaka.
2016-09-11 09:50:47 -04:00
Serhiy Storchaka
b7e3535a08
Fixed a markup in docs.
2016-09-11 16:47:59 +03:00
Eric V. Smith
605bdae078
Issue 24454: Improve the usability of the re match object named group API
2016-09-11 08:55:43 -04:00
Berker Peksag
fa0c885478
Issue #20100 : Merge from 3.5
2016-09-11 15:46:07 +03:00
Berker Peksag
1c697a56ba
Issue #20100 : Clarify that passing flags to epoll() has no effect
2016-09-11 15:45:32 +03:00
Vinay Sajip
d0630498c9
Closed #26533 : Merged update from 3.5.
2016-09-11 13:15:57 +01:00
Vinay Sajip
3d639b2c2e
Closed #26533 : expanded on behaviour of logging.config.listen().
2016-09-11 13:15:06 +01:00
Berker Peksag
1cb7aaa9b1
Issue #27991 : Merge from 3.5
2016-09-11 13:02:56 +03:00
Berker Peksag
53ba2d10e0
Issue #27991 : Remove incorrect sentence about store_true
...
Patch by py.user.
2016-09-11 13:02:27 +03:00
Berker Peksag
ab994ed8b9
Issue #10740 : sqlite3 no longer implicitly commit an open transaction before DDL statements
...
This commit contains the following commits from ghaering/pysqlite:
* f254c53494
* 796b3afe38
* cae87ee686
* 3567b31bb5
With the following additions:
* Fixed a refcount error
* Fixed a compiler warning
* Made the string comparison a little more robust
* Added a whatsnew entry
2016-09-11 12:57:15 +03:00
Serhiy Storchaka
bd48d27944
Issue #22493 : Inline flags now should be used only at the start of the
...
regular expression. Deprecation warning is emitted if uses them in the
middle of the regular expression.
2016-09-11 12:50:02 +03:00
Serhiy Storchaka
352601ca00
Issue #26885 : xmlrpc now supports unmarshalling additional data types used
...
by Apache XML-RPC implementation for numerics and None.
2016-09-11 11:23:38 +03:00
Serhiy Storchaka
9fab79bcb5
Issue #26900 : Excluded underscored names and other private API from limited API.
2016-09-11 11:03:14 +03:00
Ethan Furman
c16595e567
issue23591: add auto() for auto-generating Enum member values
2016-09-10 23:36:59 -07:00
Guido van Rossum
56ff5f7298
Issue #26141 : Update docs for typing.py. Ivan Levkivskyi. (Backport from the 3.6 version)
2016-09-10 19:03:22 -07:00
Guido van Rossum
446e168202
Issue #26141 : Update docs for typing.py. Ivan Levkivskyi.
2016-09-10 18:54:14 -07:00
Guido van Rossum
f7f8299967
Issue #28073 : Improve wording around None. Michael Lee. (3.5->3.6)
2016-09-10 18:49:34 -07:00
Guido van Rossum
1816dfe65f
Issue #28073 : Improve wording around None. Michael Lee.
2016-09-10 18:49:14 -07:00
Benjamin Peterson
47503c5a8d
fix link to instrumentation
2016-09-10 17:38:51 -07:00
Benjamin Peterson
699e2c91f6
reST is not markdown
2016-09-10 17:24:25 -07:00
Christian Heimes
99a6570295
Issue #19500 : Add client-side SSL session resumption to the ssl module.
2016-09-10 23:44:53 +02:00
Christian Heimes
d04863771b
Issue #28022 : Deprecate ssl-related arguments in favor of SSLContext.
...
The deprecation include manual creation of SSLSocket and certfile/keyfile
(or similar) in ftplib, httplib, imaplib, smtplib, poplib and urllib.
ssl.wrap_socket() is not marked as deprecated yet.
2016-09-10 23:23:33 +02:00
Christian Heimes
358cfd426c
Issue 28043: SSLContext has improved default settings
...
The options OP_NO_COMPRESSION, OP_CIPHER_SERVER_PREFERENCE, OP_SINGLE_DH_USE, OP_SINGLE_ECDH_USE, OP_NO_SSLv2 (except for PROTOCOL_SSLv2), and OP_NO_SSLv3 (except for PROTOCOL_SSLv3) are set by default. The initial cipher suite list contains only HIGH ciphers, no NULL ciphers and MD5 ciphers (except for PROTOCOL_SSLv2).
2016-09-10 22:43:48 +02:00
Serhiy Storchaka
b0d497c072
Issue #24693 : Changed some RuntimeError's in the zipfile module to more
...
appropriate types. Improved some error messages and debugging output.
2016-09-10 21:28:07 +03:00
Martin Panter
b61ede4ba2
Merge spelling fixes from 3.5
2016-09-10 10:44:12 +00:00
Martin Panter
99e843b48e
Correct spelling in documentation and code comment
2016-09-10 10:38:28 +00:00
Nick Coghlan
b161562f72
Issue #17909 : Accept binary input in json.loads
...
json.loads (and hence json.load) now support binary input
encoded as UTF-8, UTF-16 or UTF-32.
Patch by Serhiy Storchaka.
2016-09-10 20:16:18 +10:00
Berker Peksag
2d7250b3be
Fix Python version in pdb.rst
2016-09-10 09:28:03 +03:00
Łukasz Langa
2eb6eca3e5
Issue #18401 : pdb tests don't read ~/.pdbrc anymore
...
Patch by Martin Matusiak and Sam Kimbrel.
2016-09-09 22:21:17 -07:00
R David Murray
b067c8fdd1
#20476 : Deal with the message_factory circular import differently.
...
It turns out we can't depend on email.message getting imported every place
message_factory is needed, so to avoid a circular import we need to special
case Policy.message_factory=None in the parser instead of using monkey
patching. I had a feeling that was a bad idea when I did it.
2016-09-10 00:22:25 -04:00
Eric V. Smith
d7665ca7a4
Further improved ',' and '_' specification in format mini-language.
2016-09-09 23:13:01 -04:00
Eric V. Smith
fef4391c88
Improved ',' and '_' specification in format mini-language.
2016-09-09 23:12:02 -04:00
Eric V. Smith
89e1b1aae0
Issue 27080: PEP 515: add '_' formatting option.
2016-09-09 23:06:47 -04:00
Zachary Ware
b44acebc7b
Actually fix suspicious markup, I ignored it too readily
2016-09-09 17:47:38 -07:00
Łukasz Langa
a785c87d6e
DTrace support: function calls, GC activity, line execution
...
Tested on macOS 10.11 dtrace, Ubuntu 16.04 SystemTap, and libbcc.
Largely based by an initial patch by Jesús Cea Avión, with some
influence from Dave Malcolm's SystemTap patch and Nikhil Benesch's
unification patch.
Things deliberately left out for simplicity:
- ustack helpers, I have no way of testing them at this point since
they are Solaris-specific
- PyFrameObject * in function__entry/function__return, this is
SystemTap-specific
- SPARC support
- dynamic tracing
- sys module dtrace facility introspection
All of those might be added later.
2016-09-09 17:37:37 -07:00
Zachary Ware
39b42ae8db
Remove line numbers from suspicious rules
2016-09-09 17:38:28 -07:00
Zachary Ware
935043d1ac
Closes #27976 : Deprecate bundled full copy of libffi
...
Builds on non-OSX UNIX now default to using the system libffi, and warn if the
bundled copy is used.
2016-09-09 17:01:21 -07:00
Raymond Hettinger
f1024f7425
merge
2016-09-09 15:58:00 -07:00
Raymond Hettinger
87dc4d6189
Issue 14976: Note that the queue module is not designed to protect against reentrancy
2016-09-09 15:57:13 -07:00
Zachary Ware
c307672395
We're not that far in the future yet
2016-09-09 15:47:05 -07:00
Zachary Ware
12aeb78fd2
Fix suspicious markup
2016-09-09 15:46:14 -07:00
R David Murray
06ed218ed0
#20476 : add a message_factory policy attribute to email.
2016-09-09 18:39:18 -04:00
Benjamin Peterson
f46e612e33
repair versionadded directive
2016-09-09 15:34:58 -07:00
Steve Dower
3cdd7f57a2
Add links from whatsnew to Windows docs.
2016-09-09 15:22:13 -07:00
Christian Heimes
3aeacad561
Issue #28025 : Convert all ssl module constants to IntEnum and IntFlags.
2016-09-10 00:19:35 +02:00
Serhiy Storchaka
142aee3a8e
Merge heads
2016-09-10 01:14:38 +03:00
Steve Dower
d8fdffedaa
Adds search path changes to whatsnew/3.6.rst
2016-09-09 15:09:30 -07:00
Steve Dower
814f9ae33e
Adds documentation for pythonXX.zip as a landmark.
2016-09-09 15:07:46 -07:00
Benjamin Peterson
4fd64b9a6a
remove ceval timestamp support
2016-09-09 14:57:58 -07:00
Serhiy Storchaka
be9a4e5c85
Issue #433028 : Added support of modifier spans in regular expressions.
2016-09-10 00:57:55 +03:00
Brett Cannon
a721abac29
Issue #26331 : Implement the parsing part of PEP 515.
...
Thanks to Georg Brandl for the patch.
2016-09-09 14:57:09 -07:00
Zachary Ware
9539963a44
Remove unused suspicious rules
2016-09-09 13:26:47 -07:00
Zachary Ware
ba41c8152f
Add tix deprecation to whatsnew
2016-09-09 13:25:44 -07:00
Zachary Ware
9c85828463
Closes #19489 : Merge with 3.5
2016-09-09 13:11:58 -07:00
Zachary Ware
a3090a4b79
Issue #19489 : Move the search box from sidebar to header and footer.
2016-09-09 13:11:27 -07:00
Benjamin Peterson
c1db513e36
repair errors in (set|get)_task_factory note ( #28051 )
2016-09-09 12:46:42 -07:00
Benjamin Peterson
84f6a8f725
merge 3.5 ( #28051 )
2016-09-09 12:46:49 -07:00
Gregory P. Smith ext:(%20%5BGoogle%20Inc.%5D)
0d441d7d59
Add a note about queue not being safe for use from signal handlers.
...
issue14976.
2016-09-09 12:31:05 -07:00
Gregory P. Smith ext:(%20%5BGoogle%20Inc.%5D)
cb3f2c8f97
Add a note about queue not being safe for use from signal handlers.
...
issue14976.
2016-09-09 12:30:34 -07:00
Steve Dower
de02b084e6
Closes #22731 : Documents change of console mode.
2016-09-09 11:46:37 -07:00
Guido van Rossum
922175922c
Issue #28049 : Add documentation for typing.Awaitable and friends.
...
By Michael Lee.
2016-09-09 11:46:34 -07:00
Steve Dower
8b26702fa3
Closes #22731 : Documents change of console mode.
2016-09-09 11:47:02 -07:00
Eric Snow
68f4dd8b01
Doc updates for PEPs 520 and 468.
2016-09-09 11:22:14 -07:00
Brett Cannon
6760c69022
Mention how requiring ordered dicts breaks backwards-compatibility.
2016-09-09 11:18:21 -07:00
Brett Cannon
feea6e7bcf
Mention that the order-preserving aspect of the new dict
...
implementation is an implementation detail (and why that is so).
2016-09-09 11:11:45 -07:00
Guido van Rossum
52a7e37555
Add a few big-ticket items to What's new in 3.6.
2016-09-09 09:59:34 -07:00
Guido van Rossum
6cff8744a0
Issue #27999 : Make "global after use" a SyntaxError, and ditto for nonlocal.
...
Patch by Ivan Levkivskyi.
2016-09-09 09:36:26 -07:00
Steve Dower
f333fd82a2
Switch to using |version| substitition in Windows docs.
2016-09-09 09:40:06 -07:00
Benjamin Peterson
f7e9dfbee2
credit Raymond
2016-09-09 09:33:23 -07:00
Steve Dower
4db86bc1b4
Changes pyvenv.cfg trick into an actual sys.path file.
2016-09-09 09:17:35 -07:00
Yury Selivanov
f8cb8a16a3
Issue #27985 : Implement PEP 526 -- Syntax for Variable Annotations.
...
Patch by Ivan Levkivskyi.
2016-09-08 20:50:03 -07:00
Eric Snow
4f29e75289
Issue #24254 : Drop cls.__definition_order__.
2016-09-08 15:11:11 -07:00
R David Murray
7f730cf01d
24277: Make it clearer that the new modules are not provisional.
...
Also make it clear on the contents page what chapters are about the
legacy API.
2016-09-08 18:28:43 -04:00
R David Murray
301edfa579
Add policy keyword to email.generator.DecodedGenerator.
2016-09-08 17:57:06 -04:00
Senthil Kumaran
10427f4485
[merge from 3.5] - Issue28010 - Make http.client.HTTPConnection.putrequest
...
documentation consistent with the code.
2016-09-08 14:29:23 -07:00
Senthil Kumaran
5dc504c3c9
Issue28010 - Make http.client.HTTPConnection.putrequest documentation consistent with the code.
2016-09-08 14:28:01 -07:00
Martin Panter
0f0eac431f
Issue #27993 : Fix problems with plural objects in docs and comments
2016-09-07 11:04:41 +00:00
Martin Panter
0be894b2f6
Issue #27895 : Spelling fixes (Contributed by Ville Skyttä).
2016-09-07 12:03:06 +00:00
R David Murray
6b46ec7733
#26209 : Clarify type of *localaddr*/*remoteadr* in smtpd docs.
2016-09-07 14:01:23 -04:00
Senthil Kumaran
32d374215a
[backport to 3.5] - issue26896 - Disambiguate uses of "importer" with "finder".
2016-09-07 00:52:20 -07:00
Guido van Rossum
e848cd7605
Issue #27905 : Docs for typing.Type[C], by Michael Lee.
2016-09-06 21:12:44 -07:00
Berker Peksag
a1bc246dd5
Use shorter version of Connection.isolation_level in sqlite3.rst
2016-09-07 04:02:41 +03:00
Christian Heimes
03d13c0cbf
Issues #27850 and #27766 : Remove 3DES from ssl default cipher list and add ChaCha20 Poly1305.
2016-09-06 20:06:47 +02:00
Senthil Kumaran
4672060d86
Update pkgutil docs to reference appropriate finder and loader object documentation.
...
Initial patch contributed by Jaysinh shukla.
2016-09-05 17:11:51 -07:00
Christian Heimes
598894ff48
Issue #26470 : Port ssl and hashlib module to OpenSSL 1.1.0.
2016-09-05 23:19:05 +02:00
Benjamin Peterson
f7e2ea2f33
remove ungrammarical apostrophe ( closes #27957 )
2016-09-05 14:02:59 -07:00
Raymond Hettinger
f5b7c7bfc1
Improve recipe by showing results of intermediate steps
2016-09-05 13:15:02 -07:00
Raymond Hettinger
871a3340b7
Issue 27936: Update doc for round() to indicate that None is an allowable argument.
2016-09-04 11:28:56 -07:00
Raymond Hettinger
16eb827b33
Improve docs for random.seed()
2016-09-04 11:17:28 -07:00
Steve Dower
3929499914
Issue #1602 : Windows console doesn't input or print Unicode (PEP 528)
...
Closes #17602 : Adds a readline implementation for the Windows console
2016-08-30 21:22:36 -07:00
Eric Snow
b957b0c2bc
Issue #28030 : Update the language reference for PEP 468.
2016-09-08 13:59:58 -07:00
Gregory P. Smith ext:(%20%5BGoogle%20Inc.%5D)
a68c1bca7b
Remove legacy "from __future__ import with_statement" lines.
2016-09-08 13:47:41 -07:00
Berker Peksag
18a7d2b455
Add missing versionadded directive
2016-09-08 23:36:25 +03:00
Victor Stinner
3b6a6b4215
Add a new private version to the builtin dict type
...
Issue #26058 : Add a new private version to the builtin dict type, incremented
at each dictionary creation and at each dictionary change.
Implementation of the PEP 509.
2016-09-08 12:51:24 -07:00
R David Murray
110b6fecbb
#27364 : Deprecate invalid escape strings in str/byutes.
...
Patch by Emanuel Barry, reviewed by Serhiy Storchaka and Martin Panter.
2016-09-08 15:34:08 -04:00
Benjamin Peterson
b6e363463a
make some peps high level sections
2016-09-08 11:58:40 -07:00
Zachary Ware
20737cc91e
Issue #28027 : Remove Lib/plat-* files
2016-09-08 11:38:46 -07:00
Benjamin Peterson
b1a95888de
fix pep role
2016-09-08 11:03:55 -07:00
Steve Dower
cc16be85c0
Issue #27781 : Change file system encoding on Windows to UTF-8 (PEP 529)
2016-09-08 10:35:16 -07:00
Benjamin Peterson
cfbd48bc56
add a note about c99
2016-09-08 10:27:20 -07:00
Benjamin Peterson
e5e3edb920
improve compact dict changelog
2016-09-08 10:13:42 -07:00
Brett Cannon
2376316857
Issue #27853 : Add section headers to the importlib example docs
2016-09-08 10:12:47 -07:00
Victor Stinner
742da040db
Implement compact dict
...
Issue #27350 : `dict` implementation is changed like PyPy. It is more compact
and preserves insertion order.
_PyDict_Dummy() function has been removed.
Disable test_gdb: python-gdb.py is not updated yet to the new structure of
compact dictionaries (issue #28023 ).
Patch written by INADA Naoki.
2016-09-07 17:40:12 -07:00
Benjamin Peterson
cc854499e4
clinic: PY_LONG_LONG -> long long
2016-09-08 09:29:11 -07:00
Benjamin Peterson
47ff0734b8
more PY_LONG_LONG to long long
2016-09-08 09:15:54 -07:00
Gregory P. Smith
d9fc792fda
Remove the subjective security and performance claims, fix hyperlinks
...
to use https and add a link to RFC-7693.
2016-09-08 01:33:43 -07:00
Ethan Furman
54924df2b1
improve Enum docs
2016-09-07 23:40:31 -07:00
R David Murray
1ba3e6dab1
#24277 : Fix some incorrect backslashes in email example.
2016-09-07 21:48:21 -04:00
R David Murray
bf24dfa07c
#24277 : Fix 3.4 whats new link broken by email doc changes.
2016-09-07 21:39:40 -04:00
Brett Cannon
035a100382
Issue #26667 : Add path-like object support to importlib.util.
2016-09-07 18:39:18 -07:00
Eric Snow
d5f9223981
Issue #17211 : Yield a namedtuple in pkgutil.
...
Patch by Ramchandra Apte.
2016-09-07 18:37:17 -07:00
R David Murray
8e7cdb2586
#24277 : What's New and news entries for previous commit.
2016-09-07 21:21:58 -04:00
R David Murray
29d1bc0842
#24277 : The new email API is no longer provisional.
...
This is a wholesale reorganization and editing of the email documentation to
make the new API the standard one, and the old API the 'legacy' one. The
default is still the compat32 policy, for backward compatibility. We will
change that eventually.
2016-09-07 21:15:59 -04:00
Eric Snow
46f97b85a8
Issue #15767 : Use ModuleNotFoundError.
2016-09-07 16:56:15 -07:00
Eric Snow
c943265ba5
Issue #15767 : Add ModuleNotFoundError.
2016-09-07 15:42:32 -07:00
Davin Potts
86a7668426
Fixes issue #6766 : Updated multiprocessing Proxy Objects to support nesting
2016-09-07 18:48:01 -05:00
Martin Panter
1aa642f6bd
Issue #27993 : Merge plural fixes from 3.5
2016-09-07 23:36:43 +00:00
R David Murray
56b1f1b4d5
#27331 : add policy keyword argument to all MIME subclasses.
...
Patch by Berker Peksag.
2016-09-07 16:48:35 -04:00
Brett Cannon
5c4de2863b
Add the co_extra field and accompanying APIs to code objects.
...
This completes PEP 523.
2016-09-07 11:16:41 -07:00
R David Murray
2195d537b3
Merge: #26209 : Clarify type of *localaddr*/*remoteadr* in smtpd docs.
2016-09-07 14:02:11 -04:00
Ethan Furman
6a137e8d50
add recipes for pseudo-valueless enums
2016-09-07 08:17:15 -07:00
Christian Heimes
6fe2a75b64
Issue #16113 : Add SHA-3 and SHAKE support to hashlib module.
2016-09-07 11:58:24 +02:00
Serhiy Storchaka
680cb152c5
Issue #26032 : Optimized globbing in pathlib by using os.scandir(); it is now
...
about 1.5--4 times faster.
2016-09-07 10:58:05 +03:00
Raymond Hettinger
28aa4a0684
Rename weighted_choices() to just choices()
2016-09-07 00:08:44 -07:00