Commit graph

95206 commits

Author SHA1 Message Date
Zachary Ware
8ec8749a38 Closes #27722: Merge with 3.5 2016-08-09 17:10:53 -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
f03f7c75d8 Closes #27204: Merge with 3.5 2016-08-09 17:05:23 -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
1aa913e134 Merge with 3.5 2016-08-09 16:21:17 -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
Vinay Sajip
3f2de47ae3 Closes #21999: (Empty) merge from 3.5. 2016-08-09 15:07:06 +01:00
Vinay Sajip
085e806798 Closes #21999: Handled empty strings correctly when in POSIX mode. 2016-08-09 15:04:49 +01:00
Steven D'Aprano
9a2be91c6b Issue27181 add geometric mean. 2016-08-09 13:58:10 +10:00
Steven D'Aprano
e7fef52f98 Tighten up test of harmonic mean on a single value. 2016-08-09 13:19:48 +10:00
Steven D'Aprano
3e8616abcd Automated merge with ssh://hg.python.org/cpython 2016-08-09 12:49:20 +10:00
Steven D'Aprano
a474afdddc Add harmonic mean and tests. 2016-08-09 12:49:01 +10:00
Guido van Rossum
2b0bb0d295 Issue #27700: Document AbstractEventLoop, not BaseEventLoop. (Merge 3.5->3.6) 2016-08-08 14:43:46 -07:00
Alexander Belopolsky
47649ab1f1 Closes #27710: Disallow fold not in [0, 1] in time and datetime constructors. 2016-08-08 17:05:40 -04:00
Guido van Rossum
f68afd8544 Issue #27700: Document AbstractEventLoop, not BaseEventLoop. 2016-08-08 09:41:21 -07:00
Berker Peksag
95e0df8389 Issue #27702: Only expose SOCK_RAW when defined
SOCK_RAW is marked as optional in the POSIX specification:

    http://pubs.opengroup.org/onlinepubs/9699919799/basedefs/sys_socket.h.html

Patch by Ed Schouten.
2016-08-08 14:07:05 +03:00
Berker Peksag
e1d22fda7e Expose EPOLLRDHUP conditionally 2016-08-08 13:39:43 +03:00
Berker Peksag
1107f09bfc Merge from 3.5 2016-08-08 13:35:27 +03:00
Berker Peksag
08d85ee78d Fix use of default reST role 2016-08-08 13:34:49 +03:00
Berker Peksag
f4c69ab0ed Issue #23322: Merge from 3.5 2016-08-08 13:07:35 +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
Raymond Hettinger
08eef3ff49 Re-linewrap comments 2016-08-07 20:20:33 -07:00
Andrew Svetlov
2b1c45ed54 Merge 3.5 2016-08-08 03:11:06 +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
Gregory P. Smith
50abe877ee Issue #27664: Add to concurrent.futures.thread.ThreadPoolExecutor()
the ability to specify a thread name prefix.
2016-08-07 10:19:20 -07:00
Gregory P. Smith
d0d24fd1ae Issue #26750: unittest.mock.create_autospec() now works properly for
subclasses of property() and other data descriptors.  Removes the never
publicly used, never documented unittest.mock.DescriptorTypes tuple.
2016-08-07 09:06:27 -07:00
Gregory P. Smith
9854789efe Issue #26750: unittest.mock.create_autospec() now works properly
for subclasses of property() and other data descriptors.
2016-08-07 08:52:26 -07:00
Guido van Rossum
3cc38327b6 Better docs for typing.Any by Michael Lee. Fixes issue #27688. (Merge 3.5->3.6) 2016-08-06 13:48:10 -07:00
Guido van Rossum
abfe28b012 Better docs for typing.Any by Michael Lee. Fixes issue #27688. 2016-08-06 13:46:48 -07:00
Serhiy Storchaka
febc332056 Issue #26754: Undocumented support of general bytes-like objects
as path in compile() and similar functions is now deprecated.
2016-08-06 23:29:29 +03:00
Serhiy Storchaka
d73c31899e Issue #26800: Undocumented support of general bytes-like objects
as paths in os functions is now deprecated.
2016-08-06 23:22:08 +03:00
Berker Peksag
43b586b951 Silence warnings from 'make suspicious' to make the docs buildbot happy 2016-08-06 13:37:22 +03:00
Vinay Sajip
fd0f84bd8f Closes #22829: Added --prompt option to venv. 2016-08-06 10:43:44 +01:00
Vinay Sajip
c075201147 Closes #27650: Implemented repr methods for logging objects. 2016-08-06 10:28:31 +01:00
Berker Peksag
933c66af56 Issue #18548: Merge from 3.5 2016-08-06 03:00:30 +03:00
Berker Peksag
ab75e02f5c Issue #18548: Fix unittest.TestSuite() example
Initial patch by py.user.
2016-08-06 03:00:03 +03:00
Ethan Furman
73fc586d9f Add AutoEnum: automatically provides next value if missing. Issue 26988. 2016-08-05 16:03:16 -07:00
Ethan Furman
20bd9f033a Clarify NotImplemented vs NotImplementedError. Initial patch by Emmanuel Barry. Closes issue 27242. 2016-08-05 15:10:16 -07:00
Vinay Sajip
a9391a4522 Closes #20160: Merged fix from 3.5. 2016-08-05 21:44:52 +01:00
Vinay Sajip
0b588869ee Issue #20160: Merged fix from 3.4. 2016-08-05 21:44:15 +01:00
Vinay Sajip
a0b2568627 Issue #20160: Merged fix from 3.3. 2016-08-05 21:43:25 +01:00
Vinay Sajip
6f25003291 Issue #20160: Handled passing of large structs to callbacks correctly. 2016-08-05 21:24:27 +01:00
Guido van Rossum
b6337a1145 Add typing.Generator docs, by Michael Lee. (Merge 3.5->3.6) 2016-08-05 12:57:38 -07:00
Guido van Rossum
b858af61b9 Add typing.Generator docs, by Michael Lee. 2016-08-05 12:56:09 -07:00
Martin Panter
02b75abf73 Merge spelling and grammar fixes from 3.5 2016-08-05 01:51:39 +00:00
Zachary Ware
a31ddb3351 Merge with 3.5 2016-08-04 12:14:51 -05:00
Zachary Ware
72e483aac4 Fix half-finished sentence.
Reported by Linda Pescatore on docs@.
2016-08-04 12:13:47 -05:00
Berker Peksag
6090194ef7 Merge from 3.5 2016-08-04 17:26:00 +03:00
Berker Peksag
85b6090768 Fix indentation of versionadded directive in IPv4Address.reverse_pointer docs 2016-08-04 17:25:40 +03:00
Berker Peksag
8576ca1970 Merge from 3.5 2016-08-04 17:22:05 +03:00