Stefan Behnel
e9927e1820
bpo-30485: support a default prefix mapping in ElementPath by passing None as prefix ( #1823 )
2019-04-14 10:09:09 +02:00
Bernt Røskar Brenna
ffca16e25a
bpo-36227: ElementTree.tostring() default_namespace and xml_declaration arguments (GH-12225)
...
Add new keyword arguments "default_namespace" and "xml_declaration" to functions ET.tostring() and ET.tostringlist(), as known from ElementTree.write().
2019-04-14 10:07:02 +02:00
Sebastian Rittau
1e8295402b
bpo-35581: Document @typing.type_check_only (GH-11312)
2019-04-12 15:33:40 -07:00
Christopher Head
b13552c4d7
Indicate that seek and tell are mandatory on BufferedRandom. (GH-11216)
...
For BufferedReader and BufferedWriter, seek and tell operations are
optional (they may or may not exist based on the underlying stream). For
BufferedRandom, they are mandatory: a BufferedRandom should not be
constructed over an unseekable underlying stream. Document this.
2019-04-12 08:50:40 -07:00
Kingsley M
b015fc86f7
bpo-36549: str.capitalize now titlecases the first character instead of uppercasing it (GH-12804)
2019-04-12 08:35:39 -07:00
Michael Felt
9d949f7796
bpo-36588: On AIX, remove major version from sys.platform (GH-12787)
...
On AIX, sys.platform doesn't contain the major version anymore.
Always return 'aix', instead of 'aix3' .. 'aix7'. Since
older Python versions include the version number, it is recommended to
always use sys.platform.startswith('aix').
2019-04-12 16:15:32 +02:00
Emmanuel Arias
3993ccb682
bpo-20582: add link for manpage for flags on getnameinfo() (GH-11977)
2019-04-11 14:13:37 -07:00
Inada Naoki
b3c92c6ae9
bpo-36597: fix weakref example code (GH-12779)
...
Commit 57b1a2862
fixed doctest, but example code is not
match with document.
Just skip doctest for the block.
2019-04-11 19:05:32 +09:00
Inada Naoki
57b1a2862a
bpo-36597: fix random doctest failure (GH-12776)
2019-04-11 17:53:49 +09:00
pewscorner
efc4870149
bpo-36416: Correct bytes.rpartition documentation (GH-12543)
2019-04-11 15:58:43 +09:00
Christopher Thorne
b5e2959b27
Doc: fix typo in IncrementalDecoder.setstate (GH-12724)
2019-04-11 15:09:29 +09:00
Gregory P. Smith
2fb2bc81c3
bpo-14826: document that URLopener quotes fullurl. (GH-12758)
2019-04-10 02:17:48 -07:00
Vidar Tonaas Fauske
0e10766574
bpo-31512: Add non-elevated symlink support for Windows (GH-3652)
2019-04-09 11:19:46 -07:00
Lukas Waymann
c324c74887
bpo-33456: site module documentation - fix wrong default for key in pyvenv.cfg (GH-6755)
2019-04-09 08:27:36 +01:00
Matthias Bussonnier
a8abe097c1
bpo-33461: emit DeprecationWarning when json.loads(encoding=...) is used (GH-6762)
2019-04-09 16:17:25 +09:00
Steve Palmer
7b97ab35b2
closes bpo-35848: Move all documentation regarding the readinto out of IOBase. (GH-11893)
...
Move all documentation regarding the readinto method into either io.RawIOBase or io.BufferedIOBase.
Corresponding changes to documentation in the _pyio.py module.
2019-04-08 21:35:27 -07:00
Giampaolo Rodola
8702b67dad
BPO-17561: set create_server backlog default to None (GH-12735)
...
It turns out doing socket.listen(0) does not equal to "choose a
reasonable default". It actually means "set backlog to 0".
As such set backlog=None as the default for socket.create_server.
Fixes the following BB failures:
https://github.com/python/cpython/pull/11784#issuecomment-481036369
Ref. BPO-1756, GH-11784.
2019-04-09 04:42:06 +02:00
Giampaolo Rodola
eb7e29f2a9
bpo-35934: Add socket.create_server() utility function (GH-11784)
2019-04-09 00:34:02 +02:00
Andre Delfino
f4efa312d1
Correct "inplace" with "in-place" (GH-10480)
2019-04-08 18:14:43 +09:00
Raymond Hettinger
6463ba3061
bpo-27181: Add statistics.geometric_mean() (GH-12638)
2019-04-07 09:20:03 -07:00
CAM Gerlach
89a894403c
bpo-30661: Improve docs for tarfile pax change and effect on shutil (GH-12635)
...
The shutil archive creation helpers use the default tarfile format,
so that API is also switching to use `pax` by default.
2019-04-07 14:47:49 +10:00
Stefan Behnel
2ea8099523
bpo-9883: Update list of unimplemented interfaces in minidom. (GH-12677)
...
Remove names from the "unimplemented interfaces" list
in the minidom docs that are actually implemented.
2019-04-06 19:57:43 +03:00
Dima Tisnek
1328375ad1
Fix doc for create_subprocess_exec (GH-12598)
...
Add missing `program` argument to asyncio.create_subprocess_exec documentation.
2019-04-05 07:02:28 -07:00
Inada Naoki
176d26364b
bpo-36404: recommend DeprecationWarning over PendingDeprecationWarning (GH-12505)
2019-04-05 17:54:24 +09:00
Srinivas Reddy Thatiparthy (శ్రీనివాస్ రెడ్డి తాటిపర్తి)
1c5fa5af8a
bpo-32413: Add documentation that at the module level, locals(), globals() are the same dictionary (GH-5004)
...
https://bugs.python.org/issue32413
2019-04-02 10:58:50 -07:00
Inada Naoki
04694a306b
bpo-35838: document optionxform must be idempotent (GH-12656)
2019-04-02 18:08:46 +09:00
Inada Naoki
38f4e468d4
bpo-17110: doc: add note how to get bytes from sys.argv (GH-12602)
2019-03-30 14:32:08 +09:00
Steve Dower
2438cdf0e9
bpo-36085: Enable better DLL resolution on Windows (GH-12302)
2019-03-29 16:37:16 -07:00
Julien Palard
9e30fbac01
bpo-36064: Clarify allowed data types for urllib.request.Request. (GH-11990)
2019-03-28 19:15:34 -07:00
Jules Lasne (jlasne)
3d78c4a6e5
Fixed capital letters missing and missing . (GH-12584)
...
No `bpo` for minor doc fix
2019-03-28 14:06:27 -07:00
ksamuel
e63fc11b1d
Fix typo in email.encoders doc (GH-9700)
...
Make the encoding/encoders mention congruent.
2019-03-28 13:38:30 -07:00
Raymond Hettinger
fb28fcc925
Revert "Minor doc improvement (GH-10341)" (GH-12597)
...
This reverts commit dfd775a0b1
.
2019-03-27 21:03:02 -07:00
Inada Naoki
bc284f0c7a
bpo-32380: add "versionadded: 3.8" to singledispatchmethod (GH-12580)
2019-03-27 18:15:17 +09:00
Andre Delfino
dfd775a0b1
Minor doc improvement (GH-10341)
...
Change "star-operator" to "* operator".
2019-03-26 21:17:50 -04:00
Pierre Glaser
3b7e47aea9
bpo-36364: fix SharedMemoryManager examples (GH-12439)
...
Examples of the `multiprocessing.shared_memory` module try to import `SharedMemoryManager` from `multiprocessing.shared_memory` whereas this class is defined in `multiprocessing.managers`.
2019-03-26 12:12:26 -07:00
Andre Delfino
3e700e4ca3
Document that logging registers shutdown as an atexit handler (GH-12378)
2019-03-26 05:42:26 +00:00
Benjamin Peterson
577277f669
Fix "the the" in the idle docs. (GH-12549)
2019-03-25 21:46:35 -07:00
Andre Delfino
548cb6060a
bpo-34085: Improve wording on classmethod/staticmethod ( #8228 )
...
* bpo-34085: Improve wording on classmethod/staticmethod
* Address comments from Éric
* Address comments from Éric
2019-03-25 18:53:43 -04:00
Stéphane Wirtel
360e1e4c51
bpo-36345: Add a new example in the documentation of wsgiref ( #12511 )
2019-03-25 15:52:56 -07:00
Stephen Rosen
713a8ae792
Add note to Queue.get() docs about block=True (GH-2223)
2019-03-25 12:55:20 -07:00
Lisa Roach
13c1f72cd1
bpo-31822: Document that urllib.parse.{Defrag,Split,Parse}Result are namedtuples (GH-4434)
2019-03-24 17:28:48 -04:00
Gregory P. Smith
7a2e84c348
bpo-33319: Clarify subprocess call docs. (GH-12508)
...
Clarify capturing or suppressing stdout and stderr on the old call APIs.
Do not state that they are equivalent to run() calls when they are not implemented using run as that was misleading. Unlike run they cannot handle stdout or stderr being set to PIPE without a risk of deadlock.
2019-03-23 00:40:28 -07:00
Xavier GUIHOT
7c822e50f0
Fix typo in doc for pprint.pp (GH-12500)
2019-03-22 18:17:29 -07:00
Denton Liu
dd7c4ceed9
bpo-35155: clarify protocol handler method naming (GH-10313)
...
Clarify that the naming of protocol handler methods shouldn't be literally called "protocol" but should be named after the actual protocol.
https://bugs.python.org/issue35155
2019-03-22 14:49:55 -07:00
Rémi Lapeyre
96831c7fcf
bpo-30670: Add pp function to the pprint module (GH-11769)
2019-03-22 10:22:20 -07:00
Kumar Akshay
b0df45e55d
bpo-21269: Provide args and kwargs attributes on mock call objects GH11807
2019-03-22 08:10:40 +00:00
Benedikt Werner
14e3c447c1
Fix table formatting in itertools doc (GH-12228)
2019-03-21 08:28:49 -07:00
CAM Gerlach
e680c3db80
bpo-36268: Change default tar format to pax from GNU. (GH-12355)
2019-03-21 16:44:51 +02:00
Raymond Hettinger
714c60d7ac
bpo-36324: Add inv_cdf() to statistics.NormalDist() (GH-12377)
2019-03-18 20:17:14 -07:00
Raymond Hettinger
f7b57df0c0
bpo-36320: Switch typing.NamedTuple from OrderedDict to regular dict (GH-12396)
...
Also, deprecate the *_field_types* attributes which duplicated the information in *\__annotations__*.
https://bugs.python.org/issue36320
2019-03-18 09:53:56 -07:00