Commit Graph

20097 Commits

Author SHA1 Message Date
Ned Deily 7d6dd05d85 Remove spurious article. 2016-10-15 15:14:54 -04:00
Ned Deily bf7dcb9cd0 Remove spurious article. 2016-10-15 15:13:20 -04:00
Ned Deily 11194f7e0f Remove spurious article. 2016-10-15 15:12:03 -04:00
Martin Panter 20e086efc7 Issue #27800: Merge RE repetition doc from 3.6 2016-10-15 01:39:21 +00:00
Martin Panter 479eb760f4 Issue #27800: Merge RE repetition doc from 3.5 into 3.6 2016-10-15 01:39:01 +00:00
Martin Panter 684340ede5 Issue #27800: Document limitation and workaround for multiple RE repetitions 2016-10-15 01:18:16 +00:00
Martin Panter 8a42581bc2 Issue #23231: Merge codecs doc from 3.6 2016-10-15 01:04:36 +00:00
Martin Panter 36700e4578 Issue #23231: Merge codecs doc from 3.5 into 3.6 2016-10-15 01:04:08 +00:00
Martin Panter c73e9d844f Issue #23231: Document codecs.iterencode(), iterdecode() shortcomings 2016-10-15 00:56:47 +00:00
Senthil Kumaran a1cc98bb8f [merge from 3.6] Issue28438 - Fix the link for pkgutil.get_data doc.
Patch contributed by Xiang Zhang.
2016-10-13 23:00:37 -07:00
Senthil Kumaran c972d1c76f [merge from 3.5] Issue28438 - Fix the link for pkgutil.get_data doc.
Patch contributed by Xiang Zhang.
2016-10-13 22:59:36 -07:00
Senthil Kumaran 1cea56b597 Issue28438 - Fix the link for pkgutil.get_data doc. Patch contributed by Xiang Zhang. 2016-10-13 22:58:47 -07:00
Guido van Rossum 174d79a284 Issue #18789: Update XML vulnerability table to use Safe/Vulnerable instead of No/Yes. (3.6->3.7) 2016-10-13 14:32:55 -07:00
Guido van Rossum a0ef768ddf Issue #18789: Update XML vulnerability table to use Safe/Vulnerable instead of No/Yes. (3.5->3.6) 2016-10-13 14:32:33 -07:00
Guido van Rossum e1478e4ae2 Issue #18789: Update XML vulnerability table to use Safe/Vulnerable instead of No/Yes. 2016-10-13 14:31:50 -07:00
Guido van Rossum 54aced7175 Issue #26869: Document unittest.TestCase.longMessage. (Mariatta) (3.6->3.7) 2016-10-13 14:24:47 -07:00
Guido van Rossum 5236ac600e Issue #26869: Document unittest.TestCase.longMessage. (Mariatta) (3.5->3.6) 2016-10-13 14:24:23 -07:00
Guido van Rossum 4a4523523e Issue #26869: Document unittest.TestCase.longMessage. (Mariatta) 2016-10-13 14:23:01 -07:00
Guido van Rossum 0b2304786b Issue #21443: Show how to change log level for asyncio. (Merge 3.6->3.7) 2016-10-13 13:57:39 -07:00
Guido van Rossum a03b1ea411 Issue #21443: Show how to change log level for asyncio. (Merge 3.5->3.6) 2016-10-13 13:57:17 -07:00
Guido van Rossum ba29a4fd82 Issue #21443: Show how to change log level for asyncio. 2016-10-13 13:56:40 -07:00
Raymond Hettinger 22e25cb1db merge 2016-10-12 01:42:40 -04:00
Raymond Hettinger 1c3a121bb0 Issue #18844: Fix-up examples for random.choices(). Remove over-specified test. 2016-10-12 01:42:10 -04:00
Martin Panter dd21cc3516 Issue #28394: Merge typo fixes from 3.6 2016-10-10 00:42:50 +00:00
Martin Panter b1321fba53 Issue #28394: More typo fixes for 3.6+ 2016-10-10 00:38:21 +00:00
Berker Peksag f3fc3b06c4 Issue #28389: Merge from 3.6 2016-10-09 18:19:12 +03:00
Berker Peksag 75907bc5b5 Issue #28389: Merge from 3.5 2016-10-09 18:18:55 +03:00
Berker Peksag 0aa7887f43 Issue #28389: Fix ProxiedTransport example in xmlrpc.client documentation 2016-10-09 18:18:21 +03:00
Guido van Rossum 7b2aa2e87c Adjust ClassVar example to use pre-PEP-526 syntax. (Issue #28388) 2016-10-08 20:12:54 -07:00
Guido van Rossum a659be046a Issue #28388: update typing module documentation. (merge 3.6->3.7) 2016-10-08 20:10:27 -07:00
Guido van Rossum b258db9840 Issue #28388: update typing module documentation. (merge 3.5->3.6) 2016-10-08 20:09:56 -07:00
Guido van Rossum deed0c797c Issue #28388: update typing module documentation. 2016-10-08 20:06:56 -07:00
Serhiy Storchaka 74a7e3b981 Merge from 3.6. 2016-10-08 22:48:07 +03:00
Serhiy Storchaka 21d9f10c94 Merge from 3.5. 2016-10-08 22:46:01 +03:00
Serhiy Storchaka 9c0e1f83af Issue #28379: Added sanity checks and tests for PyUnicode_CopyCharacters().
Patch by Xiang Zhang.
2016-10-08 22:45:38 +03:00
Berker Peksag bbc638cd55 Issue #28390: Merge from 3.6 2016-10-08 16:15:38 +03:00
Berker Peksag 3e49264dfb Issue #28390: Fix header levels in whatsnew/3.6.rst
Patch by SilentGhost.
2016-10-08 16:15:15 +03:00
Serhiy Storchaka 52597d91e2 Issue #18287: PyType_Ready() now checks that tp_name is not NULL.
Original patch by Niklas Koep.
2016-10-07 23:26:16 +03:00
Serhiy Storchaka e45b7c09ec Issue #18287: PyType_Ready() now checks that tp_name is not NULL.
Original patch by Niklas Koep.
2016-10-07 23:25:46 +03:00
Serhiy Storchaka de0574bdab Issue #18287: PyType_Ready() now checks that tp_name is not NULL.
Original patch by Niklas Koep.
2016-10-07 23:24:35 +03:00
Berker Peksag ea1f9b934c Issue #28348: Merge from 3.6 2016-10-04 20:46:43 +03:00
Berker Peksag 5cb63ae3ca Issue #28348: Merge from 3.5 2016-10-04 20:46:22 +03:00
Berker Peksag 002b0a7ecd Issue #28348: Fix typo in asyncio.Task() documentation
Patch by Mariatta Wijaya.
2016-10-04 20:45:47 +03:00
Berker Peksag d7f47ed28c Issue #28229: Merge from 3.6 2016-10-04 20:41:56 +03:00
Berker Peksag 5f59ddddcd Issue #28229: lzma module now supports pathlib 2016-10-04 20:41:20 +03:00
Steven D'Aprano fae2829c7a Issue #27181 remove geometric_mean and defer for 3.7. 2016-10-05 03:24:45 +11:00
Steven D'Aprano fb315dbe82 Issue #27181 remove geometric_mean and defer for 3.7. 2016-10-05 03:24:45 +11:00
Steve Dower 44cfd3f3fc Merge from 3.6 2016-10-03 09:15:39 -07:00
Steve Dower fb12ce1cb3 Issue #28218: Fixes versionadded description in using/windows.rst 2016-10-03 09:15:27 -07:00
Serhiy Storchaka ad72467bef Issue #28295: Fixed the documentation and added tests for PyUnicode_AsUCS4().
Original patch by Xiang Zhang.
2016-10-02 21:30:59 +03:00
Serhiy Storchaka b3648576cd Issue #28295: Fixed the documentation and added tests for PyUnicode_AsUCS4().
Original patch by Xiang Zhang.
2016-10-02 21:30:35 +03:00
Serhiy Storchaka cc164232aa Issue #28295: Fixed the documentation and added tests for PyUnicode_AsUCS4().
Original patch by Xiang Zhang.
2016-10-02 21:29:26 +03:00
Berker Peksag f63f12b479 Issue #28225: Merge from 3.6 2016-10-02 20:07:38 +03:00
Berker Peksag 8bdd4480c4 Issue #28225: bz2 module now supports pathlib
Initial patch by Ethan Furman.
2016-10-02 20:07:06 +03:00
Berker Peksag c8ce8434e0 Issue #28227: Merge from 3.6 2016-10-02 13:49:05 +03:00
Berker Peksag 03020cfa97 Issue #28227: gzip now supports pathlib
Patch by Ethan Furman.
2016-10-02 13:47:58 +03:00
Serhiy Storchaka 6a7d3480fc Issue #28332: Deprecated silent truncations in socket.htons and socket.ntohs.
Original patch by Oren Milman.
2016-10-02 12:34:40 +03:00
Berker Peksag c4bd96cce2 Issue #28228: Merge from 3.6 2016-10-01 05:02:22 +03:00
Berker Peksag ef223a19f7 Issue #28228: imghdr now supports pathlib 2016-10-01 05:01:54 +03:00
Berker Peksag c5caf3a5e6 Issue #28319: Merge from 3.6 2016-10-01 01:19:57 +03:00
Berker Peksag 41937bcea5 Issue #28319: Merge from 3.5 2016-10-01 01:19:35 +03:00
Berker Peksag b334ee0063 Issue #28319: Fix typo in lzma.rst
Reported by Vladimir Rutsky.
2016-10-01 01:19:04 +03:00
Berker Peksag 2d57d0a7a5 Merge from 3.6 2016-10-01 01:07:42 +03:00
Berker Peksag 009bc05fdc Merge from 3.5 2016-10-01 01:07:17 +03:00
Berker Peksag 5e3677d7af Fix markup in pathlib.rst 2016-10-01 01:06:52 +03:00
Berker Peksag f58d4548a3 Merge from 3.6 2016-10-01 01:03:20 +03:00
Berker Peksag 50bb940ab8 Merge from 3.5 2016-10-01 01:03:01 +03:00
Berker Peksag 06a8ac0f26 Fix Path.glob() link, reported by SilentGhost 2016-10-01 01:02:39 +03:00
Berker Peksag 31f63da2e8 Issue #28226: Merge from 3.6 2016-10-01 00:54:55 +03:00
Berker Peksag 812a2b65af Issue #28226: compileall now supports pathlib 2016-10-01 00:54:18 +03:00
Terry Jan Reedy 36925001e6 Merge with 3.6 2016-09-30 15:39:22 -04:00
Terry Jan Reedy b4b55eb582 Merge with 3.5 2016-09-30 15:39:05 -04:00
Terry Jan Reedy 30eee4deec Issue #28815: Change '?' to '<module>' in some doc examples.
Patch by Mariatta Wijaya.
2016-09-30 15:38:48 -04:00
Berker Peksag e5ccf3d699 Issue #28306: Merge from 3.5 2016-09-28 22:49:27 +03:00
Berker Peksag cf79cdb79d Issue #28306: Update exception message of ZeroDivisionError 2016-09-28 22:48:57 +03:00
Berker Peksag db83f72a7f Issue #27740: Merge from 3.5 2016-09-28 19:35:55 +03:00
Berker Peksag ab39b09958 Issue #27740: Fix typo in Py_CompileStringExFlags 2016-09-28 19:35:25 +03:00
Berker Peksag fa4a305883 Issue #21903: Merge from 3.5 2016-09-28 17:07:40 +03:00
Berker Peksag de55c612fb Issue #21903: Update ctypes example to use MessageBoxW 2016-09-28 17:07:01 +03:00
Berker Peksag e0083e2b86 Issue #28306: Merge from 3.6 2016-09-28 22:49:46 +03:00
Berker Peksag 282df37365 Issue #27740: Merge from 3.6 2016-09-28 19:36:23 +03:00
Berker Peksag 5c7c8a3420 Issue #21903: Merge from 3.6 2016-09-28 17:08:06 +03:00
Martin Panter 2f63faefdf Issue #26439: Merge ctypes doc from 3.6 2016-09-27 05:26:49 +00:00
Martin Panter 19f2327e7e Issue #26439: Merge ctypes doc from 3.5 into 3.6 2016-09-27 05:26:12 +00:00
Martin Panter f18a5daadd Issue #26439: Document that RTLD_NOW is always added 2016-09-27 05:10:40 +00:00
Raymond Hettinger b87e8f7d0a merge 2016-09-26 21:46:26 -07:00
Raymond Hettinger 9016f2864a Issue #18844: Make the number of selections a keyword-only argument for random.choices(). 2016-09-26 21:45:57 -07:00
Berker Peksag 1849d894d5 Issue #10673: Merge from 3.6 2016-09-26 23:23:01 +03:00
Berker Peksag de10dbec77 Issue #10673: Merge from 3.5 2016-09-26 23:22:44 +03:00
Berker Peksag a24d2d8274 Issue #10673: Document that Process.exitcode can be used to determine timeout
Patch by Tom Clark.
2016-09-26 23:22:22 +03:00
Berker Peksag c53ffcea6a Merge from 3.6 2016-09-26 22:50:53 +03:00
Berker Peksag 8d08265f5e Merge from 3.5 2016-09-26 22:50:32 +03:00
Berker Peksag 6129e14b21 Document that os.mknod() is not available on Windows
Reported by Regina Ochotzki on docs@p.o.
2016-09-26 22:50:11 +03:00
Berker Peksag 0ff400fd0a Merge from 3.6 2016-09-26 22:44:51 +03:00
Berker Peksag 20d458fad6 Merge from 3.5 2016-09-26 22:44:32 +03:00
Berker Peksag 996e5f94d2 os.genenvb() is not availabnle under Windows 2016-09-26 22:44:07 +03:00
Serhiy Storchaka 4e3aab7c73 Issues #25909, #28211: Restored correct documentation of PyMapping_Items,
PyMapping_Keys and PyMapping_Values.  Based on patch by Xiang Zhang.
2016-09-26 20:54:24 +03:00
Serhiy Storchaka 4781b59185 Issues #25909, #28211: Restored correct documentation of PyMapping_Items,
PyMapping_Keys and PyMapping_Values.  Based on patch by Xiang Zhang.
2016-09-26 20:53:27 +03:00
Serhiy Storchaka 1d480bea9c Issues #25909, #28211: Restored correct documentation of PyMapping_Items,
PyMapping_Keys and PyMapping_Values.  Based on patch by Xiang Zhang.
2016-09-26 20:52:41 +03:00
Guido van Rossum b5a744a99e Remove mention of asyncio.timeout context manager (it was removed) (merge 3.6->3.7) 2016-09-24 09:32:10 -07:00
Guido van Rossum a653196585 Remove mention of asyncio.timeout context manager (it was removed) 2016-09-24 09:31:23 -07:00
Steve Dower 3e7d93dc70 Issue #28251: Improvements to help manuals on Windows. 2016-09-22 17:11:53 -07:00
Steve Dower 765285337a Issue #28251: Improvements to help manuals on Windows. 2016-09-22 17:09:56 -07:00
Steve Dower fb4a96a58f Issue #28251: Improvements to help manuals on Windows. 2016-09-22 17:07:56 -07:00
Ned Deily 8f13f83f58 Make 3.7 the current dev version in the html version of the docs. 2016-09-20 15:01:06 -04:00
Ned Deily 7582bcaa8f Make 3.7 the current dev version in the html version of the docs. 2016-09-20 15:00:53 -04:00
Ned Deily a327331cec Make 3.7 the current dev version in the html version of the docs. 2016-09-20 15:00:07 -04:00
Jesus Cea 8bf66ca598 MERGE: Docs: Correctly link to the methods 2016-09-20 00:03:09 +02:00
Jesus Cea 1daf6da2c8 MERGE: Docs: Correctly link to the methods 2016-09-20 00:02:44 +02:00
Jesus Cea 647680ec2c Docs: Correctly link to the methods 2016-09-20 00:01:53 +02:00
Ethan Furman 475b405a54 issue23591: fix flag decomposition and repr 2016-09-18 13:16:04 -07:00
Ethan Furman 3515dcce80 issue23591: fix flag decomposition and repr 2016-09-18 13:15:41 -07:00
Steve Dower 5f9c3926cc Issue #27932: Prevent memory leak in win32_ver(). 2016-09-17 17:28:45 -07:00
Steve Dower 74f4af7ac3 Issue #27932: Prevent memory leak in win32_ver(). 2016-09-17 17:27:48 -07:00
Steve Dower 64566db065 Merge with 3.6 2016-09-17 12:57:03 -07:00
Steve Dower ed51b26858 Issue #28137: Renames Windows path file to ._pth
Issue #28138: Windows ._pth file should allow import site
2016-09-17 12:54:06 -07:00
Zachary Ware f40d4ddff3 Closes #27979: Remove bundled copy of libffi
An installed copy of libffi is now required for building _ctypes on
any platform but OSX and Windows.
2016-09-17 01:25:24 -05:00
Ned Deily 4712dc879a Pending final editing of 3.6 whatsnew, add a list of all PEPs implemented. 2016-09-16 15:48:00 -04:00
Ned Deily 8761e59f36 Pending final editing of 3.6 whatsnew, add a list of all PEPs implemented. 2016-09-16 15:46:55 -04:00
Berker Peksag 0d850ba861 Issue #25270: Merge from 3.6 2016-09-16 17:32:32 +03:00
Berker Peksag 7b4bcd2004 Issue #25270: Merge from 3.5 2016-09-16 17:32:06 +03:00
Berker Peksag 4a72a7b6c4 Issue #25270: Prevent codecs.escape_encode() from raising SystemError when an empty bytestring is passed 2016-09-16 17:31:06 +03:00
Berker Peksag f670c83443 Issue #25895: Merge from 3.6 2016-09-16 14:45:57 +03:00
Berker Peksag f8479eeb34 Issue #25895: Merge from 3.5 2016-09-16 14:45:15 +03:00
Berker Peksag f676748a05 Issue #25895: Enable WebSocket URL schemes in urllib.parse.urljoin
Patch by Gergely Imreh and Markus Holtermann.
2016-09-16 14:43:58 +03:00
Benjamin Peterson 640463acb1 merge 3.6 2016-09-14 23:54:09 -07:00
Benjamin Peterson 6775231597 Unicode 9.0.0
Not completely mechanical since support for East Asian Width changes—emoji
codepoints became Wide—had to be added to unicodedata.
2016-09-14 23:53:47 -07:00
Guido van Rossum 315361c7dc Add text about PEP 526 to What's new in 3.6. Ivan L. (merge 3.6->3.7) 2016-09-13 09:27:07 -07:00
Guido van Rossum a4d9b17b1f Add text about PEP 526 to What's new in 3.6. Ivan L. 2016-09-13 09:26:38 -07:00
Xavier de Gaye 1e68987792 Merge from 3.6. 2016-09-13 18:06:08 +02:00
Xavier de Gaye 032c0fb655 Add an Android section to whatsnew/3.6.rst. 2016-09-13 18:04:15 +02:00
Ned Deily 20ae233d02 merge from 3.6 2016-09-13 11:35:00 -04:00
Ned Deily bd8f277efc Tidy 3.6 What's New summary 2016-09-13 11:33:03 -04:00
Christian Heimes a873f7a615 Explain why PROTOCOL_SSLv23 does not support SSLv2 and SSLv3 by default. 2016-09-13 13:27:41 +02:00
Christian Heimes ed9c0706cf Explain why PROTOCOL_SSLv23 does not support SSLv2 and SSLv3 by default. 2016-09-13 13:27:26 +02:00
Christian Heimes 46dac0723a Explain why PROTOCOL_SSLv23 does not support SSLv2 and SSLv3 by default. 2016-09-13 12:10:45 +02:00
Christian Heimes 17352fff92 Explain why PROTOCOL_SSLv23 does not support SSLv2 and SSLv3 by default. 2016-09-13 12:09:55 +02:00
Martin Panter b2317a4d9d Issue #15819: Merge include search from 3.5 into 3.6 2016-09-13 12:40:51 +00:00
Raymond Hettinger dcbed36e71 merge 2016-09-12 23:39:05 -07:00
Raymond Hettinger a33e9f7047 Issue #28104: More accurately document set method signatures 2016-09-12 23:38:50 -07:00
Berker Peksag e4c16fa364 Merge from 3.6 2016-09-13 05:53:01 +03:00
Berker Peksag b5d67b7278 Fix headers in whatsnew/3.6.rst 2016-09-13 05:52:32 +03:00
Berker Peksag f821abafb7 Issue #28103: Merge from 3.6 2016-09-13 04:50:09 +03:00
Berker Peksag b7abaa85ae Issue #28103: Merge from 3.5 2016-09-13 04:49:44 +03:00
Berker Peksag 7927e75758 Issue #28103: Use ``'...'`` style in zipfile documentation
Patch by Stephen J. Turnbull.
2016-09-13 04:49:12 +03:00
Ned Deily 4829bc6619 Bump to 3.7.0a0 2016-09-12 17:29:04 -04:00
Ned Deily 0112625fba Change SOURCE_URI for pydoc source URLs to point to 3.6 branch 2016-09-12 10:56:13 -04:00
Victor Stinner 6287177169 Issue #27350: Document compact dict memory usage 2016-09-12 14:43:14 +02:00
Raymond Hettinger 0d5048cb21 Issue #17941: Add a *module* parameter to collections.namedtuple() 2016-09-12 00:18:31 -07:00
Terry Jan Reedy 3dad1a5b82 Merge 3.5 - Issue #15308: Add 'interrupt execution' (^C) to Shell menu.
Patch by Roger Serwy, updated by Bayard Randel.
2016-09-12 01:57:25 -04:00
Terry Jan Reedy 4b73676c3d Issue #15308: Add 'interrupt execution' (^C) to Shell menu.
Patch by Roger Serwy, updated by Bayard Randel.
2016-09-12 01:50:03 -04:00
Berker Peksag 34b74fffb3 Add missing versionadded directives 2016-09-12 08:00:01 +03:00
Alexander Belopolsky 18f3a9b93c Closes #25283: Make tm_gmtoff and tm_zone available on all platforms. 2016-09-11 22:55:16 -04:00
Raymond Hettinger 0b51fd4341 merge 2016-09-11 17:24:05 -07:00
Raymond Hettinger 06e18a7c24 Issue #26511: Reference the id() function in the 'is' and 'is not' docs 2016-09-11 17:23:49 -07:00
Christian Heimes c4d2e500a9 Update whatsnew with my contributions 2016-09-12 01:14:35 +02:00
Christian Heimes 5fe668c672 Issue #28085: Add PROTOCOL_TLS_CLIENT and PROTOCOL_TLS_SERVER for SSLContext 2016-09-12 00:01:11 +02:00
Ned Deily ef71d20548 Add some additional suspicious exemption rules for recent doc changes. 2016-09-11 15:49:37 -04:00
Guido van Rossum 015d874626 Issue #28076: Variable annotations should be mangled for private names.
By Ivan Levkivskyi.
2016-09-11 09:45:24 -07:00
Vinay Sajip d5ee406ff1 Closes #23105: Merged update from 3.5. 2016-09-11 15:16:58 +01:00
Vinay Sajip e4946e73c8 Issue #23105: Updated documentation on open() flag constants. 2016-09-11 15:15:59 +01:00
Eric V. Smith b5690864ba Issue 24454: Added whatsnew entry, removed __getitem__ from match_methods. Thanks Serhiy Storchaka. 2016-09-11 09:50:47 -04:00
Serhiy Storchaka b7e3535a08 Fixed a markup in docs. 2016-09-11 16:47:59 +03:00
Eric V. Smith 605bdae078 Issue 24454: Improve the usability of the re match object named group API 2016-09-11 08:55:43 -04:00
Berker Peksag fa0c885478 Issue #20100: Merge from 3.5 2016-09-11 15:46:07 +03:00
Berker Peksag 1c697a56ba Issue #20100: Clarify that passing flags to epoll() has no effect 2016-09-11 15:45:32 +03:00
Vinay Sajip d0630498c9 Closed #26533: Merged update from 3.5. 2016-09-11 13:15:57 +01:00
Vinay Sajip 3d639b2c2e Closed #26533: expanded on behaviour of logging.config.listen(). 2016-09-11 13:15:06 +01:00
Berker Peksag 1cb7aaa9b1 Issue #27991: Merge from 3.5 2016-09-11 13:02:56 +03:00
Berker Peksag 53ba2d10e0 Issue #27991: Remove incorrect sentence about store_true
Patch by py.user.
2016-09-11 13:02:27 +03:00
Berker Peksag ab994ed8b9 Issue #10740: sqlite3 no longer implicitly commit an open transaction before DDL statements
This commit contains the following commits from ghaering/pysqlite:

* f254c53494
* 796b3afe38
* cae87ee686
* 3567b31bb5

With the following additions:

* Fixed a refcount error
* Fixed a compiler warning
* Made the string comparison a little more robust
* Added a whatsnew entry
2016-09-11 12:57:15 +03:00
Serhiy Storchaka bd48d27944 Issue #22493: Inline flags now should be used only at the start of the
regular expression.  Deprecation warning is emitted if uses them in the
middle of the regular expression.
2016-09-11 12:50:02 +03:00
Serhiy Storchaka 352601ca00 Issue #26885: xmlrpc now supports unmarshalling additional data types used
by Apache XML-RPC implementation for numerics and None.
2016-09-11 11:23:38 +03:00
Serhiy Storchaka 9fab79bcb5 Issue #26900: Excluded underscored names and other private API from limited API. 2016-09-11 11:03:14 +03:00
Ethan Furman c16595e567 issue23591: add auto() for auto-generating Enum member values 2016-09-10 23:36:59 -07:00
Guido van Rossum 56ff5f7298 Issue #26141: Update docs for typing.py. Ivan Levkivskyi. (Backport from the 3.6 version) 2016-09-10 19:03:22 -07:00
Guido van Rossum 446e168202 Issue #26141: Update docs for typing.py. Ivan Levkivskyi. 2016-09-10 18:54:14 -07:00
Guido van Rossum f7f8299967 Issue #28073: Improve wording around None. Michael Lee. (3.5->3.6) 2016-09-10 18:49:34 -07:00
Guido van Rossum 1816dfe65f Issue #28073: Improve wording around None. Michael Lee. 2016-09-10 18:49:14 -07:00
Benjamin Peterson 47503c5a8d fix link to instrumentation 2016-09-10 17:38:51 -07:00
Benjamin Peterson 699e2c91f6 reST is not markdown 2016-09-10 17:24:25 -07:00
Christian Heimes 99a6570295 Issue #19500: Add client-side SSL session resumption to the ssl module. 2016-09-10 23:44:53 +02:00
Christian Heimes d04863771b Issue #28022: Deprecate ssl-related arguments in favor of SSLContext.
The deprecation include manual creation of SSLSocket and certfile/keyfile
(or similar) in ftplib, httplib, imaplib, smtplib, poplib and urllib.

ssl.wrap_socket() is not marked as deprecated yet.
2016-09-10 23:23:33 +02:00
Christian Heimes 358cfd426c Issue 28043: SSLContext has improved default settings
The options OP_NO_COMPRESSION, OP_CIPHER_SERVER_PREFERENCE, OP_SINGLE_DH_USE, OP_SINGLE_ECDH_USE, OP_NO_SSLv2 (except for PROTOCOL_SSLv2), and OP_NO_SSLv3 (except for PROTOCOL_SSLv3) are set by default. The initial cipher suite list contains only HIGH ciphers, no NULL ciphers and MD5 ciphers (except for PROTOCOL_SSLv2).
2016-09-10 22:43:48 +02:00
Serhiy Storchaka b0d497c072 Issue #24693: Changed some RuntimeError's in the zipfile module to more
appropriate types. Improved some error messages and debugging output.
2016-09-10 21:28:07 +03:00
Martin Panter b61ede4ba2 Merge spelling fixes from 3.5 2016-09-10 10:44:12 +00:00
Martin Panter 99e843b48e Correct spelling in documentation and code comment 2016-09-10 10:38:28 +00:00
Nick Coghlan b161562f72 Issue #17909: Accept binary input in json.loads
json.loads (and hence json.load) now support binary input
encoded as UTF-8, UTF-16 or UTF-32.

Patch by Serhiy Storchaka.
2016-09-10 20:16:18 +10:00
Berker Peksag 2d7250b3be Fix Python version in pdb.rst 2016-09-10 09:28:03 +03:00
Łukasz Langa 2eb6eca3e5 Issue #18401: pdb tests don't read ~/.pdbrc anymore
Patch by Martin Matusiak and Sam Kimbrel.
2016-09-09 22:21:17 -07:00
R David Murray b067c8fdd1 #20476: Deal with the message_factory circular import differently.
It turns out we can't depend on email.message getting imported every place
message_factory is needed, so to avoid a circular import we need to special
case Policy.message_factory=None in the parser instead of using monkey
patching.  I had a feeling that was a bad idea when I did it.
2016-09-10 00:22:25 -04:00
Eric V. Smith d7665ca7a4 Further improved ',' and '_' specification in format mini-language. 2016-09-09 23:13:01 -04:00
Eric V. Smith fef4391c88 Improved ',' and '_' specification in format mini-language. 2016-09-09 23:12:02 -04:00
Eric V. Smith 89e1b1aae0 Issue 27080: PEP 515: add '_' formatting option. 2016-09-09 23:06:47 -04:00
Zachary Ware b44acebc7b Actually fix suspicious markup, I ignored it too readily 2016-09-09 17:47:38 -07:00
Łukasz Langa a785c87d6e DTrace support: function calls, GC activity, line execution
Tested on macOS 10.11 dtrace, Ubuntu 16.04 SystemTap, and libbcc.

Largely based by an initial patch by Jesús Cea Avión, with some
influence from Dave Malcolm's SystemTap patch and Nikhil Benesch's
unification patch.

Things deliberately left out for simplicity:
- ustack helpers, I have no way of testing them at this point since
they are Solaris-specific
- PyFrameObject * in function__entry/function__return, this is
SystemTap-specific
- SPARC support
- dynamic tracing
- sys module dtrace facility introspection

All of those might be added later.
2016-09-09 17:37:37 -07:00
Zachary Ware 39b42ae8db Remove line numbers from suspicious rules 2016-09-09 17:38:28 -07:00
Zachary Ware 935043d1ac Closes #27976: Deprecate bundled full copy of libffi
Builds on non-OSX UNIX now default to using the system libffi, and warn if the
bundled copy is used.
2016-09-09 17:01:21 -07:00
Raymond Hettinger f1024f7425 merge 2016-09-09 15:58:00 -07:00
Raymond Hettinger 87dc4d6189 Issue 14976: Note that the queue module is not designed to protect against reentrancy 2016-09-09 15:57:13 -07:00