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
Sergey Fedoseev
3a9bb5f269
Removed unused import from tzinfo_examples.py. (GH-7994)
2018-07-04 21:47:37 -07:00
Julien Palard
a6e1e41e05
Update Stackless Python wiki URL (GH-8072)
...
It was moved from bitbucket to GitHub.
2018-07-04 21:31:38 -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
Zachary Ware
d824ca7f4d
bpo-34006: Revert line length limit for Windows help docs (GH-8051)
...
The line-length limit is not needed because the pages appear in a separate app rather
than on a browser tab. It can also interact badly with the DPI setting.
2018-07-02 16:31:42 -04: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
Elvis Pranskevichus
4d26c8a177
bpo-32996: Enhancements to What's New based on feedback (GH-7988)
2018-06-28 11:57:37 -04:00
INADA Naoki
461a1c4b49
bpo-33842: Remove tarfile.filemode (GH-7661)
2018-06-28 17:10:36 +09:00
Srinivas Reddy Thatiparthy (శ్రీనివాస్ రెడ్డి తాటిపర్తి)
62b6cea6b8
bpo-33958: Doc: Remove unused variable in example (GH-7927)
2018-06-28 15:25:20 +09:00
Ned Deily
aee5df5e16
Forward port 3.7.0 final changes
2018-06-27 18:45:50 -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
Behzad B. Mokhtari
df748c20da
use rich markup for PEP reference (GH-7939)
...
it's better to refer to PEP with `pep` role in reStructuredText. It also links to the PEP page.
2018-06-26 20:57:39 -07:00
Srinivas Reddy Thatiparthy (శ్రీనివాస్ రెడ్డి తాటిపర్తి)
866c168a5f
bpo-33957: Doc: Use better wording (GH-7912)
2018-06-26 17:27:05 +09: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
Andrés Delfino
38cf49bf69
bpo-33887: Add TOC to Design and History FAQ(GH-7766)
2018-06-23 11:27:16 -07:00
Andrés Delfino
c9d43c702a
bpo-33877: Remove UNIX qualification for running complete programs (GH-7744)
...
The statement is true for Windows (and macOS) also.
2018-06-22 17:31:03 -04:00
Srinivas Reddy Thatiparthy (శ్రీనివాస్ రెడ్డి తాటిపర్తి)
940ae60856
Clarified the tempfile.tempdir documentation (GH-7829)
2018-06-21 03:52:43 -04:00
Nick Coghlan
16eb3bcdb2
bpo-33499: PYTHONPYCACHEPREFIX What's New entry (GH-7749)
...
Initial What's New in Python 3.8 entry for `PYTHONPYCACHEPREFIX`.
2018-06-20 21:25:01 +10: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
6868003514
bpo-33571: Improve the glossary description for '...' prompt (GH-6971)
...
Mention that it can be triggered by triple quotes and after specifying decorators.
2018-06-15 20:46:38 -07:00
Noah Haasis
2707e41a5c
bpo-33836: Recommend keyword-only param for memoization in FAQ (GH-7687)
...
Update the the signature in the code example to make `_cache` a keyword-only parameter.
2018-06-15 20:29:11 -07:00
Andrés Delfino
7469ff5017
Use singular, we are talking about the access (GH-7727)
2018-06-15 19:42:09 -07: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
Andrés Delfino
695118600f
bpo-33847: Add '@' operator entry to index (GH-7669)
2018-06-15 15:23:00 -04:00
Andrés Delfino
4fddd4e406
bpo-33852: Remove misplaced parentheses around 'list'. (GH-7672)
...
'expresson list' refers to the grammar term 'expression_list' in the subscription production.
2018-06-15 14:24:25 -04:00
Serhiy Storchaka
ceeef10cdb
bpo-33818: PyExceptionClass_Name() will now return "const char *". (GH-7581)
2018-06-15 11:09:43 +03:00
Eric Snow
9e7c92193c
bpo-17045: Improve C-API doc for PyTypeObject. (gh-7413)
...
The existing doc had a number of info gaps and was a little hard to use. This patch provides several quick-reference tables as well as examples.
2018-06-14 15:46:35 -06:00
Zackery Spytz
71ede00f14
bpo-31378: Document sqlite3.OperationalError exception (GH-7677)
2018-06-13 12:09:31 +03:00