Benjamin Peterson
35a1f7f62d
massage English for -X descriptions a bit
9 years ago
Nick Coghlan
e66244521c
Issue #26355 : Specify canonical URLs in docs pages
Add canonical header link on each page to corresponding major
version of the documentation.
Patch by Matthias Bussonnier.
9 years ago
Berker Peksag
f59286794b
Issue #29441 : Update examples to use async and await keywords in asyncio-task.rst
9 years ago
Mariatta Wijaya
81b8977349
Issue #29371 : Clarify bitwise OR operation in doctest option flags.
9 years ago
Raymond Hettinger
d0b9158666
Substitute a more readable f-string
9 years ago
Berker Peksag
d93c4de522
Fix usage of data directive
9 years ago
Berker Peksag
5702fb7b4d
Issue #29198 : Fix indentation and markup in typing.rst
Patch by Jelle Zijlstra.
9 years ago
Berker Peksag
38962a6fe2
Issue #29198 : Document typing.AsyncGenerator
Patch by Jelle Zijlstra.
9 years ago
Victor Stinner
3f2d10132d
Issue #29300 : Convert _struct module to Argument Clinic
* The struct module now requires contiguous buffers.
* Convert most functions and methods of the _struct module to Argument Clinic
* Use "Py_buffer" type for the "buffer" argument. Argument Clinic is
responsible to create and release the Py_buffer object.
* Use "PyStructObject *" type for self to avoid explicit conversions.
* Add an unit test on the _struct.Struct.unpack_from() method to test passing
arguments as keywords.
* Rephrase docstrings.
* Rename "fmt" argument to "format" in docstrings and the documentation.
As a side effect, functions and methods which used METH_VARARGS calling
convention like struct.pack() now use the METH_FASTCALL calling convention
which avoids the creation of temporary tuple to pass positional arguments and
so is faster. For example, struct.pack("i", 1) becomes 1.56x faster (-36%)::
$ ./python -m perf timeit \
-s 'import struct; pack=struct.pack' 'pack("i", 1)' \
--compare-to=../default-ref/python
Median +- std dev: 119 ns +- 1 ns -> 76.8 ns +- 0.4 ns: 1.56x faster (-36%)
Significant (t=295.91)
Patch co-written with Serhiy Storchaka.
9 years ago
Mariatta Wijaya
23dcccb75b
Issue #29381 : Clarify ordering of UNIX shebang line as source encoding line
9 years ago
Mariatta Wijaya
77bb0f4900
Backed out changeset 3d712292f2fa
9 years ago
Mariatta Wijaya
e2d8bc52c4
Issue #29381 : Clarify ordering of UNIX shebang line as source encoding line
9 years ago
Berker Peksag
d5adb63673
Issue #29407 : Remove redundant ensure_future() calls in factorial example
9 years ago
Guido van Rossum
934aba66ef
Issue #29377 : Add three new wrappers to types.py (Manuel Krebber).
9 years ago
Martin Panter
f24bcccefd
Issue #28822 : Add susp-ignored entry for NEWS; fix grammar
9 years ago
Martin Panter
1f10671fc8
Issue #11670 : readfp(fp) parameter name is different to read_file(f)
9 years ago
Martin Panter
9a454021a4
Issue #29349 : Use __future__ print_function; Sphinx may use Python 2.6+
9 years ago
Martin Panter
c654f0acf9
Issues #29349 : Add NEWS for 3.7; use “with” statement
9 years ago
Martin Panter
8f3fb72309
Issue #29349 : Fix Python 2 syntax in documentation build code
9 years ago
Martin Panter
8dbb0ca573
Issue #12067 : Recommend that hash and equality be consistent
9 years ago
Raymond Hettinger
e53bd8e2d0
Issue 29310: Document typing.NamedTuple default argument syntax
9 years ago
Vinay Sajip
dc4ce0e013
Fixes #28784 : Clarified use of shlex.shlex with punctuation_chars.
9 years ago
Senthil Kumaran
b0d0e19dd5
issue26149 - Point to Wiki for Editors and Python IDEs on Unix.
Patch contributed by Mariatta Wijaya.
10 years ago
Martin Panter
91a8866dc1
Fix grammar in doc string, RST markup
10 years ago
Martin Panter
ef107ee7a0
Issue #29189 : Fix indentation in RST markup
10 years ago
Victor Stinner
01f5ae7b76
Issue #26273 : Document TCP_USER_TIMEOUT and TCP_CONGESTION
10 years ago
Serhiy Storchaka
2a404b63d4
Issue #28769 : The result of PyUnicode_AsUTF8AndSize() and PyUnicode_AsUTF8()
is now of type "const char *" rather of "char *".
10 years ago
Xiang Zhang
d7d87ca9b0
Issue #29092 : Sync os.stat's doc and docstring on path type.
10 years ago
Mark Dickinson
5e65cd39df
Issue #29282 : Backed out changeset b33012ef1417
10 years ago
Mark Dickinson
d1b230e48b
Issue #29282 : add fused multiply-add function, math.fma.
10 years ago
Ned Deily
67c1cb2008
Issue #29316 : Restore the provisional status of typing module and add
corresponding note to documentation. Patch by Ivan L.
10 years ago
Raymond Hettinger
a57a8a3e2d
Issue #29281 : Fill-in a missing versionchanged entry
10 years ago
Xiang Zhang
6ad85bf89a
Issue #29292 : Update outdated doc of PyEval_EvalCodeEx.
Patch by Ammar Askar.
10 years ago
Martin Panter
37f183d43d
Issue #29274 : tests cases → test cases
10 years ago
Raymond Hettinger
80490525e0
Issue #29011 : Fix an important omission by adding Deque to the typing module.
10 years ago
INADA Naoki
015bce64b3
Issue #26110 : Add document for LOAD_METHOD and CALL_METHOD opcode.
Changed stack layout bit for "easy to explain."
10 years ago
INADA Naoki
2e1b6ea4b7
Issue #29062 : Doc: Fix make suspicious
10 years ago
Martin Panter
8f1378366e
Avoid line breaks after hyphens, otherwise they are turned into spaces
10 years ago
Martin Panter
536d70ed33
Fix grammar, typos and markup in documentation and code comments
* Indent versionchanged at method level, not class level
* Mark up ``--help`` to avoid generating an en dash
* Use forward slash in Unix command line with a dollar sign ($) prompt
10 years ago
Serhiy Storchaka
b2d6179d55
Document Python versions in which the removed features were deprecated.
10 years ago
Serhiy Storchaka
9ed707eb4c
Issue #29197 : Removed deprecated function ntpath.splitunc().
10 years ago
Serhiy Storchaka
4f76fb16b7
Issue #29210 : Removed support of deprecated argument "exclude" in
tarfile.TarFile.add().
10 years ago
INADA Naoki
e2f9e77df2
Issue #29062 : Merge hashlib-blake2.rst into hashlib.rst
10 years ago
Serhiy Storchaka
cc283378d6
Issue #29192 : Removed deprecated features in the http.cookies module.
10 years ago
Serhiy Storchaka
009b0a1fac
Issue #29193 : A format string argument for string.Formatter.format()
is now positional-only.
10 years ago
Alexander Belopolsky
f810d041dc
Closes #28130 : Documented that time.tzset() updates time module globals.
Thanks Greg Bengeult for the patch.
10 years ago
Serhiy Storchaka
87006a3d4a
Issue #20804 : Document the limitation of the unittest.mock.sentinel attributes.
10 years ago
Serhiy Storchaka
d9c956fb23
Issue #20804 : The unittest.mock.sentinel attributes now preserve their
identity when they are copied or pickled.
10 years ago
Martin Panter
ced4b90756
Issue #29239 : Fix --enable-optimizations bug number
10 years ago
Martin Panter
5b66723b0b
Issue #15657 : Delete incorrect statement from PyMethodDef documentation
Patch by Berker Peksag.
10 years ago