Paul Ganssle
88c0937056
bpo-36004: Add date.fromisocalendar (GH-11888)
...
This commit implements the first version of date.fromisocalendar, the
inverse function for date.isocalendar.
2019-04-29 15:22:03 +02:00
Raymond Hettinger
da63b321f6
bpo-36715: Add usage note for dict.fromkeys() (GH-12974)
2019-04-28 00:22:36 -07:00
Terry Jan Reedy
55d035113d
Syntax highlight IDLE html doc code example. (GH-12981)
...
The new markup is currently ignored by IDLE's tk doc display.
2019-04-26 23:22:36 -04:00
Mark Dickinson
7abb6c05af
bpo-36669: add matmul support to weakref.proxy (GH-12932)
2019-04-26 15:56:15 +09:00
Paul Monson
62dfd7d6fe
bpo-35920: Windows 10 ARM32 platform support (GH-11774)
2019-04-25 18:36:45 +00:00
Victor Stinner
d7befad328
bpo-35537: Document posix_spawn() change in subprocess (GH-11668)
...
Document that subprocess.Popen no longer raise an exception on error
like missing program on very specific platforms when using
os.posix_spawn() is used.
2019-04-25 14:30:16 +02:00
Mathieu Dupuy
29d018aa63
replace 'sequencial argument' by 'positional' in doc (GH-12925)
2019-04-23 22:01:09 +09:00
Raymond Hettinger
fb8c7d5332
bpo-36018: Make "seed" into a keyword only argument (GH-12921)
2019-04-23 01:46:18 -07:00
Jakub Molinski
b4c7f39bbf
Add module specification: itemgetter -> operator.itemgetter (GH-12823)
2019-04-23 01:30:30 -07:00
Raymond Hettinger
9013ccf6d8
bpo-36546: Add statistics.quantiles() ( #12710 )
2019-04-23 00:06:35 -07:00
mollison
5ebfa840a1
bpo-36645: Fix ambiguous formatting in re.sub() documentation (GH-12879)
2019-04-22 01:14:45 +03:00
Fredrik Averpil
3e986de0d6
Fix typo (GH-12878)
...
"sychronization" -> "synchronization"
2019-04-20 16:06:38 -07:00
Stefan Behnel
e8113f51a8
bpo-30485: Change the prefix for defining the default namespace in ElementPath from None to '' since there is existing code that uses that and it's more convenient to have an all-string-keys dict (e.g. when sorting items etc.). ( #12860 )
2019-04-18 19:05:03 +02:00
Enrico Alarico Carbognani
7e954e7de4
bpo-36651: Fixed Asyncio Event Loop documentation inconsistency (GH-12866)
...
# [bpo-36651](https://bugs.python.org/issue36651 ): Fixed Asyncio Event Loop documentation inconsistency
In the documentation for the call_later and the call_at methods there is a note which says that the delay cannot be longer than a day, but both methods have a note saying that this limitation was removed in Python 3.8
Here I fixed this issue by removing the pre-exising note and added a versionchanged.
To test my changes I have rebuilt the documentation with ```make html```. I did not have any errors and the effected page displayed correctly on a browser.
https://bugs.python.org/issue36651
2019-04-18 05:43:14 -07:00
cocoatomo
9941f963fe
Fix wrong indentation of a paragraph in documentation (GH-12868)
...
This paragraph doesn't seem to be a part of code, but merged into previous code block.
2019-04-18 01:54:51 +01:00
Lihua Zhao
693c104ae7
bpo-31904: Port test_resource to VxWorks (GH-12719)
...
Skip tests cases setting RLIMIT_FSIZE and RLIMIT_CPU on VxWorks.
2019-04-17 17:41:33 +02:00
Matthias Bussonnier
31e8d69bfe
bpo-33783: Use proper class markup for random.Random docs (GHè7817)
...
Signed-off-by: Matthias Bussonnier <bussonniermatthias@gmail.com>
2019-04-16 18:47:11 +02:00
Stéphane Wirtel
2b7f93b99a
bpo-36345: Update wsgiref example (GH-12562)
...
Use literalinclude markup to include Tools/scripts/serve.py code.
Tools/scripts/serve.py first argument on the command line is now optional.
2019-04-16 14:52:54 +02:00
Victor Stinner
74125a60b7
bpo-36348: IMAP4.logout() doesn't ignore exc (GH-12411)
...
The imap.IMAP4.logout() method no longer ignores silently arbitrary
exceptions.
Changes:
* The IMAP4.logout() method now expects a "BYE" untagged response,
rather than relying on _check_bye() which raises a self.abort()
exception.
* IMAP4.__exit__() now does nothing if the client already logged out.
* Add more debug info if test_logout() tests fail.
2019-04-15 18:23:20 +02:00
Inada Naoki
a3283efd30
Doc: update PendingDeprecationWarning explanation (GH-12837)
...
Keep the nudge towards DeprecationWarning, but remove the
"Note" markup and generally shorten the description.
Ref: https://github.com/python/cpython/pull/12505/files#r273978757
2019-04-15 22:40:23 +10:00
pxinwr
f1464f4d2e
bpo-31904: Port the time module on VxWorks (GH-12305)
...
time.clock() is not available on VxWorks.
2019-04-15 11:06:21 +02:00
pxinwr
236d0b75c4
bpo-31904: Don't build the _crypt extension on VxWorks (GH-12833)
2019-04-15 11:02:20 +02:00
Mickaël Schoentgen
929b704738
bpo-31658: Make xml.sax.parse accepting Path objects (GH-8564)
2019-04-14 11:16:54 +02:00
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