Vinay Sajip
a0c9a4ed75
Added cookbook recipe for structured logging.
2013-01-22 15:57:12 +00:00
Vinay Sajip
0f2bd027a8
Updated logging HOWTO with a diagram.
2013-01-22 13:10:58 +00:00
Stefan Krah
b357db885c
Backport 6df456f8fc6d.
2013-01-20 23:29:28 +01:00
Vinay Sajip
3a5fc4bcb8
Issue #16884 : Updated docs to use 'note' directives.
2013-01-08 11:18:42 +00:00
Benjamin Peterson
830b4a8570
drop email ( closes #16857 )
2013-01-03 20:34:19 -08:00
Ezio Melotti
e608e3141e
#15345 : fix SyntaxError in argparse tutorial example. Patch by Simon Hayward.
2012-07-13 21:40:25 +02: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
c5288e60f3
Fix document title for Sphinx.
2012-05-06 21:39:35 +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
1c96f946cf
#14034 : adapt to Python 2 and fix indentation.
2012-05-06 17:03:19 +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
Ezio Melotti
e48daea2a6
#14034 : added the argparse tutorial. Patch by Tshepang Lekhonkhobe.
2012-05-06 16:15:35 +03:00
Ezio Melotti
510ff54324
Use Python 3 instead of 3.0.
2012-05-03 19:21:40 +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
Raymond Hettinger
524bc3993f
Fix typo
2012-04-29 09:25:25 -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
Sandro Tosi
45c6a3cae7
Issue #13587 : use the right RFC2617 name for WWW-Authenticate; patch by Aaron Maenpaa
2012-04-24 17:36:14 +02:00
R David Murray
393b7b59a4
#14640 : Fix typos/syntax in pyporting.rst.
...
Patch by Dionysios Kalofonos.
2012-04-23 14:46:39 -04: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
Sandro Tosi
da999d29ab
Issue #14641 : minor fixes to sockets Howto; patch by Dionysios Kalofonos
2012-04-23 19:44:51 +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
8085f44844
Tweaked format of cookbook example.
2012-04-16 15:45:11 +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
4e646aaf93
Added cookbook example for log insertion.
2012-04-16 15:27:55 +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
2a1c13bb2d
Updated logging reference and HOWTO.
2012-04-10 19:52:06 +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
Vinay Sajip
452806c8e3
Merged logging cookbook update from 3.2.
2012-04-08 01:51:29 +01:00
Vinay Sajip
0292fa99ef
Added multiprocessing example to logging cookbook.
2012-04-08 01:49:12 +01:00
Georg Brandl
1a7742eb4d
merge with 3.2
2012-03-25 08:43:32 +02:00
Georg Brandl
99c1f594b3
Closes #14401 : fix typos in curses howto.
2012-03-25 08:43:22 +02:00
Georg Brandl
11ee31ab08
Closes #14401 : fix typos in curses howto.
2012-03-25 08:43:22 +02:00
Martin v. Löwis
ecc92db031
merge 3.2
2012-03-24 17:40:50 +01:00
Martin v. Löwis
2dee394af9
Issue #14400 : Fix typo.
2012-03-24 17:39:57 +01:00
Martin v. Löwis
fcf37c1896
Issue #14400 : Fix typo.
2012-03-24 17:38:29 +01:00
Senthil Kumaran
7596aeaba7
cpython:Fix the wrong urllib exampls which use str for POST data. Closes Issue11261
2012-03-14 18:11:46 -07:00
Senthil Kumaran
87684e6eea
Fix the wrong urllib exampls which use str for POST data. Closes Issue11261
2012-03-14 18:08:13 -07:00
Senthil Kumaran
e24f96a059
Issue10050 - urlretrieve uses newer urlopen. reporthook of urlretrieve takes, block number, block read size, file_size
2012-03-13 19:29:33 -07:00
Éric Araujo
6a59b70cba
Merge 3.2
2012-03-05 16:24:07 +01:00
Éric Araujo
fdfaf0aba2
Use source reST role instead of file where it makes sense.
...
source generates a nifty link to the Mercurial web viewer.
2012-03-05 15:50:37 +01:00
Éric Araujo
d3899e320f
Remove mention of defunct file.
...
Misc/COPYRIGHT was renamed twelve years ago to LICENSE and later copied
to the main docs, to which there is already a link.
2012-03-05 15:47:32 +01:00
Larry Hastings
7b5649cd48
Merge: Propagate changes for issues #13053 and #13086 from 2.7 to 3.2.
...
(Doc only.)
2012-02-28 16:30:31 -08:00
Larry Hastings
62417a0354
Propagate changes for issues #13053 and #13086 from 2.7 to 3.2. (Doc only.)
2012-02-28 16:21:47 -08:00
Vinay Sajip
ff4b7bfaef
Merged cookbook improvement from 3.2.
2012-02-28 08:06:01 +00:00
Vinay Sajip
39b83ac772
Improved logging cookbook example.
2012-02-28 08:05:23 +00:00
Georg Brandl
86798d4ff9
Merge with 3.2.
2012-02-28 08:21:49 +01:00
Georg Brandl
e998386442
Fix markup errors.
2012-02-28 08:21:40 +01:00
Vinay Sajip
bd2c199b2b
Merged cookbook update for LogRecord customisation.
2012-02-27 11:57:25 +00:00
Vinay Sajip
982f534fab
Updated cookbook with information on customising LogRecords.
2012-02-27 11:56:29 +00:00
Vinay Sajip
22fa0677d6
Merged cookbook update from 3.2.
2012-02-27 11:03:26 +00:00
Vinay Sajip
6b883a2c4d
Updated logging cookbook with info on alternative format styles.
2012-02-27 11:02:45 +00:00
Senthil Kumaran
0bfa963fbb
merged from 3.2
...
Issue #6005 : Examples in the socket library documentation use sendall, where
relevant, instead send method.
2012-02-09 17:55:56 +08:00
Senthil Kumaran
6e13f130a9
Fix Issue #6005 : Examples in the socket library documentation use sendall,
...
where relevant, instead send method.
2012-02-09 17:54:17 +08:00
Ezio Melotti
226231c930
Use ASCII quotes and fix markup.
2012-01-18 05:40:00 +02:00
Éric Araujo
76c6aa860c
Use source reST role instead of file where it makes sense.
...
source generates a nifty link to the Mercurial web viewer.
2012-03-05 16:43:41 +01:00
Éric Araujo
47546e6e3d
Remove mention of defunct file.
...
Misc/COPYRIGHT was renamed twelve years ago to LICENSE and later copied
to the main docs, to which there is already a link.
2012-03-05 16:30:46 +01:00
Larry Hastings
0555cde98d
Issue #13086 : Update howto/cporting.rst to discuss "Python 3" instead of "3.0".
2012-02-28 15:17:23 -08:00
Senthil Kumaran
607e31eddf
Fix Issue #6005 : Examples in the socket library documentation use sendall,
...
where relevant, instead send method. Patch contributed by Brian Brazil.
2012-02-09 17:43:31 +08:00
Sandro Tosi
98ed08f24e
update to new C roles and directives
2012-01-14 16:42:02 +01:00
Raymond Hettinger
c766b31dbc
Update the sorting howto to reflect the PEP 8 advisory to define all six rich comparisons.
2012-01-10 07:55:17 +00:00
Sandro Tosi
1abde3628b
fix some broken URLs
2011-12-31 18:46:50 +01:00
Sandro Tosi
117e1f00a8
fix some broken URLs
2011-12-31 18:13:59 +01:00
Senthil Kumaran
a9091d2611
Issue13443 - Remove the functional module examples from 2.7 (as module is
...
maintained only till 2.5 and tests had failures with 2.7) and update the links
int the howto document.
2011-12-22 23:44:53 +08:00
Vinay Sajip
23b94d0b98
Refactored logging rotating handlers for improved flexibility.
2012-01-04 12:02:26 +00:00
Sandro Tosi
8df168cc7b
merge with 3.2
2011-12-31 19:03:30 +01:00
Florent Xicluna
aa6c1d240f
Issue #13575 : there is only one class type.
2011-12-12 18:54:29 +01:00
Antoine Pitrou
3731142e19
Merge assorted fixes from 3.2
2011-12-05 01:47:40 +01:00
Antoine Pitrou
5b73ca4b3d
s/SOCKSTREAM/TCP/
2011-12-05 01:46:35 +01:00
Antoine Pitrou
8e644f0e7c
Reword IPC section
2011-12-05 01:43:32 +01:00
Antoine Pitrou
8345451170
Use www.python.org instead of a hostname pointing to a parked (or squatted) domain.
...
Also, reformat a bit.
2011-12-05 01:37:34 +01:00
Antoine Pitrou
fa03f6c863
Remove the outdated notion that multithreading doesn't work well on Unices.
2011-12-05 01:32:29 +01:00
Antoine Pitrou
9b1ec97867
Remove reference to the base64 encoding.
2011-12-05 01:22:03 +01:00
Antoine Pitrou
534e253cb6
Remove reference to the base64 encoding.
2011-12-05 01:21:46 +01:00
Antoine Pitrou
b53e2c4900
The functional module hasn't been maintained since 2006 and doesn't work with Python 3.
...
Remove section about it from the functional programming FAQ.
2011-12-05 01:05:55 +01:00
Antoine Pitrou
48a7cbf7c2
The functional module hasn't been maintained since 2006 and doesn't work with Python 3.
...
Remove section about it from the functional programming FAQ.
2011-12-05 01:05:32 +01:00
Jason R. Coombs
c9b644eac2
Merge fix for Issue #12666 from 3.2
2011-12-03 08:59:53 -05:00
Jason R. Coombs
a90e364ea5
Issue #12666 : Added section about map changes.
2011-12-03 08:24:21 -05:00
Vinay Sajip
d2b0217944
Merged documentation addition from 3.2.
2011-11-23 14:29:01 +00:00
Vinay Sajip
631a7e23c5
Added a configuration dictionary example to the logging cookbook.
2011-11-23 14:27:54 +00:00
Vinay Sajip
da75dd2a9b
Added a configuration dictionary example to the logging cookbook.
2011-11-23 14:27:11 +00:00
Vinay Sajip
e6fda8575e
Added lost documentation cross-reference.
2011-10-27 17:51:13 +01:00
Vinay Sajip
6187664fa7
Added lost documentation cross-reference.
2011-10-27 17:50:55 +01:00
Ezio Melotti
e130a52d8a
Remove duplication.
2011-10-19 10:58:56 +03:00
Ezio Melotti
1e87da16ea
Remove duplication.
2011-10-19 10:39:35 +03:00
Vinay Sajip
b5cab85dc7
Merged documentation fix from 3.2.
2011-10-27 17:53:19 +01:00
Ezio Melotti
f10644983e
Merge with 3.2.
2011-10-19 11:06:26 +03:00
Larry Hastings
fc45bbaccc
Issue #13053 : Added section on migrating from CObject to Capsule
...
to howto/cporting.rst.
2011-10-09 13:03:44 +01:00
Vinay Sajip
e0afb16a31
Closes #12906 : Merged fix from 3.2.
2011-09-06 14:08:24 +01:00
Vinay Sajip
4eb0e73ff2
Closes #12906 : Fixed bug in YAML configuration.
2011-09-06 14:07:23 +01:00
Vinay Sajip
fa4736ef2f
Closes #12906 : Fixed bug in YAML configuration.
2011-09-06 14:06:24 +01:00
Éric Araujo
b8edbdf4b9
Merge doc changes from 3.2.
...
rstlint complains about packaging docs but I’m working on those in
another patch.
2011-09-01 05:57:12 +02:00
Éric Araujo
37b5f9eebc
Fix some misuses of Sphinx roles and one typo
2011-09-01 03:19:30 +02:00
Éric Araujo
cdb86f17bf
Branch merge
2011-08-19 02:26:44 +02:00
Éric Araujo
52a5a03498
Add Python porting howto from 3.x.
...
No change was necessary to make the file build, contrary to cporting.rst
that uses markup like :c:func: that needs to be changed to :cfunc: in
2.7. Future backports should be straightforward.
2011-08-19 01:22:42 +02:00
Sandro Tosi
02ebf4f78b
grammatical fixes; from Darren Yin on docs@
2011-08-18 15:36:15 +02:00
Ezio Melotti
e906c13da4
Merge typo fix.
2011-07-31 22:50:01 +03:00
Ezio Melotti
222e61e444
Fix typo reported by Sandro Tosi.
2011-07-31 22:49:18 +03:00
Ezio Melotti
c1fc2e177d
Fix typo reported by Sandro Tosi.
2011-07-31 22:48:45 +03:00
Georg Brandl
deb852db71
Merge 3.2 branch.
2011-07-23 08:06:00 +02:00
Georg Brandl
06ad13ee7c
Fix function name: open -> urlopen.
2011-07-23 08:04:40 +02:00
Raymond Hettinger
ea30a5e6bd
Issue #8890 : Remove /tmp from examples.
2011-06-26 15:29:27 +02:00
Raymond Hettinger
b34705ff37
Issue #8890 : Remove /tmp from examples.
2011-06-26 15:29:06 +02:00
Georg Brandl
f364ce242d
Fix function name: open -> urlopen.
2011-07-23 08:06:33 +02:00
Raymond Hettinger
aff394b64f
A number of small fixups for the sorting howto guide.
2011-07-19 01:35:35 -07:00
Georg Brandl
3a04b4b180
Add missing "a".
2011-07-18 10:39:55 +02:00
Martin v. Löwis
8480bc65bc
Drop claim about nasty problem.
...
It's unclear what this was referring to; most likely, it was about sockets
that the application had already closed, in which case it's not a sockets
problem, but an application problem.
2011-06-06 10:27:56 +02:00
Martin v. Löwis
2d449aa004
Drop unfounded claims about performance.
2011-06-06 10:25:55 +02:00
Martin v. Löwis
a7eaa41f7f
Use bytes in myreceive.
2011-05-29 17:15:44 +02:00
Martin v. Löwis
987475c956
Explain that INET is IPv4 and STREAM is TCP.
2011-05-29 16:54:08 +02:00
Eli Bendersky
2f1b3962a2
Issue 12126: removing incorrect claim about return value of select
...
merge 3.1 -> 3.2
2011-05-22 06:57:17 +03:00
Eli Bendersky
46ab96a0c8
Issue 12126: removing incorrect claim about return value of select
2011-05-22 06:56:15 +03:00
Eli Bendersky
e91b305d28
Issue 12126: removing incorrect claim about return value of select
2011-05-22 06:49:01 +03:00
Ezio Melotti
132bcf4724
#11979 : merge with 3.1.
2011-05-14 09:23:52 +03:00
Ezio Melotti
9b323a521c
#11979 : improve wording and markup in sockets howto. Patch by Xavier Morel.
2011-05-14 09:17:52 +03:00
Ezio Melotti
eda199030b
#11979 : improve wording and markup in sockets howto. Patch by Xavier Morel.
2011-05-14 09:17:52 +03:00
Raymond Hettinger
bd0933a687
Issue #11940 : Update external link.
2011-04-27 16:34:07 -07:00
Raymond Hettinger
507cbc1773
Issue #11940 : Update external link.
2011-04-27 16:32:08 -07:00
Raymond Hettinger
4f7412356d
Issue #11940 : Update external link.
2011-04-27 16:32:34 -07:00
Ezio Melotti
c17c1f64aa
#11897 : Fix typo in porting howto. Patch by Marti Raudsepp.
2011-04-21 14:49:03 +03:00
Vinay Sajip
5dbca9cc3f
Issue #11794 : Reorganised logging documentation.
2011-04-08 11:40:38 +01:00
Raymond Hettinger
af9be06b3c
Issue 7391: Remove questionable and outdated HOWTO document with permission from its author.
2011-03-18 18:22:28 -07:00
Georg Brandl
891391bf68
Merge doc fixes.
2011-03-06 11:12:42 +01:00
Georg Brandl
f125a9a9aa
#11239 : add } to list of metacharacters (it is only a metacharacter sometimes, ie. when closing a {n,m} group, but so is ].
2011-03-06 11:07:11 +01:00
Georg Brandl
a2388be2af
#11239 : add } to list of metacharacters (it is only a metacharacter sometimes, ie. when closing a {n,m} group, but so is ].
2011-03-06 11:07:11 +01:00
Vinay Sajip
dcc9513c67
Issue #11331 : fixed documentation in logging cookbook.
2011-02-26 14:24:29 +00:00
Georg Brandl
f6c8fd62b9
Merged revisions 86537,86867-86868,86881,86887,86913-86915,86931-86933,86960,86964,86974,86980,86996,87008,87050 via svnmerge from
...
svn+ssh://svn.python.org/python/branches/py3k
........
r86537 | georg.brandl | 2010-11-19 23:09:04 +0100 (Fr, 19 Nov 2010) | 1 line
Do not put a raw REPLACEMENT CHARACTER in the document.
........
r86867 | georg.brandl | 2010-11-29 15:50:54 +0100 (Mo, 29 Nov 2010) | 1 line
Fix indentation bug.
........
r86868 | georg.brandl | 2010-11-29 15:53:15 +0100 (Mo, 29 Nov 2010) | 1 line
Fix heading style inconsistencies.
........
r86881 | georg.brandl | 2010-11-30 08:43:28 +0100 (Di, 30 Nov 2010) | 1 line
#10584 : fix bad links.
........
r86887 | georg.brandl | 2010-11-30 15:57:54 +0100 (Di, 30 Nov 2010) | 1 line
Fix typo.
........
r86913 | georg.brandl | 2010-12-01 16:32:43 +0100 (Mi, 01 Dez 2010) | 1 line
Add missing word, and add a better reference to the actual function.
........
r86914 | georg.brandl | 2010-12-01 16:36:33 +0100 (Mi, 01 Dez 2010) | 1 line
#10594 : fix parameter names in PyList API docs.
........
r86915 | georg.brandl | 2010-12-01 16:44:25 +0100 (Mi, 01 Dez 2010) | 1 line
Fix some markup and style in the unittest docs.
........
r86931 | georg.brandl | 2010-12-02 10:06:12 +0100 (Do, 02 Dez 2010) | 1 line
Fix-up documentation of makedirs().
........
r86932 | david.malcolm | 2010-12-02 17:41:00 +0100 (Do, 02 Dez 2010) | 2 lines
Fix spelling of Jamie Zawinski's surname in urllib.parse docstring (issue 10606)
........
r86933 | georg.brandl | 2010-12-02 19:02:01 +0100 (Do, 02 Dez 2010) | 1 line
#10597 : fix Py_SetPythonHome docs by pointing to where the meaning of PYTHONHOME is already documented.
........
r86960 | georg.brandl | 2010-12-03 08:55:44 +0100 (Fr, 03 Dez 2010) | 1 line
#10360 : catch TypeError in WeakSet.__contains__, just like WeakKeyDictionary does.
........
r86964 | georg.brandl | 2010-12-03 10:58:38 +0100 (Fr, 03 Dez 2010) | 1 line
#10549 : fix interface of docclass() for text documenter.
........
r86974 | georg.brandl | 2010-12-03 16:30:09 +0100 (Fr, 03 Dez 2010) | 1 line
Markup consistency fixes.
........
r86980 | georg.brandl | 2010-12-03 18:19:27 +0100 (Fr, 03 Dez 2010) | 1 line
Fix punctuation.
........
r86996 | georg.brandl | 2010-12-03 20:56:42 +0100 (Fr, 03 Dez 2010) | 1 line
Fix indentation.
........
r87008 | georg.brandl | 2010-12-04 10:04:04 +0100 (Sa, 04 Dez 2010) | 1 line
Fix typo.
........
r87050 | georg.brandl | 2010-12-04 18:09:30 +0100 (Sa, 04 Dez 2010) | 1 line
Fix typo.
........
2011-02-25 09:48:21 +00:00
Brett Cannon
6277fa4f7d
Update the porting HOWTO to be a little less harsh on using 2to3.
...
Patch reviewed by Raymond Hettinger, permission from Georg Brandl to commit
during an RC.
2011-02-18 01:34:28 +00:00
Georg Brandl
829befb9e3
Fix markup error and update suspicious ignores.
2011-02-13 09:59:39 +00:00
Brett Cannon
a2f154459a
Tweak wording about equality comparison.
2011-02-09 22:55:13 +00:00
Georg Brandl
7a0afd3f07
Spelling fixes.
2011-02-07 15:44:27 +00:00
Georg Brandl
2cb2fa9796
Consistent heading spacing, and fix two typos.
2011-02-07 15:30:45 +00:00
Eli Bendersky
7ac3419a6c
Fix some typos and grammar
2011-02-07 04:44:19 +00:00
Eli Bendersky
2d062de1d8
Fix some typos and grammar
...
[commit during RC with Brett's approval]
2011-02-07 04:19:57 +00:00
Raymond Hettinger
810cd3479f
Small markup and wording tweaks for the sorting-howto.
2011-02-06 06:11:29 +00:00
Brett Cannon
98135d07e7
Mention that people going the source compatibility route should run 2to3 to find pain points.
2011-02-05 22:22:47 +00:00
Brett Cannon
45aa7cc7a7
Soften wording on doctest.
2011-02-05 22:16:40 +00:00
Brett Cannon
ce71ab2d69
Re-arrange and clarify some __future__ import statements.
...
The absolute_import statement got moved to a new Python 2.5 and Newer section
as it was available since then. The division statement got moved to Common
Gotchas since it has been around for so long that any modern Python program can
use it.
2011-02-05 22:05:05 +00:00
Éric Araujo
5405a0b3d3
Use an internal reference instead of hard-coded URI.
2011-02-05 16:03:12 +00:00
Antoine Pitrou
bd866e972c
Everybody hates this one :) (bytes indexing)
2011-02-05 12:13:38 +00:00
Antoine Pitrou
e6a1464b89
Soften the wording about tracebacks. Reference cycles *don't*
...
prevent garbage collection! (fortunately)
2011-02-05 12:01:07 +00:00
Antoine Pitrou
5c28cfdc0c
Fix entries pertaining to file I/O
2011-02-05 11:53:39 +00:00
Antoine Pitrou
8d8f7c5e01
Mention -b and -bb
2011-02-05 11:40:05 +00:00
Brett Cannon
4b0c24a3ae
use 3-space indents.
2011-02-03 22:14:58 +00:00
Brett Cannon
8045d97819
Add a HOWTO on how to port from Python 2 to Python 3.
2011-02-03 22:01:54 +00:00
Georg Brandl
375aec2315
Fix a few doc errors, mostly undefined keywords.
2011-01-15 17:03:02 +00:00
Benjamin Peterson
6e1d0a829d
Merged revisions 87949 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/branches/py3k
........
r87949 | benjamin.peterson | 2011-01-11 22:44:41 -0600 (Tue, 11 Jan 2011) | 1 line
fix weirdly ambigious sentence
........
2011-01-12 04:51:02 +00:00
Benjamin Peterson
0551144b35
Merged revisions 87949 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/branches/py3k
........
r87949 | benjamin.peterson | 2011-01-11 22:44:41 -0600 (Tue, 11 Jan 2011) | 1 line
fix weirdly ambigious sentence
........
2011-01-12 04:47:43 +00:00
Benjamin Peterson
1efb8dc871
fix weirdly ambigious sentence
2011-01-12 04:44:41 +00:00
Raymond Hettinger
b436b6cabc
Revert r87946. The virtues of readability and of examples that
...
can be cut and pasted are more important than having a doctests
on examples that already work.
2011-01-12 01:16:57 +00:00
Terry Reedy
fdf2925452
Issue #10225 : Correct interactive Doc/howto/sorting.rst examples so doctest runs.
...
Based on part of A. Belopolsky's patch.
2011-01-11 23:05:50 +00:00
Terry Reedy
1d065958af
Issue #10875 : Update Regular Expression HOWTO; additional backport with 2.7 modification.
2011-01-11 00:07:12 +00:00
Terry Reedy
23f4fb9a96
Issue #10875 : Update Regular Expression HOWTO; additional backport.
2011-01-10 23:16:24 +00:00
Terry Reedy
262cc7f6b6
Issue #10875 : Update Regular Expression HOWTO; last bit.
2011-01-10 23:13:21 +00:00
Terry Reedy
f7dd7998de
Issue #10875 : Update Regular Expression HOWTO; patch by 'SilentGhost'.
2011-01-10 22:15:19 +00:00
Terry Reedy
8663e346dc
Issue #10875 : Update Regular Expression HOWTO; patch by 'SilentGhost'.
2011-01-10 21:49:11 +00:00
Terry Reedy
aacfd4a0cf
Issue #10875 : Update Regular Expression HOWTO; patch by 'SilentGhost'.
2011-01-10 21:27:49 +00:00
Vinay Sajip
2427ab9d6f
logging HOWTO: fixed markup for numbered handler list.
2011-01-04 13:58:49 +00:00
Vinay Sajip
7d10129369
Added logging documentation cross-references.
2010-12-26 21:22:33 +00:00
Vinay Sajip
e6f1e435d4
Improved logging cookbook for logging with multiprocessing.
2010-12-26 18:47:51 +00:00
Vinay Sajip
1397ce1821
Logging documentation updates.
2010-12-24 12:03:48 +00:00
Vinay Sajip
689b68ad2d
Logging documentation updates.
2010-12-22 15:04:15 +00:00
Vinay Sajip
c63619bcf2
Logging documentation reorganised.
2010-12-19 12:56:57 +00:00
Georg Brandl
ab32fec83c
Merged revisions 85572-85573,85606,85609-85622,85624,85626-85627,85629,85631,85633,85635-85636,85638-85639,85641-85642 via svnmerge from
...
svn+ssh://svn.python.org/python/branches/py3k
........
r85572 | georg.brandl | 2010-10-16 20:51:05 +0200 (Sa, 16 Okt 2010) | 1 line
#10122 : typo fix.
........
r85573 | georg.brandl | 2010-10-16 20:53:08 +0200 (Sa, 16 Okt 2010) | 1 line
#10124 : typo fix.
........
r85606 | georg.brandl | 2010-10-17 08:32:59 +0200 (So, 17 Okt 2010) | 1 line
#10058 : tweak wording about exception returns.
........
r85609 | georg.brandl | 2010-10-17 11:19:03 +0200 (So, 17 Okt 2010) | 1 line
#8556 : use less confusing mapping key in example.
........
r85610 | georg.brandl | 2010-10-17 11:23:05 +0200 (So, 17 Okt 2010) | 1 line
#8686 : remove potentially confusing wording that does not add any value.
........
r85611 | georg.brandl | 2010-10-17 11:33:24 +0200 (So, 17 Okt 2010) | 1 line
#8811 : small fixes to sqlite3 docs.
........
r85612 | georg.brandl | 2010-10-17 11:37:54 +0200 (So, 17 Okt 2010) | 1 line
#8855 : add shelve security warning.
........
r85613 | georg.brandl | 2010-10-17 11:43:35 +0200 (So, 17 Okt 2010) | 1 line
Fix hmac docs: it takes and returns bytes, except for hexdigest().
........
r85614 | georg.brandl | 2010-10-17 11:46:11 +0200 (So, 17 Okt 2010) | 1 line
#8968 : add actual name of token constants.
........
r85615 | georg.brandl | 2010-10-17 12:05:13 +0200 (So, 17 Okt 2010) | 1 line
#459007 : merge info from PC/getpathp.c and using/windows.rst to document the forming of sys.path under Windows.
........
r85616 | georg.brandl | 2010-10-17 12:07:29 +0200 (So, 17 Okt 2010) | 1 line
Fix copy-paste error in example.
........
r85617 | georg.brandl | 2010-10-17 12:09:06 +0200 (So, 17 Okt 2010) | 1 line
#5212 : md5 weaknesses do not affect hmac, so remove the note about that.
........
r85618 | georg.brandl | 2010-10-17 12:14:38 +0200 (So, 17 Okt 2010) | 1 line
#9086 : correct wrong terminology about linking with pythonXY.dll.
........
r85619 | georg.brandl | 2010-10-17 12:15:50 +0200 (So, 17 Okt 2010) | 1 line
Make file names consistent.
........
r85620 | georg.brandl | 2010-10-17 12:22:28 +0200 (So, 17 Okt 2010) | 1 line
Remove second parser module example; it referred to non-readily-available example files, and this kind of discovery is much better done with the AST nowadays anyway.
........
r85621 | georg.brandl | 2010-10-17 12:24:54 +0200 (So, 17 Okt 2010) | 1 line
#9105 : move pickle warning to a bit more prominent location.
........
r85622 | georg.brandl | 2010-10-17 12:28:04 +0200 (So, 17 Okt 2010) | 1 line
#9112 : document error() and exit() methods of ArgumentParser.
........
r85624 | georg.brandl | 2010-10-17 12:34:28 +0200 (So, 17 Okt 2010) | 1 line
Some markup and style fixes in argparse docs.
........
r85626 | georg.brandl | 2010-10-17 12:38:20 +0200 (So, 17 Okt 2010) | 1 line
#9117 : fix syntax for class definition.
........
r85627 | georg.brandl | 2010-10-17 12:44:11 +0200 (So, 17 Okt 2010) | 1 line
#9138 : reword introduction to classes in Python.
........
r85629 | georg.brandl | 2010-10-17 12:51:45 +0200 (So, 17 Okt 2010) | 1 line
#5962 : clarify sys.exit() vs. threads.
........
r85631 | georg.brandl | 2010-10-17 12:53:54 +0200 (So, 17 Okt 2010) | 1 line
Fix capitalization.
........
r85633 | georg.brandl | 2010-10-17 12:59:41 +0200 (So, 17 Okt 2010) | 1 line
#9204 : remove mentions of removed types in the types module.
........
r85635 | georg.brandl | 2010-10-17 13:03:22 +0200 (So, 17 Okt 2010) | 1 line
#5121 : fix claims about default values leading to segfaults.
........
r85636 | georg.brandl | 2010-10-17 13:06:14 +0200 (So, 17 Okt 2010) | 1 line
#9237 : document sys.call_tracing().
........
r85638 | georg.brandl | 2010-10-17 13:13:37 +0200 (So, 17 Okt 2010) | 1 line
Port changes to pickle docs apparently lost in py3k.
........
r85639 | georg.brandl | 2010-10-17 13:23:56 +0200 (So, 17 Okt 2010) | 1 line
Make twisted example a bit more logical.
........
r85641 | georg.brandl | 2010-10-17 13:29:07 +0200 (So, 17 Okt 2010) | 1 line
Fix documentation of dis.opmap direction.
........
r85642 | georg.brandl | 2010-10-17 13:36:28 +0200 (So, 17 Okt 2010) | 1 line
#9730 : fix example.
........
2010-11-26 08:49:15 +00:00
Georg Brandl
3b85b9b477
Merged revisions 85843,85849-85850,85867,85907,85914,86134,86187,86315-86316,86390,86424-86425,86428 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/branches/py3k
........
r85843 | georg.brandl | 2010-10-26 08:59:23 +0200 (Di, 26 Okt 2010) | 1 line
Markup fix.
........
r85849 | georg.brandl | 2010-10-26 21:31:06 +0200 (Di, 26 Okt 2010) | 1 line
#10200 : typo.
........
r85850 | georg.brandl | 2010-10-26 21:58:11 +0200 (Di, 26 Okt 2010) | 1 line
#10200 : typo.
........
r85867 | georg.brandl | 2010-10-27 22:01:51 +0200 (Mi, 27 Okt 2010) | 1 line
Add David.
........
r85907 | georg.brandl | 2010-10-29 06:54:13 +0200 (Fr, 29 Okt 2010) | 1 line
#10222 : fix for overzealous AIX compiler.
........
r85914 | georg.brandl | 2010-10-29 08:17:38 +0200 (Fr, 29 Okt 2010) | 1 line
(?:...) is a non-capturing, but still grouping construct.
........
r86134 | georg.brandl | 2010-11-03 08:41:00 +0100 (Mi, 03 Nov 2010) | 1 line
A newline in lineno output breaks pyframe output.
........
r86187 | georg.brandl | 2010-11-05 08:10:41 +0100 (Fr, 05 Nov 2010) | 1 line
Move glossary entry to the right position and fix link.
........
r86315 | georg.brandl | 2010-11-08 12:05:18 +0100 (Mo, 08 Nov 2010) | 1 line
Fix latex conversion glitch in property/feature descriptions.
........
r86316 | georg.brandl | 2010-11-08 12:08:35 +0100 (Mo, 08 Nov 2010) | 1 line
Fix typo.
........
r86390 | georg.brandl | 2010-11-10 08:57:10 +0100 (Mi, 10 Nov 2010) | 1 line
Fix typo.
........
r86424 | georg.brandl | 2010-11-12 07:19:48 +0100 (Fr, 12 Nov 2010) | 1 line
Build a PDF of the FAQs too.
........
r86425 | georg.brandl | 2010-11-12 07:20:12 +0100 (Fr, 12 Nov 2010) | 1 line
#10008 : Fix duplicate index entry.
........
r86428 | georg.brandl | 2010-11-12 09:09:26 +0100 (Fr, 12 Nov 2010) | 1 line
Fix weird line block in table.
........
2010-11-26 08:20:18 +00:00
Georg Brandl
26946ecaed
Merged revisions 85548,85572-85573,85606,85609-85612,85614-85616 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/branches/py3k
........
r85548 | georg.brandl | 2010-10-15 21:46:19 +0200 (Fr, 15 Okt 2010) | 1 line
#10072 : assume a bit less knowledge of the FTP protocol in the ftplib docs.
........
r85572 | georg.brandl | 2010-10-16 20:51:05 +0200 (Sa, 16 Okt 2010) | 1 line
#10122 : typo fix.
........
r85573 | georg.brandl | 2010-10-16 20:53:08 +0200 (Sa, 16 Okt 2010) | 1 line
#10124 : typo fix.
........
r85606 | georg.brandl | 2010-10-17 08:32:59 +0200 (So, 17 Okt 2010) | 1 line
#10058 : tweak wording about exception returns.
........
r85609 | georg.brandl | 2010-10-17 11:19:03 +0200 (So, 17 Okt 2010) | 1 line
#8556 : use less confusing mapping key in example.
........
r85610 | georg.brandl | 2010-10-17 11:23:05 +0200 (So, 17 Okt 2010) | 1 line
#8686 : remove potentially confusing wording that does not add any value.
........
r85611 | georg.brandl | 2010-10-17 11:33:24 +0200 (So, 17 Okt 2010) | 1 line
#8811 : small fixes to sqlite3 docs.
........
r85612 | georg.brandl | 2010-10-17 11:37:54 +0200 (So, 17 Okt 2010) | 1 line
#8855 : add shelve security warning.
........
r85614 | georg.brandl | 2010-10-17 11:46:11 +0200 (So, 17 Okt 2010) | 1 line
#8968 : add actual name of token constants.
........
r85615 | georg.brandl | 2010-10-17 12:05:13 +0200 (So, 17 Okt 2010) | 1 line
#459007 : merge info from PC/getpathp.c and using/windows.rst to document the forming of sys.path under Windows.
........
r85616 | georg.brandl | 2010-10-17 12:07:29 +0200 (So, 17 Okt 2010) | 1 line
Fix copy-paste error in example.
........
2010-11-26 07:42:15 +00:00
Georg Brandl
c8c60c2284
Do not put a raw REPLACEMENT CHARACTER in the document.
2010-11-19 22:09:04 +00:00
Alexander Belopolsky
93a6b13f96
Issue #4153 : Updated Unicode HOWTO.
2010-11-19 16:09:58 +00:00
Ezio Melotti
056f33d60c
Merged revisions 86488 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/branches/py3k
........
r86488 | ezio.melotti | 2010-11-16 22:57:59 +0200 (Tue, 16 Nov 2010) | 1 line
Fix typo
........
2010-11-16 21:08:14 +00:00
Ezio Melotti
4fdf0fe5b7
Merged revisions 86488 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/branches/py3k
........
r86488 | ezio.melotti | 2010-11-16 22:57:59 +0200 (Tue, 16 Nov 2010) | 1 line
Fix typo
........
2010-11-16 21:06:43 +00:00
Ezio Melotti
42dd524cff
Fix typo
2010-11-16 20:57:59 +00:00
Raymond Hettinger
0d6fa4da49
Document key-functions in the glossary.
2010-11-06 00:06:14 +00:00
Georg Brandl
eae40ba6f7
Merged revisions 86187 via svnmerge from
...
svn+ssh://svn.python.org/python/branches/py3k
........
r86187 | georg.brandl | 2010-11-05 07:10:41 +0000 (Fr, 05 Nov 2010) | 1 line
Move glossary entry to the right position and fix link.
........
2010-11-05 07:11:47 +00:00
Georg Brandl
c275e15489
Move glossary entry to the right position and fix link.
2010-11-05 07:10:41 +00:00
Raymond Hettinger
c6b6b5bf5a
Issue 7402: Improve reduce() example in the python idioms how-to.
2010-10-31 22:01:57 +00:00
Raymond Hettinger
099cfed120
Issue 7402: Improve reduce() example in the python idioms how-to.
2010-10-31 22:00:50 +00:00
Raymond Hettinger
48d1928b72
Issue 7402: Improve reduce() example in the python idioms how-to.
2010-10-31 22:00:27 +00:00
Georg Brandl
573caa3476
#10124 : typo fix.
2010-10-16 18:53:08 +00:00
Georg Brandl
1f7fffb308
#2830 : add html.escape() helper and move cgi.escape() uses in the standard library to it. It defaults to quote=True and also escapes single quotes, which makes casual use safer. The cgi.escape() interface is not touched, but emits a (silent) PendingDeprecationWarning.
2010-10-15 15:57:45 +00:00
Georg Brandl
682d7e0e07
Fix errors found by "make suspicious".
2010-10-06 10:26:05 +00:00
Georg Brandl
60203b41b0
Migrate to Sphinx 1.0 C language constructs.
2010-10-06 10:11:56 +00:00