Commit Graph

14573 Commits

Author SHA1 Message Date
Vinay Sajip 3d9e972270 Corrected typo, added comment in cookbook recipe. 2013-01-23 09:31:19 +00:00
Ezio Melotti 605a95ae44 #11379: merge with 3.3. 2013-01-22 22:50:06 +02:00
Ezio Melotti 564e4d8dc9 #11379: merge with 3.2. 2013-01-22 22:49:46 +02:00
Ezio Melotti da4b5b82a3 #11379: rephrase minidom documentation to use the term "minimal" instead of "lightweight". Patch by Éric Araujo. 2013-01-22 22:47:57 +02:00
Vinay Sajip 88069d217a Merged doc update from 3.3. 2013-01-22 15:58:34 +00:00
Vinay Sajip a3bdce8c91 Merged doc update from 3.2. 2013-01-22 15:58:14 +00:00
Vinay Sajip 4b88d6c664 Added cookbook recipe for structured logging. 2013-01-22 15:57:39 +00:00
Vinay Sajip be2795a6f9 Merged documentation update from 3.3. 2013-01-22 13:13:43 +00:00
Vinay Sajip 7f3e993a3a Merged documentation update from 3.2. 2013-01-22 13:13:16 +00:00
Vinay Sajip f186911e24 Updated logging HOWTO with a diagram. 2013-01-22 13:12:34 +00:00
Serhiy Storchaka 2ba095c6c5 Fix shutil.which() test for issue #16993. 2013-01-22 10:32:16 +02:00
Serhiy Storchaka 80c88f4304 Fix shutil.which() test for issue #16993. 2013-01-22 10:31:36 +02:00
Vinay Sajip e461f7939d Issue #17007: Merged minor changes from 3.3. 2013-01-21 21:58:29 +00:00
Vinay Sajip 9fff3865da Issue #17007: Merged minor changes from 3.2. 2013-01-21 21:58:05 +00:00
Vinay Sajip 52b3d34d1c Issue #17007: Made minor changes to documentation wording. 2013-01-21 21:57:10 +00:00
Vinay Sajip 272b0e324c Closes #17007: Merged doc update from 3.3. 2013-01-21 19:46:18 +00:00
Vinay Sajip f29839e8e8 Issue #17007: Merged doc update from 3.2. 2013-01-21 19:45:27 +00:00
Vinay Sajip 6c4c16cdb8 Issue #17007: Improved logging documentation based on suggestions in the issue. 2013-01-21 19:44:28 +00:00
Serhiy Storchaka 5b987c2e68 Issue #16993: shutil.which() now preserves the case of the path and extension
on Windows.
2013-01-21 15:01:34 +02:00
Serhiy Storchaka 014791f848 Issue #16993: shutil.which() now preserves the case of the path and extension
on Windows.
2013-01-21 15:00:27 +02:00
Stefan Krah a12ff2c682 Merge 3.3. 2013-01-20 23:19:22 +01:00
Stefan Krah e4aa08e52b Issue #7353: Remove references to Include/intobject.h in the C-porting howto. 2013-01-20 23:18:00 +01:00
Benjamin Peterson 668d2cc3d8 merge 3.3 2013-01-20 10:09:51 -05:00
Benjamin Peterson 648fa19745 end is a keyword argument 2013-01-20 10:09:44 -05:00
Benjamin Peterson e7ce184fe8 merge 3.3 2013-01-20 10:05:28 -05:00
Benjamin Peterson 0781900068 expressions -> arguments 2013-01-20 10:05:13 -05:00
Ezio Melotti c7ca59a8ae #16557: merge with 3.3. 2013-01-20 16:35:09 +02:00
Ezio Melotti 5246f66e5e #16557: update functional howto -- "return value" is valid after PEP 380. Initial patch by Ramchandra Apte. 2013-01-20 16:34:21 +02:00
Ezio Melotti 60a64d7cbb #4153: merge with 3.3. 2013-01-20 12:18:34 +02:00
Ezio Melotti 81b46ec0e5 #4153: merge with 3.2. 2013-01-20 12:18:17 +02:00
Ezio Melotti 410eee566f #4153: update the Unicode howto. 2013-01-20 12:16:03 +02:00
Antoine Pitrou 21f3283d31 Remove cruft and circumvolutions from the unittest docs.
(I would have preferred to post this for review but the bug tracker is pretty much dead at the moment)
2013-01-20 01:31:20 +01:00
Antoine Pitrou 2c5e9504d8 Remove cruft and circumvolutions from the unittest docs.
(I would have preferred to post this for review but the bug tracker is pretty much dead at the moment)
2013-01-20 01:29:39 +01:00
Ezio Melotti e6eb408c18 #16978: merge with 3.3. 2013-01-18 19:59:13 +02:00
Ezio Melotti 6d043fc781 #16978: merge with 3.2. 2013-01-18 19:58:47 +02:00
Ezio Melotti ff12fae80e #16978: rephrase sentence and fix typo. Initial patch by Tshepang Lekhonkhobe. 2013-01-18 19:55:46 +02:00
Łukasz Langa 4cdd4c03c9 math.fsum docs did not show up because of a misplaced testsetup directive
(merged 3.2 fix through 3.3)
2013-01-18 13:42:56 +01:00
Łukasz Langa 37bfa238da math.fsum docs did not show up because of a misplaced testsetup directive
(merged 3.2 fix)
2013-01-18 13:41:14 +01:00
Łukasz Langa 288234fe0e math.fsum docs did not show up because of a misplaced testsetup directive 2013-01-18 13:40:43 +01:00
Benjamin Peterson 184f01544f merge 3.3 (#7340) 2013-01-15 16:49:35 -05:00
Benjamin Peterson 0ad344a832 remove warning about tb circular reference (closes #7340) 2013-01-15 16:49:22 -05:00
Andrew Svetlov 1bd7f02c81 Issue #5066: Update IDLE docs
Patch by Todd Rovito
2013-01-14 19:27:36 +02:00
Serhiy Storchaka 9e189f0a28 Cleanup the docs ElementTree a bit. 2013-01-13 22:24:27 +02:00
Serhiy Storchaka f1b045f417 Describe the default_namespace parameter of ElemetTree.write. 2013-01-13 22:04:43 +02:00
Serhiy Storchaka 03530b980e Describe the default_namespace parameter of ElemetTree.write. 2013-01-13 21:58:04 +02:00
Eli Bendersky e9af827fb1 Cleanup the docs ElementTree a bit and describe the default_namespace parameter. In the code, replace the old outdated Doxygen-ish comment above ElementTree.write by a proper docstring. 2013-01-13 06:27:51 -08:00
Eli Bendersky a9a2ef5550 Close #14377: Add a new parameter to ElementTree.write and some module-level
serialization functions - short_empty_elements. It controls how elements
without contents are emitted.

Patch by Serhiy Storchaka. Feature initially proposed by Ariel Poliak.
2013-01-13 06:04:43 -08:00
Eli Bendersky abdcf2c579 fix versionadded to 3.4 2013-01-12 14:02:29 -08:00
Eli Bendersky eb2884a875 Close #15442: Expand the list of default directories ignored by filecmp.dircmp and expose it as a module attribute 2013-01-12 06:13:32 -08:00
Ezio Melotti e6f3d53138 #16940: merge with 3.3. 2013-01-12 10:40:49 +02:00
Ezio Melotti 9895ab463b #16940: merge with 3.2. 2013-01-12 10:40:24 +02:00
Ezio Melotti 7128e073e2 #16940: fix indentation in example. 2013-01-12 10:39:45 +02:00
Chris Jerdonek eb9e885f78 Issue #16933 (merge from 3.3): Improve choices examples in argparse docs. 2013-01-11 19:29:43 -08:00
Chris Jerdonek 71e39fb484 Issue #16933 (merge from 3.2): Improve choices examples in argparse docs. 2013-01-11 19:28:05 -08:00
Chris Jerdonek 174ef67b56 Issue #16933 (2.7 forward-port): Improve choices examples in argparse docs. 2013-01-11 19:26:44 -08:00
Vinay Sajip 1ba81ee19a Closes #16613: Added optional mapping argument to ChainMap.new_child. 2013-01-11 23:39:53 +00:00
Georg Brandl cba18fefdc merge with 3.3 2013-01-11 20:26:54 +01:00
Georg Brandl 154dc4e423 Closes #16936: fix duplicate/ambiguous description of stat.S_IFMT in the docs. 2013-01-11 20:25:54 +01:00
Tim Golden 9d30698d9e #16921 Since Win9x is no longer supported, CREATE_NEW_CONSOLE is
no longer implied by shell=True
2013-01-11 13:28:31 +00:00
Sandro Tosi ba8279f252 merge with 3.3 2013-01-11 10:49:43 +01:00
Sandro Tosi a525fc161a merge with 3.2 2013-01-11 10:49:28 +01:00
Sandro Tosi 32587fbb89 grammatical fix; thanks to Alex Rudnick from docs@ 2013-01-11 10:49:00 +01:00
Ezio Melotti 14af64fb38 #16154: merge with 3.3. 2013-01-11 09:12:49 +02:00
Ezio Melotti 5a4b03dd82 #16154: merge with 3.2. 2013-01-11 09:12:28 +02:00
Ezio Melotti 405079213b #16154: fix some doctests in Doc/library. Patch by Ravi Sinha. 2013-01-11 09:09:07 +02:00
Chris Jerdonek 1f49c5c37e Issue #16874 (merge from 3.3): fix some documentation formatting. 2013-01-10 23:04:44 -08:00
Chris Jerdonek b2b2252a81 Issue #16874 (merge from 3.2): fix some documentation formatting. 2013-01-10 23:03:42 -08:00
Chris Jerdonek 444d153d7e Issue #16874 (forward-port from 2.7): fix some documentation formatting. 2013-01-10 23:01:27 -08:00
R David Murray edb0e5eb2c merge #13934: document sqlite version strings, use correct one in test. 2013-01-10 20:20:19 -05:00
R David Murray d394455aae merge #13934: document sqlite version strings, use correct one in test. 2013-01-10 20:19:35 -05:00
R David Murray 3f7beb99dd #13934: document sqlite version strings, use correct one in test. 2013-01-10 20:18:21 -05:00
Ezio Melotti 594f20cd00 Merge unittest.mock examples fixes. 2013-01-10 03:44:00 +02:00
Ezio Melotti e212370fea Use correct methods in unittest.mock examples. 2013-01-10 03:43:33 +02:00
Vinay Sajip f43c4d66be Issue #16884: Merged doc fix from 3.3. 2013-01-08 11:27:18 +00:00
Vinay Sajip 9a546530bb Issue #16884: Merged doc fix from 3.2. 2013-01-08 11:26:30 +00:00
Vinay Sajip 21b30827bc Issue #16884: Updated docs to use 'note' directives in a couple of places missed earlier. 2013-01-08 11:25:42 +00:00
Vinay Sajip ed6f37cad1 Closes #16884: Merged logging documentation fixes from 3.3. 2013-01-07 14:19:12 +00:00
Vinay Sajip 0e82fd1f78 Issue #16884: Merged logging documentation fixes from 3.2. 2013-01-07 14:18:19 +00:00
Vinay Sajip e50f4d2220 Issue #16884: updated logging documentation to include lastResort and use 'note' directives where appropriate. 2013-01-07 14:16:52 +00:00
R David Murray 4e62033b57 merge #16877: Add mention that shell-style path expansions are not automatic. 2013-01-06 16:14:22 -05:00
R David Murray e6dec98e45 merge #16877: Add mention that shell-style path expansions are not automatic. 2013-01-06 16:13:51 -05:00
R David Murray a4e700c040 #16877: Add mention that shell-style path expansions are not automatic. 2013-01-06 16:13:10 -05:00
Antoine Pitrou 58ddc9d743 Issue #8109: The ssl module now has support for server-side SNI, thanks to a :meth:`SSLContext.set_servername_callback` method.
Patch by Daniel Black.
2013-01-05 21:20:29 +01:00
Ezio Melotti a2f959169a #16862: merge with 3.3. 2013-01-05 07:38:52 +02:00
Ezio Melotti 9f6a239cf1 #16862: merge with 3.2. 2013-01-05 07:38:37 +02:00
Ezio Melotti 7449231eca #16862: remove outdated statements about Stackless. 2013-01-05 07:37:47 +02:00
Ezio Melotti 9beeefbb45 Cleanup a few minor things. 2013-01-05 07:36:54 +02:00
Ezio Melotti 0ae3525e85 Merge example fix with 3.3. 2013-01-05 06:54:38 +02:00
Ezio Melotti 87b83dd18c Merge example fix with 3.2. 2013-01-05 06:54:23 +02:00
Ezio Melotti 19cdee891e Fix example by making the exception inherit from Exception. 2013-01-05 06:53:27 +02:00
Ezio Melotti d05d3cc4eb #13094: merge with 3.3. 2013-01-05 00:51:40 +02:00
Ezio Melotti 7d48669085 #13094: merge with 3.2. 2013-01-05 00:51:20 +02:00
Ezio Melotti cad8b0ff8e #13094: add Programming FAQ entry about the behavior of closures. 2013-01-05 00:50:46 +02:00
Benjamin Peterson ca6142948e merge 3.3 2013-01-03 20:34:58 -08:00
Benjamin Peterson bf064b3911 merge 3.2 2013-01-03 20:34:49 -08:00
Benjamin Peterson d73f369f4c merge heads 2013-01-03 20:34:40 -08:00
Benjamin Peterson 0a2c4f55c4 drop email (closes #16857) 2013-01-03 20:34:19 -08:00
Ezio Melotti f422676423 #16747: merge with 3.3. 2013-01-02 22:29:57 +02:00
Ezio Melotti 407c2ac4f7 #16747: merge with 3.2. 2013-01-02 22:29:41 +02:00
Ezio Melotti d581fff6f0 #16747: fix link to file objects in the glossary. 2013-01-02 22:29:09 +02:00
Eli Bendersky cc85a156ae Fix method name in documentation (__setstate__ --> __getstate__) 2013-01-02 05:55:17 -08:00
Eli Bendersky a6d0dd5dc3 Fix method name in documentation (__setstate__ --> __getstate__) 2013-01-02 05:54:36 -08:00
Eli Bendersky 78f3ce577f Fix method name in documentation (__setstate__ --> __getstate__) 2013-01-02 05:53:59 -08:00
Serhiy Storchaka 805ae0d39d Fix incorrect grammar in sched documentation. 2013-01-02 12:32:10 +02:00
Serhiy Storchaka 75b936ec7f Fix incorrect grammar in sched documentation. 2013-01-02 12:31:26 +02:00
Benjamin Peterson ca319cf94e merge 3.3 2012-12-31 21:44:06 -06:00
Benjamin Peterson a63ecedfa0 update another year 2012-12-31 21:44:00 -06:00
Benjamin Peterson ae2039e62c merge 3.3 2012-12-31 21:37:30 -06:00
Benjamin Peterson 198399d92c bring Python into 2013 2012-12-31 21:37:21 -06:00
Łukasz Langa 1dce0003a6 Merged `parser.clean()` fix (issue #16820) from 3.2 through 3.3. 2012-12-31 03:43:37 +01:00
Łukasz Langa 0dc5ab41f0 Merged `parser.clean()` fix (issue #16820) from 3.2. 2012-12-31 03:41:54 +01:00
Łukasz Langa 3a8479a583 Fixes `parser.clean()` reported in issue #16820. 2012-12-31 03:38:39 +01:00
Serhiy Storchaka 44c66c72c9 Issue #16486: Make aifc files work with 'with' as context managers. 2012-12-29 22:54:49 +02:00
Serhiy Storchaka 3c80ce45e4 Issue #16641: Fix default values of sched.scheduler.enter arguments were modifiable. 2012-12-29 21:15:24 +02:00
Serhiy Storchaka c04957bff3 Issue #16641: Fix default values of sched.scheduler.enter arguments were modifiable. 2012-12-29 21:13:45 +02:00
Serhiy Storchaka d1ced9e86a Issue #16642: Document kwargs field in sched.Event named tuple. 2012-12-29 20:59:29 +02:00
Serhiy Storchaka e912496c60 Issue #16642: Document kwargs field in sched.Event named tuple. 2012-12-29 20:57:52 +02:00
Ezio Melotti 774715cd81 #16796: merge with 3.3. 2012-12-28 02:00:41 +02:00
Ezio Melotti 63ee149ca6 #16796: merge with 3.2. 2012-12-28 02:00:22 +02:00
Ezio Melotti 52336f0b50 #16796: fix typo. Patch by Michael Schurter. 2012-12-28 01:59:24 +02:00
Serhiy Storchaka 464a218e77 Issue #16682: Replace "Python string" to "bytes object" in audioop documentation. 2012-12-27 20:47:30 +02:00
Serhiy Storchaka e261055eaf Issue #16682: Replace "Python string" to "bytes object" in audioop documentation. 2012-12-27 20:46:19 +02:00
Serhiy Storchaka c8bd74ddfd Issue #16682: Replace "Python string" to "bytes object" in audioop documentation. 2012-12-27 20:43:36 +02:00
Jesus Cea cdf680f54c MERGE: Closes #16789: :meth:`quit` links to constants instead of own module 2012-12-26 16:48:26 +01:00
Jesus Cea aa24468c9b MERGE: Closes #16789: :meth:`quit` links to constants instead of own module 2012-12-26 16:47:40 +01:00
Jesus Cea c73f863a8d Closes #16789: :meth:`quit` links to constants instead of own module 2012-12-26 16:47:03 +01:00
Kristján Valur Jónsson cacb400345 Merge with 3.3
Issue #14574: Ignore socket errors raised when flushing a connection on close.
2012-12-26 15:15:17 +00:00
Kristján Valur Jónsson c8e7e2bb76 Merge with 3.2 :
Issue #14574: Ignore socket errors raised when flushing a connection on close.
2012-12-26 15:13:29 +00:00
Brian Curtin 490b32a397 Fix #11939. Set st_dev attribute on Windows to simplify os.path.samefile.
By setting the st_dev attribute, we can then remove some Windows-specific
code and move os.path.samefile/sameopenfile/samestat to Lib/genericpath.py
so all platforms share the same implementation.
2012-12-26 07:03:03 -06:00
Chris Jerdonek c475278a94 Merge from 3.3: add links and index entries for "argument" and "parameter."
This adds to the work done for issue #15990 (i.e. f44b8d69e5fc and the
commits referenced there).
2012-12-25 14:59:46 -08:00
Chris Jerdonek 32bbc1c396 Merge from 3.2: add links and index entries for "argument" and "parameter."
This adds to the work done for issue #15990 (i.e. f44b8d69e5fc and the
commits referenced there).
2012-12-25 14:57:54 -08:00
Chris Jerdonek b43099464a Add additional links and index entries for "argument" and "parameter".
This adds to the work done for issue #15990 (i.e. f44b8d69e5fc and the
commits referenced there).
2012-12-25 14:54:44 -08:00
Kristján Valur Jónsson 36852b7844 Issue #14574: Ignore socket errors raised when flushing a connection on close. 2012-12-25 22:46:32 +00:00
Chris Jerdonek b7c2386a3f Fix Sphinx warning (missing "setting-envvars" reference).
This fixes the following warning when building the docs (probably from
the commit for issue #14901):

"/Doc/faq/windows.rst:138: WARNING: undefined label: setting-envvars (if the
link has no caption the label must precede a section header)"
2012-12-25 15:26:24 -08:00
Ezio Melotti e34ccb6861 #16760: merge with 3.3. 2012-12-25 18:16:31 +02:00
Ezio Melotti 1bdb638ce3 #16760: merge with 3.2. 2012-12-25 18:15:28 +02:00
Ezio Melotti 090f7be6df #16760: use ref:`match-objects` instead of :class:`MatchObject`. 2012-12-25 18:10:49 +02:00
Ezio Melotti 16bdd4120d #16677: merge with 3.3. 2012-12-25 15:47:41 +02:00
Ezio Melotti 1be057673a #16677: merge with 3.2. 2012-12-25 15:46:58 +02:00
Ezio Melotti 9f929bb7df #16677: rename section header and fix markup. 2012-12-25 15:45:15 +02:00
Chris Jerdonek 7d2fad1be2 Merge from 3.3: link to "yield from" examples in yield documentation. 2012-12-23 15:35:23 -08:00
Chris Jerdonek 2654b86e88 Link to "yield from" examples in yield documentation.
This commit also simplifies the more advanced "yield from" example and removes
unused function parameters.
2012-12-23 15:31:57 -08:00
Andrew Svetlov 0794fe0356 Add NEWS and docs for #9856 2012-12-23 15:12:19 +02:00
Georg Brandl c0fc958299 Add a missing versionadded. 2012-12-22 10:36:45 +01:00
Benjamin Peterson 301162b43d merge 3.3 (closes #16687) 2012-12-20 20:25:00 -06:00
Benjamin Peterson 9cb7bd2df4 link to GIL as a term
Patch from Jeff Knupp.
2012-12-20 20:24:37 -06:00
Benjamin Peterson bd584d559b fix typo (#16687)
Patch from Jeff Knupp.
2012-12-20 20:22:47 -06:00
Andrew Svetlov 2606a6f197 Issue #16719: Get rid of WindowsError. Use OSError instead
Patch by Serhiy Storchaka.
2012-12-19 14:33:35 +02:00
Andrew Svetlov 8a045cb93b Add versionchanged tag to faq (useless btw because changed text is commented out) 2012-12-19 13:45:30 +02:00
Andrew Svetlov 5f11a00056 Mention OSError instead of IOError in the docs. 2012-12-18 23:16:44 +02:00