summaryrefslogtreecommitdiffstats
path: root/Doc
Commit message (Collapse)AuthorAgeFilesLines
* bpo-28247: Document Windows executable creation in zipapp (GH-6158)Cheryl Sabella2018-03-201-0/+169
|
* bpo-32489: Allow 'continue' in 'finally' clause. (GH-5822)Serhiy Storchaka2018-03-184-11/+16
|
* bpo-32374: m_traverse may be called with m_state=NULL (GH-5140)Marcel Plch2018-03-171-3/+9
| | | | | Multi-phase initialized modules allow m_traverse to be called while the module is still being initialized, so module authors may need to account for that.
* bpo-29719: Remove Date and Release field in whatsnew/3.7 and 8 (GH-6093)Ned Deily2018-03-132-6/+0
|
* Fix docs markup for asyncio current_task() and all_tasks() (#6089)Andrew Svetlov2018-03-121-2/+2
|
* signal: add strsignal() (#6017)Antoine Pietri2018-03-121-0/+9
| | | Co-authored-by: Vajrasky Kok <sky.kok@speaklikeaking.com>
* bpo-32996: Improve What's New in 3.7. (#5983)Serhiy Storchaka2018-03-112-123/+131
|
* bpo-33045: Fix typos in SSL documentation (GH-6065)Matt Eaton2018-03-111-2/+2
|
* bpo-27645: Add support for native backup facility of SQLite (GH-4238)Emanuele Gaifas2018-03-102-0/+59
|
* bpo-30249: Improve struct.unpack_from() error messages (GH-6059)Xiang Zhang2018-03-101-3/+3
|
* bpo-26701: Improve documentation for the rounding special methods. (#6054)Serhiy Storchaka2018-03-101-12/+18
|
* bpo-26701: Add documentation for __trunc__ (GH-6022)Eric Appelt2018-03-103-3/+15
| | | | `int` fails back to `__trunc__` is `__int__` isn't defined, so cover that in the docs.
* Warn that dbm.dumb.open() can crash Python (GH-6047)Brett Cannon2018-03-091-0/+5
|
* Warn that compile() can crash when compiling to an AST object (GH-6043)Brett Cannon2018-03-091-0/+6
|
* bpo-32758: Warn that ast.parse() and ast.literal_eval() can segfault the ↵Brett Cannon2018-03-091-0/+10
| | | | interpreter (GH-5960)
* controlflow: Use full example for "5 through 9" (GH-5907)Steven M. Vascellaro2018-03-091-1/+1
| | | | Replace example result of "5 through 9" with complete list: "5, 6, 7, 8, 9". This format is more consistent with the surrounding examples.
* Fix some ipaddress documentation errors (GH-6021)Xiang Zhang2018-03-081-8/+12
| | | | | | | * fix a typo: documention -> documentation * fix the type of IPv?Network.hostmask * add documentation about IPv?Network.netmask * fix IPv6Network constructor doc that extended netmasks are not supported
* bpo-32969: Expose some missing constants in zlib and fix the doc (GH-5988)Xiang Zhang2018-03-071-19/+22
|
* Add What's New for issues 32303 and 32305 (GH-5994)Barry Warsaw2018-03-051-0/+8
|
* bpo-30147: Add re.escape changes to 3.7 What's New (GH-5978)Cheryl Sabella2018-03-041-0/+4
|
* Fix missing coroutine declaration in the asyncio documentation. (#5964)Joongi Kim2018-03-031-1/+1
|
* bpo-32964: Reuse a testing implementation of the path protocol in tests. (#5930)Serhiy Storchaka2018-03-021-0/+7
|
* bpo-30607: Use external python-doc-theme (GH-2017)Jon Wayne Parrott2018-03-0110-584/+76
|
* Fix typo in logging doc: picked -> pickled (GH-5942)James Walker2018-02-281-1/+1
|
* Fix 3.8 whatsnew changelog linkNed Deily2018-02-281-1/+1
|
* Revert "bpo-31961: subprocess now accepts path-like args (GH-4329)" (#5912)Serhiy Storchaka2018-02-271-10/+6
| | | | | | * Revert "bpo-31961: subprocess now accepts path-like args (GH-4329)" This reverts commit dd42cb71f2cb02f3a32f016137b12a146bc0d0e2.
* bpo-10381, bpo-32403: What's new entries for changes to datetime (gh-5814)Paul Ganssle2018-02-271-0/+10
| | | | | | | | | | * Add What's New entry for addition of datetime.timezone to the C API Closes bpo-10381 * Add what's new entry for date and datetime optimizations Closes bpo-32403
* bpo-31453: Add setter for min/max protocol version (#5259)Christian Heimes2018-02-272-2/+104
| | | | | | | | | | | | OpenSSL 1.1 has introduced a new API to set the minimum and maximum supported protocol version. The API is easier to use than the old OP_NO_TLS1 option flags, too. Since OpenSSL has no call to set minimum version to highest supported, the implementation emulate maximum_version = MINIMUM_SUPPORTED and minimum_version = MAXIMUM_SUPPORTED by figuring out the minumum and maximum supported version at compile time. Signed-off-by: Christian Heimes <christian@python.org>
* bpo-32951: Disable SSLSocket/SSLObject constructor (#5864)Christian Heimes2018-02-272-6/+24
| | | | | | | | | | | | | | | | Direct instantiation of SSLSocket and SSLObject objects is now prohibited. The constructors were never documented, tested, or designed as public constructors. The SSLSocket constructor had limitations. For example it was not possible to enabled hostname verification except was ssl_version=PROTOCOL_TLS_CLIENT with cert_reqs=CERT_REQUIRED. SSLContext.wrap_socket() and SSLContext.wrap_bio are the recommended API to construct SSLSocket and SSLObject instances. ssl.wrap_socket() is also deprecated. The only test case for direct instantiation was added a couple of days ago for IDNA testing. Signed-off-by: Christian Heimes <christian@python.org>
* bpo-28124: deprecate ssl.wrap_socket() (#5888)Christian Heimes2018-02-272-182/+215
| | | | | | | The ssl module function ssl.wrap_socket() has been de-emphasized and deprecated in favor of the more secure and efficient SSLContext.wrap_socket() method. Signed-off-by: Christian Heimes <christian@python.org>
* bpo-32947: OpenSSL 1.1.1-pre1 / TLS 1.3 fixes (#5663)Christian Heimes2018-02-272-0/+12
| | | | | | | | | | | | | | | | | | * bpo-32947: OpenSSL 1.1.1-pre1 / TLS 1.3 fixes Misc fixes and workarounds for compatibility with OpenSSL 1.1.1-pre1 and TLS 1.3 support. With OpenSSL 1.1.1, Python negotiates TLS 1.3 by default. Some test cases only apply to TLS 1.2. Other tests currently fail because the threaded or async test servers stop after failure. I'm going to address these issues when OpenSSL 1.1.1 reaches beta. OpenSSL 1.1.1 has added a new option OP_ENABLE_MIDDLEBOX_COMPAT for TLS 1.3. The feature is enabled by default for maximum compatibility with broken middle boxes. Users should be able to disable the hack and CPython's test suite needs it to verify default options. Signed-off-by: Christian Heimes <christian@python.org>
* bpo-32394: Remove some TCP options on old version Windows. (GH-5523)animalize2018-02-261-0/+7
|
* bpo-31454: Include information about "import X as Y" in Modules tutorial ↵Mario Corchero2018-02-251-0/+19
| | | | | | (GH-4041)
* bpo-25059: Clarify the print separator usage in tutorial (GH-5879)Cheryl Sabella2018-02-251-1/+1
| | | By default `print` adds spaces between its arguments.
* bpo-17232: Clarify docs for -O and -OO command line options (#5839)Cheryl Sabella2018-02-251-2/+13
| | | The 'optimization' is for space in the executable file, not for run time.
* bpo-30622: Improve NPN support detection (#5859)Christian Heimes2018-02-241-0/+17
| | | | | | The ssl module now detects missing NPN support in LibreSSL. Co-Authored-By: Bernard Spil <brnrd@FreeBSD.org> Signed-off-by: Christian Heimes <christian@python.org>
* [bpo-28414] Make all hostnames in SSL module IDN A-labels (GH-5128)Christian Heimes2018-02-242-11/+36
| | | | | | | | | | | | Previously, the ssl module stored international domain names (IDNs) as U-labels. This is problematic for a number of reasons -- for example, it made it impossible for users to use a different version of IDNA than the one built into Python. After this change, we always convert to A-labels as soon as possible, and use them for all internal processing. In particular, server_hostname attribute is now an A-label, and on the server side there's a new sni_callback that receives the SNI servername as an A-label rather than a U-label.
* bpo-32923: Unittest doc: replace `whilst` with `while` (GH-5833)Mariatta2018-02-231-1/+1
| | | | `whilst` and `while` are both english words, `whilst` is not as commonly used. This can be confusing to readers whose primary language is not english.
* bpo-32087: Doc: Make "deprecated-removed" directive translatable (GH-4473)cocoatomo2018-02-232-5/+8
|
* bpo-17611. Move unwinding of stack for "pseudo exceptions" from interpreter ↵Serhiy Storchaka2018-02-222-43/+95
| | | | | | | | | to compiler. (GH-5006) Co-authored-by: Mark Shannon <mark@hotpy.org> Co-authored-by: Antoine Pitrou <antoine@python.org>
* bpo-32008: don't use PROTOCOL_TLSv1 in example (GH-5789)Benjamin Peterson2018-02-211-2/+2
| | | | It's bad form to pin to an old version of TLS. ssl.SSLContext has the right protocol default, so let's not pass anyway.
* bpo-28886: doc: Move deprecated abc decorators to separate section (GH-176)Harshul jain2018-02-211-22/+17
|
* bpo-32500: Correct the documentation for PySequence_Size() and ↵Zackery Spytz2018-02-201-3/+2
| | | | | PySequence_Length() (GH-5767) Dropped the part that says: "For objects that do not provide sequence protocol".
* bpo-31333: Fix typo in whatsnew/3.7.rst (GH-5744)Terry Jan Reedy2018-02-181-1/+1
|
* Correct venv doc (fix #32540) (#5736)TROUVERIE Joachim2018-02-181-4/+3
|
* bpo-31333: Re-implement ABCMeta in C (#5273)Ivan Levkivskyi2018-02-181-0/+6
| | | | This adds C versions of methods used by ABCMeta that improve performance of various ABC operations.
* Fix a typo in asyncio docs (#5721)Andrew Svetlov2018-02-171-1/+1
|
* DOC: fix documentation for copyright and credits (GH-5706)Gerrit Holl2018-02-171-3/+7
| | | | | Adapt documentation for `copyright` and `credits` to reality. Previously, the documentation implied that all each of `copyright`, `credits`, and `license`, would print a message to call the object in order to see the full text. In reality, only `license` exhibits this behaviour, and `copyright` and `credit` print their full text either when printed, displayed, or called.
* bpo-32860: Fix a missing asterisk in the documentation for glob.iglob() ↵Zackery Spytz2018-02-171-1/+1
| | | | (GH-5712)
* bpo-32436: Add docs for contextvars (#5685)Yury Selivanov2018-02-163-0/+299
|