Commit graph

7739 commits

Author SHA1 Message Date
Martin Panter
9a8b5ca2d7 Issue #27311: Merge zipfile doc from 3.5 2016-06-15 01:05:27 +00:00
Martin Panter
71e86367e0 Issue #27311: Fix ZipFile.writestr data argument name.
Patch by John Hagen.
2016-06-15 00:24:34 +00:00
Berker Peksag
e0b70cd8a9 Issue #16864: Cursor.lastrowid now supports REPLACE statement
Initial patch by Alex LordThorsen.
2016-06-14 15:25:36 +03:00
Berker Peksag
4762d5d5d1 Merge from 3.5 2016-06-14 12:51:28 +03:00
Berker Peksag
48b13f0427 Delete outdated paragraph about OptimizedUnicode again
sqlite3.OptimizedUnicode is an alias for str in Python 3 and
its behavior is already tested in CheckOptimizedUnicode in
Lib/sqlite3/test/factory.py.

sqlite3.OptimizedUnicode was undocumented in 0fc10a33eb4c and
probably added back with the result of a bad merge.
2016-06-14 12:51:07 +03:00
Martin Panter
6d1d2f229e Issue #16182: Merge readline update from 3.5 2016-06-14 08:49:51 +00:00
Martin Panter
6afbc653a7 Issue #16182: set_pre_input_hook() may not exist; document, and update test 2016-06-14 08:45:43 +00:00
Berker Peksag
c4e1e19f12 Issue #27306: Merge from 3.5 2016-06-14 00:49:05 +03:00
Berker Peksag
9748478086 Issue #27306: Fix typo in tarfile documentation
Patch by Gareth Rees.
2016-06-14 00:48:35 +03:00
Serhiy Storchaka
64204de04c Issue #27095: Simplified MAKE_FUNCTION and removed MAKE_CLOSURE opcodes.
Patch by Demur Rumed.
2016-06-12 17:36:24 +03:00
Berker Peksag
96471105f4 Issue #27188: Merge from 3.5 2016-06-12 13:42:12 +03:00
Berker Peksag
c415440faa Issue #27188: Fix various sqlite3 documentation errors
* Connection.execute* methods don't create intermediate cursor objects
* Fix description of seq_of_parameters parameter
* Clarify that Warning is sqlite3.Warning
* sql_script parameter of Cursor.executescript() doesn't accept bytes
* Add missing tests
* Fix various markup errors

Initial patch by Dave Sawyer.
2016-06-12 13:41:47 +03:00
Berker Peksag
89f27e5888 Merge from 3.5 2016-06-12 12:26:08 +03:00
Berker Peksag
00eaa8a53b Use exc role for ValueError in multiprocessing.rst 2016-06-12 12:25:43 +03:00
Berker Peksag
db287b5ca7 Issue #27221: Merge from 3.5 2016-06-12 12:19:39 +03:00
Berker Peksag
0b19e1e72c Issue #27221: Delete an outdated paragraph about pickle support of Process
Initial patch by Jelle Zijlstra.
2016-06-12 12:19:13 +03:00
Martin Panter
98e9051577 Add grammatical article to “an ASCII letter” 2016-06-12 06:17:29 +00:00
Martin Panter
99cb0cda15 Issue #24136: Merge unpacking doc from 3.5 2016-06-12 01:55:03 +00:00
Martin Panter
0c0da48aed Issue #24136: Document generalized unpacking, PEP 448
Based on patches by Konstantin Molchanov and Neil Girdhar.
2016-06-12 01:46:50 +00:00
Gregory P. Smith
7bfb415c8d Clarify that md5 is in the algorithms_guaranteed list despite what
some upstream vendors may do to their odd "FIPS compliant" builds.
issue15468.
2016-06-11 18:02:13 -07:00
Gregory P. Smith
8907dcd3ff issue15468 - use sha256 instead of md5 or sha1 in the examples.
document that md5 may be missing in the rare case someone is using a
"FIPS compliant" build.  I've only ever heard of Redhat creating one
of those - CPython itself offers no such build mode out of the box.
2016-06-11 17:56:12 -07:00
Serhiy Storchaka
6a7506a77f Issue #27140: Added BUILD_CONST_KEY_MAP opcode. 2016-06-12 00:39:41 +03:00
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