Andrés Delfino
4b685bf719
bpo-33283: Mention PNG as a supported format by Tcl/Tk. (GH-6479)
2018-04-17 08:34:35 +03:00
Łukasz Langa
a00d440edb
Revert 725476222a
( #6494 )
...
This note in documentation was never true.
2018-04-16 20:00:31 -07:00
Antoine Pitrou
480ab05d5f
bpo-33176: Add a toreadonly() method to memoryviews. (GH-6466)
2018-04-14 19:49:21 +02:00
WeizhongTu
ffa2c3e2c4
itemgetter add dict example (GH-1280)
2018-04-12 21:33:08 -04:00
suic86
04e8293465
Fix error messages in argparse examples (GH-6435)
...
The examples in argparse documentation use `error: too few arguments`
error message which was removed in this commit f97c59a
in 2011.
2018-04-11 13:45:04 -05:00
Serhiy Storchaka
46936d5a71
Improve highlighting of some code blocks. (GH-6401)
2018-04-08 19:18:04 +03:00
Raymond Hettinger
9265dd72e5
Add a prepend() recipe to teach a chain() idiom (GH-6415)
2018-04-08 08:44:20 -07:00
Alex Gaynor
c87eb09d2e
bpo-29613: Added support for SameSite cookies (GH-6413)
...
* 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
2018-04-07 16:09:42 -04:00
Jay Crotts
ef5ce884a4
bpo-8243: Doc patch for curses.window.addstr and curses.window.addch (GH-5179)
2018-04-06 21:27:07 -04:00
Brett Cannon
9e2be60634
bpo-33169: Remove values of `None` from sys.path_importer_cache when 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.
2018-04-06 16:10:18 -07:00
Alex Gaynor
1d87c7b80b
fixed capitalization of class name (GH-6396)
2018-04-06 08:26:49 -04:00
Łukasz Langa
c51d8c9ba6
bpo-23403: Bump pickle.DEFAULT_PROTOCOL to 4 ( #6355 )
...
This makes performance better and produces shorter pickles. This change is backwards compatible up to the oldest currently supported version of Python (3.4).
2018-04-03 23:06:53 -07:00
hui shang
dfbbbf16f9
bpo-32337: Update documentats about dict order (GH-4973)
2018-04-04 13:55:05 +09:00
INADA Naoki
629338f140
bpo-32360: Remove object_pairs_hook=OrderedDict examples (GH-5001)
2018-04-03 12:39:47 +09:00
Andrés Delfino
badb894bbb
closes bpo-33202: fix os.walk mentioning os.listdir instead of os.scandir (GH-6335)
2018-04-02 19:48:54 -07:00
Gregory P. Smith
79760ed256
bpo-20104: Add os.posix_spawn documentation. ( #6334 )
2018-04-01 12:01:48 -07:00
Mike DePalatis
233de021d9
Fix socket type in DatagramHandler documentation: TCP -> UDP (GH-6272)
2018-03-30 15:36:06 +08:00
Julien Palard
79c3bab35c
FIX documentation and NEWS of ThreadedHTTPServer. (GH-6207)
2018-03-28 23:24:58 +02:00
Julien Palard
78553138be
Fix typos '.::' should typically just be '::'. (GH-6165)
2018-03-28 23:14:15 +02:00
Serhiy Storchaka
bac2d5ba30
Fix duplicating words words. (GH-6296)
...
Most of them have been added in 3.7.
2018-03-28 22:14:26 +03:00
Sam Dunster
65a34709f6
Fix senfile typo ( #6265 )
...
* Also in docs
2018-03-27 17:47:38 -07:00
Cheryl Sabella
da1734c58d
bpo-27212: Modify islice recipe to consume initial values preceding start (GH-6195)
2018-03-26 18:29:33 -07:00
Michael Seifert
e105294708
Corrected link targets in collections.rst (GH-1052)
2018-03-26 14:40:35 +03:00
Gregory P. Smith
dfb6e54dd8
Clarify fd inheritance when close_fds=False. (GH-6240)
...
Clarify the subprocess documentation.
2018-03-25 10:27:59 -07:00
Nick Coghlan
d5d9e02dd3
bpo-33053: -m now adds *starting* directory to sys.path (GH-6231)
...
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.
2018-03-25 23:03:10 +10:00
Himanshu Lakhara
5cbb84106e
bpo-27428: Fix WindowsRegistryFinder documentation to list appropriate ABC (GH-6061)
2018-03-23 14:26:35 -07:00
Julien Palard
8bcfa02e4b
bpo-31639: Use threads in http.server module. (GH-5018)
2018-03-23 17:40:33 +01:00
Berker Peksag
a0a42d22d8
Fix a reference to the MRE book in re docs (GH-1113)
...
Reported by Maksym Nikulyak on docs.p.o.
2018-03-23 16:46:52 +03:00
Serhiy Storchaka
702f8f3611
bpo-33041: Rework compiling an "async for" loop. ( #6142 )
...
* 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.
2018-03-23 14:34:35 +02:00
Xiang Zhang
10b134a07c
bpo-27683: Fix a regression for host() of ipaddress network objects (GH-6016)
...
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.
2018-03-21 08:25:13 +08:00
Cheryl Sabella
5609b78392
bpo-18802: Add more details to ipaddress documentation (GH-6083)
...
Original patch by Jon Foster and Berker Peksag.
2018-03-21 08:09:15 +08:00
Cheryl Sabella
4be79f2946
bpo-28247: Document Windows executable creation in zipapp (GH-6158)
2018-03-20 22:23:19 +00:00
Serhiy Storchaka
fe2bbb1869
bpo-32489: Allow 'continue' in 'finally' clause. (GH-5822)
2018-03-18 09:56:52 +02:00
Andrew Svetlov
b21505e710
Fix docs markup for asyncio current_task() and all_tasks() ( #6089 )
2018-03-12 20:50:50 +02:00
Antoine Pietri
5d2a27de62
signal: add strsignal() ( #6017 )
...
Co-authored-by: Vajrasky Kok <sky.kok@speaklikeaking.com>
2018-03-12 14:42:34 +01:00
Serhiy Storchaka
51302a5fcc
bpo-32996: Improve What's New in 3.7. ( #5983 )
2018-03-11 03:48:14 +02:00
Matt Eaton
9cf8c42f32
bpo-33045: Fix typos in SSL documentation (GH-6065)
2018-03-11 04:00:04 +03:00
Emanuele Gaifas
d7aed4102d
bpo-27645: Add support for native backup facility of SQLite (GH-4238)
2018-03-11 01:08:31 +03:00
Xiang Zhang
c10b288f34
bpo-30249: Improve struct.unpack_from() error messages (GH-6059)
2018-03-11 02:58:52 +08:00
Eric Appelt
308eab979d
bpo-26701: Add documentation for __trunc__ (GH-6022)
...
`int` fails back to `__trunc__` is `__int__` isn't defined, so cover
that in the docs.
2018-03-10 18:44:12 +10:00
Brett Cannon
10485ebd40
Warn that dbm.dumb.open() can crash Python (GH-6047)
2018-03-09 15:58:40 -08:00
Brett Cannon
f7a6ff6fca
Warn that compile() can crash when compiling to an AST object (GH-6043)
2018-03-09 13:13:32 -08:00
Brett Cannon
7a7f100eb3
bpo-32758: Warn that ast.parse() and ast.literal_eval() can segfault the interpreter (GH-5960)
2018-03-09 12:03:22 -08:00
Xiang Zhang
e405096ea9
Fix some ipaddress documentation errors (GH-6021)
...
* 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
2018-03-08 12:24:36 +08:00
Xiang Zhang
bc3f2289b9
bpo-32969: Expose some missing constants in zlib and fix the doc (GH-5988)
2018-03-07 13:05:37 +08:00
Joongi Kim
13cfd57dcf
Fix missing coroutine declaration in the asyncio documentation. ( #5964 )
2018-03-03 18:43:54 +02:00
Serhiy Storchaka
b21d155f57
bpo-32964: Reuse a testing implementation of the path protocol in tests. ( #5930 )
2018-03-02 11:53:51 +02:00
James Walker
982c723384
Fix typo in logging doc: picked -> pickled (GH-5942)
2018-02-28 15:46:35 -08:00
Serhiy Storchaka
be50a7b627
Revert "bpo-31961: subprocess now accepts path-like args (GH-4329)" ( #5912 )
...
* Revert "bpo-31961: subprocess now accepts path-like args (GH-4329)"
This reverts commit dd42cb71f2
.
2018-02-27 18:03:46 -05:00
Christian Heimes
698dde16f6
bpo-31453: Add setter for min/max protocol version ( #5259 )
...
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>
2018-02-27 11:54:43 +01:00