Bo Bayles
9f3535c9cd
bpo-32362: Fix references to non-existent multiprocessing.Connection() (GH-6223)
2018-04-29 21:03:05 +03:00
Tom Christie
e022bbc169
Change "non-local state" to "content-local state". (GH-6617)
...
The wording here seems wrong, as per https://bugs.python.org/msg315792
2018-04-27 18:35:13 -04:00
Brian Curtin
df826f36e0
Clarify the inspect.getmembers predicate parameter ( #6615 )
...
Previously, the predicate parameter was mentioned, but what it was to be
called with was not documented and required either trial-and-error or
looking into the source to find that it is called with the `value`, or
second item, of the full members list. This change addresses what the
predicate will receive, as well as does some light formatting to make
this clear.
2018-04-26 19:48:26 -04:00
Andrés Delfino
67a8f4fed3
bpo-33280: Reorganize external Tcl/Tk references. (GH-6473)
2018-04-25 20:53:58 +03:00
Pablo Galindo
d6ef6db9ff
Fix rendering issues in the documentation for the os module ( #6525 )
2018-04-25 20:48:27 +03:00
Chris Bradbury
e500839796
bpo-33251: Update documentation to reflect change. (GH-6446) ( #6583 )
2018-04-23 13:56:39 -07:00
Andrés Delfino
b81ca28b37
bpo-33297: Mention Pillow to work with more image formats. ( #6505 )
...
Also update PIL doc references to Pillow.
2018-04-21 15:17:26 +03:00
Brett Cannon
a8c342465b
bpo-25427: Remove pyvenv (GH-5962)
2018-04-20 14:15:40 -07:00
Ville Skyttä
61f82e0e33
Spelling fixes to docs, docstrings, and comments (GH-6374)
2018-04-20 16:08:45 -04:00
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