Commit graph

20163 commits

Author SHA1 Message Date
Brett Cannon
c089f70b54 Issue #18394: Document that cgi.FieldStorage now cleans up after its
'file' attribute properly in Python 3.4.

Thanks to Marcel Hellkamp for pointing out the oversight.
2014-01-17 11:03:19 -05:00
Zachary Ware
77007344d9 Issue #20266: Merge with 3.3 2014-01-17 09:00:36 -06:00
Zachary Ware
9fc0e9955d Issue #20266: Update parts of the Windows FAQ 2014-01-17 08:59:44 -06:00
Victor Stinner
9731183390 asyncio: oops, add missing word :-) 2014-01-17 10:31:02 +01:00
Larry Hastings
2a727916c5 Issue #20226: Major improvements to Argument Clinic.
* You may now specify an expression as the default value for a
  parameter!  Example: "sys.maxsize - 1".  This support is
  intentionally quite limited; you may only use values that
  can be represented as static C values.
* Removed "doc_default", simplified support for "c_default"
  and "py_default".  (I'm not sure we still even need
  "py_default", but I'm leaving it in for now in case a
  use presents itself.)
* Parameter lines support a trailing '\\' as a line
  continuation character, allowing you to break up long lines.
* The argument parsing code generated when supporting optional
  groups now uses PyTuple_GET_SIZE instead of PyTuple_GetSize,
  leading to a 850% speedup in parsing.  (Just kidding, this
  is an unmeasurable difference.)
* A bugfix for the recent regression where the generated
  prototype from pydoc for builtins would be littered with
  unreadable "=<object ...>"" default values for parameters
  that had no default value.
* Converted some asserts into proper failure messages.
* Many doc improvements and fixes.
2014-01-16 11:32:01 -08:00
Victor Stinner
59759ff234 asyncio doc: replace "coroutine" with "coroutine object" or "coroutine function" 2014-01-16 19:30:21 +01:00
Victor Stinner
db39a0da0c asyncio: add a new "Develop with asyncio" section to the documentation 2014-01-16 18:58:01 +01:00
Benjamin Peterson
5cacb84d83 merge 3.3 (#20272) 2014-01-16 10:10:26 -05:00
Benjamin Peterson
2989f587a7 linkify chain.from_iterable (closes #20272) 2014-01-16 10:10:13 -05:00
Benjamin Peterson
a65d121607 merge 3.3 (#20278) 2014-01-16 09:53:22 -05:00
Benjamin Peterson
216e47d834 update pysqlite website (closes #20278) 2014-01-16 09:52:38 -05:00
Vinay Sajip
3763f2bc07 Merged documentation update from 3.3. 2014-01-15 15:09:43 +00:00
Vinay Sajip
cbefe3b9a0 Added cookbook entry on alternative formatting styles. 2014-01-15 15:09:05 +00:00
Vinay Sajip
6ed2893aae Merged documentation update from 3.3. 2014-01-15 13:29:24 +00:00
Vinay Sajip
350e623623 Clarified documentation note on module-level convenience functions. 2014-01-15 13:28:39 +00:00
Ronald Oussoren
6db6653bbc Issue #14455: Fix some issues with plistlib
* Negative integer support in binary plists was broken

* Better exception for invalid data

* Fix the versionadded/versionchanged markup in the documentation

* Add the interface cleanup to what's new for 3.4
2014-01-15 11:32:35 +01:00
Larry Hastings
4a714d48ad Issue #20268: Argument Clinic now supports cloning the parameters
and return converter from existing functions.
2014-01-14 22:22:41 -08:00
Zachary Ware
af029de7b0 Issue #20255: Update the about and bugs pages. 2014-01-14 16:03:51 -06:00
Zachary Ware
71337cb281 Issue #20255: Update the about and bugs pages. 2014-01-14 16:03:11 -06:00
Zachary Ware
5c15424aa9 Closes #20253: Merge typo fix 2014-01-14 09:10:33 -06:00
Zachary Ware
9774ce0cab Issue #20253: Fixed a typo in the ipaddress docs that advertised an
illegal attribute name.  Found by INADA Naoki.
2014-01-14 09:09:48 -06:00
Zachary Ware
1bef5c6cc8 Merge typo fix. 2014-01-14 08:45:38 -06:00
Zachary Ware
26d5fab8c8 Fix typo. Found by David Pesta on docs@. 2014-01-14 08:44:49 -06:00
Zachary Ware
f6cb6c5e11 Merge typo fix. 2014-01-14 08:41:41 -06:00
Zachary Ware
2d13036769 Fix typo. Found by David Pesta on docs@. 2014-01-14 08:40:53 -06:00
Georg Brandl
92b7adb60d merge 2014-01-14 12:27:44 +01:00
Georg Brandl
738cb60f65 merge with 3.3 2014-01-14 12:27:21 +01:00
Georg Brandl
8bd656ddb8 Closes #20258: Sphinx toolchain: move back to Jinja2 2.3.1 with support for Py2.5. 2014-01-14 12:00:45 +01:00
Zachary Ware
e74f96ded5 Merge typo fix. 2014-01-13 20:39:21 -06:00
Zachary Ware
80602e0e1b Fix typo. 2014-01-13 20:38:57 -06:00
Zachary Ware
335957e087 Correct a typo. Found by Lauri Hakko on docs@. 2014-01-13 16:08:54 -06:00
R David Murray
75ff6d284a Merge #20236: Fix sphinx markup. 2014-01-13 13:51:42 -05:00
R David Murray
66c9350a89 #20236: Fix sphinx markup. 2014-01-13 13:51:17 -05:00
Senthil Kumaran
95be7ff911 merge from 3.3
Issue #19082: Working xmlrpc.server and xmlrpc.client examples. Both in modules and in documentation.
2014-01-12 16:07:59 -08:00
Senthil Kumaran
939e2db48d Issue #19082: Working xmlrpc.server and xmlrpc.client examples. Both in modules and in documentation. 2014-01-12 16:06:58 -08:00
Larry Hastings
0191be3899 Minor doc fix in Clinic howto. 2014-01-12 13:57:36 -08:00
Larry Hastings
4a55fc5a9d Issue #20214: Fixed a number of small issues and documentation errors in
Argument Clinic (see issue for details).
2014-01-12 11:09:57 -08:00
Georg Brandl
632c812942 small grammar fix. 2014-01-12 18:03:12 +01:00
Georg Brandl
57bc1e21e7 merge with 3.3 2014-01-12 08:10:52 +01:00
Georg Brandl
6392ad98d0 Doc: update Sphinx toolchain also in make.bat 2014-01-12 08:09:01 +01:00
Georg Brandl
932c3458df Merge with 3.3 2014-01-11 20:04:29 +01:00
Georg Brandl
5636eb7b93 Update Sphinx toolchain. 2014-01-11 20:04:19 +01:00
Georg Brandl
fa5a765506 Fix minor markup bug: sub-toctrees should not have :numbered: 2014-01-11 19:52:17 +01:00
Zachary Ware
c1cb227b3f Closes #20200: Argument Clinic custom converter example should be in a
'python' clinic block, not a 'clinic' clinic block.  Patch written by
Ryan Smith-Roberts.
2014-01-09 21:41:23 -06:00
R David Murray
0ae7ae1fc9 whatsnew: InspectLoader.get_code now concrete, b32decode raises binascii.Error.
And a news item rephrase.
2014-01-08 18:16:02 -05:00
R David Murray
fdc58fd897 Merge: Fix verb tense in base64 docs, and the phrasing of a news entry. 2014-01-08 18:14:20 -05:00
R David Murray
78ee3289e9 Fix verb tense in base64 docs, and the phrasing of a news entry. 2014-01-08 18:09:29 -05:00
R David Murray
66bf12a58e whatsnew: FileIO.readall performance, os.cpu_count.
And more news item tweaks.
2014-01-08 17:21:22 -05:00
Brett Cannon
8d942296bb Issue #19719: Update various finder and loader ABCs such that their
old methods now provide implementations when PEP 451 APIs are present.

This should help with backwards-compatibility with code which has not
been updated to work with PEP 451.
2014-01-07 15:52:42 -05:00
Larry Hastings
61272b77b0 Issue #19273: The marker comments Argument Clinic uses have been changed
to improve readability.
2014-01-07 12:41:53 -08:00