summaryrefslogtreecommitdiffstats
path: root/Doc/library
Commit message (Collapse)AuthorAgeFilesLines
* Add a prepend() recipe to teach a chain() idiom (GH-6415)Raymond Hettinger2018-04-081-0/+5
|
* bpo-29613: Added support for SameSite cookies (GH-6413)Alex Gaynor2018-04-071-0/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | * bpo-29613: Added support for SameSite cookies Implemented as per draft https://tools.ietf.org/html/draft-west-first-party-cookies-07 * Documented SameSite And suggestions by members. * Missing space :( * Updated News and contributors * Added version changed details. * Fix in documentation * fix in documentation * Clubbed test cases for same attribute into single. * Updates * Style nits + expand tests * review feedback
* bpo-8243: Doc patch for curses.window.addstr and curses.window.addch (GH-5179)Jay Crotts2018-04-071-0/+12
|
* bpo-33169: Remove values of `None` from sys.path_importer_cache when ↵Brett Cannon2018-04-061-1/+6
| | | | | invalidating caches (GH-6402) An entry of None in sys.path_importer_cache represents a negative/missing finder for a path, so clearing it out makes sense.
* fixed capitalization of class name (GH-6396)Alex Gaynor2018-04-061-1/+1
|
* bpo-23403: Bump pickle.DEFAULT_PROTOCOL to 4 (#6355)Łukasz Langa2018-04-041-6/+14
| | | This makes performance better and produces shorter pickles. This change is backwards compatible up to the oldest currently supported version of Python (3.4).
* bpo-32337: Update documentats about dict order (GH-4973)hui shang2018-04-041-8/+8
|
* bpo-32360: Remove object_pairs_hook=OrderedDict examples (GH-5001)INADA Naoki2018-04-031-8/+4
|
* closes bpo-33202: fix os.walk mentioning os.listdir instead of os.scandir ↵Andrés Delfino2018-04-031-1/+1
| | | | | | (GH-6335)
* bpo-20104: Add os.posix_spawn documentation. (#6334)Gregory P. Smith2018-04-011-0/+25
|
* Fix socket type in DatagramHandler documentation: TCP -> UDP (GH-6272)Mike DePalatis2018-03-301-1/+1
|
* FIX documentation and NEWS of ThreadedHTTPServer. (GH-6207)Julien Palard2018-03-281-2/+5
|
* Fix typos '.::' should typically just be '::'. (GH-6165)Julien Palard2018-03-282-2/+2
|
* Fix duplicating words words. (GH-6296)Serhiy Storchaka2018-03-284-6/+6
| | | Most of them have been added in 3.7.
* 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
|
* 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-251-2/+2
| | | | | | | | | | | | 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-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-231-0/+11
| | | | | | | | * 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-181-2/+2
|
* 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-111-0/+6
|
* 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-101-0/+50
|
* bpo-30249: Improve struct.unpack_from() error messages (GH-6059)Xiang Zhang2018-03-101-3/+3
|
* bpo-26701: Add documentation for __trunc__ (GH-6022)Eric Appelt2018-03-102-3/+6
| | | | `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)
* 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
|
* 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
|
* Fix typo in logging doc: picked -> pickled (GH-5942)James Walker2018-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-31453: Add setter for min/max protocol version (#5259)Christian Heimes2018-02-271-2/+99
| | | | | | | | | | | | 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-271-6/+18
| | | | | | | | | | | | | | | | 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-271-182/+210
| | | | | | | 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-271-0/+9
| | | | | | | | | | | | | | | | | | * 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-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-241-11/+28
| | | | | | | | | | | | 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.