Commit graph

20163 commits

Author SHA1 Message Date
Andrew Svetlov
d6ee27895a Merge 3.4: Get rid of deprecated IOError in the doc 2014-04-01 01:14:27 +03:00
Andrew Svetlov
08af00047b Get rid of deprecated IOError in the doc 2014-04-01 01:13:30 +03:00
Andrew Svetlov
a7906dd2d9 Merge 3.4 (#16716) 2014-04-01 00:45:06 +03:00
Andrew Svetlov
5898d4f4d9 IOError -> OSError 2014-04-01 00:44:13 +03:00
Andrew Svetlov
a4dae7e6ab Merge 3.4 (#16716) 2014-04-01 00:41:04 +03:00
Andrew Svetlov
050f9ea4d7 Fix the doc: add deprecation warning in select module. 2014-04-01 00:23:23 +03:00
Benjamin Peterson
ba6eba0850 merge 3.4 (#21105) 2014-03-30 15:07:25 -04:00
Benjamin Peterson
3a4340325b make partialmethod example work (closes #21105) 2014-03-30 15:07:09 -04:00
Guido van Rossum
589872cbdf Fix doc typo. 2014-03-29 21:14:04 -07:00
Guido van Rossum
502ef90ae2 Fix doc typo. 2014-03-29 21:14:04 -07:00
Raymond Hettinger
762bee299e merge 2014-03-29 11:50:29 -07:00
Raymond Hettinger
1e1e601bd1 Minor readability improvement. 2014-03-29 11:50:08 -07:00
Yury Selivanov
67d727e824 inspect.docs: Document that Signature and Parameter are now picklable (issue #20726) 2014-03-29 13:24:14 -04:00
Yury Selivanov
232b934620 inspect.docs: Fix indentation and version-added for Signature.from_callable 2014-03-29 13:18:30 -04:00
Nick Coghlan
607e430a74 Issue #19697: merge docs from 3.4 2014-03-29 15:41:18 +10:00
Nick Coghlan
9aa00d1cd1 Issue #19697: document more __main__.__spec__ quirks 2014-03-29 15:39:42 +10:00
Eric Snow
e50f9aa4bd Issue #19697: Document cases where __main__.__spec__ is None. 2014-03-28 18:10:33 -06:00
Eric Snow
03fd2ea447 Issue #19697: Document cases where __main__.__spec__ is None. 2014-03-28 18:10:33 -06:00
Raymond Hettinger
9c5e98ff29 merge 2014-03-28 16:39:45 -07:00
Raymond Hettinger
4ab532bbfe Issue 21014: Use booleans instead of 0 and 1 in examples. 2014-03-28 16:39:25 -07:00
Georg Brandl
aa1403c440 merge with 3.4 2014-03-28 19:49:02 +01:00
Georg Brandl
865bdbf4af Doc: do not compress .epub for dist, it is already zipped. 2014-03-28 19:48:55 +01:00
Ned Deily
090eb1fd18 Issue #6676: merge from 3.4 2014-03-27 16:44:06 -07:00
Ned Deily
e7d532fbc9 Issue #6676: Ensure a meaningful exception is raised when attempting
to parse more than one XML document per pyexpat xmlparser instance.
(Original patches by Hirokazu Yamamoto and Amaury Forgeot d'Arc, with
suggested wording by David Gutteridge)
2014-03-27 16:39:58 -07:00
Yury Selivanov
da39645ad3 inspect.Signature: Add 'Signature.from_callable' classmethod. Closes #17373 2014-03-27 12:09:24 -04:00
Yury Selivanov
a5d63dd7b8 inspect.signature: Make Signature and Parameter picklable. Closes #20726 2014-03-27 11:31:43 -04:00
R David Murray
b0e6951193 Merge #20145 backport: delete whatsnew entry. 2014-03-25 15:34:17 -04:00
Victor Stinner
0ad0bfabf8 (Merge 3.4) Issue #12209: Minor edits to faulthandler doc. Patch written by
Éric Araujo.
2014-03-25 12:34:17 +01:00
Victor Stinner
215ad66405 Issue #12209: Minor edits to faulthandler doc. Patch written by Éric Araujo. 2014-03-25 12:33:56 +01:00
Vinay Sajip
6d457287eb Merged documentation update from 3.4. 2014-03-25 11:22:24 +00:00
Vinay Sajip
4908910ab7 Updated external link in documentation. 2014-03-25 11:21:41 +00:00
Georg Brandl
b50f8c9c0d merge with 3.4 2014-03-25 10:13:44 +01:00
Georg Brandl
1afe2af690 Closes #21045: make the Qt help build not look completely stupid 2014-03-25 10:12:47 +01:00
Victor Stinner
acb6c0491c (Merge 3.4) Issue #21006: asyncio doc: reorganize subprocess doc 2014-03-25 09:40:39 +01:00
Victor Stinner
984600fba7 Issue #21006: asyncio doc: reorganize subprocess doc 2014-03-25 09:40:26 +01:00
Georg Brandl
0d046e2a21 merge with 3.4 2014-03-25 09:34:55 +01:00
Georg Brandl
1c669c1154 Closes #18456: Doc fix: PyDict_Update only works with dict-like objects, not key-value sequences. Patch by priyapappachan. 2014-03-25 09:34:30 +01:00
Donald Stufft
eaeb955f48 Merge in 3.4 to bring forward the Issue #21043 changes. 2014-03-24 19:28:08 -04:00
Donald Stufft
4137465bf5 Issue #21043: Remove the recommendation for specific CA organizations
Closes #21043 by updating the documentation to remove specific CA
organizations and update the text to no longer need to tell you to
download root certificates, but instead use the OS certificates
avaialble through SSLContext.load_default_certs.
2014-03-24 19:26:03 -04:00
Charles-François Natali
1d29cc5b6c Issue #21040: socketserver: Use the selectors module. 2014-03-24 22:25:39 +00:00
Georg Brandl
77605cb937 merge with 3.4 2014-03-24 09:06:33 +01:00
Georg Brandl
df48b97855 Fix a few scoping issues with versionadded/versionchanged directives. 2014-03-24 09:06:18 +01:00
Georg Brandl
29636aeacc Use deprecated-removed directive, clean up a few markup issues around
deprecated directives.
2014-03-24 08:42:37 +01:00
Zachary Ware
14017b2a53 Merge with 3.4 2014-03-23 22:22:12 -05:00
Zachary Ware
645d3b7655 Remove superfluous open parenthesis. Noticed by cocoatomo on docs@. 2014-03-23 22:21:38 -05:00
Donald Stufft
17dcf7531c Merge the patch for issue #21013 into default 2014-03-23 19:12:13 -04:00
Donald Stufft
6a2ba94908 Issue #21013: Enhance ssl.create_default_context() for server side contexts
Closes #21013 by modfying ssl.create_default_context() to:

* Move the restricted ciphers to only apply when using
  ssl.Purpose.CLIENT_AUTH. The major difference between restricted and not
  is the lack of RC4 in the restricted. However there are servers that exist
  that only expose RC4 still.
* Switches the default protocol to ssl.PROTOCOL_SSLv23 so that the context
  will select TLS1.1 or TLS1.2 if it is available.
* Add ssl.OP_NO_SSLv3 by default to continue to block SSL3.0 sockets
* Add ssl.OP_SINGLE_DH_USE and ssl.OP_SINGLE_ECDG_USE to improve the security
  of the perfect forward secrecy
* Add ssl.OP_CIPHER_SERVER_PREFERENCE so that when used for a server side
  socket the context will prioritize our ciphers which have been carefully
  selected to maximize security and performance.
* Documents the failure conditions when a SSL3.0 connection is required so
  that end users can more easily determine if they need to unset
  ssl.OP_NO_SSLv3.
2014-03-23 19:05:28 -04:00
Georg Brandl
60fa3533eb merge with 3.4 2014-03-23 23:04:45 +01:00
Georg Brandl
553e108fce tutorial: no "linux2" sys.platform on 3.x (thanks Arfrever) 2014-03-23 23:03:59 +01:00
R David Murray
e1b6f97dae #20145: assert[Raises|Warns]Regex now raise TypeError on bad regex.
Previously a non-string, non-regex second argument could cause the test
to always pass.

Initial patch by Kamilla Holanda.
2014-03-23 15:08:43 -04:00