Zachary Ware
a3090a4b79
Issue #19489 : Move the search box from sidebar to header and footer.
2016-09-09 13:11:27 -07:00
Benjamin Peterson
c1db513e36
repair errors in (set|get)_task_factory note ( #28051 )
2016-09-09 12:46:42 -07:00
Gregory P. Smith ext:(%20%5BGoogle%20Inc.%5D)
cb3f2c8f97
Add a note about queue not being safe for use from signal handlers.
...
issue14976.
2016-09-09 12:30:34 -07:00
Steve Dower
de02b084e6
Closes #22731 : Documents change of console mode.
2016-09-09 11:46:37 -07:00
Senthil Kumaran
5dc504c3c9
Issue28010 - Make http.client.HTTPConnection.putrequest documentation consistent with the code.
2016-09-08 14:28:01 -07:00
Martin Panter
0f0eac431f
Issue #27993 : Fix problems with plural objects in docs and comments
2016-09-07 11:04:41 +00:00
Martin Panter
0be894b2f6
Issue #27895 : Spelling fixes (Contributed by Ville Skyttä).
2016-09-07 12:03:06 +00:00
R David Murray
6b46ec7733
#26209 : Clarify type of *localaddr*/*remoteadr* in smtpd docs.
2016-09-07 14:01:23 -04:00
Senthil Kumaran
32d374215a
[backport to 3.5] - issue26896 - Disambiguate uses of "importer" with "finder".
2016-09-07 00:52:20 -07:00
Guido van Rossum
e848cd7605
Issue #27905 : Docs for typing.Type[C], by Michael Lee.
2016-09-06 21:12:44 -07:00
Berker Peksag
a1bc246dd5
Use shorter version of Connection.isolation_level in sqlite3.rst
2016-09-07 04:02:41 +03:00
Christian Heimes
03d13c0cbf
Issues #27850 and #27766 : Remove 3DES from ssl default cipher list and add ChaCha20 Poly1305.
2016-09-06 20:06:47 +02:00
Senthil Kumaran
4672060d86
Update pkgutil docs to reference appropriate finder and loader object documentation.
...
Initial patch contributed by Jaysinh shukla.
2016-09-05 17:11:51 -07:00
Christian Heimes
598894ff48
Issue #26470 : Port ssl and hashlib module to OpenSSL 1.1.0.
2016-09-05 23:19:05 +02:00
Benjamin Peterson
f7e2ea2f33
remove ungrammarical apostrophe ( closes #27957 )
2016-09-05 14:02:59 -07:00
Raymond Hettinger
f5b7c7bfc1
Improve recipe by showing results of intermediate steps
2016-09-05 13:15:02 -07:00
Raymond Hettinger
871a3340b7
Issue 27936: Update doc for round() to indicate that None is an allowable argument.
2016-09-04 11:28:56 -07:00
Raymond Hettinger
16eb827b33
Improve docs for random.seed()
2016-09-04 11:17:28 -07:00
R David Murray
74eda76085
#27893 : arg name and bytes references in email.parser docs.
...
Perhaps the BytesParser 'text' argument should really be bytes, but
it hasn't been, it has been text, so for backward compatibility
and for consistency with the regular Parser class, I'm keeping it
as 'text'.
2016-08-30 21:17:02 -04:00
Terry Jan Reedy
3399e1e38c
? Working Directory ?
2016-08-30 16:58:01 -04:00
Raymond Hettinger
624e222604
Fix typos
2016-08-30 13:25:06 -07:00
Zachary Ware
f0a71cf424
Fix typo
2016-08-30 00:16:13 -05:00
Serhiy Storchaka
ef113cd4cc
Issue #27861 : Fixed a crash in sqlite3.Connection.cursor() when a factory
...
creates not a cursor. Patch by Xiang Zhang.
2016-08-29 14:29:55 +03:00
Raymond Hettinger
7ea386e56e
Issue 19504: Change "customise" to "customize" American spelling.
2016-08-25 21:11:50 -07:00
Vinay Sajip
37cac76100
Issue #23746 : Clarified is_python_build() documentation.
2016-08-25 15:13:24 +01:00
Terry Jan Reedy
1f8cc33f88
Issue #25564 : Mention exec and __builtins__ in IDLE-console difference section.
2016-08-25 01:22:30 -04:00
Terry Jan Reedy
de260a6fa8
Fix misspelling
2016-08-24 17:52:57 -04:00
Berker Peksag
7d92f892b4
Fix typo in Cursor.execute().
2016-08-25 00:50:24 +03:00
Berker Peksag
ed789f9cf9
Issue #6057 : Document exceptions in sqlite3 module
...
Patch by Jaysinh Shukla and Stéphane Wirtel.
2016-08-25 00:45:07 +03:00
R David Murray
48de28290c
#25916 : fix a few 'string of bytes' references.
...
Patch by SilengGhost.
2016-08-23 20:43:56 -04:00
Nick Coghlan
8682f578c1
Issue #27782 : Fix m_methods handling in multiphase init
...
Multi-phase extension module import now correctly allows the
``m_methods`` field to be used to add module level functions
to instances of non-module types returned from ``Py_create_mod``.
Patch by Xiang Zhang.
2016-08-21 17:41:56 +10:00
Martin Panter
d210a70dd9
Minor spelling fixes
2016-08-20 08:03:06 +00:00
Berker Peksag
f43bc98c48
Issue #12982 : Thanks to PEP 488, Python no longer creates .pyo files
2016-08-20 11:11:52 +03:00
Berker Peksag
c01e766b54
Issue #12946 : Document that PyModule_GetDict can fail in some cases
2016-08-19 11:51:39 +03:00
Zachary Ware
54005afeee
Use sys.version_info, not sys.version.
...
sys.version[0] gives a string, which fails > comparison with 2.
Reported by Arne Maximilian Richter on docs@
2016-08-17 09:51:20 -05:00
Raymond Hettinger
379a3ffaf2
Remove duplicate of the entry in the seealso section
2016-08-16 10:59:04 -07:00
Guido van Rossum
aa9560c633
Add docs for typing.AnyStr and typing.Text. By Michael Lee.
2016-08-15 15:06:38 -07:00
R David Murray
689016fc00
#27753 : fix typo (name->named).
2016-08-13 14:47:18 -04:00
Raymond Hettinger
f6ffa9826e
Issue #27720 : Fix error in eng_to_decimal docs and add examples from the specification.
...
(Based on a first draft patch from Evelyn Mitchell.)
2016-08-13 11:15:34 -07:00
Berker Peksag
bd664357f1
Issue #24637 : Document that locals can be any mapping object
...
This behavior is already tested in test_general_eval in
Lib/test/test_builtin.py
Patch by Matthew Keeter.
2016-08-13 05:37:49 +03:00
Brett Cannon
6336fb2734
Issue #27712 : Fix some typos in the import docs.
...
Thanks to Xiang Zhang for the patch.
2016-08-12 10:56:48 -07:00
Raymond Hettinger
7f65af3d2d
Issue 27719: Remove a doc example that is not applicable in Python 3
2016-08-12 09:43:59 -07:00
Martin Panter
b4a2b36c99
Issue #27745 : Fix some typos in Argument Clinic howto, by Lele Gaifax
2016-08-12 12:02:03 +00:00
Martin Panter
540f0451d2
Correct misspellings of ISO-8859
2016-08-10 05:25:16 +00:00
Zachary Ware
4199bbaf63
Issue #27200 : Fix doctests in Doc/library/hashlib.rst
2016-08-10 01:05:19 -05:00
Zachary Ware
9f8b3a0b92
Issue #27210 : Fix doctests for a few modules.
...
Initial patch by Jelle Zijlstra.
2016-08-10 00:59:59 -05:00
Zachary Ware
640b1ca507
Issue #27209 : Fix doctests in Doc/library/email*.rst
...
Patch by Jelle Zijlstra.
2016-08-10 00:39:41 -05:00
Zachary Ware
c90fccdff6
Issue #27208 : Fix doctest in Doc/library/traceback.rst
...
Patch by Jelle Zijlstra.
2016-08-10 00:35:27 -05:00
Zachary Ware
4032620f93
Issue #27207 : Fix doctests in Doc/whatsnew/3.2.rst
...
Initial patch by Jelle Zijlstra.
2016-08-10 00:30:41 -05:00
Zachary Ware
c483a01a8f
Issue #27206 : Fix doctests in Doc/tutorial.
...
Patch by Jelle Zijlstra.
2016-08-09 17:44:52 -05:00
Zachary Ware
2b52c0a25f
Issue #27205 : Fix doctests in Doc/library/collections.rst.
...
Initial patch by Jelle Zijlstra.
2016-08-09 17:38:22 -05:00
Zachary Ware
7a26da5845
Issue #27722 : Fix default for touch method's 'mode' argument
2016-08-09 17:10:39 -05:00
Zachary Ware
378a1d77d9
Issue #27204 : Fix doctests in Doc/howto
...
Patch by Jelle Zijlstra.
2016-08-09 16:47:04 -05:00
Zachary Ware
2f47fb0021
Correct signatures for a couple of logging handlers
...
Reported by Oleg Gromyak on docs@
2016-08-09 16:20:41 -05:00
Guido van Rossum
f68afd8544
Issue #27700 : Document AbstractEventLoop, not BaseEventLoop.
2016-08-08 09:41:21 -07:00
Berker Peksag
08d85ee78d
Fix use of default reST role
2016-08-08 13:34:49 +03:00
Berker Peksag
7d1c5efed1
Issue #23322 : Remove outdated reference to an example in parser docs
...
Initial patch by Sahil Chelaramani.
2016-08-08 13:07:08 +03:00
Andrew Svetlov
4365b8302d
Use asyncio.gather instead of asyncio.wait in example.
...
gather will raise exception in case of problem but wait just returns done and pending lists of futures.
For getting error every future result should be retrieved, which is boring and error prone.
2016-08-08 03:10:39 +03:00
Guido van Rossum
abfe28b012
Better docs for typing.Any by Michael Lee. Fixes issue #27688 .
2016-08-06 13:46:48 -07:00
Berker Peksag
ab75e02f5c
Issue #18548 : Fix unittest.TestSuite() example
...
Initial patch by py.user.
2016-08-06 03:00:03 +03:00
Guido van Rossum
b858af61b9
Add typing.Generator docs, by Michael Lee.
2016-08-05 12:56:09 -07:00
Martin Panter
69332c1a64
Fix spelling and grammar in documentation and code comments
2016-08-04 13:07:31 +00:00
Zachary Ware
72e483aac4
Fix half-finished sentence.
...
Reported by Linda Pescatore on docs@.
2016-08-04 12:13:47 -05:00
Berker Peksag
85b6090768
Fix indentation of versionadded directive in IPv4Address.reverse_pointer docs
2016-08-04 17:25:40 +03:00
Berker Peksag
6bbc83986d
Indent ipaddress.ip_address() example correctly
2016-08-04 17:21:46 +03:00
Martin Panter
6c7d5a2553
Issue #24278 : Explain how argument parsing output buffers are managed
2016-08-03 14:35:05 +00:00
Berker Peksag
bed6891c77
Issue #23710 : Update PyObject_HEAD documentation
...
Since PEP 3123, PyObject_HEAD only has one field named ob_base.
Users now need to use the Py_TYPE macro instead of self->ob_type.
Initial patch by Ammar Askar.
2016-08-03 12:58:49 +03:00
Berker Peksag
6cafececbf
Issue #26576 : Clarify that the @deco syntax is not always an equivalent of f = deco(f)
...
Patch by Chris Angelico.
2016-08-03 10:17:21 +03:00
Senthil Kumaran
17742f2d45
[merge from 3.4] - Prevent HTTPoxy attack (CVE-2016-1000110)
...
Ignore the HTTP_PROXY variable when REQUEST_METHOD environment is set, which
indicates that the script is in CGI mode.
Issue #27568 Reported and patch contributed by Rémi Rampin.
2016-07-30 23:39:06 -07:00
Senthil Kumaran
436fe5a447
[merge from 3.3] Prevent HTTPoxy attack (CVE-2016-1000110)
...
Ignore the HTTP_PROXY variable when REQUEST_METHOD environment is set, which
indicates that the script is in CGI mode.
Issue #27568 Reported and patch contributed by Rémi Rampin.
2016-07-30 23:34:34 -07:00
Senthil Kumaran
4cbb23f8f2
Prevent HTTPoxy attack (CVE-2016-1000110)
...
Ignore the HTTP_PROXY variable when REQUEST_METHOD environment is set, which
indicates that the script is in CGI mode.
Issue #27568 Reported and patch contributed by Rémi Rampin.
2016-07-30 23:24:16 -07:00
Berker Peksag
fa95068081
Silence another "default role used" warning in typing.rst
...
This should make ware-docs green again.
2016-07-30 03:47:52 +03:00
Guido van Rossum
c301cbf445
Fix whitespace.
2016-07-29 15:41:17 -07:00
Guido van Rossum
342e800e97
Expand documentation about type aliases and NewType in the typing module.
...
By Michael Lee.
2016-07-29 15:38:14 -07:00
Martin Panter
1050d2d0c7
Issue #26462 : Doc: reduce literal_block warnings, fix syntax highlighting.
...
Patch by Julien Palard.
2016-07-26 11:18:21 +02:00
Zachary Ware
87ec85f420
Correct typo in Windows docs.
...
Found by Jack Copper on docs@
2016-07-28 19:00:53 -05:00
Martin Panter
eb9957065a
Issue #27626 : Spelling fixes in docs, comments and internal names
...
Based on patch by Ville Skyttä.
2016-07-28 01:11:04 +00:00
Berker Peksag
25539b089f
Issue #27633 : Fix usage of versionchanged directive in email.parser.rst
...
Patch by Florian Preinstorfer.
2016-07-27 13:32:54 +03:00
Martin Panter
254da19d0e
Issue #26638 : Don’t link 2to3 -l option to the tarfile -l option
2016-07-26 06:46:06 +00:00
Berker Peksag
aa46bd461c
Issue #27601 : Improve example in the "Hashing of numeric types" section
...
* Fix return value of hash_compute() implementation
* Rename variable names to hash_value to improve readability
Patch by Emanuel Barry.
2016-07-25 04:55:51 +03:00
Martin Panter
84544c1020
Issue #27130 : Fix handling of buffers exceeding UINT_MAX in “zlib” module
...
Patch by Xiang Zhang.
2016-07-23 03:02:07 +00:00
Zachary Ware
48e3f98206
Issue #25393 : Fix probable copy/paste error in resource docs
...
Patch by Alakshendra Yadav.
2016-07-19 16:41:20 -05:00
Martin Panter
221945056d
Issue #27528 : Document and test warning messages must match at beginning
2016-07-19 02:26:38 +00:00
Berker Peksag
ebf9fd31a8
Issue #27531 : Update signature of Mock.assert_not_called method
...
Since 01ae1ac2daf4, it doesn't accept any arguments.
Patch by Michael Killough.
2016-07-17 15:26:46 +03:00
Brett Cannon
9305bba203
Issue #26696 : Document collections.abc.ByteString.
...
Thanks to Xiang Zhang for the patch.
2016-07-15 12:16:18 -07:00
Berker Peksag
2b8792137b
Issue #27180 : Clarify Path.rename() behavior on Unix systems
...
Patch by Evelyn Mitchell.
2016-07-14 07:44:59 +03:00
Berker Peksag
3093bf163b
Issue #27455 : Improve examples in tkinter documentation
...
Patch by John Hagen.
2016-07-14 07:32:43 +03:00
Serhiy Storchaka
6f379f4886
Issue #27481 : Docummented that ValueError is now raised instead of TypeError
...
in case of embedded null characters/bytes. Patch by Xiang Zhang.
2016-07-12 09:14:15 +03:00
Martin Panter
204bf0b9ae
English spelling and grammar fixes
2016-07-11 07:51:37 +00:00
R David Murray
7a139c50db
#26176 : fix usage of Address constructor in email examples.
...
Patch by Nathan Harold.
2016-07-10 13:59:01 -04:00
Berker Peksag
e75ffa965b
Add versionadded to PyDict_SetDefault documentation
...
It was added for Python 3.4 in a0b750ea3397.
2016-07-05 17:08:29 +03:00
Berker Peksag
8faca61fec
Issue #27431 : Update default protocol version in shelve.Shelf() documentation
...
shelve.open() documentation was updated in f351fb7ea179.
2016-07-01 12:33:00 +03:00
Berker Peksag
e39682b076
Issue #27430 : Fix typos, patch by scop.
2016-07-01 12:17:05 +03:00
Serhiy Storchaka
15287f8bcc
Issue #4945 : Improved the documenting of boolean arguments in the json module.
...
Based on patch by Gabriel Genellina.
2016-06-30 13:59:12 +03:00
Victor Stinner
0ab67dfb7c
Issue #27416 : clarify copy doc
...
Patch written by R. David Murray.
2016-06-30 11:50:23 +02:00
Guido van Rossum
457509826e
Fix issue #27402 : example for typing did not type-check.
2016-06-28 10:08:17 -07:00
Berker Peksag
6803f35acc
Issue #27393 : Fix escaping of C:\ too
2016-06-27 13:10:47 +03:00
Berker Peksag
9c1e9d453c
Issue #27393 : Fix escaping of venv activate commands on Windows
...
Patch by Manuel Kaufmann.
2016-06-27 09:51:40 +03:00
Brett Cannon
559ad5d401
Remove a stale reference to pathlib.PurePath.path
2016-06-24 12:22:14 -07:00
Berker Peksag
a064382925
Issue #27381 : Remove superfluous paren in zipfile documentation
2016-06-24 12:56:50 +03:00