summaryrefslogtreecommitdiffstats
path: root/Doc
Commit message (Collapse)AuthorAgeFilesLines
* bpo-33126: Document PyBuffer_ToContiguous() (#6292)Antoine Pitrou2018-03-281-3/+9
|
* s/the the/the/ (GH-6287)INADA Naoki2018-03-281-1/+1
|
* Fix senfile typo (#6265)Sam Dunster2018-03-281-1/+1
| | | * Also in docs
* bpo-27212: Modify islice recipe to consume initial values preceding start ↵Cheryl Sabella2018-03-271-7/+16
| | | | (GH-6195)
* Corrected link targets in collections.rst (GH-1052)Michael Seifert2018-03-261-24/+31
|
* Fix description about SimpleXMLRPCServer constructor parameter ↵cocoatomo2018-03-261-1/+1
| | | | | | bind_and_activate. (GH-776) Passing True as the `bind_and_activate` *do* immediately opening and binding to their socket.
* Clarify fd inheritance when close_fds=False. (GH-6240)Gregory P. Smith2018-03-251-1/+4
| | | Clarify the subprocess documentation.
* bpo-33053: -m now adds *starting* directory to sys.path (GH-6231)Nick Coghlan2018-03-252-2/+13
| | | | | | | | | | | | Historically, -m added the empty string as sys.path zero, meaning it resolved imports against the current working directory, the same way -c and the interactive prompt do. This changes the sys.path initialisation to add the *starting* working directory as sys.path[0] instead, such that changes to the working directory while the program is running will have no effect on imports when using the -m switch.
* bpo-33042: Fix pre-initialization sys module configuration (GH-6157)Nick Coghlan2018-03-253-5/+36
| | | | | | | | | - new test case for pre-initialization of sys.warnoptions and sys._xoptions - restored ability to call these APIs prior to Py_Initialize - updated the docs for the affected APIs to make it clear they can be called before Py_Initialize - also enhanced the existing embedding test cases to check for expected settings in the sys module
* bpo-27428: Fix WindowsRegistryFinder documentation to list appropriate ABC ↵Himanshu Lakhara2018-03-231-1/+1
| | | | | | (GH-6061)
* bpo-31639: Use threads in http.server module. (GH-5018)Julien Palard2018-03-231-2/+9
|
* Fix a reference to the MRE book in re docs (GH-1113)Berker Peksag2018-03-231-10/+8
| | | Reported by Maksym Nikulyak on docs.p.o.
* bpo-33041: Rework compiling an "async for" loop. (#6142)Serhiy Storchaka2018-03-232-0/+15
| | | | | | | | * Added new opcode END_ASYNC_FOR. * Setting global StopAsyncIteration no longer breaks "async for" loops. * Jumping into an "async for" loop is now disabled. * Jumping out of an "async for" loop no longer corrupts the stack. * Simplify the compiler.
* bpo-27683: Fix a regression for host() of ipaddress network objects (GH-6016)Xiang Zhang2018-03-211-1/+11
| | | | | | The result of host() was not empty when the network is constructed by a tuple containing an integer mask and only 1 bit left for addresses.
* bpo-18802: Add more details to ipaddress documentation (GH-6083)Cheryl Sabella2018-03-211-16/+47
| | | | Original patch by Jon Foster and Berker Peksag.
* 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.