Mariatta
95d34c2a37
Fix site module documentation. (GH-8441)
...
The script will exit with the number 0 (zero), instead of the letter O.
2018-07-24 09:14:20 -07:00
Serhiy Storchaka
02ec92fa7b
bpo-29209: Remove old-deprecated features in ElementTree. (GH-6769)
...
Also make getchildren() and getiterator() emitting
a DeprecationWarning instead of PendingDeprecationWarning.
2018-07-24 12:03:34 +03:00
Alexander Marshalov
e22072fb11
bpo-34149: Behavior of the min/max with key=None (GH-8328)
...
Improve consistency with the signature for sorted(), heapq.nsmallest(), heapq.nlargest(), and itertools.groupby().
2018-07-23 20:58:21 -07:00
Matthias Bussonnier
bde782bb59
bpo-33468: Add try-finally contextlib.contextmanager example (GH-7816)
2018-07-24 00:10:56 +03:00
Berker Peksag
7a3056fa7d
bpo-21446: Update reload fixer to use importlib (GH-8391)
2018-07-23 09:49:08 +03:00
Andrés Delfino
cb9c299a55
Fix versionchanged indentation in popitem documentation (GH-8387)
2018-07-21 15:14:56 -07:00
Raymond Hettinger
feabae9617
Clarify ValueError's broad applicability (GH-8313)
2018-07-17 08:35:26 -07:00
Raymond Hettinger
01b7d58982
bpo-34123: Fix missed documentation update for dict.popitem(). (GH-8292)
2018-07-16 17:20:15 -07:00
Jon Ribbens
c9265c1534
bpo-34124: Fix markup of message_from_binary_file() signature (GH-8297)
2018-07-16 20:19:42 +03:00
Andrés Delfino
379e9d639a
bpo-4260: Document that ctypes.xFUNCTYPE are decorators (GH-7924)
2018-07-13 15:50:20 +03:00
Andrés Delfino
33aefad342
Doc: Point to Simple statements section instead of PEP (GH-8238)
2018-07-11 18:44:06 +09:00
Tom Faulkner
da5e9476bb
Dataclasses: Fix example on 30.6.8, add method should receive a list rather than an integer. (GH-8038)
...
Change example function to append rather than add lists.
2018-07-10 22:39:57 -04:00
Daniel Porteous
c287545d62
bpo-34067: Include a more easily understood example for nullcontext (GH-8158)
...
Include a more easily understood example for nullcontext
2018-07-09 23:49:29 +10:00
Serhiy Storchaka
2a9b8babf0
bpo-26544: Fixed implementation of platform.libc_ver(). (GH-7684)
2018-07-09 11:47:45 +03:00
Andrés Delfino
f85af035c5
Fix margin in sentinel and mock_open (GH-8188)
2018-07-08 17:28:51 -07:00
Marcin Niemira
bc9aa813a3
bpo-34061: Document sqlite3.NotSupportedError (GH-8172)
2018-07-08 15:02:58 +03:00
Sergey Fedoseev
0830858aee
bpo-34041: Allow creating deterministic functions in Connection.create_function() (GH-8086)
2018-07-08 10:09:20 +03:00
Marcin Niemira
9c5ba09748
closes bpo-34050: Fix link in SSL docs (GH-8173)
2018-07-07 15:24:20 -07:00
Andrés Delfino
b6bb77c2b8
bpo-33804: Document that the argument for io.TextIOBase.read() is optional (GH-7510)
2018-07-07 23:17:16 +03:00
Andrés Delfino
2d748389dc
Fix moduleauthor/sectionauthor directives in Enum (GH-8117)
2018-07-07 22:01:25 +03:00
Andrés Delfino
03dd0e794e
Add missing closing parentheses (GH-8144)
2018-07-07 22:00:46 +03:00
Dong-hee Na
2800dcf656
bpo-34065: Improve the markup of logging.basicConfig() arguments (GH-8153)
2018-07-07 15:36:40 +03:00
Julien Palard
7943c5e8b5
Doc: Remove superfluous markup. (GH-8112)
...
The line is speaking of a list of commands, not the list command.
2018-07-06 11:15:13 +02:00
Sergey Fedoseev
f12028809b
versionadded -> versionchanged for all 'X parameter was added' for uniformity. (GH8114)
...
Per the recommendation in our Developer's Guide:
https://devguide.python.org/documenting/#paragraph-level-markup
2018-07-05 17:01:16 -07:00
Windson yang
3ae2e33a61
classify abs() argument type (GH-8103)
2018-07-05 16:09:53 -07:00
Gerrit Holl
bd81cbd584
DOC: In `reduce`, refer to `accumulate` (GH-7930)
2018-07-04 15:26:32 -07:00
Farhaan Bukhsh
5b6e49a139
bpo-30516: Fix documentation issue with -timedelta in datetime (GH-7348)
...
This commit fixes the -timedelta overfllow issue not documented properly.
Signed-off-by: Farhaan Bukhsh <farhaan.bukhsh@gmail.com>
2018-07-04 19:42:05 +01:00
Sergey Fedoseev
831c29721d
bpo-34018: Doc'd that type names of SQLite converters are case-insensitive. (GH-8042)
2018-07-03 14:59:32 +03:00
INADA Naoki
c6cd164cff
bpo-30660: Doc: Optimize PNG files by optipng (GH-8032)
...
Using OptiPNG 0.7.7.
Used command is: `find . -name '*.png' | xargs optipng -o7`
2018-07-01 16:02:52 +09:00
Tal Einat
6dc57e2a20
bpo-31938: Convert selectmodule.c to Argument Clinic (GH-4265)
2018-06-30 23:02:48 +03:00
INADA Naoki
fe524df37c
Doc: Remove unused image file (GH-8027)
2018-07-01 03:04:34 +09:00
Tal Einat
0cdf5f4289
bpo-32568: make select.epoll() and its docs consistent ( #7840 )
...
* `flags` is indeed deprecated, but there is a validation on its value for
backwards compatibility reasons. This adds mention of this in the docs.
* The docs say that `sizehint` is deprecated and ignored, but it is still
used when `epoll_create1()` is unavailable. This adds mention of this in
the docs.
* `sizehint=-1` is acceptable again, and is replaced with `FD_SETSIZE-1`.
This is needed to have a default value available at the Python level,
since `FD_SETSIZE` is not exposed to Python. (see: bpo-31938)
* Reject `sizehint=0` since it is invalid to pass on to `epoll_create()`.
The relevant tests have also been updated.
2018-06-30 15:43:23 +03:00
Andrés Delfino
bda9c3eae3
Fix the indentation in the documentation of bin() and hash() (GH-7998)
2018-06-29 12:57:10 +03:00
Yury Selivanov
41cb0baea9
bpo-33985: Implement ContextVar.name attribute. (GH-7980)
2018-06-28 13:20:29 -04:00
Zackery Spytz
d2cbfffc84
bpo-25007: Add copy protocol support to zlib compressors and decompressors (GH-7940)
2018-06-27 21:04:51 +03:00
Tal Einat
fdd6e0bf18
bpo-33573: docs to suggest median() alternatives for non-numeric data (GH-7587)
2018-06-25 14:04:01 +03:00
Andrés Delfino
4a6e746079
bpo-33952: Fix typo in str.upper() documentation (GH-7898)
2018-06-25 13:34:22 +03:00
Andrés Delfino
a8ddf85a84
bpo-33943: Add references in the docs for logging.basicConfig (GH-7858)
...
Adds references to info about file modes, `time.strftime()`, string formatting
syntaxes, and logging levels.
2018-06-25 09:06:10 +03:00
Dong-hee Na
cf67d6a934
bpo-33897: Add a 'force' keyword argument to logging.basicConfig(). (GH-7873)
2018-06-25 05:11:09 +01:00
Andrés Delfino
0ba9a0b7d1
[master] bpo-33885: Replace "hook function" with "callable" (GH-7765) ( #7886 )
...
(cherry picked from commit c45cb47907
)
Co-authored-by: Andrés Delfino <adelfino@gmail.com>
2018-06-23 19:23:50 -07:00
Srinivas Reddy Thatiparthy (శ్రీనివాస్ రెడ్డి తాటిపర్తి)
940ae60856
Clarified the tempfile.tempdir documentation (GH-7829)
2018-06-21 03:52:43 -04:00
Giampaolo Rodola
c7f02a9659
bpo-33671 / shutil.copyfile: use memoryview() with dynamic size on Windows ( #7681 )
...
bpo-33671
* use memoryview() with size == file size on Windows, see https://github.com/python/cpython/pull/7160#discussion_r195405230
* release intermediate (sliced) memoryview immediately
* replace "OSX" occurrences with "macOS"
* add some unittests for copyfileobj()
2018-06-19 08:27:29 -07:00
INADA Naoki
698865dcbb
bpo-33843: Remove deprecated stuff in cgi module (GH-7662)
2018-06-19 17:28:50 +09:00
INADA Naoki
e57f91a0f0
bpo-33866: enum: Stop using OrderedDict (GH-7698)
2018-06-19 01:14:26 +09:00
Andrés Delfino
5092439c2c
bpo-33892: Doc: Use gender neutral words (GH-7770)
2018-06-18 13:34:30 +09:00
Xtreak
c151f7846d
bpo-33859: Fix spelling mistakes in docs. (GH-7691)
2018-06-16 08:08:31 +03:00
Carl Meyer
b193fa996a
bpo-33499: Add PYTHONPYCACHEPREFIX env var for alt bytecode cache location. (GH-6834)
...
In some development setups it is inconvenient or impossible to write bytecode
caches to the code tree, but the bytecode caches are still useful. The
PYTHONPYCACHEPREFIX environment variable allows specifying an alternate
location for cached bytecode files, within which a directory tree mirroring the code
tree will be created. This cache tree is then used (for both reading and writing)
instead of the local `__pycache__` subdirectory within each source directory.
Exposed at runtime as sys.pycache_prefix (defaulting to None), and can
be set from the CLI as "-X pycache_prefix=path".
Patch by Carl Meyer.
2018-06-16 14:40:56 +10:00
Andrés Delfino
a9d0b34a5c
bpo-33854: Add PEP 461 title to 'See also' note (GH-7688)
2018-06-15 15:42:20 -04:00
Zackery Spytz
71ede00f14
bpo-31378: Document sqlite3.OperationalError exception (GH-7677)
2018-06-13 12:09:31 +03:00
Xiang Zhang
b9d8ad5130
bpo-33828: Add missing versionchanged note for string.Formatter. (GH-7668)
...
string.Formatter auto-numbering feature was added in 3.4 and there
is no versionchanged note in its documentation, making the documentation
ambiguous about which version the feature is available.
2018-06-13 09:42:44 +08:00