Commit Graph

489 Commits

Author SHA1 Message Date
Serhiy Storchaka bfdcd436f0 Issue #18758: Fixed and improved cross-references. 2013-10-13 23:09:14 +03:00
Serhiy Storchaka 287da2e0b9 Issue #19203: Improved cross-references in the curses howto. 2013-10-13 19:24:30 +03:00
Serhiy Storchaka 04d11a73fa Issue #19203: Improved cross-references in the curses howto. 2013-10-13 18:51:59 +03:00
Georg Brandl 3ebbb04af2 merge with 3.3 2013-10-08 21:54:47 +02:00
Georg Brandl ee82d0b293 Minor grammar fix. 2013-10-08 21:54:37 +02:00
Georg Brandl 736295c347 merge with 3.3 2013-10-06 13:07:14 +02:00
Georg Brandl e47e184c4a Unicode howto: use .txt as a more universally understood extension for text files. 2013-10-06 13:07:10 +02:00
Georg Brandl 98c0665007 merge with 3.3 2013-10-06 10:04:49 +02:00
Georg Brandl dbab26a8c9 curses HOWTO: fix some PEP8 and a code example to actually raise the exception it promises. 2013-10-06 10:04:21 +02:00
Vinay Sajip 5421f35d5e logging: added support for Unix domain sockets to SocketHandler and DatagramHandler. 2013-09-27 18:18:28 +01:00
Andrew Kuchling 46aace343f Merge from 3.3 2013-08-18 18:58:27 -04:00
Andrew Kuchling 3f4f3ba1a8 #18562: various revisions to the regex howto for 3.x
* describe how \w is different when used in bytes and Unicode patterns.

* describe re.ASCII flag to change that behaviour.

* remove personal references ('I generally prefer...')

* add some more links to the re module in the library reference

* various small edits and re-wording.
2013-08-18 18:57:22 -04:00
Vinay Sajip 07b16615bc Issue #18759: Merged updates from 3.3. 2013-08-17 00:40:38 +01:00
Vinay Sajip 67f39777fa Issue #18759: Improved cross-references in logging documentation. 2013-08-17 00:39:42 +01:00
R David Murray bd2a757010 Merge #15130: remove repeat of abstract paragraph from socket howto body. 2013-07-25 13:24:40 -04:00
R David Murray b76b1b1ec8 #15130: remove repeat of abstract paragraph from socket howto body.
Patch by Tshepang Lekhonkhobe.
2013-07-25 13:24:15 -04:00
Vinay Sajip aca61703fa Closes #18541: merged update from 3.3. 2013-07-24 17:52:58 +01:00
Vinay Sajip a92fbe6dce Issue #18541: simplified LoggerAdapter example. 2013-07-24 17:52:01 +01:00
Ned Deily d57b268653 Closes #18452: fix several "occurrence" typos (reported by Févry Thibault). 2013-07-14 12:45:18 -07:00
Ned Deily 0995c47891 Issue #18452: fix several "occurrence" typos (reported by Févry Thibault). 2013-07-14 12:43:16 -07:00
Andrew Kuchling 7aed567f2b Merge from 3.3 2013-06-20 09:51:51 -04:00
Andrew Kuchling 2151fc6416 #4153: update Unicode howto for Python 3.3
* state that python3 source encoding is UTF-8, and give examples

* mention surrogateescape in the 'tips and tricks' section, and
  backslashreplace in the "Python's Unicode Support" section.

* Describe Unicode support provided by the re module.

* link to Nick Coghlan's and Ned Batchelder's notes/presentations.

* default filesystem encoding is now UTF-8, not ascii.

* Describe StreamRecoder class.

* update acks section

* remove usage of "I think", "I'm not going to", etc.

* various edits

* remove revision history and original outline
2013-06-20 09:29:09 -04:00
Andrew Kuchling 2a9c8e8cd3 #17955: minor updates to Functional howto
* Describe compress() and accumulate()
* Add a subsection on combinatoric functions.
* Add a forward link to skip the theoretical discussion in the first section.
* Clarify what filterfalse() is the opposite of.
* Remove the old outline and some notes at the end.
* Various small edits.
2013-05-20 10:14:53 -04:00
Andrew Kuchling 40e39fc8b8 #17700: merge with 3.3 2013-05-09 20:14:01 -04:00
Andrew Kuchling ddcb30440d #17700: update the curses HOWTO for 3.x 2013-05-09 20:05:20 -04:00
R David Murray 775ccdf1fc #7152: Remove incorrectly added reference to DataHandler. 2013-04-28 17:06:01 -04:00
R David Murray d4c1b36c39 Merge: Reflow paragraphs.
(I got a merge conflict on this in urllib.request.rst, which makes no sense to
me.  Hopefully I didn't screw up the previous 3.3 commit.)
2013-04-28 11:30:19 -04:00
R David Murray 9330a94467 Reflow paragraphs.
I know one of them looks worse, but now it is <80 chars and
matches the 2.7 text.
2013-04-28 11:24:35 -04:00
R David Murray 876f08e3ae Merge #7152: Clarify that ProxyHandler is added only if proxy settings are detected.
Behavior confirmation and initial patch by Jessica McKellar.
2013-04-28 11:08:27 -04:00
R David Murray 5aea37ad1d #7152: Clarify that ProxyHandler is added only if proxy settings are detected.
Behavior confirmation and initial patch by Jessica McKellar.
2013-04-28 11:07:16 -04:00
Ezio Melotti cbe19e56ea #17729: merge with 3.3. 2013-04-23 09:58:04 +03:00
Ezio Melotti d638381ee0 #17729: remove the Advocacy HOWTO from the index. 2013-04-23 09:56:30 +03:00
Ezio Melotti 99b3caf514 #17729: merge with 3.3. 2013-04-23 09:25:45 +03:00
Ezio Melotti 8bdcaf794a #17729: remove the outdated Advocacy HOWTO, as suggested by the author. 2013-04-23 09:24:51 +03:00
Georg Brandl 1e6a3a2fe9 merge with 3.3 2013-04-14 10:59:17 +02:00
Georg Brandl a204636b91 bind('') does not do the same as bind('localhost') 2013-04-14 10:59:04 +02:00
Andrew Svetlov c53fd51278 Change wording as Eli Bendersky suggests. 2013-04-06 18:55:31 +03:00
Andrew Svetlov e16f4dc80a Change wording as Eli Bendersky suggests. 2013-04-06 18:55:07 +03:00
Georg Brandl 98297f4807 merge with 3.3 2013-04-06 16:47:34 +02:00
Georg Brandl 2fd4abe6a1 merge with 3.2 branch 2013-04-06 16:39:49 +02:00
Andrew Svetlov a5b89c178b Fix typo 2013-04-05 11:40:01 +03:00
Andrew Svetlov e463b668e8 Fix typo 2013-04-05 11:39:50 +03:00
Andrew Svetlov 974045523b Fix typo. 2013-04-05 10:11:25 +03:00
Andrew Svetlov 815b0e23bf Fix typo. 2013-04-05 10:10:12 +03:00
Vinay Sajip 3fdd4f1935 Merged documentation update from 3.3. 2013-03-30 11:57:09 +00:00
Vinay Sajip 8028a5cf15 Updated logging cookbook with additional example for output using str.format(). 2013-03-30 11:56:18 +00:00
Georg Brandl 1bab7134a8 Merge with 3.3. 2013-03-28 13:28:55 +01:00
Georg Brandl 44ea77bd81 Closes #4159: add LaTeX tabular column specifications to tables that otherwise are cut off or have overlapping text. 2013-03-28 13:28:44 +01:00
Ezio Melotti f92b063c4e Update suspicious ignore file. 2013-03-28 05:12:31 +02:00
Ezio Melotti e5caf29743 Update suspicious ignore file. 2013-03-28 04:54:58 +02:00
Ezio Melotti fd4365a4d8 Update suspicious ignore file. 2013-03-28 04:31:53 +02:00
Georg Brandl d50fe7216d Fix suspicious markup in the docs. 2013-03-23 16:00:41 +01:00
Ezio Melotti a41fb4be5b #17351: merge with 3.3. 2013-03-11 09:43:25 +02:00
Ezio Melotti c9cfcf1e6c #17351: merge with 3.2. 2013-03-11 09:42:40 +02:00
Ezio Melotti af8838f443 #17351: remove "object" inheritance from docs. Patch by Phil Elson. 2013-03-11 09:30:21 +02:00
Raymond Hettinger 6584a1e72c merge 2013-03-10 09:51:37 -07:00
Raymond Hettinger 686aae4841 Inherit from object() for consistency 2013-03-10 09:50:37 -07:00
Raymond Hettinger e238b889eb merge 2013-03-10 09:42:22 -07:00
Raymond Hettinger 632c8c8ab1 Issue #17351: Modernize the pure Python property() example. 2013-03-10 09:41:18 -07:00
Brett Cannon ff73758b8f merge 2013-03-09 14:25:08 -05:00
Brett Cannon b7e6b89554 Touch up the Python 2 to 3 porting guide 2013-03-09 14:22:35 -05:00
Serhiy Storchaka 0cad7eca45 Issue #17193: Use binary prefixes (KiB, MiB, GiB) for memory units. 2013-02-16 17:30:31 +02:00
Serhiy Storchaka f8def28ff0 Issue #17193: Use binary prefixes (KiB, MiB, GiB) for memory units. 2013-02-16 17:29:56 +02:00
Vinay Sajip 560eff173c Merged doc update from 3.3. 2013-01-23 09:32:32 +00:00
Vinay Sajip 9427b03133 Merged doc update from 3.2. 2013-01-23 09:32:10 +00:00
Vinay Sajip 3d9e972270 Corrected typo, added comment in cookbook recipe. 2013-01-23 09:31:19 +00: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
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
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
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
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 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
Andrew Svetlov a191959849 Issue #16714: use 'raise' exceptions, don't 'throw'.
Patch by Serhiy Storchaka.
2012-12-18 21:27:16 +02:00
Andrew Svetlov 5b89840d9c Issue #16714: use 'raise' exceptions, don't 'throw'.
Patch by Serhiy Storchaka.
2012-12-18 21:26:36 +02:00
Andrew Svetlov 737fb89dd1 Issue #16714: use 'raise' exceptions, don't 'throw'.
Patch by Serhiy Storchaka.
2012-12-18 21:14:22 +02:00
Andrew Svetlov 47395617bc Issue #16261: fix bare excepts in Doc/ 2012-11-02 22:07:26 +02:00
Chris Jerdonek 006d907afc Undo changes accidentally reverted in de8787029fe4. 2012-10-12 20:28:26 -07:00
Benjamin Peterson b548d49f65 merge heads 2012-10-12 12:05:01 -04:00
Benjamin Peterson 143d034ecd merge 3.2 2012-10-12 12:04:32 -04:00
Ezio Melotti eb818193b3 Merge doctest fixes in functional howto with 3.2. 2012-10-12 13:25:54 +03:00
Ezio Melotti 35cbf16202 Make doctests pass in the functional howto. 2012-10-12 13:24:19 +03:00
Ezio Melotti dd67c1d91a Merge functional howto improvements with 3.2. 2012-10-12 13:23:32 +03:00
Ezio Melotti 45a101db1d Improve markup in functional.rst, and fix a couple of errors. 2012-10-12 12:42:51 +03:00
Ezio Melotti a6229e6ebd Fix and add more links. 2012-10-12 10:59:14 +03:00
Senthil Kumaran 570bc4c465 Fix Issue 15922: make howto/urllib2.rst doctests pass.
Patch by Chris Jerdonek. Address Ezio's review comment.
2012-10-09 00:38:17 -07:00
Senthil Kumaran 1ed9847a5a Fix Issue 15922: make howto/urllib2.rst doctests pass.
Patch by Chris Jerdonek. Address Ezio's review comment.
2012-10-09 00:37:09 -07:00
Eli Bendersky 948af23a77 Issue #15888: fixing problems in ipaddress doctests. Patch by Chris Jerdonek 2012-10-07 07:23:50 -07:00
Ezio Melotti 2b7a71d6e5 #15949, #15899: merge with 3.2. 2012-09-23 16:03:21 +03:00
Ezio Melotti 20b8d992b0 #15949, #15899: use \ufffd instead of ?. 2012-09-23 15:55:14 +03:00
Ezio Melotti fb436c4eba #15949, 15899: merge with 3.2. 2012-09-22 11:25:22 +03:00
Ezio Melotti b1d0e5b11e #15949, 15899: avoid using non-latin1 chars in the doc (they break `make all-pdf`). 2012-09-22 11:23:06 +03:00
Ezio Melotti 8646e8ea72 #15920: merge with 3.2. 2012-09-17 05:30:58 +03:00
Ezio Melotti 13bec9b315 #15920: fix doctests in Doc/howto/regex.rst. Patch by Chris Jerdonek. 2012-09-17 05:29:47 +03:00
Senthil Kumaran e4eee73293 merge. Fix issue #15899: Make the unicode.rst doctests pass. Patch by Chris Jerdonek. 2012-09-11 03:20:22 -07:00
Senthil Kumaran 2fd8bdbc9d Fix issue #15899: Make the unicode.rst doctests pass. Patch by Chris Jerdonek. 2012-09-11 03:17:52 -07:00
Sandro Tosi eb41c7fef8 merge with 3.2 2012-08-15 21:37:56 +02:00
Sandro Tosi dd7c55250d clarify in/not in in case of infinite iterators; thanks to Sergey Skovorodkin from docs@ 2012-08-15 21:37:35 +02:00
Eli Bendersky dfd72bbc4d Issue #14814: fix some typos in howto/ipaddress.rst 2012-07-31 17:25:33 +03:00
Vinay Sajip a61b45980b Merged documentation update from 3.2. 2012-07-27 10:55:16 +01:00
Vinay Sajip a58d668fd9 Improved cookbook entry and fixed typo. 2012-07-27 10:54:10 +01:00
Nick Coghlan ccd712a8d1 Issue 14814: Further clean ups to the ipaddress tutorial 2012-07-07 22:53:46 +10:00
Nick Coghlan b582ecc562 Issue 14814: Explain how to get more error detail in the ipaddress tutorial, and tweak the display for octet errors in IPv4 (noticed the formatting problem when adding to the docs) 2012-07-07 22:15:22 +10:00
Nick Coghlan 9680bdb567 Issue #14814: Add first draft of PEP 3144 ipaddress module documentation (initial patch by Sandro Tosi) 2012-06-17 17:24:10 +10:00
Sandro Tosi c816290059 Issue #14814: use print() function 2012-06-02 17:16:33 +02:00
Nick Coghlan 53c920052b Issue #14814: Add a basic ipaddress tutorial (thanks to Sandro Tosi for the initial conversion from Peter Moody's wiki version) 2012-05-27 01:53:33 +10:00
Georg Brandl 75d5d8c781 Merge with 3.2. 2012-05-06 21:39:59 +02:00
Georg Brandl 0958a4d63d Fix document title for Sphinx. 2012-05-06 21:39:35 +02:00
Ezio Melotti b55d9e3e19 #14034: merge indentation fixes from 3.2. 2012-05-06 17:05:54 +03:00
Ezio Melotti 9ab3fdd8cb #14034: fix indentation. 2012-05-06 17:05:16 +03:00
Ezio Melotti df5bedbf88 #14034: merge argparse tutorial from 3.2. 2012-05-06 16:34:43 +03:00
Ezio Melotti 6cc7a41c2f #14034: added the argparse tutorial. Patch by Tshepang Lekhonkhobe. 2012-05-06 16:15:35 +03:00
Georg Brandl ebb29640fa Suspicious markup check. 2012-05-01 09:29:56 +02:00
Raymond Hettinger b77b5c308d merge 2012-04-29 09:35:39 -07:00
Raymond Hettinger 99a56386f1 Issue 14688: Fix typo 2012-04-29 09:32:30 -07:00
Sandro Tosi 011c9aa822 Issue #13587: merge with 3.2 2012-04-24 17:37:02 +02:00
Sandro Tosi 08ccbf4be9 Issue #13587: use the right RFC2617 name for WWW-Authenticate; patch by Aaron Maenpaa 2012-04-24 17:36:41 +02:00
R David Murray 0b7d7c9544 Merge #14640: Fix typos/syntax in pyporting.rst.
Patch by Dionysios Kalofonos.
2012-04-23 14:45:45 -04:00
R David Murray 790e005669 #14640: Fix typos/syntax in pyporting.rst.
Patch by Dionysios Kalofonos.
2012-04-23 14:44:00 -04:00
Sandro Tosi 8c52ab597f Issue #14641: merge with 3.2 2012-04-23 19:45:45 +02:00
Sandro Tosi cfdba61c3c Issue #14641: minor fixes to sockets Howto; patch by Dionysios Kalofonos 2012-04-23 19:45:07 +02:00
Vinay Sajip f138f8c1ab Merged cookbook corrections from 3.2. 2012-04-17 00:41:39 +01:00
Vinay Sajip 62930e1cc5 Corrected version numbers in cookbook example. 2012-04-17 00:40:48 +01:00
Vinay Sajip e8a463d791 Merged tweaks to cookbook example from 3.2. 2012-04-16 15:47:05 +01:00
Vinay Sajip 59b9a79a5a Tweaked format of cookbook example. 2012-04-16 15:46:18 +01:00
Vinay Sajip 1b7101968a Merged cookbook update from 3.2. 2012-04-16 15:29:28 +01:00
Vinay Sajip b00e8f108d Added cookbook example for BOM insertion. 2012-04-16 15:28:50 +01:00
Vinay Sajip 8bf2aea962 Merged updates to logging reference and HOWTO from 3.2. 2012-04-10 20:00:43 +01:00
Vinay Sajip 074faff925 Updated logging reference and HOWTO. 2012-04-10 19:59:50 +01:00
Vinay Sajip da29f8c915 Merged comment correction from 3.2. 2012-04-09 19:47:16 +01:00
Vinay Sajip 838e638a96 Corrected comment in cookbook example script. 2012-04-09 19:46:24 +01:00