s-sanjay
16f852345b
bpo-29913: deprecate compare_networks() in documentation (GH-865)
2017-03-30 15:44:29 +08:00
Serhiy Storchaka
84b8e92e46
bpo-29918: Add missed "const" modifiers in C API documentation. ( #846 )
2017-03-30 10:01:03 +03:00
Serhiy Storchaka
ea720fe7e9
bpo-25996: Added support of file descriptors in os.scandir() on Unix. ( #502 )
...
os.fwalk() is sped up by 2 times by using os.scandir().
2017-03-30 09:12:31 +03:00
Serhiy Storchaka
0a58f72762
bpo-24821: Fixed the slowing down to 25 times in the searching of some ( #505 )
...
unlucky Unicode characters.
2017-03-30 09:11:10 +03:00
csabella
c3c7ef0885
bpo-29917: DOC: Remove link from PyMethodDef ( #890 )
2017-03-29 17:27:50 -07:00
csabella
85deefcf61
bpo-29677: DOC: clarify documentation for `round` (GH-877)
2017-03-29 14:14:06 -07:00
Garvit Khatri
1cf93a76c2
bpo-10379: add 'monetary' to format_string, deprecate format
...
Add the 'monetary' parameter to format_string so that all
uses of format can be converted to format_string. Adjust
the documentation accordingly, and add a deprecation
warning when format is used.
2017-03-28 11:43:38 -04:00
Amit Kumar
0ae7c8bd61
bpo-16011 clarify that 'in' always returns a boolean value
2017-03-28 10:13:01 -04:00
Barry Warsaw
9f74deba78
Improve the documentation for template strings ( #856 )
...
bpo-19824
bpo-20314
bpo-12518
2017-03-28 10:02:07 -04:00
Gerrit Holl
6003db7db5
bpo-29677: DOC: clarify documentation for `round` ( #357 )
...
* DOC: clarify documentation for `round`
Clarified that `round` can take a negative value for *ndigits*.
* DOC: remove trailing whitespace in previous commit
remove trailing whitespace in previous commit
2017-03-28 00:15:20 +02:00
cocoatomo
f8beb9831a
bpo-29888: Fix the link referring to the "Python download page" (GH-824)
2017-03-26 13:32:24 -04:00
Serhiy Storchaka
4aec9a8be2
bpo-29901: Improve support of path-like objects in zipapp. ( #815 )
...
Now general path-like objects are supported, not just pathlib.Path.
2017-03-25 13:05:23 +02:00
NAKAMURA Osamu
29540cdf6c
bpo-29892: Fix wrong markup on doc-lib-functions (GH-802)
2017-03-24 19:55:08 -07:00
Ivan Levkivskyi
8f9e1bbf2d
bpo-28810: Document remaining bytecode changes in 3.6 (GH-651)
2017-03-24 14:05:04 -07:00
Serhiy Storchaka
e304e33c16
bpo-19930: The mode argument of os.makedirs() no longer affects the file ( #799 )
...
permission bits of newly-created intermediate-level directories.
2017-03-24 13:27:42 +02:00
Sylvain Bellemare
5619ab2db3
doc: Fix small typos in library/multiprocessing (GH-698)
2017-03-24 17:26:07 +09:00
Serhiy Storchaka
aefa7ebf0f
bpo-6532: Make the thread id an unsigned integer. ( #781 )
...
* bpo-6532: Make the thread id an unsigned integer.
From C API side the type of results of PyThread_start_new_thread() and
PyThread_get_thread_ident(), the id parameter of
PyThreadState_SetAsyncExc(), and the thread_id field of PyThreadState
changed from "long" to "unsigned long".
* Restore a check in thread_get_ident().
2017-03-23 14:48:39 +01:00
Nathaniel J. Smith
1e2147b9d7
bpo-29728: Provide socket.TCP_NOTSENT_LOWAT ( #477 )
...
* Provide socket.TCP_NOTSENT_LOWAT
* New TCP option available on recent MacOS and Linux.
* Document addition of TCP_NOTSENT_LOWAT
2017-03-22 20:56:55 -07:00
Ivan Levkivskyi
fad7f15606
Remove an outdated statement in execution model docs (GH-754)
2017-03-22 17:54:53 -07:00
INADA Naoki
bd3d8ba3b2
doc: minor fix for library/profile (GH-761)
2017-03-22 16:56:36 +09:00
Jelle Zijlstra
75b6cf879f
fix function name in tabnanny documentation (GH-759)
2017-03-22 14:53:57 +08:00
zertrin
05f53735c8
Fix "NotImplentedError" typo in constants documentation ( #692 )
...
`NotImplentedError` --> `NotImplementedError`
2017-03-20 14:24:39 +02:00
Mariatta
64508780d7
bpo-29856: Fix typo in curses documentation (GH-730)
...
From Shifted Dxit -> Shifted Exit in Doc/library/curses.rst
2017-03-19 20:48:04 -07:00
Serhiy Storchaka
c85a26628c
bpo-28749: Fixed the documentation of the mapping codec APIs. ( #487 )
...
Added the documentation for PyUnicode_Translate().
2017-03-19 08:15:17 +02:00
Marco Buttu
909a6f626f
bpo-27200: Fix doctests in programming.rst and datetime.rst ( #401 )
2017-03-18 19:59:33 +03:00
Marco Buttu
3f2155ffe6
bpo-16355: Clarify when inspect.getcomments() returns None ( #428 )
...
Initial patch by Vajrasky Kok.
2017-03-17 11:50:23 +03:00
Marco Buttu
1bb0f3762e
bpo-29820: othergui.rst: Remove outdated information (GH-685)
2017-03-16 19:50:40 -07:00
Jelle Zijlstra
9e52c907b5
ftplib.FTP.retrbinary callback gets a bytes, not a str (GH-652)
2017-03-13 10:51:27 +08:00
Jelle Zijlstra
7bb6ac76b2
fix the name of argument to ftplib.FTP.set_pasv and fix wording (GH-653)
2017-03-13 10:19:00 +08:00
Xiang Zhang
b2d77175d1
bpo-29756: Improve documentation for list methods that compare items by equality (GH-572)
2017-03-13 10:09:16 +08:00
Serhiy Storchaka
f6595983e0
bpo-28692: Deprecate using non-integer value for selecting a plural form in gettext. ( #507 )
2017-03-12 13:15:01 +02:00
Serhiy Storchaka
c611a5b1d4
bpo-29746: Update marshal docs to Python 3. ( #547 )
2017-03-12 08:53:22 +02:00
Serhiy Storchaka
97553fdf9d
bpo-26121: Use C library implementation for math functions: ( #515 )
...
* bpo-26121: Use C library implementation for math functions:
tgamma(), lgamma(), erf() and erfc().
* Don't use tgamma() and lgamma() from libc on OS X.
2017-03-11 21:37:16 +00:00
Jelle Zijlstra
d3b8f98696
tempfile.rst: Fix some typos (GH-610)
2017-03-11 09:34:55 -08:00
Xiang Zhang
0710d75425
bpo-29770: remove outdated PYO related info (GH-590)
2017-03-11 13:02:52 +08:00
Mariatta
70ee0cd5c2
bpo-29784: Fix the reference to shutil.copy in the docs (GH-602)
2017-03-10 18:17:21 -08:00
Ivan Levkivskyi
4b2a2a425a
bpo-28810: Document changes to CALL_FUNCTION opcodes (GH-250)
2017-03-10 14:52:35 -08:00
Ivan Levkivskyi
7e52c3e7ae
bpo-28810: Document BUILD_TUPLE_UNPACK_WITH_CALL bytecode added in 3.6 (GH-239)
2017-03-10 14:16:44 -08:00
Mariatta
d4e89287b3
bpo-28739: Document that f-strings cannot be used as docstring (GH-592)
2017-03-10 08:58:40 -08:00
Serhiy Storchaka
8606e9524a
bpo-28231: The zipfile module now accepts path-like objects for external paths. ( #511 )
2017-03-08 14:37:51 +02:00
INADA Naoki
c351ce6a2c
bpo-28331: fix impl-detail label is removed when content is translated. (GH-195)
2017-03-08 19:07:13 +09:00
Serhiy Storchaka
c45cd167d4
bpo-28230: Document the pathlib support in tarfile and add tests. ( #512 )
2017-03-08 10:32:44 +02:00
Serhiy Storchaka
8f6b344d36
bpo-28682: Added support for bytes paths in os.fwalk(). ( #489 )
2017-03-07 14:33:21 +02:00
Serhiy Storchaka
2e5642422f
bpo-29695: Remove bad keyword parameters in int(), bool(), float(), list() and tuple(). ( #518 )
2017-03-06 17:01:06 +02:00
INADA Naoki
2225ddaa9e
bpo-29719: Remove Date and Release field in whatsnew/3.6 (GH-494)
2017-03-06 15:41:59 +09:00
Serhiy Storchaka
58d23e6806
bpo-29695: Deprecated using bad named keyword arguments in builtings: ( #486 )
...
int(), bool(), float(), list() and tuple(). Specify the value as a
positional argument instead.
2017-03-06 00:53:39 +02:00
Adam Niederer
b4e1b92aab
Docs: Add note regarding "reversed" flag in heapq.merge ( #300 )
...
The docs for `heapq.merge` are a little misleading. Iterables passed
into heapq.merge with the reversed flag enabled must be sorted from
largest to smallest to achieve the desired sorting effect, but the
previous paragraph states that they should be sorted from smallest
to largest.
2017-03-05 08:56:05 -08:00
Mariatta
2a7bddaab7
distutils docs: Fix a typo (GH-470)
...
instanciated -> instantiated
2017-03-04 16:41:06 -08:00
J. W
6abaed0dda
Correct spelling "instanciate" ( #465 )
2017-03-04 17:51:08 -05:00
Ivan Levkivskyi
0705f66eb3
bpo-26213: Document _UNPACK bytecodes and BUILD_MAP changes ( #238 )
2017-03-03 13:46:39 -08:00
Mariatta
8eb531d9db
bpo-29709: Improve Boolean Operations documentation ( #433 )
...
Change False into false, and True into true.
2017-03-03 13:16:29 -08:00
Marco Buttu
5dfccb06dc
bpo-29455: Mention coverage.py in trace module documentation ( #261 )
2017-03-03 12:42:04 -08:00
David Ellis
85b8d01c91
bpo-29623: Make PathLike objects work with ConfigParser.read() ( #242 )
2017-03-03 20:14:27 +03:00
Matthias Bussonnier
c643a967dd
Add Python version since deprecation in base64 methods. ( #33 )
...
Allow developers to not have to either test on N Python versions or
looked through multiple versions of the docs to know whether they can
easily update.
2017-03-02 17:21:26 +03:00
Marco Buttu
b2a7c2f986
bpo-27200: fix configparser, copyreg and ctypes doctests ( #240 )
2017-03-02 14:02:43 +03:00
Alex Gaynor
275104e86b
In SSL module version examples, don't use a legacy version. ( #381 )
2017-03-02 11:23:19 +01:00
Mariatta
da62373b0d
email.compat32-message.rst: Fix typo in the word `message` (GH-379)
2017-03-01 06:20:16 -08:00
Berker Peksag
f5184745a5
Tweak subprocess.STARTUPINFO documentation ( #347 )
...
* Document STARTUPINFO constructor
* Move versionchanged directive to above of attributes
2017-03-01 12:51:55 +03:00
Alex Gaynor
1cf2a809b1
Fixed a handful of typos (GH-343)
2017-02-28 19:26:56 -08:00
Kartik Anand
626584284e
correct documentation for enum.html ( #358 )
2017-02-28 21:07:18 +01:00
Xiang Zhang
267b9d2fa8
bpo-7769: enable xmlrpc.server.SimpleXMLRPCDispatcher.register_function used as decorator (GH-231)
2017-02-28 17:12:52 +08:00
Berker Peksag
370f7a956c
bpo-24241: Add versionchanged directive to the documentation ( #342 )
2017-02-27 19:13:41 +03:00
Berker Peksag
a862812565
Use "Contributed by ..." style in whatsnew/3.7.rst ( #339 )
2017-02-27 17:43:27 +03:00
Mariatta
091b84f23a
Asyncio documentation: remove `self` from method signatures (GH-334)
2017-02-27 05:44:15 -08:00
INADA Naoki
f669ffff60
fix minor bug in pymalloc. ( #335 )
...
reported by Alexis Lopez-Garcia.
2017-02-27 14:42:37 +01:00
Xiang Zhang
210d6a9f95
bpo-29662: fix wrong indentation in timeit.Timer's doc (GH-332)
2017-02-27 13:42:01 +08:00
Mariatta
1f5639c77f
bpo-26184: import.rst: Improve versionchanged note (GH-325)
2017-02-26 13:23:38 -08:00
Sayan Chowdhury
d5c11f7ace
bpo-28624: Add a test that checks that cwd parameter of Popen() accepts PathLike objects ( #157 )
2017-02-26 20:06:10 +03:00
Mariatta
6b4a5f45e2
bpo-26184: import.rst: Improve versionchanged note (GH-277)
...
Mention that an ImportError is raised when exec_module() is defined, but
create_module() is not.
2017-02-26 07:36:57 -08:00
Berker Peksag
fe70d924bb
bpo-29121: Remove outdated documentation about transactions ( #313 )
...
Patch by Aviv Palivoda.
2017-02-26 18:31:12 +03:00
Marco Buttu
ed6795e46f
bpo-22594: Add a link to the regex module in re documentation (GH-241)
2017-02-26 07:26:23 -08:00
Marco Buttu
46ce7599af
bpo-29648: import.rst: Add reference to create_module() (GH-290)
...
Add a reference to create_module(), in the first versionadded of section Loaders.
2017-02-26 07:14:45 -08:00
Jim Fasarakis-Hilliard
53c1892dc3
Fix small typos in introduction and datastructures of tutorial (GH-272)
...
* Fix small typos in introduction and datastructures
* Use iterable instead of L in the doc for list.extend
2017-02-25 13:13:33 -08:00
Subhendu Ghosh
ae160bba20
bpo-26128: Added __init__to subprocess.STARTUPINFO ( #171 )
...
The Windows-specific subprocess.STARTUPINFO class now accepts
keyword-only arguments to its constructor to set the various
data attributes.
Patch by Subhendu Ghosh.
2017-02-26 00:59:05 +10:00
Ratnadeep Debnath
21024f0662
bpo-16285: Update urllib quoting to RFC 3986 ( #173 )
...
* bpo-16285: Update urllib quoting to RFC 3986
urllib.parse.quote is now based on RFC 3986, and hence
includes `'~'` in the set of characters that is not escaped
by default.
Patch by Christian Theune and Ratnadeep Debnath.
2017-02-25 19:00:28 +10:00
David Steele
e3ce69522f
bpo-24241: Improve preferred webbrowser handling ( #85 )
...
- Add 'preferred' argument to webbrowser.register
- Use xdg-settings to specify preferred X browser
The first change replaces the existing undocumented tri-state
'try_order' parameter with the documented boolean keyword-only
'preferred' parameter. Setting it to True places the browser at the
front of the list, preferring it as the return to a subsequent get() call.
The second change adds a private `_os_preferred_browser` setting
and then uses that to make the default browser reported by
`xdg-settings` first in the try list when running under X (or
another environment that sets the `DISPLAY` variable).
This avoids the problem where the first entry in the tryorder
queue otherwise defaults to xdg-open, which doesn't support
the "new window" option.
2017-02-25 14:47:38 +10:00
Jim Fasarakis-Hilliard
132ac381fe
Fix small typos in expressions.rst (GH-276)
2017-02-24 12:32:54 -08:00
Barry Warsaw
fba79dc568
bpo-25008: Deprecate smtpd and point to aiosmtpd ( #274 )
...
* bpo-25008: Deprecate smtpd and point to aiosmtpd.
* Simplify the aiosmtpd URL.
2017-02-24 20:05:59 +01:00
Arne de Laat
324c5d8ca6
bpo-28911: Clarify the behaviour of assert_called_once_with. ( #251 )
2017-02-23 15:57:25 +01:00
INADA Naoki
cb41b2766d
bpo-29463: Add docstring field to some AST nodes. ( #46 )
...
* bpo-29463: Add docstring field to some AST nodes.
ClassDef, ModuleDef, FunctionDef, and AsyncFunctionDef has docstring
field for now. It was first statement of there body.
* fix document. thanks travis!
* doc fixes
2017-02-22 16:31:59 +01:00
Matthias Bussonnier
1bc156430b
bpo-29546: Improve from-import error message with location ( #103 )
...
bpo-29546: Improve from-import error message with location
2017-02-22 10:06:50 -05:00
Matthias Bussonnier
0899b98095
bpo-28814: Undeprecate inadvertently deprecated inspect functions. ( #122 )
...
Nick Coghlan said on bpo-28814:
> inspect.getargvalues() and inspect.formatargvalues() were deprecated
> in Python 3.5 as part of implementing bpo-20438
> This is incorrect, as these are *frame* introspection related functions,
> not callable introspection ones. The documentation and implementation
> layout is confusing though, as they're interleaved with the callable
> introspection operation
This commit undeprecates these functions and adds a note to ignore
previous deprecation notices.
2017-02-22 08:45:51 +03:00
INADA Naoki
fb8fe72fc5
doc: fix compile error on "shoddy" example extension (GH-215)
2017-02-21 21:51:46 +09:00
Jim Fasarakis-Hilliard
32e8f9bdfd
bpo-29453: Remove reference to undefined dictionary ordering in Tutorial (GH-140)
...
As of Python 3.6 **kwargs are ordered, thus, remove the paragraph stating that
ordering is undefined and change snippet to remove the unecessary sorted call.
* Add sentence mentioning guaranteed output order of kwargs
2017-02-20 21:20:23 -09:00
Matthias Bussonnier
8fb1f6e039
bpo-29554: Improve docs for pstat module and profile. ( #88 )
...
Clarify that methods take a string which is interpreted as a regex,
not a regex object.
Also clarify what the old `-1`, `0`, `1` and `2` options were.
2017-02-21 08:30:00 +03:00
INADA Naoki
e395c4dbe1
bpo-29520: doc: add missing dot (GH-182)
...
3eea8c6
missed dot at the end of paragraph.
2017-02-20 10:22:28 +09:00
INADA Naoki
3eea8c67fa
bpo-29520: doc: fix deprecation warning from 'defindex' template (GH-165)
2017-02-20 02:07:32 +09:00
Berker Peksag
d4d48743ac
Tweak PEP 519 documentation in stdlib ( #163 )
...
* Drop duplicate work 'object' in lzma docs
* Fix typo in os docs: fpr -> for
2017-02-19 03:17:35 +03:00
Barry Warsaw
8c130d7f81
bpo-22807: Expose platform UUID generation safety information. ( #138 )
...
bpo-22807: Expose platform UUID generation safety information.
2017-02-18 15:45:49 -05:00
Senthil Kumaran
b2ee40ed9c
Change some mercurial/ hg.python.org references. ( #8 )
2017-02-16 07:18:42 -08:00
Eric Appelt
23557d59b8
bpo-29026: Clarify documentation of time.time ( #34 )
...
* bpo-29026: Clarity documentation of time.time
Clarify the documentation of time.time by more
precisely defining what is meant by "seconds since
the epoch" on most platforms. Additionally explain
how gmtime and localtime may be used to extract
calendar components and convert to a more common
date format.
* bpo-29026: Minor improvements for time.time doc
* bpo-29026: Consistency fixes for time.time doc
2017-02-16 11:00:45 +01:00
Matthias Bussonnier
1d4601c2c6
bpo-29576: add explicit deprecation for importlib.abc.find_loader() and find_module() (GH-32)
2017-02-15 18:00:32 -08:00
Roger
b3f1f59cf4
Rename Doc/README.txt to Doc/README.rst and add formatting ( #104 )
...
* Reformat Doc/README.txt to Doc/README.rst
* Update mention of Doc/README.rst
* Update mention of README.txt to README.rst
* Make line fold
* rstlint ignore Doc/README.rst
* conf.py ignore Doc/README.rst
* Update issue tracker url in Docs/README.rst
2017-02-15 23:54:05 +01:00
Victor Stinner
91b0e7d0ca
Doc/Makefile: set PYTHON to python3 ( #124 )
...
rstlint.py run by "make check" doesn't support Python 2.
"make venv" runs "$(PYTHON) -m venv", whereas Python 2 doens't
provide the venv module: it's a module of Python 3 standard library.
2017-02-15 23:36:08 +01:00
Mariatta
36da1c3589
bpo-29481: add versionadded 3.6.1 to typing.Deque docs ( #107 )
2017-02-15 11:37:18 -08:00
David Wilemski
6de2b7817f
bpo-29557: Remove ambiguous line in binhex docs ( #90 )
...
"appears to not work in all cases" does not inspire confidence in this
module. I can find no context for what bug this was referencing so it
should be removed.
2017-02-15 01:37:49 +03:00
Victor Stinner
2b501866ed
Travis CI: run rstlint.py in the docs job ( #68 )
...
Currently, http://buildbot.python.org/all/buildslaves/ware-docs
buildbot is only run as post-commit. For example, bpo-29521 (PR#41)
introduced two warnings, unnotified by the Travis CI docs job.
Modify the docs job to run toosl/rstlint.py.
Fix also the two minor warnings which causes the buildbot slave to
fail.
2017-02-13 15:30:05 +01:00
Jim DeLaHunt
3d707be950
bpo-29521 Fix two minor documentation build warnings ( #41 )
...
Much of bpo-29521 was fixed in parallel with commit
e7ffb99
. This cleans up the rest.
Apply parallel change to Doc/make.bat to read
"set SPHINXOPTS=-D latex_elements.papersize="
I don't have a Windows system on which to observe the warning,
but it should be necessary.
The warning:
.../workspace/cpython_github/Doc/faq/windows.rst:303:
WARNING: unknown option: -t
In the Windows FAQ, `How do I keep editors from inserting tabs
into my Python source?`, contained a reference to a Python -t
option. In Python 2.x, this caused Python to issue warnings
about lines with mixed spaces and tabs, but as of Python 3.6
it does nothing.
Per discussion at http://bugs.python.org/issue29387 , take
their wording. Python [3] raises an IndentationError or
TabError. Tabnanny is now a module.
2017-02-13 08:57:13 -05:00
Mariatta
d4a97d8948
bpo-28929: Link the documentation to its source file on GitHub ( #35 )
...
* bpo-28929: Link the documentation to its source file on GitHub
Change the documentation's `Show Source` link on the left menu
to GitHub source file.
* change version to master
2017-02-12 13:07:05 -08:00
Mariatta
3110a379bb
bpo-29474: Improve documentation for weakref.WeakValueDictionary ( #10 )
...
There were some grammatical errors in weakref.WeakValueDictionary
documentation.
2017-02-12 08:17:50 -08:00
Ryan Gonzalez
e7ffb99f84
Fix some sphinx warnings ( #9 )
...
* Fix some deprecation warnings in Doc/conf.py
* Fix an rst error in Misc/NEWS
2017-02-11 13:47:37 +09:00
Brett Cannon
79ab8be05f
Support "bpo-" in Misc/NEWS ( #1 )
2017-02-10 17:10:13 -06:00
Benjamin Peterson
e5f2cc67be
merge 3.6
2017-02-09 22:35:38 -08:00
Benjamin Peterson
35a1f7f62d
massage English for -X descriptions a bit
2017-02-09 22:31:17 -08:00
Nick Coghlan
c7a24a7330
Merge issue #26355 fix from 3.6
2017-02-09 16:09:03 +01:00
Nick Coghlan
e1857579f8
Merge issue #26355 fix from Python 3.5
2017-02-09 16:08:17 +01:00
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.
2017-02-09 16:03:59 +01:00
Berker Peksag
ee0ee9ae8e
Issue #29441 : Merge from 3.6
2017-02-07 11:28:19 +03:00
Berker Peksag
088507644e
Issue #29441 : Merge from 3.5
2017-02-07 11:27:48 +03:00
Berker Peksag
f59286794b
Issue #29441 : Update examples to use async and await keywords in asyncio-task.rst
2017-02-07 11:27:09 +03:00
Mariatta Wijaya
743376f45e
Issue #29371 : merge with 3.6
2017-02-06 20:18:39 -08:00
Mariatta Wijaya
e39262ccc3
Issue #29371 : merge with 3.5
2017-02-06 20:16:58 -08:00
Mariatta Wijaya
81b8977349
Issue #29371 : Clarify bitwise OR operation in doctest option flags.
2017-02-06 20:15:01 -08:00
Raymond Hettinger
0fa47469a9
merge
2017-02-06 07:15:57 -08:00
Raymond Hettinger
d0b9158666
Substitute a more readable f-string
2017-02-06 07:15:31 -08:00
Berker Peksag
7b620a448e
Merge from 3.6
2017-02-06 13:37:45 +03:00
Berker Peksag
d93c4de522
Fix usage of data directive
2017-02-06 13:37:19 +03:00
Berker Peksag
09f939d2c4
Issue #29198 : Merge from 3.6
2017-02-04 09:35:10 +03:00
Berker Peksag
5a001eea5b
Issue #29198 : Merge from 3.5
2017-02-04 09:34:48 +03:00
Berker Peksag
5702fb7b4d
Issue #29198 : Fix indentation and markup in typing.rst
...
Patch by Jelle Zijlstra.
2017-02-04 09:34:16 +03:00
Berker Peksag
b1d3f661d7
Issue #29198 : Merge from 3.6
2017-02-04 09:19:04 +03:00
Berker Peksag
14169b2a89
Issue #29198 : Merge from 3.5
2017-02-04 09:18:42 +03:00
Berker Peksag
38962a6fe2
Issue #29198 : Document typing.AsyncGenerator
...
Patch by Jelle Zijlstra.
2017-02-04 09:18:11 +03:00
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.
2017-02-02 12:09:30 +01:00
Mariatta Wijaya
bb19bf275b
Issue #29381 : merge with 3.6
2017-02-01 21:03:48 -08:00
Mariatta Wijaya
23dcccb75b
Issue #29381 : Clarify ordering of UNIX shebang line as source encoding line
2017-02-01 20:55:47 -08:00
Mariatta Wijaya
77bb0f4900
Backed out changeset 3d712292f2fa
2017-02-01 20:38:55 -08:00
Mariatta Wijaya
e2d8bc52c4
Issue #29381 : Clarify ordering of UNIX shebang line as source encoding line
2017-02-01 20:21:22 -08:00
Berker Peksag
ebf8a6d9b0
Issue #29407 : Merge from 3.6
2017-02-01 22:38:12 +03:00
Berker Peksag
c6fe419d1b
Issue #29407 : Merge from 3.5
2017-02-01 22:37:49 +03:00
Berker Peksag
d5adb63673
Issue #29407 : Remove redundant ensure_future() calls in factorial example
2017-02-01 22:37:16 +03:00
Guido van Rossum
934aba66ef
Issue #29377 : Add three new wrappers to types.py (Manuel Krebber).
2017-02-01 10:55:58 -08:00
Martin Panter
f24bcccefd
Issue #28822 : Add susp-ignored entry for NEWS; fix grammar
2017-01-29 23:37:56 +00:00
Martin Panter
d5feb49711
Issues #11670 : Merge configparser doc from 3.6
2017-01-29 23:37:50 +00:00
Martin Panter
ba964cc5f7
Issues #29349 : Merge Py 2.6+ compatibility from 3.6
2017-01-29 23:37:24 +00:00
Martin Panter
e334a53343
Issues #11670 : Merge configparser doc from 3.5
2017-01-29 23:36:39 +00:00
Martin Panter
b154113251
Issues #29349 : Merge Py 2.6+ compatibility from 3.5
2017-01-29 23:34:52 +00:00
Martin Panter
1f10671fc8
Issue #11670 : readfp(fp) parameter name is different to read_file(f)
2017-01-29 23:33:27 +00:00
Martin Panter
9a454021a4
Issue #29349 : Use __future__ print_function; Sphinx may use Python 2.6+
2017-01-29 23:33:13 +00:00
Martin Panter
c654f0acf9
Issues #29349 : Add NEWS for 3.7; use “with” statement
2017-01-29 10:17:17 +00:00
Martin Panter
3a6dc19f6e
Issues #29349 : Merge Py 2 fix 3.6
2017-01-29 10:16:28 +00:00
Martin Panter
af4e5d9ded
Issues #12067 : Merge hash recommendation from 3.6
2017-01-29 10:10:30 +00:00
Martin Panter
e61592e7e1
Issues #29349 : Merge Py 2 fix 3.5
2017-01-29 10:09:43 +00:00
Martin Panter
2be9889405
Issues #12067 : Merge hash recommendation from 3.5
2017-01-29 10:07:26 +00:00
Martin Panter
8f3fb72309
Issue #29349 : Fix Python 2 syntax in documentation build code
2017-01-29 10:05:02 +00:00
Martin Panter
8dbb0ca573
Issue #12067 : Recommend that hash and equality be consistent
2017-01-29 10:00:23 +00:00
Raymond Hettinger
bea12f4ef3
merge
2017-01-28 20:17:07 -08:00
Raymond Hettinger
e53bd8e2d0
Issue 29310: Document typing.NamedTuple default argument syntax
2017-01-28 20:16:40 -08:00
Vinay Sajip
49688cdaa2
Closes #28784 : Merged update from 3.6.
2017-01-27 13:05:09 +00:00
Vinay Sajip
dc4ce0e013
Fixes #28784 : Clarified use of shlex.shlex with punctuation_chars.
2017-01-27 13:04:33 +00:00
Serhiy Storchaka
6e08baf12d
Issue #27867 : Function PySlice_GetIndicesEx() is deprecated and replaced with
...
a macro if Py_LIMITED_API is not set or set to the value between 0x03050400
and 0x03060000 (not including) or 0x03060100 or higher. Added functions
PySlice_Unpack() and PySlice_AdjustIndices().
2017-01-25 13:27:44 +02:00
Senthil Kumaran
a8df8471d2
[merge 3.6] - issue26149 - Point to Wiki for Editors and Python IDEs on Unix.
...
Patch contributed by Mariatta Wijaya.
2017-01-25 01:48:41 -08:00
Senthil Kumaran
b0d0e19dd5
issue26149 - Point to Wiki for Editors and Python IDEs on Unix.
...
Patch contributed by Mariatta Wijaya.
2017-01-25 01:47:49 -08:00
Martin Panter
91a8866dc1
Fix grammar in doc string, RST markup
2017-01-24 00:30:06 +00:00
Martin Panter
8c79c70554
Issues #29189 : Merge indentation fixes from 3.6
2017-01-24 00:30:00 +00:00
Martin Panter
574ff0680f
Issues #29189 : Merge indentation fixes from 3.5
2017-01-24 00:29:11 +00:00
Martin Panter
ef107ee7a0
Issue #29189 : Fix indentation in RST markup
2017-01-24 00:26:56 +00:00
Victor Stinner
0e830455cb
Merge 3.6
2017-01-23 12:34:00 +01:00
Victor Stinner
01f5ae7b76
Issue #26273 : Document TCP_USER_TIMEOUT and TCP_CONGESTION
2017-01-23 12:30:00 +01:00
Serhiy Storchaka
2a404b63d4
Issue #28769 : The result of PyUnicode_AsUTF8AndSize() and PyUnicode_AsUTF8()
...
is now of type "const char *" rather of "char *".
2017-01-22 23:07:07 +02:00
Xiang Zhang
1dfaa6c38a
Issue #29092 : Merge 3.6.
2017-01-22 13:10:12 +08:00
Xiang Zhang
4459e009ed
Issue #29092 : Sync os.stat's doc and docstring on path type.
2017-01-22 13:04:17 +08:00
Xiang Zhang
d7d87ca9b0
Issue #29092 : Sync os.stat's doc and docstring on path type.
2017-01-22 12:54:44 +08:00
Mark Dickinson
5e65cd39df
Issue #29282 : Backed out changeset b33012ef1417
2017-01-21 13:10:52 +00:00
Mark Dickinson
d1b230e48b
Issue #29282 : add fused multiply-add function, math.fma.
2017-01-21 12:35:30 +00:00
Ned Deily
88f5746c22
Issue #29316 : merge 3.6
2017-01-20 10:17:11 -05:00
Ned Deily
67c1cb2008
Issue #29316 : Restore the provisional status of typing module and add
...
corresponding note to documentation. Patch by Ivan L.
2017-01-20 10:13:23 -05:00
Raymond Hettinger
aecbef408d
merge
2017-01-19 21:39:55 -08:00
Raymond Hettinger
a57a8a3e2d
Issue #29281 : Fill-in a missing versionchanged entry
2017-01-19 21:39:37 -08:00
Xiang Zhang
f8160236ed
Issue #29292 : Merge 3.6.
2017-01-20 11:31:31 +08:00
Xiang Zhang
346454c7f5
Issue #29292 : Merge 3.5.
2017-01-20 11:29:48 +08:00
Xiang Zhang
6ad85bf89a
Issue #29292 : Update outdated doc of PyEval_EvalCodeEx.
...
Patch by Ammar Askar.
2017-01-20 11:29:11 +08:00
Martin Panter
9722d7f142
Issue 29274: Merge doc fixes from 3.6
2017-01-18 12:11:42 +00:00
Martin Panter
4710935b11
Issue 29274: Merge doc fixes from 3.5
2017-01-18 12:11:12 +00:00
Martin Panter
37f183d43d
Issue #29274 : tests cases → test cases
2017-01-18 12:06:38 +00:00
Raymond Hettinger
e12c313f5e
merge
2017-01-16 22:43:43 -08:00
Raymond Hettinger
80490525e0
Issue #29011 : Fix an important omission by adding Deque to the typing module.
2017-01-16 22:42:37 -08:00
Raymond Hettinger
f6b96c7bb5
merge
2017-01-16 22:44:14 -08:00
INADA Naoki
015bce64b3
Issue #26110 : Add document for LOAD_METHOD and CALL_METHOD opcode.
...
Changed stack layout bit for "easy to explain."
2017-01-16 17:23:30 +09:00
INADA Naoki
f25dec904c
Issue #29062 : Doc: Fix make suspicious
2017-01-14 21:04:40 +09:00
INADA Naoki
2e1b6ea4b7
Issue #29062 : Doc: Fix make suspicious
2017-01-14 21:04:21 +09:00
Martin Panter
446a498a63
Merge doc fixes from 3.6
2017-01-14 09:56:00 +00:00
Martin Panter
4659ddc433
Merge doc fixes from 3.5
2017-01-14 09:54:57 +00:00
Martin Panter
8f1378366e
Avoid line breaks after hyphens, otherwise they are turned into spaces
2017-01-14 08:24:20 +00:00
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
2017-01-14 08:23:08 +00:00
Serhiy Storchaka
b2d6179d55
Document Python versions in which the removed features were deprecated.
2017-01-13 21:14:40 +02:00
Serhiy Storchaka
9ed707eb4c
Issue #29197 : Removed deprecated function ntpath.splitunc().
2017-01-13 20:55:05 +02:00
Serhiy Storchaka
4f76fb16b7
Issue #29210 : Removed support of deprecated argument "exclude" in
...
tarfile.TarFile.add().
2017-01-13 13:25:24 +02:00
INADA Naoki
62db0db5cb
Issue #29062 : Merge hashlib-blake2.rst into hashlib.rst
2017-01-13 19:31:15 +09:00
INADA Naoki
e2f9e77df2
Issue #29062 : Merge hashlib-blake2.rst into hashlib.rst
2017-01-13 19:29:58 +09:00
Serhiy Storchaka
cc283378d6
Issue #29192 : Removed deprecated features in the http.cookies module.
2017-01-13 09:23:15 +02:00
Serhiy Storchaka
009b0a1fac
Issue #29193 : A format string argument for string.Formatter.format()
...
is now positional-only.
2017-01-13 09:10:51 +02:00
Alexander Belopolsky
f810d041dc
Closes #28130 : Documented that time.tzset() updates time module globals.
...
Thanks Greg Bengeult for the patch.
2017-01-12 13:17:23 -05:00
Serhiy Storchaka
3159b33a95
Merge with 3.5.
2017-01-11 20:17:34 +02:00
Serhiy Storchaka
87006a3d4a
Issue #20804 : Document the limitation of the unittest.mock.sentinel attributes.
2017-01-11 20:16:44 +02:00
Serhiy Storchaka
d9c956fb23
Issue #20804 : The unittest.mock.sentinel attributes now preserve their
...
identity when they are copied or pickled.
2017-01-11 20:13:03 +02:00
Martin Panter
23e5b82cf7
Issue #29239 : Merge bug number from 3.6
2017-01-11 12:00:39 +00:00
Martin Panter
849b6bd672
Issue #15657 : Merge METH_KEYWORDS doc from 3.6
2017-01-11 11:57:18 +00:00
Martin Panter
ced4b90756
Issue #29239 : Fix --enable-optimizations bug number
2017-01-11 11:56:22 +00:00
Martin Panter
a27b3b3192
Issue #15657 : Merge other doc fix from 3.5
2017-01-11 11:51:02 +00:00