Mario Corchero
fbee88244e
bpo-31454: Include information about "import X as Y" in Modules tutorial (GH-4041)
2018-02-25 11:11:12 -08:00
Cheryl Sabella
84c4b0cc67
bpo-25059: Clarify the print separator usage in tutorial (GH-5879)
...
By default `print` adds spaces between its arguments.
2018-02-25 11:06:01 -08:00
Cheryl Sabella
186b606d8a
bpo-17232: Clarify docs for -O and -OO command line options ( #5839 )
...
The 'optimization' is for space in the executable file, not for run time.
2018-02-24 22:04:40 -05:00
Christian Heimes
6cdb7954b0
bpo-30622: Improve NPN support detection ( #5859 )
...
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>
2018-02-24 22:12:40 +01:00
Christian Heimes
11a1493bc4
[bpo-28414] Make all hostnames in SSL module IDN A-labels (GH-5128)
...
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.
2018-02-23 17:35:08 -08:00
Mariatta
98f42aac23
bpo-32923: Unittest doc: replace whilst with while (GH-5833)
...
`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.
2018-02-23 09:51:11 -08:00
cocoatomo
0febc05373
bpo-32087: Doc: Make "deprecated-removed" directive translatable (GH-4473)
2018-02-23 20:47:19 +09:00
Serhiy Storchaka
520b7ae27e
bpo-17611. Move unwinding of stack for "pseudo exceptions" from interpreter to compiler. (GH-5006)
...
Co-authored-by: Mark Shannon <mark@hotpy.org>
Co-authored-by: Antoine Pitrou <antoine@python.org>
2018-02-22 23:33:30 +02:00
Benjamin Peterson
e9edee0b65
bpo-32008: don't use PROTOCOL_TLSv1 in example (GH-5789)
...
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.
2018-02-20 21:55:01 -08:00
Harshul jain
52c6b89796
bpo-28886: doc: Move deprecated abc decorators to separate section (GH-176)
2018-02-21 13:30:01 +09:00
Zackery Spytz
7a1e1786f9
bpo-32500: Correct the documentation for PySequence_Size() and PySequence_Length() (GH-5767)
...
Dropped the part that says: "For objects that do not provide sequence protocol".
2018-02-20 09:24:29 -08:00
Terry Jan Reedy
3fb813d2c6
bpo-31333: Fix typo in whatsnew/3.7.rst (GH-5744)
2018-02-18 21:46:49 +00:00
TROUVERIE Joachim
e8eb972514
Correct venv doc ( fix #32540 ) ( #5736 )
2018-02-18 11:52:36 -05:00
Ivan Levkivskyi
03e3c340a0
bpo-31333: Re-implement ABCMeta in C ( #5273 )
...
This adds C versions of methods used by ABCMeta that
improve performance of various ABC operations.
2018-02-18 12:41:58 +00:00
Andrew Svetlov
17ab8f0e8e
Fix a typo in asyncio docs ( #5721 )
2018-02-17 19:44:35 +02:00
Gerrit Holl
243d6d7126
DOC: fix documentation for copyright and credits (GH-5706)
...
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.
2018-02-16 19:48:57 -08:00
Zackery Spytz
6887d86e9a
bpo-32860: Fix a missing asterisk in the documentation for glob.iglob() (GH-5712)
2018-02-16 19:39:51 -08:00
Yury Selivanov
bd093355a6
bpo-32436: Add docs for contextvars ( #5685 )
2018-02-16 11:47:54 -05:00
xpvpc
b65cb163d6
Correct the code example in Python 3.7's What's New (GH-5696)
...
There was an extra dash in the example for re.sub().
2018-02-16 08:46:39 -08:00
Barry Warsaw
997b8c140e
Update and sync importlib.resources documentation ( #5694 )
2018-02-16 10:45:39 -05:00
Eitan Adler
3384d38d51
Fix installation instructions for *nix (GH-5605)
...
Remove pkg_add -r python from FreeBSD installation section.
Moved to OpenBSD.
2018-02-13 18:44:01 -08:00
Zackery Spytz
88c38a4049
bpo-27846: Delete incorrect note in base64 docs (GH-5666)
...
This note incorrectly stated that "Base64 has an expansion factor of 6
to 4" (it is actually 4 to 3). It was decided to remove the note.
2018-02-14 03:08:54 +03:00
Nick Coghlan
aec7532ed3
bpo-30579: Docs for dynamic traceback creation (GH-5653)
2018-02-13 18:10:58 +10:00
Коренберг Марк
7766b96ab8
bpo-32221: makeipaddr(): remove interface part + speedup (GH-5449) ( #5449 )
2018-02-12 14:47:42 -05:00
Pablo Galindo
e14c010378
bpo-32815: Improve docs on the subprocess API *text* parameter (GH-5622)
...
Describe *text* as an alias for *universal_newlines* in more places that people are likely to be referred to.
2018-02-11 12:58:23 -08:00
Cheryl Sabella
988fb28431
bpo-11015: Update test.support documentation (GH-5610)
2018-02-11 23:10:42 +10:00
sblondon
8d1f2f4038
bpo-32800: Update link to w3c doc for xml default namespaces (GH-5609)
...
The new link is given in a red box on the old page.
2018-02-10 17:39:43 -05:00
Serhiy Storchaka
a445feb729
bpo-30688: Support \N{name} escapes in re patterns. (GH-5588)
...
Co-authored-by: Jonathan Eunice <jonathan.eunice@gmail.com>
2018-02-10 00:08:17 +02:00
Serhiy Storchaka
5bb0005f9f
Make formatting of some return codes conforming to the general style. ( #5587 )
2018-02-09 13:31:19 +02:00
Alan D Moore
a48e78a0b7
bpo-32585: Add tkinter.ttk.Spinbox. ( #5221 )
2018-02-09 02:03:55 +02:00
Brice Gros
fc1ce810f1
bpo-6135: Fix subprocess.check_output doc to mention changes in 3.6 (GH-5564)
...
Fixes the documentation for `subprocess.check_output()` not mentioning that the encoding and errors parameters were added in 3.6.
2018-02-06 16:46:29 -08:00
Paul Ganssle
22864bc8e4
Add What's new entry for datetime.fromisoformat ( #5559 )
...
Documents bpo-15873
2018-02-05 21:28:46 -05:00
Serhiy Storchaka
6c85efa5a6
bpo-32749: Make dbm.dumb databases more cosistent with other dbm databases. ( #5497 )
2018-02-05 22:47:31 +02:00
Dag Heyman
c309bcfb9f
Fix typo in whatsnew/3.7.rst (GH-5551)
...
now longer -> no longer
2018-02-05 09:39:33 -05:00
Mariatta
7a561afd2c
bpo-32720: Fixed the replacement field grammar documentation. (GH-5544)
...
`arg_name` and `element_index` are defined as `digit`+ instead of `integer`.
2018-02-05 04:29:02 -05:00
Cheryl Sabella
d1f318105b
bpo-8722: Document __getattr__ behavior with AttributeError in property (GH-4754)
...
When `__getattr__` is implemented, attribute lookup will always fall back to that,
even if the initial failure comes from `__getattribute__` or a descriptor's `__get__`
method (including property methods).
2018-02-05 12:03:22 +10:00
Raymond Hettinger
ca6c125f10
Fix typo -- missing "not" (GH-5528)
2018-02-04 09:15:01 -08:00
Serhiy Storchaka
07ca9afaa8
bpo-10544: Disallow "yield" in comprehensions and generator expressions. (GH-4564)
2018-02-04 10:53:48 +02:00
nathankerr96
8b5fa289fd
bpo-32720: Fixed the definition for width and precision in format mini-language doc (GH-5482)
...
Changed the definition of width and precision from "integer" to "digit+" in format mini-language doc.
2018-02-04 00:42:08 -05:00
Leo Arias
c3d9508ff2
bpo-32746: Fix multiple typos (GH-5144)
...
Fix typos found by codespell in docs, docstrings, and comments.
2018-02-03 19:36:10 -05:00
Raymond Hettinger
589c718a8e
bpo-32739: Show default value for rotate() (GH-5485)
2018-02-03 08:46:28 -08:00
Cheryl Sabella
66771422d0
bpo-32614: Modify re examples to use a raw string to prevent warning (GH-5265)
...
Modify RE examples in documentation to use raw strings to prevent DeprecationWarning.
Add text to REGEX HOWTO to highlight the deprecation. Approved by Serhiy Storchaka.
2018-02-02 16:16:27 -05:00
Barry Warsaw
bbbcf8693b
bpo-32303 - Consistency fixes for namespace loaders ( #5481 )
...
* Make sure ``__spec__.loader`` matches ``__loader__`` for namespace packages.
* Make sure ``__spec__.origin` matches ``__file__`` for namespace packages.
https://bugs.python.org/issue32303
https://bugs.python.org/issue32305
2018-02-02 15:15:58 -05:00
Yury Selivanov
383b32fe10
Revert "bpo-31356: Add context manager to temporarily disable GC GH-5495
...
This reverts commit 72a0d218dc .
The reverted commit had a few issues so it was unanimously decided
to undo it. See the bpo issue for details.
2018-02-02 09:31:06 -05:00
Andrew Svetlov
3d4dbd8f01
Implement TimerHandle.when() ( #5473 )
2018-02-01 19:59:32 +02:00
Serhiy Storchaka
97f1ca1673
[3.8] bpo-31508: Remove support of arguments in tkinter.ttk.Treeview.selection. (GH-3651)
...
It was deprecated in 3.6.
2018-02-01 18:49:21 +02:00
Serhiy Storchaka
12e7cd8a51
bpo-32565: Add missed versionadded directives for all new opcodes. ( #5199 )
2018-02-01 13:48:33 +02:00
Stéphane Wirtel
ab328756d7
bpo-32722: Remove useless example in the Classes tutorial ( #5446 )
...
In the tutorial about the Generator expression, there is an example with
a dict comprehension and not with a generator expression, just removed
the code.
2018-02-01 15:31:07 +08:00
Ned Deily
07a1892f82
Update Doc build to 3.8
2018-01-31 18:12:38 -05:00
Ned Deily
5489bdad51
Start of 3.8.0a0
2018-01-31 17:44:09 -05:00