Commit graph

8367 commits

Author SHA1 Message Date
Terry Jan Reedy
4da945f361 Merge Issue #22558. 2016-06-11 15:06:08 -04:00
Terry Jan Reedy
fa089b9b0b Issue #22558: Add remaining doc links to source code for Python-coded modules.
Reformat header above separator line (added if missing) to a common format.
Patch by Yoni Lavi.
2016-06-11 15:02:54 -04:00
Serhiy Storchaka
e670be2273 Issue #27029: Removed deprecated support of universal newlines mode from ZipFile.open(). 2016-06-11 19:32:44 +03:00
Serhiy Storchaka
9bd85b83f6 Issue #27030: Unknown escapes consisting of `'\'` and ASCII letter in
regular expressions now are errors.
2016-06-11 19:15:00 +03:00
Brett Cannon
96881cd621 Issue #27186: Add os.PathLike support to DirEntry
Initial patch thanks to Jelle Zijlstra.
2016-06-10 14:37:21 -07:00
Brett Cannon
568be63248 Issue #27186: Add os.PathLike support to pathlib.
This adds support both to pathlib.PurePath's constructor as well as
implementing __fspath__(). This removes the provisional status for
pathlib.

Initial patch by Dusty Phillips.
2016-06-10 12:20:49 -07:00
Berker Peksag
420e4d843b Issue #27280: Fix typo in IPv6Network documentation
Patch by Arthur Carcano.
2016-06-10 14:26:07 +03:00
Berker Peksag
62e3ad3e03 Issue #27280: Merge from 3.5 2016-06-10 14:26:32 +03:00
Martin Panter
b7bdfcff97 Issue #24617: Merge os.mkdir() doc from 3.5 2016-06-10 08:40:02 +00:00
Berker Peksag
b18ffb4dd8 Add a versionadded directive to os.PathLike 2016-06-10 08:43:54 +03:00
Martin Panter
7082bc37b0 Issue #8491: Merge readline doc from 3.5 2016-06-10 00:39:28 +00:00
Martin Panter
553245c6f5 Issue #8491: Add link to Gnu Readline configuration documentation 2016-06-10 00:27:46 +00:00
Martin Panter
5848ac2df0 Issue #15476: Merge index entries from 3.5 2016-06-09 23:36:40 +00:00
Brett Cannon
b08388d5f2 Issue #27182: Document os.PathLike.
Part of PEP 519.
2016-06-09 15:58:06 -07:00
Brett Cannon
516f5461b0 Add a missing :term:. 2016-06-09 15:55:52 -07:00
Brett Cannon
0fa1aa1975 Clarify the os.fspath() documentation. 2016-06-09 14:37:06 -07:00
Yury Selivanov
7a713386d8 Merge 3.5 (asyncio) 2016-06-08 13:57:23 -04:00
Yury Selivanov
c1cf296de6 asyncio: Remove asyncio.timeout() context manager.
It will probably be added back in Python 3.6, once its compatibility
issues are resolved; see [1] for more details.

[1] https://mail.python.org/pipermail/async-sig/2016-June/000045.html
2016-06-08 13:57:03 -04:00
Yury Selivanov
81d167a4c5 Merge 3.5 (asyncio, issue #27136) 2016-06-08 12:48:34 -04:00
Yury Selivanov
55c5084223 Issue #27136: Update asyncio docs 2016-06-08 12:48:15 -04:00
Berker Peksag
3c923eac4d Issue #21593: Merge from 3.5 2016-06-08 14:57:24 +03:00
Berker Peksag
84f387d420 Issue #21593: Clarify that re.search() returns the first match 2016-06-08 14:56:56 +03:00
Martin Panter
40de69ac58 Issue #25738: Merge HTTP server from 3.5 2016-06-08 09:45:58 +00:00
Martin Panter
e42e129ebe Issue #25738: Don’t send message body for 205 Reset Content
Patch by Susumu Koshiba.
2016-06-08 08:29:13 +00:00
Victor Stinner
9ff9cbd600 Merge 3.5 (os.urandom) 2016-06-07 11:25:43 +02:00
Victor Stinner
dddf4849ec os.urandom() doesn't block on Linux anymore
Issue #26839: On Linux, os.urandom() now calls getrandom() with GRND_NONBLOCK
to fall back on reading /dev/urandom if the urandom entropy pool is not
initialized yet. Patch written by Colm Buckley.
2016-06-07 11:21:42 +02:00
Ned Deily
223b874c00 Issue #26014: merge from 3.5 2016-06-05 17:39:58 -07:00
Ned Deily
8f5798edfb Issue #26014: Update 3.x packaging documentation:
- "See also" links to the new docs are now provided in the legacy pages
- links to setuptools documentation have been updated

(original patch by Susan Sun)
2016-06-05 17:38:48 -07:00
Martin Panter
ff5cd4576f Issue #24291: Merge wsgi partial write fix from 3.5 2016-06-05 06:56:51 +00:00
Martin Panter
ed0425c60a Issue #24291: Avoid WSGIRequestHandler doing partial writes
If the underlying send() method indicates a partial write, such as when the
call is interrupted to handle a signal, the server would silently drop the
remaining data.

Also add deprecated support for SimpleHandler.stdout.write() doing partial
writes.
2016-06-05 06:28:55 +00:00
Berker Peksag
94f89a6e02 Fix typos in datetime documentation. 2016-06-04 21:36:53 -07:00
Nick Coghlan
b4b966ece2 Issue #19611: handle implicit parameters in inspect.signature
inspect.signature now reports the implicit ``.0`` parameters generated by
the compiler for comprehension and generator expression scopes as if they
were positional-only parameters called ``implicit0``.

Patch by Jelle Zijlstra.
2016-06-04 14:40:03 -07:00
Ethan Furman
d62548afed issue27186: add open/io.open; patch by Jelle Zijlstra 2016-06-04 14:38:43 -07:00
Kushal Das
c79b06c35c Issue #19234: Merge from 3.5 2016-06-04 10:21:36 -07:00
Kushal Das
89beb27061 Issue #19234: Documents socket.fileno() returns -1 on failure 2016-06-04 10:20:12 -07:00
Ned Deily
7a3827f61f Issue 27216: Fix typo (noticed by Alex Chan). 2016-06-04 09:41:05 -07:00
Ned Deily
32db43867c Issue 27216: Fix typo (noticed by Alex Chan). 2016-06-04 09:40:40 -07:00
Martin Panter
19409197e2 Merge typo fixes from 3.5 2016-06-04 05:26:40 +00:00
Martin Panter
3ee6270262 Fix typos in code comment and documentation 2016-06-04 04:57:19 +00:00
R David Murray
11aaa42d1c psuedo merge: #22797: clarify when URLErrors are raised by urlopen.
I'm not sure how my previous merge commit got screwed up, hopefully this
one will do the right thing.
2016-06-03 15:40:29 -04:00
R David Murray
21dcb932a7 #22797: clarify when URLErrors are raised by urlopen. 2016-06-03 13:29:17 -04:00
Senthil Kumaran
194a4a245a [merge from 3.5] - issue27113 - Document "check_same_thread" parameter in sqlite3.connect api.
Patch contributed by Dave Sawyer.
2016-06-03 00:04:28 -07:00
Senthil Kumaran
7ee91942b4 issue27113 - Document "check_same_thread" parameter in sqlite3.connect api.
Patch contributed by Dave Sawyer.
2016-06-03 00:03:48 -07:00
Senthil Kumaran
464afee749 [merge from 3.5] - issue8519 - Reference termios and ioctl manual pages in the library documentation. 2016-06-02 23:50:02 -07:00
Senthil Kumaran
0779129302 issue8519 - Reference termios and ioctl manual pages in the library documentation. 2016-06-02 23:49:05 -07:00
Gregory P. Smith ext:(%20%5BGoogle%20Inc.%5D)
287e687648 issue25931: document that socketserver.Forking* are unavailable on platforms
lacking os.fork().
2016-06-03 05:44:47 +00:00
Gregory P. Smith ext:(%20%5BGoogle%20Inc.%5D)
3498db1f78 merge 3.5 2016-06-03 00:33:02 +00:00
Gregory P. Smith ext:(%20%5BGoogle%20Inc.%5D)
583a1d6240 Document that CalledProcessError.returncode is the negative
signal number when the process died due to a signal.
2016-06-03 00:31:21 +00:00
R David Murray
3bad04ca62 Merge: #26829: Clarify that namespace is copied to a new __dict__ in instance creation. 2016-06-02 20:06:13 -04:00
R David Murray
dd4fcf52f4 #26829: Clarify that namespace is copied to a new __dict__ in instance creation.
Patch by Emily Morehouse.
2016-06-02 20:05:43 -04:00