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
534e253cb6
Remove reference to the base64 encoding.
2011-12-05 01:21:46 +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
Antoine Pitrou
ae44b7a099
Remove obsolete references to bsddb
2011-12-05 00:41:19 +01:00
Antoine Pitrou
c1bd4896cf
Issue #13527 : remove mention of Python megawidgets and Tkinter3000 WCK
...
from the doc. These two projects appear dead.
2011-12-04 23:56:30 +01:00
Georg Brandl
6a96a2e1f8
Fix typo.
2011-12-04 11:51:21 +01:00
Antoine Pitrou
dec0f21efc
Streamline mention of sorted()
2011-12-03 23:08:57 +01:00
Antoine Pitrou
c561a9adac
Break down and refine memory management question
2011-12-03 23:06:50 +01:00
Antoine Pitrou
17bd792cd3
Reformulate answer, and remove off-topic discussion of bytecode in a question about compiling to C.
2011-12-03 22:56:02 +01:00
Antoine Pitrou
cc809a286a
Fix compatibility statement.
2011-12-03 22:39:13 +01:00
Antoine Pitrou
748799a0a6
Remove outdated question (the bsddb module isn't included anymore)
2011-12-03 22:37:14 +01:00
Antoine Pitrou
d4ddec5988
Refine FAQ entry for catching stdout
2011-12-03 22:35:31 +01:00
Antoine Pitrou
48383bfc67
Advocate PyTuple_Pack instead of manual building of tuples
2011-12-03 22:30:19 +01:00
Antoine Pitrou
f35204055e
Remove outdate FAQ content
2011-12-03 22:19:55 +01:00
Antoine Pitrou
c5b266efb5
Streamline FAQ entry about the ternary operator, and suggest using io.StringIO for a mutable unicode container.
2011-12-03 22:11:11 +01:00
Antoine Pitrou
9cb41dfbaa
Remove references to psyco, which is mostly unmaintained and doesn't work with Python 3.
2011-12-03 21:21:36 +01:00
Antoine Pitrou
5dd95d6f2d
Mention PySide in the "other GUIs" page.
2011-12-03 21:07:01 +01:00
Antoine Pitrou
7462e87134
Mention the new GTK+ 3 bindings.
2011-12-03 20:59:24 +01:00
Meador Inge
777bebb0ef
Issue #13513 : IOBase docs incorrectly link to the readline module
2011-12-03 12:29:54 -06:00
Jason R. Coombs
a90e364ea5
Issue #12666 : Added section about map changes.
2011-12-03 08:24:21 -05:00
Jason R. Coombs
df9a5f5ecf
Issue #12666 : Clarifying changes in map for Python 3
2011-08-01 17:51:34 -04:00
Ezio Melotti
c1f26f6fc1
#13494 : s/cast/convert/. Also add a link.
2011-12-02 19:47:24 +02:00
Ezio Melotti
b1b3fd23b7
#13499 : fix example adding >>> before the comments.
2011-12-02 19:28:36 +02:00
Antoine Pitrou
71bca3495d
Issue #1040439 : better document how to compile and link an embedded Python interpreter.
...
Still lacks docs for Windows (anyone?).
2011-11-30 21:19:21 +01:00
Éric Araujo
c4d7d8c49d
Mark up constants in sockets docs as such
2011-11-29 16:46:38 +01:00
Éric Araujo
2bddc53cb9
Fix typo ( #13467 )
2011-11-29 16:34:58 +01:00
Antoine Pitrou
fd9ebd4a36
Clarify concatenation behaviour of immutable strings, and remove explicit
...
mention of the CPython optimization hack.
2011-11-25 16:33:53 +01:00
Eli Bendersky
5a53f368e6
fix some typos in Doc/c-api/memoryview.rst
2011-11-25 15:07:50 +02:00
Vinay Sajip
631a7e23c5
Added a configuration dictionary example to the logging cookbook.
2011-11-23 14:27:54 +00:00
Vinay Sajip
287f24691d
Closes #13459 : Clarified documentation on Logger.propagate. Thanks to Mike Fogel for the patch.
2011-11-23 08:54:22 +00:00
Amaury Forgeot d'Arc
3b1acf11e9
bytes() can't be used to get a representation of an object.
2011-11-22 19:34:08 +01:00
Mark Dickinson
b1e58fe43f
Issue #12245 : Document sys.float_info.rounds better.
2011-11-19 16:26:45 +00:00
Ezio Melotti
fabf0275a9
#13387 : add note about checking the exact type in assertIsInstance doc.
2011-11-18 18:59:36 +02:00
Ezio Melotti
e62aad3073
#13426 : fix typos in pickle doc.
2011-11-18 13:51:10 +02:00
Eli Bendersky
eeae1498aa
fixing typos in optparse doc
2011-11-16 06:02:21 +02:00
Éric Araujo
04e6909845
Fix markup
2011-11-14 18:00:48 +01:00
Eli Bendersky
d44af82e62
Issue #12767 : documenting threading.Condition.notify
2011-11-12 20:44:25 +02:00
Florent Xicluna
599d76b275
Reformat paragraphs.
2011-11-11 19:56:26 +01:00
Florent Xicluna
45c6c3eb71
Few typos in the documentation.
2011-11-11 19:55:21 +01:00
Eli Bendersky
a7795dbe9a
Issue #13191 : typo in argparse docs
2011-11-11 10:57:01 +02:00
Eli Bendersky
c2c896093b
Issue #13365 : correct an error in the documentation of str.expandtabs
2011-11-11 10:40:14 +02:00
Nick Coghlan
32e4a58c06
Issue #13237 : Fix formatting error - the legacy shell commands weren't meant to be under the Notes heading
2011-11-08 21:50:58 +10:00
Nick Coghlan
69ce0d8602
Issue #13237 : Remove duplicate data value descriptions from the subprocess docs
2011-11-08 21:39:07 +10:00
Nick Coghlan
c29248f232
Issue #13237 : Forward port subprocess module updates and explicitly document UTF-8 encoding assumption when universal_newlines=True
2011-11-08 20:49:23 +10:00
Éric Araujo
06c42a3fca
Document that shutil.make_archive does not typecheck its logger argument
2011-11-07 17:31:07 +01:00
Petri Lehtinen
395ca72380
Issue #3067 : Enhance the documentation and docstring of locale.setlocale()
2011-11-05 10:21:16 +02:00
Éric Araujo
9c2f42f253
Branch merge
2011-11-03 16:27:57 +01:00
Éric Araujo
a083823a85
Avoid relying on the default reST role in logging library doc
2011-11-03 04:35:20 +01:00
Éric Araujo
3bb1a6f990
State explicitely that PYTHONDONTWRITEBYTECODE is equivalent to -B
2011-11-03 03:20:43 +01:00
Victor Stinner
2662133a05
Issue #10570 : curses.tigetstr() is now expecting a byte string, instead of a
...
Unicode string.
This is an incompatible change, but the previous behaviour was completly wrong.
2011-11-02 23:45:29 +01:00
Ezio Melotti
7de56f6a04
#670664 : Fix HTMLParser to correctly handle the content of ``<script>...</script>`` and ``<style>...</style>``.
2011-11-01 14:12:22 +02:00
Sandro Tosi
4bfe03a42e
correct signature for tzinfo.dst() in examples; thanks to Daniil Shved from docs@
2011-11-01 10:32:05 +01:00
Sandro Tosi
53bcd66012
use diveintopython.net now that DIP.org returns 410; thanks to Josh Gachnang from docs@
2011-10-31 17:46:04 +01:00
Sandro Tosi
69e59a17dd
remove confusing paragraph (as part of r87523); thanks to AJ Hill from docs@
2011-10-31 17:15:39 +01:00
Sandro Tosi
e348455f5f
document turtle done() function; thanks to Csaba Szepesvari from docs@
2011-10-31 10:12:43 +01:00
Sandro Tosi
567493fe26
caught is the right pp of catch; thanks to Don Bennett from docs@
2011-10-31 02:41:06 +01:00
Raymond Hettinger
6f45d18c24
Improve itertools docs with clearer examples of pure python equivalent code.
2011-10-30 15:06:14 -07:00
Ezio Melotti
f54f6f520d
Add a button to the code examples in the doc to show/hide the prompts and output.
2011-10-30 09:20:19 +02:00
Florent Xicluna
305bb662a9
Documentation typo
2011-10-28 22:14:41 +02:00
Florent Xicluna
83386dac8b
I should be someone
2011-10-28 22:03:55 +02:00
Ezio Melotti
f99e4b5dbe
Improve HTMLParser example in the doc and fix a couple minor things.
2011-10-28 14:34:56 +03:00
Ezio Melotti
0b85cd0680
Merge heads.
2011-10-28 12:32:53 +03:00
Ezio Melotti
d3cf0db3ee
#13278 : fix typo.
2011-10-28 12:22:25 +03:00
Florent Xicluna
74e6495a20
Fixes #13270 : obsolete reference to old-style/new-style classes.
2011-10-28 11:21:19 +02:00
Vinay Sajip
6187664fa7
Added lost documentation cross-reference.
2011-10-27 17:50:55 +01:00
Ezio Melotti
fbb39815d4
Refactor a bit the codecs doc.
2011-10-25 10:40:38 +03:00
Ezio Melotti
963004d1d8
Fix typo.
2011-10-25 09:41:13 +03:00
Benjamin Peterson
1fafc1a11f
document __bytes__ special method ( closes #13259 )
2011-10-25 00:03:51 -04:00
Benjamin Peterson
d6ca6c2b32
note callable is back in 3.2
2011-10-24 08:51:15 -04:00
Florent Xicluna
023611f34e
Issue 13141: Demonstrate recommended style for socketserver examples.
2011-10-23 22:40:37 +02:00
Petri Lehtinen
ce77037503
Add the green "New reference" note to the doc of PyException_GetTraceback()
2011-10-23 21:03:33 +03:00
Ezio Melotti
cd1d3ef77b
#13233 : fix typo.
2011-10-20 19:51:18 +03:00
Ezio Melotti
81231d9379
#13219 : clarify section about character sets in the re documentation.
2011-10-20 19:38:04 +03:00
Raymond Hettinger
af37b89240
Issue 12668: Fix wording in Whatsnew3.2
2011-10-19 14:16:18 -07:00
Raymond Hettinger
5768e0c788
Issue 11931: Minor punctuation/grammar/wording fixups to the regex docs
2011-10-19 14:10:07 -07:00
Senthil Kumaran
29fa9d4d68
3.2 - Fix closes Issue6090 - Raise a ValueError, instead of failing with unrelated
...
exceptions, when a document with timestamp earlier than 1980 is provided to
zipfile. Patch contributed by Petri Lehtinen.
2011-10-20 01:46:00 +08:00
Ezio Melotti
e130a52d8a
Remove duplication.
2011-10-19 10:58:56 +03:00
Ezio Melotti
67494f2224
#12277 : add missing comma.
2011-10-18 12:59:39 +03:00
Éric Araujo
9be57231dd
Update dead references from py.org/dev/faq to the devguide ( #13176 )
2011-10-14 17:37:45 +02:00
Mark Dickinson
f1ab47ebc4
Issue #13145 . Fix incorrect documentation for PyNumber_ToBase. Thanks Sven Marnach.
2011-10-11 18:06:36 +01:00
Ezio Melotti
4e15828640
Fix/improve markup in whatsnew/2.7.
2011-10-10 00:30:14 +03:00
Ezio Melotti
138fc896c8
#13138 : add missing versionadded.
2011-10-10 00:02:03 +03:00
Raymond Hettinger
df7c4cde48
Clean-up and improve the priority queue example in the heapq docs.
2011-10-09 17:28:14 +01:00
Éric Araujo
47a4521ece
Fix distutils byte-compilation to comply with PEP 3147 ( #11254 ).
...
Patch by Jeff Ramnani. Tested with -B, -O and -OO.
2011-10-08 00:34:13 +02:00
Éric Araujo
35a502b324
Fix a typo and a broken link (part of #10536 ).
...
Found by Franz Glasner in #2504 .
2011-10-07 22:02:58 +02:00
Antoine Pitrou
f394e47851
Issue #12823 : remove broken link and replace it with another resource.
2011-10-07 16:58:07 +02:00
Éric Araujo
bb2095f1e2
Branch merge
2011-10-06 13:10:34 +02:00
Senthil Kumaran
ad87fa6719
Issue #13073 - Address the review comments made by Ezio.
2011-10-05 23:26:49 +08:00
Éric Araujo
58a9153c9f
Fix markup used in the documentation of sys.prefix and sys.exec_prefix.
...
- Using the file role with {placeholders} is IMO clearer than fake
Python code.
- The fact that sys.version[:3] gives '3.2' is a CPython detail and
should not be advertised (see #9442 ), even if some stdlib modules
currently rely on that detail.
2011-10-05 01:28:24 +02:00
Éric Araujo
da27263b4a
Move doc of sys.dont_write_bytecode to make all attributes sorted again
2011-10-05 01:17:38 +02:00
Senthil Kumaran
5d0de3fbaa
Document message_body arg in HTTPConnection.endheaders
2011-10-03 07:27:06 +08:00
Ezio Melotti
35ec7f771b
#13076 : fix links to datetime.time and datetime.datetime.
2011-10-02 12:44:50 +03:00
Senthil Kumaran
17dac4c0e2
Fix closes issue13005 - Remove the mention of 'repeat' method in the operator module documentation.
2011-09-22 02:09:17 +08:00
Georg Brandl
1d678f8413
Fix bug in heapq priority queue example.
2011-09-18 07:40:05 +02:00
Georg Brandl
73dd7c71f6
Add info from the docstring for random.gammavariate() to the docs.
2011-09-17 20:36:28 +02:00
Georg Brandl
755460694e
Fix typo.
2011-09-17 20:20:04 +02:00
Ezio Melotti
4165bfb6e9
#12940 : fix cmd example. Patch by Tim Chase.
2011-09-10 10:06:01 +03:00
Éric Araujo
eb933de807
Fix current name of the Python 3 binary on Unix ( #12896 ).
...
Also fix some markup and typos.
2011-09-09 19:03:41 +02:00
Vinay Sajip
4eb0e73ff2
Closes #12906 : Fixed bug in YAML configuration.
2011-09-06 14:07:23 +01:00
Senthil Kumaran
e969a2117c
Fix closes Issue11155 - Correct the multiprocessing.Queue.put's arg (replace 'item' with 'obj') in the docs. Patch by Westley Martínez.
2011-09-06 00:21:30 +08:00
Georg Brandl
3484a8771c
Merge with release clone.
2011-09-04 08:35:54 +02:00
Łukasz Langa
7335e6f3e8
removed misleading editing leftovers
2011-09-02 23:17:39 +02:00
Sandro Tosi
fbd4fe2195
Give credit to Adam
2011-09-02 21:24:40 +02:00
Sandro Tosi
172f374a63
#12781 : Mention SO_REUSEADDR flag near socket examples
2011-09-02 20:06:31 +02:00
Éric Araujo
d9e1789364
Branch merge
2011-09-02 17:30:36 +02:00
Éric Araujo
18ddf826e7
Add links from library/functions to other docs.
...
Suggested by Terry J. Reedy in #12298 .
2011-09-01 23:10:36 +02:00
Éric Araujo
9edd9f035b
Fix a few links in the table of built-in functions ( #12298 )
2011-09-01 23:08:55 +02:00
Éric Araujo
29cf58c9d5
Document that format string don’t support arbitrary dictonary keys.
...
Text adapted from the PEP. Addition requested by Terry J. Reedy on
2011-02-23 on python-dev.
2011-09-01 18:59:06 +02:00
Éric Araujo
8ab3a1d735
Document that True/False/None don’t use :keyword: in doc.
...
This was discussed some months ago on python-dev. Having tons of links
to the definition of True would be annoying, contrary to links to e.g.
the nonlocal or with statements doc.
2011-09-01 18:45:50 +02:00
Ezio Melotti
222b20844f
From RFC 3629 5- and 6-bytes UTF-8 sequences are invalid, so remove them from the doc.
2011-09-01 08:11:28 +03:00
Ross Lagerwall
a9353db2cd
Remove duplicate text in os documentation.
2011-09-01 06:58:52 +02:00
Éric Araujo
ec9a5f6399
Add version number for versionchanged directive (backport from 3.3)
2011-09-01 05:55:26 +02:00
Éric Araujo
7af8ebb6ce
Adapt/remove mentions of functions gone in 3.x
2011-09-01 03:20:13 +02:00
Éric Araujo
37b5f9eebc
Fix some misuses of Sphinx roles and one typo
2011-09-01 03:19:30 +02:00
Éric Araujo
941afedd74
Avoid using the default reST role. Makes Doc/tools/rstlint.py happy.
2011-09-01 02:47:34 +02:00
Éric Araujo
be573e7d17
Remove outdated pointer to optparse ( fixes #11360 ).
...
The doc already points to argparse.
2011-08-26 16:38:40 +02:00
Éric Araujo
77443824f5
Document the "optional" argument of distutils’ Extension class
2011-08-26 00:45:18 +02:00
Éric Araujo
3f5e958a3f
Fix type information in distutils API reference ( #9302 ).
...
Initial patch by Yue Shuaijie.
2011-08-26 00:44:37 +02:00
Éric Araujo
cc42ebe450
Make the list of docs contributors sorted again
2011-08-26 00:10:12 +02:00
Georg Brandl
e1eef41a18
Close #12838 : fix range() call.
2011-08-25 11:52:26 +02:00
Antoine Pitrou
13d2895dbf
Issue #12213 : make it clear that BufferedRWPair shouldn't be called with the
...
same object as reader and writer, and deemphasize it in document order.
2011-08-20 19:48:43 +02:00
Sandro Tosi
9daf98d32a
#12787 : link original MultiCall proposal to webarchive and in a footnote
2011-08-20 17:05:56 +02:00
Georg Brandl
2513123d66
Update suspicious ignore file.
2011-09-03 09:28:05 +02:00
Georg Brandl
a47e53e42e
Update sys.platform doc for #12326 .
2011-09-03 09:26:09 +02:00
Łukasz Langa
987b188615
removed misleading editing leftovers
2011-09-02 23:17:39 +02:00
Sandro Tosi
335f204977
#12781 : Mention SO_REUSEADDR flag near socket examples
2011-09-02 20:06:31 +02:00
Éric Araujo
d86ac4cd4e
Document that format string don’t support arbitrary dictonary keys.
...
Text adapted from the PEP. Addition requested by Terry J. Reedy on
2011-02-23 on python-dev.
2011-09-01 18:59:06 +02:00
Éric Araujo
7bb769c092
Add version number for versionchanged directive (backport from 3.3)
2011-09-01 05:55:26 +02:00
Éric Araujo
f3c7822ee5
Adapt/remove mentions of functions gone in 3.x
2011-09-01 03:20:13 +02:00
Éric Araujo
43ba354599
Fix some misuses of Sphinx roles and one typo
2011-09-01 03:19:30 +02:00
Éric Araujo
217607ecde
Remove outdated pointer to optparse ( fixes #11360 ).
...
The doc already points to argparse.
2011-08-26 16:38:40 +02:00
Éric Araujo
72dde45dc6
Document the "optional" argument of distutils’ Extension class
2011-08-26 00:45:18 +02:00
Georg Brandl
852eea20ef
Close #12838 : fix range() call.
2011-08-25 11:52:26 +02:00
Antoine Pitrou
dc42beb55e
Issue #12213 : make it clear that BufferedRWPair shouldn't be called with the
...
same object as reader and writer, and deemphasize it in document order.
2011-08-20 19:48:43 +02:00
Sandro Tosi
6a633bb878
fix description of \r; thanks to Thomas Waldmann from docs@
2011-08-19 22:54:50 +02:00
Sandro Tosi
e1043fc230
fix description of \r; thanks to Thomas Waldmann from docs@
2011-08-19 22:54:50 +02:00
Sandro Tosi
2f394f6666
mention RFC1123 as origin of 4-year digit; thanks to John Haxby from docs@
2011-08-19 18:40:21 +02:00
Sandro Tosi
f693810f69
mention RFC1123 as origin of 4-year digit; thanks to John Haxby from docs@
2011-08-19 18:40:21 +02:00
Éric Araujo
57bee66c03
Branch merge
2011-08-19 14:22:28 +02:00
Éric Araujo
355d48ad83
Typo
2011-08-19 09:28:46 +02:00
Éric Araujo
04ac59a22a
Mention virtual subclasses in the glossary entry for ABCs ( #12256 ).
...
I added a link from the term “virtual subclass” to the glossary entry
for ABCs but this was not enough, now the glossary briefly defines
“virtual” and links to the abc module doc which contains more mentions
of virtual subclasses.
2011-08-19 09:07:46 +02:00
Eli Bendersky
f6854cb0f0
Issue #12672 : remove confusing part of sentence in documentation
2011-08-19 06:29:51 +03:00
Eli Bendersky
729a42f263
Issue #12672 : remove confusing part of sentence in documentation
2011-08-19 06:29:51 +03:00
Éric Araujo
4d71a66a01
Fix typo in command name
2011-08-19 03:44:36 +02:00
Éric Araujo
a2d26182e2
Fix instance I missed in 59f7bbe1236c ( #1626300 )
2011-08-19 03:12:38 +02:00
Éric Araujo
e197df06fb
Remove obsolete term + indicate how to find the program ( #1626300 ).
...
Suggested by Terry J. Reedy.
2011-08-19 02:30:15 +02:00
Éric Araujo
e8b7eb07e1
Link isinstance/issubclass to the ABC glossary entry ( #12256 )
2011-08-19 02:17:03 +02:00
Éric Araujo
543edbdab8
Don’t quote characters twice.
...
``code`` markup is enough to mark command-line fragments or to talk
about a character. ``'c'`` is still used for actual Python string
objects. I did a similar change in optparse.rst in r86521.
I’ve also ported two minor changes from the 3.3 version of the file
(removing an unnecessary module name in a class directive, adding a
comma).
2011-08-19 01:45:12 +02:00
Éric Araujo
fde9242631
Don’t use “arg” for “argument”
2011-08-19 01:30:26 +02:00
Éric Araujo
19f9b71ffe
Add a few missing source links from 2.7 and harmonize lib docs headers
2011-08-19 00:49:18 +02:00
Éric Araujo
d001ffe745
Minor improvements to BadZipFile and BadZipfile docs.
...
I made the doc for the compat alias BadZipfile shorter and used a
directive to document deprecation.
I figured there was no point of talking about zipfile.error (“the old
name” that’s older than the other old name BadZipfile) in the 3.x docs
so I just removed it.
2011-08-19 00:44:31 +02:00
Éric Araujo
5eada94163
Fix markup to get a target instead of a comment
2011-08-19 00:41:23 +02:00
Éric Araujo
889a7dcb3a
Fix a typo and touch up blank lines
2011-08-19 00:40:46 +02:00
Éric Araujo
6e7d0ba309
Add missing reST target for one section of this file
2011-08-19 00:39:57 +02:00
Éric Araujo
0519b09936
Avoid splitting a word between a link and text
2011-08-19 00:39:19 +02:00
Sandro Tosi
b2761186af
#12761 : fix wording of zlib license section
2011-08-16 20:03:11 +02:00
Sandro Tosi
f6b25b9e35
#12761 : fix wording of zlib license section
2011-08-16 20:03:11 +02:00
Ezio Melotti
0656a56214
#12204 : document that str.upper().isupper() might be False and add a note about cased characters.
2011-08-15 14:27:19 +03:00
Ezio Melotti
f42121f27e
#12725 : fix working. Patch by Ben Hayden.
2011-08-14 08:28:57 +03:00
Ezio Melotti
388c945e97
#12725 : fix working. Patch by Ben Hayden.
2011-08-14 08:28:57 +03:00
Georg Brandl
96d237c40a
Update versions in LICENSE files.
2011-08-13 11:59:12 +02:00
Georg Brandl
1db1d14e11
Update pydoc topics and suspicious ignore.
2011-08-13 11:33:35 +02:00
Sandro Tosi
7bf4363f77
let PySequence_Check me a link; thanks to tomo cocoa from docs@
2011-08-13 00:39:46 +02:00
Sandro Tosi
8a3b657f9e
it's 'rather than'; reported by James Bateman on docs@
2011-08-12 19:31:32 +02:00
Éric Araujo
28d39a0c08
Branch merge
2011-08-12 17:40:25 +02:00
Vinay Sajip
817495a631
Issue #12718 : Add documentation on using custom importers.
2011-08-11 13:45:48 +01:00
Éric Araujo
d9d7bca6da
Use real word in English text (i.e. not code)
2011-08-10 04:19:03 +02:00
Benjamin Peterson
77c4fd01dd
note mutating tp_dict is bad ( closes #12719 )
2011-08-09 16:07:01 -05:00
Éric Araujo
da3f4ae34b
Branch merge
2011-08-09 18:01:38 +02:00
Georg Brandl
bdbdfb1978
Confirm that the prime example is actually correct. We get so many complaints about a "buggy example" on docs@python, let us hope this cuts them in half at least.
2011-08-08 21:45:13 +02:00
Éric Araujo
54a1d05877
Branch merge
2011-08-08 16:56:00 +02:00
Sandro Tosi
db79e95195
#12709 : add error_callback argument to map_async documentation
2011-08-08 16:38:13 +02:00
Sandro Tosi
61baee0ee7
#10741 : add documentation for PyGILState_GetThisThreadState()
2011-08-08 00:16:54 +02:00
Sandro Tosi
2a389e4601
#12677 : correct turtle orientation in doc
2011-08-07 17:12:19 +02:00
Éric Araujo
6ef038e78c
Add documentation for PEP 370 features in distutils ( #10745 ).
...
This started out as an easy task, just add a section describing this
alternate scheme, but I found a lot of cleanup to do along the way:
- fixed inverted reST targets
- fixed entries for modules (hi abiflags!) or data files
- avoided duplicating the same options listing five or six times
- added missing entries for C headers locations
- added documentation for --install-lib
- fixed a few misuses of the option role (see #9312 ), but not all (not
worth the time, but will do it in packaging docs)
- fixed some markup
The paths fixes were done with an eye on the source code in the install
command, so they really describe what’s actually done. The situation on
Mac OS X is rather messy: the fix for #8084 touched site and sysconfig,
but distutils doesn’t use these files. I suspect we have a mismatched
stdlib at the moment, and the fix is not even clear (see the bug report
for further discussion).
2011-08-06 16:30:42 +02:00
Eli Bendersky
ebd4805df0
Fix grammar
2011-08-06 09:31:09 +03:00
Senthil Kumaran
2e0153550c
Fix closes Issue12697 - Update the usage syntax of timeit module in the docs.
2011-08-06 13:37:04 +08:00
Senthil Kumaran
a3b2316a1b
merge from 2.7 - Fix closes issue11047 - Correct the 2.7 whatsnew description for issue 7902.
2011-08-06 12:54:23 +08:00
Éric Araujo
de4f05b741
Improve documentation for PEP 370 support in site module ( #8617 ).
...
site.USER_BASE and site.USER_SITE are now fully documented. PEP 370 is
outdated with respects to the Mac framework situation, but the code in
sysconfig and the example in the 3.2 What’s New document helped me find
the right values to document for Mac OS X.
The command-line interface of the site module, partly documented in the
3.2 What’s New, is fully described in the module docs.
The purpose of the usercustomize module is explained in the site docs,
with a gentle introduction in the tutorial (right after the section that
talks about PYTHONSTARTUP; a comment mentions it should be moved from
the tutorial to another file, but that will be another bug).
Various markup and wording improvements were made along the way in the
site module docs. Duplicate and incomplete declarations of environment
variables have also been removed (the original bug report was actually
about these entries :). The site module docs are still a bit messy;
I’ll see about improving them for #11553 .
All these sections are copiously interlinked and findable from the doc
indexes.
2011-08-06 01:51:07 +02:00
Senthil Kumaran
86a1a8974d
Fix closes issue12663 - Correcting the ArgumentParser.error description. Patch by Sandro Tosi.
2011-08-03 07:42:18 +08:00
Sandro Tosi
2a8d195328
#12665 : Dictionary view example has error in set operation
2011-08-02 18:42:04 +02:00
Sandro Tosi
692dba244b
#12670 : Fix struct code after forward declaration on ctypes doc
2011-08-02 16:17:14 +02:00
Senthil Kumaran
ef5c716176
Fix closes Issue12183 - Explain the Symlink copy behavior in shutil.copytree. Patch by Petri Lehtinen.
2011-08-02 18:52:28 +08:00
Georg Brandl
aa71583f09
Use attribute access instead of index access for namedtuple.
2011-08-01 22:58:53 +02:00
Éric Araujo
2ffea0e8d7
Branch merge
2011-08-01 14:43:45 +02:00
Vinay Sajip
952595696a
Closes #12667 : Added documentation for SMTPHandler secure argument.
2011-08-01 11:31:52 +01:00
Ezio Melotti
222e61e444
Fix typo reported by Sandro Tosi.
2011-07-31 22:49:18 +03:00
Éric Araujo
ab7c1b3f11
Fix regression with distutils MANIFEST handing ( #11104 , #8688 ).
...
The changed behavior of sdist in 3.1 broke packaging for projects that
wanted to use a manually-maintained MANIFEST file (instead of having a
MANIFEST.in template and letting distutils generate the MANIFEST).
The fixes that were committed for #8688 (76643c286b9f by Tarek and
d54da9248ed9 by me) did not fix all issues exposed in the bug report,
and also added one problem: the MANIFEST file format gained comments,
but the read_manifest method was not updated to handle (i.e. ignore)
them. This changeset should fix everything; the tests have been
expanded and I successfully tested the 2.7 version with Mercurial, which
suffered from this regression.
I have grouped the versionchanged directives for these bugs in one place
and added micro version numbers to help users know the quirks of the
exact version they’re using.
Initial report, thorough diagnosis and patch by John Dennis, further
work on the patch by Stephen Thorne, and a few edits and additions by
me.
2011-07-31 04:06:12 +02:00
Ezio Melotti
592563292c
#12531 : Fix spaces and markup.
2011-07-30 21:25:22 +03:00
Benjamin Peterson
497cd65cec
add space
2011-07-30 09:59:50 -05:00
Benjamin Peterson
50211fa0f9
document NotImplemented
2011-07-30 09:57:24 -05:00
Eli Bendersky
b603b27775
merging Georg's revision
2011-07-30 11:36:41 +03:00
Eli Bendersky
e250358062
Issue #11699 : fix documentation of OptionParser.get_option_group. Patch by Petri Lehtinen
2011-07-30 11:14:32 +03:00
Georg Brandl
eea6cda91a
Change test.support docs to be more specific about the nature of this module.
2011-07-30 09:00:48 +02:00
Eli Bendersky
7bd081c117
Issue #12531 : add index entries to documentation of * and ** in function calls
2011-07-30 07:05:16 +03:00
Éric Araujo
fe1e298d8b
Document that atexit execution order is undefined ( #9788 )
2011-07-29 18:04:24 +02:00
Éric Araujo
63b18a4445
Add a link target for argparse.Namespace ( #8982 )
2011-07-29 17:59:17 +02:00
Éric Araujo
e801aa2a1d
Let the doc of __import__ link to importlib ( #9254 ).
...
importlib.import_module eschews a number of issues that __import__ has.
Reviewed by Brett Cannon. (The docstring of __import__ was already
updated in 3d490c3a019e, for #7397.)
2011-07-29 17:50:58 +02:00
Éric Araujo
158d7696f3
Branch merge
2011-07-29 14:24:08 +02:00
Eli Bendersky
ef4902af87
Issue #12644 : document the '%a' conversion in the old string formatting operations. Patch prepared together with Ezio Melotti
2011-07-29 09:30:42 +03:00
Éric Araujo
cf534817ad
Branch merge
2011-07-28 23:08:11 +02:00
Éric Araujo
fc662ddda2
Merge profile docs followup ( #12417 ) from 3.1
2011-07-28 23:00:14 +02:00
Éric Araujo
ee19c772cb
Remove mentions of previous license in profile module docs ( #12417 followup).
...
Also remove an extra docstring.
2011-07-28 22:56:24 +02:00
Éric Araujo
f5e10d1f70
Turn raw URI into real link
2011-07-28 22:50:18 +02:00
Éric Araujo
14382dc887
Update documentation for shutil.move ( #12043 ) and fix a few typos.
...
Adding Sandro Tosi to Doc/ACKS for this patch and all his work on the
docs mailing list and on the bug tracker.
2011-07-28 22:49:11 +02:00
Éric Araujo
72db3459e4
Make indentation comply with our style guide and the rest of the file
2011-07-26 16:54:24 +02:00
Éric Araujo
59e387eb40
Fix “anyways” (following R. David Murray in 4d5a546b6186)
2011-07-26 16:53:17 +02:00
Éric Araujo
7c12bae717
Fix reST references
2011-07-26 15:14:35 +02:00
Ross Lagerwall
59c01edcaa
Issue #12102 : Document that buffered files must be flushed before being used
...
with mmap. Patch by Steffen Daode Nurpmeso.
2011-07-25 07:12:43 +02:00
Georg Brandl
06ad13ee7c
Fix function name: open -> urlopen.
2011-07-23 08:04:40 +02:00
Ezio Melotti
bca31b5d1f
#11435 : link to the correct branch.
2011-07-21 09:35:19 +03:00
Senthil Kumaran
96c84a4c7d
Fix closes issue12524 - update http.client POST example with a working example.
2011-07-20 21:56:24 +08:00
Senthil Kumaran
ae4a78b0a8
Fix closes issue12577 - clarify shutil.move documentation. Patch suggestion by Catalin Iacob
2011-07-19 08:03:02 +08:00
Antoine Pitrou
0e752dd3f8
Issue #6476 : Document that os.spawnle and os.spawnve are not thread-safe under Windows.
2011-07-19 01:26:58 +02:00
R David Murray
b899007268
Better English.
2011-07-18 12:38:03 -04:00
Senthil Kumaran
3e7f33fc82
fix whitespace nit.
2011-07-18 07:17:20 +08:00
Senthil Kumaran
0215d09ca9
Fix closes Issue12478 - HTTPErrorProcess 's methods are http_response and https_response.
2011-07-18 07:12:40 +08:00
Senthil Kumaran
ed270fab64
Fix closes Issue12479 - Add HTTPErrorProcessor class definition - Patch by Sandro Tosi
2011-07-18 06:42:46 +08:00
Senthil Kumaran
023c6f703d
Fix Issue10403 - datetime documentation clarification based on review in the reitveld by Alexendar belopolsky.
2011-07-17 19:01:14 +08:00
Senthil Kumaran
ad3882a2b0
Fix closes Issue11436 - Minor clarification to struct documentation for 's' format character.
2011-07-17 17:29:17 +08:00
Ned Deily
58e3350bd4
Issue #12549 : Correct test_platform to not fail when OS X returns 'x86_64'
...
as the processor type on some Mac systems. Also fix NameError in fallback
_mac_ver_gestalt function. And remove out-of-date URL in docs.
2011-07-13 15:07:04 -07:00
Antoine Pitrou
fd060474e3
Make it clear that PyNumber_AsSsize_t() returns -1 on error.
2011-07-13 21:02:22 +02:00
Georg Brandl
325eb470b7
Clarify that PyErr_NewException creates an exception *class*, not instance.
2011-07-13 15:59:24 +02:00
Antoine Pitrou
b3593cada2
Use infinitive, not 3rd person of present tense.
2011-07-11 01:39:19 +02:00
Antoine Pitrou
6f5dcb1ee2
Issue #12343 : Add some notes on behaviour of non-blocking SSL sockets.
2011-07-11 01:35:48 +02:00
Antoine Pitrou
cdddf2b875
Mention logging.captureWarnings in the warnings module doc.
2011-07-09 21:29:36 +02:00
Antoine Pitrou
462d1b39a4
Move sys.subversion at the right place in alphabetical order, and informally deprecate it.
2011-07-09 16:02:19 +02:00
Antoine Pitrou
a83cdaae89
Issue #12326 : document the recommended idiom for checking sys.platform on Unix systems.
...
Also, point to the various alternatives.
2011-07-09 15:54:23 +02:00
Victor Stinner
6e2e3b9e81
Issue #12423 : Fix os.abort() documentation
...
The Python signal handler for SIGABRT is not called on os.abort() (only if the
signal is raised manually or sent by another process). Patch by Kamil Kisiel.
2011-07-08 02:26:39 +02:00
Senthil Kumaran
3aac179498
Fix whitespace nit in datetime and os rst files.
2011-07-04 11:43:51 -07:00
Senthil Kumaran
a6bac95a3c
issue10403 - Let's not use members anymore. Use 'attribute' where it denotes attribute and 'methods' where it denotes methods. Context should clarify usage.
2011-07-04 11:28:30 -07:00
Georg Brandl
bfd1edd155
Merge 3.2.1 release clone changes into main 3.2 branch after 3.2.1rc2 release.
2011-07-04 19:55:22 +02:00
Senthil Kumaran
946eb865a3
reST indentation fix in sqlite3 docs. rst uses 3 space indentation.
2011-07-03 10:17:22 -07:00
Georg Brandl
f069100d0d
Fix bad markup.
2011-07-03 09:39:49 +02:00
Georg Brandl
7f3cd98beb
Fix target path in message.
2011-07-03 09:30:42 +02:00
Mark Dickinson
40d9ebe031
Issue #12228 : Fix exchanged flag descriptions in stat.rst. Thanks Sandro Tosi.
2011-06-25 12:03:33 +02:00
Senthil Kumaran
fe9230aac6
Fix closes issue12261 - Minor documention changes in the urllib.parse.rst
2011-06-19 13:52:49 -07:00
R David Murray
ac4e5abc78
#12147 : make send_message correctly handle Sender and Resent- headers.
...
Original patch by Nicolas Estibals. My tweaks to the patch were mostly
style/cosmetic, and adding more tests.
2011-07-02 21:03:19 -04:00
Ned Deily
3eb67d58d6
Issue #8746 : Correct faulty configure checks so that os.chflags() and
...
os.lchflags() are once again built on systems that support these
functions (*BSD and OS X). Also add new stat file flags for OS X
(UF_HIDDEN and UF_COMPRESSED). Also add additional tests for
os.chflags() and os.lchflags(). (Tests by Garrett Cooper)
2011-06-28 00:00:28 -07:00
Raymond Hettinger
b34705ff37
Issue #8890 : Remove /tmp from examples.
2011-06-26 15:29:06 +02:00
Ezio Melotti
4850d52b4d
#11363 : add missing functions from curses doc. Patch by Sandro Tosi.
2011-06-26 13:34:56 +03:00
Ezio Melotti
b6b7371329
#11363 : clean up curses doc.
2011-06-26 13:38:11 +03:00
Ezio Melotti
fc3db8a91e
#11669 : rephrase footnote in the Compound Statements page.
2011-06-26 11:25:28 +03:00
Ezio Melotti
54cc5fd72d
Use correct markup in zipimport.rst. Patch by Sara Magliacane.
2011-06-25 19:40:06 +03:00
Raymond Hettinger
6ddefd7916
Issue 12086: add example showing how to use name mangling.
2011-06-25 16:30:39 +02:00
Raymond Hettinger
9d3df6d508
Issue 11889: Clarify docs for enumerate.
2011-06-25 15:00:14 +02:00
Mark Dickinson
7e4b5c6773
Merge #12228
2011-06-25 12:04:08 +02:00
Raymond Hettinger
4d5208d2e2
Fix typo (reported by Hiro Ashiya).
2011-06-25 11:39:00 +02:00
R David Murray
24eb4bc5c9
#9921 : clarify os.path.join joining algorithm
...
The new wording is based on the comments in the code, which
match the actual behavior.
2011-06-23 21:26:13 -04:00
Senthil Kumaran
4707a998e4
Fix closes Issue12359 - Removing a confusing sentence from the previous change.
2011-06-20 07:30:34 -07:00
Senthil Kumaran
656df5ec3e
Fix closes issue 12360 - correcting parameter names in asyncore documentation.
2011-06-19 18:22:33 -07:00
Senthil Kumaran
150857028c
minor space nit.
2011-06-19 17:41:33 -07:00
Senthil Kumaran
5c0347b398
Fix closes Issue12359 - Minor update to module import description.
2011-06-19 17:37:06 -07:00
Senthil Kumaran
fd8d7e9b0d
Whitespace nit fixed using reident.
2011-06-19 16:59:41 -07:00
Senthil Kumaran
ce9b596c04
Fix closes Issue12315 - Updates to http.client documentation.
2011-06-19 16:56:49 -07:00
Senthil Kumaran
a977acc0fe
merge from 3.1 for issue issue12261.
2011-06-19 13:55:48 -07:00
R David Murray
409c32f47c
#6771 : fix docs: curses.wrapper is exposed as a function, not a module
...
Patch by July Tikhonov.
2011-06-18 19:34:12 -04:00
Benjamin Peterson
b4cfa3ad63
merge heads
2011-06-16 18:51:24 -05:00
Benjamin Peterson
a08eb73b4a
update link to pycrypto ( closes #12351 )
2011-06-16 18:49:46 -05:00
Raymond Hettinger
a63d45c825
Fix typo.
2011-06-16 22:32:10 +01:00
Éric Araujo
8ddf7c2d2b
Minor wording improvement
2011-06-15 17:49:20 +02:00
Vinay Sajip
cdc751720e
Updated Formatter.formatTime documentation.
2011-06-12 11:44:28 +01:00
Vinay Sajip
0aaa9e1d7b
Issue #12206 : documentation for LogRecord constructor updated re. the level argument.
2011-06-11 23:03:37 +01:00
Éric Araujo
9fbfe15c86
Add missing reST target to one heading in the tutorial
2011-06-11 10:34:19 +02:00
Vinay Sajip
645e4589b1
Documented change for Issue #12168 .
2011-06-10 18:52:50 +01:00
Éric Araujo
d2f8cec885
Fix a few misuses of :option: I missed in r86521.
...
Extract of the commit message:
Fix usage of :option: in the docs (#9312 ).
:option: is used to create a link to an option of python, not to mark
up any instance of any arbitrary command-line option. These were
changed to ````.
2011-06-08 05:29:39 +02:00
Éric Araujo
96deb7550e
Add links from builtins module docs to built-in functions and constants docs
2011-06-08 04:53:20 +02:00
Éric Araujo
b805c47138
Add examples that work on Windows to distutils docs ( #1626300 )
2011-06-08 01:11:36 +02:00
Éric Araujo
b8f2ad0380
Remove outdated bit of advice (584f9c213a6d follow-up)
2011-06-08 00:47:49 +02:00
Éric Araujo
fa088dbd0c
Improve glossary entry for ABCs.
...
- Rename reST target name for collections ABCs to avoid collisions
- Add link to importlib ABCs (collections, numbers and io ABCs were already
linked)
- Link to glossary entry from numbers module doc (other modules already do it)
2011-06-04 18:42:38 +02:00
Éric Araujo
07e58c3389
Remove link that’s already present at the top of the file
2011-06-03 20:43:42 +02:00
Éric Araujo
98e68adc7e
Document working dir for “make html” ( #12249 ). Patch by Tshepang Lekhonkhobe.
2011-06-03 19:25:58 +02:00
Raymond Hettinger
3d89057ff8
Fix named tuples to work with vars().
2011-06-02 23:40:24 -07:00
Raymond Hettinger
9028928156
Forward port doc updates for builtin functions.
2011-06-01 16:17:23 -07:00
Éric Araujo
affcf2967f
Branch merge
2011-06-01 19:39:27 +02:00
Benjamin Peterson
2e3a38a774
demote this to a note
2011-05-31 21:27:41 -05:00
Éric Araujo
5864b9fd3c
Fix markup: arguments in a class directive are __init__ arguments, not base classes
2011-05-31 21:50:38 +02:00
Éric Araujo
75e86a678c
Merge 3.1
2011-05-29 18:07:12 +02:00
Éric Araujo
4b8f6651f0
Branch merge
2011-05-29 18:05:53 +02:00
Éric Araujo
87418afb3b
Fix typo in 0311f62714f7
2011-05-29 03:48:49 +02:00
Éric Araujo
6a21f5527c
Don’t misuse “package data” in pprint example
2011-05-29 03:46:31 +02:00
Éric Araujo
c5069e0070
Merge doc touch-ups and fixes for #9831 and #9223 from 3.1
2011-05-29 00:29:56 +02:00
Éric Araujo
456ae893d7
Re-add missing doc stub for the distutils check command
2011-05-29 00:22:06 +02:00
Éric Araujo
000893fab2
Minor touch-ups in distutils.cmd.Command doc
2011-05-29 00:14:45 +02:00
Éric Araujo
f33de71514
Minor doc addition for clarity
2011-05-27 04:42:47 +02:00
Éric Araujo
e0854f9dbf
Add missing closing paren
2011-05-27 04:36:52 +02:00
Éric Araujo
d4701f4262
Fix two typos
2011-05-25 18:13:29 +02:00
Raymond Hettinger
4b244ef255
Clean-up example.
2011-05-23 12:45:34 -07: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
Raymond Hettinger
f9ca76f500
Simplify example
2011-05-21 09:33:45 -07:00
Georg Brandl
9c1928f0a9
Merge release branch after 3.2.1rc1.
2011-05-21 17:35:33 +02:00
Benjamin Peterson
619323c68f
merge 3.1
2011-05-20 11:49:19 -05:00
Benjamin Peterson
2340986fe0
this should actually be an IOError
2011-05-20 11:49:06 -05:00
Benjamin Peterson
c7dd737ef7
merge 3.1
2011-05-20 11:41:59 -05:00
Benjamin Peterson
249b508c98
add example for not using access
2011-05-20 11:41:13 -05:00
Ezio Melotti
da5b852c7c
#12072 : merge with 3.1.
2011-05-20 15:06:32 +03:00
Ezio Melotti
261d855fd6
#12072 : add missing parenthesis in the doc. Patch by Sandro Tosi.
2011-05-20 15:04:38 +03:00
Georg Brandl
521143dd6c
Update pydoc topics and handle suspicious markup.
2011-05-15 17:51:24 +02:00
Georg Brandl
318e62153b
Merge #6498 fix from 3.1.
2011-05-15 08:49:29 +02:00
Georg Brandl
0b2489e986
Closes #6498 : fix several misspellings of "SystemExit" as "SystemError".
2011-05-15 08:49:12 +02:00
Łukasz Langa
d8eab60c00
Merged rethought pprint usage example from 3.1.
2011-05-14 22:49:10 +02:00
Łukasz Langa
4ad78ab766
pprint usage example rethought.
2011-05-14 22:43:44 +02:00
Ezio Melotti
132bcf4724
#11979 : merge with 3.1.
2011-05-14 09:23: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
23157e5ddc
Further beautification of the example
2011-05-13 01:38:31 -07:00
Raymond Hettinger
9c47d778f7
Neaten up example so it can be cut and pasted.
2011-05-13 01:03:50 -07:00
Georg Brandl
5166375045
Use singular they. Thanks to Mark Summerfield.
2011-05-13 06:55:28 +02:00
Georg Brandl
325477e20e
Fix unbound local error in RE tokenizer example. Thanks to Herman L. Jackson.
2011-05-13 06:54:23 +02:00
Georg Brandl
cc5ea6860f
Merge in changes from 3.2.1b1 release repo.
2011-05-13 06:50:56 +02:00
Gregory P. Smith
c9557af441
merge - 7a3f3ad83676 Fixes Issue #12044 .
2011-05-11 22:18:23 -07:00
Raymond Hettinger
30439b23c0
Document default fmtspec. Fix inaccurate note. Document exceptions.
2011-05-11 10:47:27 -07:00
Senthil Kumaran
57e6eac905
Issue #11968 - the start_response header values in wsgiref shoudl be str not
...
bytes. The PEP-0333 says that and test_wsgiref follows the same. Updated docs
accordingly.
2011-05-11 22:34:59 +08:00
Antoine Pitrou
1be815aac4
Issue #8498 : In socket.accept(), allow to specify 0 as a backlog value in
...
order to accept exactly one connection. Patch by Daniel Evers.
2011-05-10 19:16:29 +02:00
Łukasz Langa
cda41d3bf7
Actually print out the description of what changed.
2011-05-10 15:25:41 +02:00
Raymond Hettinger
bb1cf8d9bc
Issue 12047: Expand the style guide.
2011-05-10 00:35:03 -07:00
Victor Stinner
17ca323e7c
(Merge 3.1) Issue #12012 : ssl.PROTOCOL_SSLv2 becomes optional
...
OpenSSL is now compiled with OPENSSL_NO_SSL2 defined (without the SSLv2
protocol) on Debian: fix the ssl module on Debian Testing and Debian Sid.
Optimize also ssl.get_protocol_name(): speed does matter!
2011-05-10 00:48:41 +02:00
Victor Stinner
ee18b6f2fd
Issue #12012 : ssl.PROTOCOL_SSLv2 becomes optional
...
OpenSSL is now compiled with OPENSSL_NO_SSL2 defined (without the SSLv2
protocol) on Debian: fix the ssl module on Debian Testing and Debian Sid.
Optimize also ssl.get_protocol_name(): speed does matter!
2011-05-10 00:38:00 +02:00
Łukasz Langa
725476222a
Closes #12036 : ConfigParser: Document items() added the vars dictionary to the result
2011-05-09 18:49:42 +02:00
Martin v. Löwis
867754e3e3
merge 11164
2011-05-09 08:10:38 +02:00
Martin v. Löwis
2f48d892d4
Stop trying to use _xmlplus in the xml module. Closes #11164 .
...
Patch by Arfrever Frehtes Taifersar Arahesis.
2011-05-09 08:05:43 +02:00
Ezio Melotti
74efb71871
Merge with 3.1.
2011-05-09 04:00:06 +03:00
Ezio Melotti
0ed8c6897c
Add a note to the str.find doc to suggest the use of the "in" operator.
2011-05-09 03:54:30 +03:00
Georg Brandl
da71013c11
Update suspicious ignore file.
2011-05-08 09:10:29 +02:00
Nick Coghlan
0ded3e307b
Issue #11647 : allow contextmanager objects to be used as decorators as described in the docs. Initial patch by Ysj Ray.
2011-05-05 23:49:25 +10:00
Ezio Melotti
f77b74dd1b
#11997 : merge with 3.1.
2011-05-05 14:21:18 +03:00
Ezio Melotti
d92ab0806d
#11997 : fix typo in init.rst.
2011-05-05 14:19:48 +03:00
Brian Curtin
03b8d4e47b
Fix #11834 . Correct site-packages paths.
...
Patch by Bryce Verdier.
2011-05-03 21:57:56 -05:00
Brian Curtin
308053ee11
Fix #11834 . Correct site-packages paths.
...
Patch by Bryce Verdier.
2011-05-03 21:57:00 -05:00
Ezio Melotti
5098d44354
#11985 : merge with 3.1.
2011-05-03 20:43:48 +03:00
Ezio Melotti
b351bcca23
#11985 : document the return value of platform.python_implementation for PyPy.
2011-05-03 20:41:48 +03:00
Éric Araujo
38cfe89665
Merge 3.1
2011-05-02 13:12:23 +02:00
Éric Araujo
cd6756d2ae
Branch merge
2011-05-02 13:10:36 +02:00
Éric Araujo
b79c234e1a
Add missing colon
2011-05-02 13:10:18 +02:00
Benjamin Peterson
c704378987
merge 3.1
2011-05-01 20:24:40 -05:00
Raymond Hettinger
9b2fd32cc5
Fix spelling.
2011-05-01 18:14:49 -07:00
Victor Stinner
8108e96bc8
(Merge 3.1) Issue #11277 : mmap.mmap() calls fcntl(fd, F_FULLFSYNC) on Mac OS X
...
to get around a mmap bug with sparse files. Patch written by Steffen Daode
Nurpmeso.
2011-05-02 01:11:33 +02:00
Victor Stinner
a6cd0cf0f5
Issue #11277 : mmap calls fcntl(fd, F_FULLFSYNC) on Mac OS X to get around a
...
mmap bug with sparse files. Patch written by Steffen Daode Nurpmeso.
2011-05-02 01:05:37 +02:00
Benjamin Peterson
cee01bf18f
merge 3.1
2011-05-01 17:39:40 -05:00
Benjamin Peterson
10116d40d8
note abcs of int and float ( closes #11977 )
2011-05-01 17:38:17 -05:00
Georg Brandl
da623ed9f4
Split combined code/doctest code blocks in two blocks, to enable proper highlighting.
2011-05-01 22:37:23 +02:00
Éric Araujo
3bba57d596
Fix wording
2011-05-01 02:14:48 +02:00
R David Murray
361a7df323
Merge #11883 : fix email examples by adding 'localhost' to SMTP constructor calls
2011-04-30 17:29:08 -04:00
R David Murray
bb754b503c
#11883 : fix email examples by adding 'localhost' to SMTP constructor calls
2011-04-30 17:26:32 -04:00
R David Murray
7461298c9c
#11883 : replace incorrect call to sendmail with correct call to send_message
2011-04-30 17:19:53 -04:00
R David Murray
b751d6195f
Merge #11901 : post-commit review fixes per Georg Brandl
2011-04-30 16:36:08 -04:00
R David Murray
9beb34ee0d
#11901 : post-commit review fixes per Georg Brandl
2011-04-30 16:35:29 -04:00
Benjamin Peterson
f97aed1a25
merge 3.1
2011-04-30 13:15:18 -05:00
Benjamin Peterson
4c020885d9
fix function name in example ( closes #11966 )
2011-04-30 13:14:56 -05:00
Brian Curtin
73365dd887
whitespace...
2011-04-29 22:18:33 -05:00
Brian Curtin
e6242d77bd
Fix #11961 . Document STARTUPINFO and creation flag options.
2011-04-29 22:17:51 -05:00
Ezio Melotti
2ee88355fc
#11952 : Fix typo in multiprocessing doc.
2011-04-29 07:10:24 +03:00
Raymond Hettinger
507cbc1773
Issue #11940 : Update external link.
2011-04-27 16:32:08 -07:00
Ezio Melotti
f95033ba44
#11942 : Fix return type of Py_AddPendingCall. Patch by Sandro Tosi.
2011-04-28 00:48:46 +03:00
Éric Araujo
9a42793761
Branch merge
2011-04-27 16:23:56 +02:00
Éric Araujo
10f3d7acbd
Change markup so it generates a link
2011-04-27 16:22:32 +02:00
Brian Curtin
3040193401
Fix #11961 . Document STARTUPINFO and creation flag options.
2011-04-29 22:20:57 -05:00
Ezio Melotti
17797a7310
#11952 : merge with 3.1.
2011-04-29 07:12:42 +03:00
Łukasz Langa
ba702daef9
Style updates for the #11670 solution after post-commit review by Ezio Melotti:
...
http://mail.python.org/pipermail/python-checkins/2011-April/104688.html
Thanks!
2011-04-28 12:02:05 +02:00
Raymond Hettinger
4f7412356d
Issue #11940 : Update external link.
2011-04-27 16:32:34 -07:00
Ezio Melotti
a782ccaf6c
#11942 : merge with 3.1.
2011-04-28 00:53:14 +03:00
Łukasz Langa
43ae619925
Fixed trailing whitespace in the ReST file.
2011-04-27 18:13:42 +02:00
Łukasz Langa
daab1c8092
Closes #11670 : configparser read_file now iterates over f.
2011-04-27 18:10:05 +02:00
Éric Araujo
944d16c6c4
Merge 3.1
2011-04-27 16:27:38 +02:00
Éric Araujo
19acb88baf
Branch merge
2011-04-27 16:25:27 +02:00
Raymond Hettinger
40fc59d98b
Issue 11929: Minor whitespace clean-ups.
2011-04-26 13:55:55 -07:00
R David Murray
0fb5b398cd
Merge #11901 : add description of how bitfields are laid out to hexversion docs
...
Patch by Sijin Joseph.
2011-04-25 16:13:54 -04:00
R David Murray
2043f9c582
#11901 : add description of how bitfields are laid out to hexversion docs
...
Patch by Sijin Joseph.
2011-04-25 16:12:26 -04:00
Éric Araujo
16190c8236
Change markup so that it creates a link
2011-04-25 19:05:53 +02:00
Éric Araujo
ce4c4074f9
The version* directives don’t work with a blank line between arguments
2011-04-24 03:31:37 +02:00
Éric Araujo
08c9bd57f2
Remove unneeded backslashes
2011-04-24 02:59:02 +02:00
Éric Araujo
b547148d16
Fix indentation
2011-04-24 02:44:39 +02:00
Éric Araujo
fbeb1a9468
Merge 3.1
2011-04-24 02:42:52 +02:00
Éric Araujo
cae1be85f5
Branch merge
2011-04-24 02:39:43 +02:00
Éric Araujo
5348b63a91
Branch merge
2011-04-24 02:34:11 +02:00
Éric Araujo
2b9388a033
Fix weird executable name
2011-04-22 21:27:10 +02:00
Ezio Melotti
5569e9b150
Fix some more markup glitches in argparse doc.
2011-04-22 01:42:10 +03:00
Ezio Melotti
dca309d137
#11905 : fix missing full stop in argparse doc. Noticed by Vladimir Rutsky.
2011-04-21 23:09:27 +03:00
Ezio Melotti
2f1db7def9
#11904 : fix indentation in argparse doc. Noticed by Vladimir Rutsky.
2011-04-21 23:06:48 +03:00
Ezio Melotti
00f53afdda
#11902 : Fix typo in argparse doc. Noticed by Vladimir Rutsky.
2011-04-21 22:56:51 +03:00
Ezio Melotti
0ee9c1be76
Add the :mod: role where it was missing.
2011-04-21 16:12:17 +03:00
Ezio Melotti
cca4ef8cba
#11885 : capitalize Python.
2011-04-21 15:26:46 +03:00
Ezio Melotti
c17c1f64aa
#11897 : Fix typo in porting howto. Patch by Marti Raudsepp.
2011-04-21 14:49:03 +03:00
Éric Araujo
de579d4359
Add a space to make json doc a bit more readable
2011-04-21 02:37:41 +02:00
Ezio Melotti
861d27f4cf
Merge with 3.1.
2011-04-20 21:32:40 +03:00
Ezio Melotti
e402724912
Fix wrong function name. Noticed by Clive Darke.
2011-04-20 21:29:31 +03:00
Éric Araujo
37e6c54ba1
Merge 3.1
2011-04-20 19:24:09 +02:00
Éric Araujo
5c1a0c969d
Fix argument name in reST doc to match the code
2011-04-20 19:11:12 +02:00
Éric Araujo
ad0790e573
Branch merge
2011-04-20 18:54:12 +02:00
Ezio Melotti
a947abec6a
Merge with 3.1.
2011-04-19 23:23:47 +03:00
Ezio Melotti
8dfcab0885
Fix wrong number of functions noticed by Sandro Tosi.
2011-04-19 23:15:13 +03:00
Vinay Sajip
f97255fd7c
Updated documentation on fileConfig().
2011-04-19 13:56:39 +01:00
R David Murray
530cc09796
Fix markup.
2011-04-18 15:54:58 -04:00
R David Murray
01581ee0b7
#11492 : rewrite header folding algorithm. Less code, more passing tests.
2011-04-18 10:04:34 -04:00
Ezio Melotti
74c0031066
#11865 : Merge with 3.1.
2011-04-18 10:14:13 +03:00
Ezio Melotti
340bb95ffd
#11865 : fix typo in init.rst.
2011-04-18 10:11:21 +03:00
Éric Araujo
a0b3c32c7a
Advertise nesting directives for class/method and class/data combos.
...
Also fix a typo and a misleading example (method used to describe function).
2011-04-16 23:47:53 +02:00
Ezio Melotti
2409d770d9
Fix a few more hyphens in argparse.rst
2011-04-16 23:13:50 +03:00
Georg Brandl
340d2690b3
Small wording fix.
2011-04-16 16:54:15 +02:00
Georg Brandl
1d827ff43d
Consistency fix: "command line" is the noun, "command-line" the adjective.
2011-04-16 16:44:54 +02:00
Georg Brandl
ab8d93c03a
Backport 8a9f8f34d9d5.
2011-04-16 17:05:30 +02:00
Georg Brandl
10fe23b495
Merge with 3.1
2011-04-16 16:59:32 +02:00
Eli Bendersky
3384e54c23
Issue #11855 : merge from 3.1
2011-04-16 15:34:29 +03:00
Eli Bendersky
219cc776f6
Issue #11855 : Apply missing formatting for urlretrieve
2011-04-16 15:32:13 +03:00
Raymond Hettinger
f05c1394fe
merge
2011-04-15 17:43:57 -07:00
Raymond Hettinger
7bba683d27
Add another example to the collections module docs.
2011-04-15 17:43:19 -07:00
Ezio Melotti
8881868e08
#11843 : Merge with 3.1.
2011-04-15 18:07:38 +03:00
Ezio Melotti
181810b5fe
#11843 : remove duplicate line from table in distutil doc.
2011-04-15 18:05:09 +03:00
Ezio Melotti
34d204bc85
#4783 : Merge with 3.1.
2011-04-15 07:39:08 +03:00
Ezio Melotti
60adf95955
#4783 : document that is not possible to use json.dump twice on the same stream.
2011-04-15 07:37:00 +03:00
Eli Bendersky
d211231cd5
merge from 3.1
2011-04-15 07:26:28 +03:00
Eli Bendersky
046a764bb2
Issue #11827 : remove mention of list2cmdline in the doc of subprocess
2011-04-15 07:23:26 +03:00
Ezio Melotti
c1f0577b54
#11840 : Merge with 3.1.
2011-04-14 07:50:25 +03:00
Ezio Melotti
95cd91c17f
#11840 : Improve c-api/unicode documentation. Patch by Sandro Tosi.
2011-04-14 07:43:53 +03:00
Ezio Melotti
832c8bbe51
#9101 : backport json reference in configparser doc.
2011-04-14 06:41:38 +03:00
R David Murray
5864c9f26c
Merge: Fix wording and clarify that the IDNA codec operates on full domain names.
...
Before reading the code to check, I wasn't sure if it operated on
full domain names or just individual labels.
2011-04-13 14:12:59 -04:00
R David Murray
e0fd2f880e
Fix wording and clarify that the IDNA codec operates on full domain names.
...
Before reading the code to check, I wasn't sure if it operated on
full domain names or just individual labels.
2011-04-13 14:12:18 -04:00
R David Murray
d5315482e9
Merge #10019 : Fix regression relative to 2.6: add newlines if indent=0
...
Patch by Amaury Forgeot d'Arc, updated by Sando Tosi.
2011-04-12 21:09:18 -04:00
R David Murray
3dd02d62c9
#10019 : Fix regression relative to 2.6: add newlines if indent=0
...
Patch by Amaury Forgeot d'Arc, updated by Sando Tosi.
2011-04-12 21:02:45 -04:00
Ross Lagerwall
810b94a364
Issue #11818 : Fix tempfile examples for Python 3.
2011-04-10 09:30:04 +02:00
Raymond Hettinger
dbb677a894
Beautify and modernize the SequenceMatcher example
2011-04-09 19:41:00 -07:00
Vinay Sajip
77f8d2962c
Normalised whitespace.
2011-04-08 01:34:20 +01:00
Vinay Sajip
c46102c98a
Updated Formatter documentation.
2011-04-08 01:30:51 +01:00
Antoine Pitrou
e88604755c
Clarify that GzipFile.read1() isn't implemented.
2011-04-04 21:06:20 +02:00
Ezio Melotti
361467e522
#11282 : the fail* methods will stay around a few more versions.
2011-04-03 17:37:58 +03:00
Ezio Melotti
9481e41741
Merge with 3.1
2011-04-03 16:24:22 +03:00
Ezio Melotti
b5ff3e4ce5
Fix typo noticed by Sandro Tosi.
2011-04-03 16:20:21 +03:00
Raymond Hettinger
6c94e6fb42
Issue #7796 : Add link to Jan Kaliszewski's alternate constructor and ABC for named tuples.
2011-03-31 15:46:06 -07:00
Raymond Hettinger
12e6c256ca
Fix markup and wording.
2011-03-31 13:59:24 -07:00
Raymond Hettinger
1081d48889
Add links to make the math docs more usable.
2011-03-31 12:04:53 -07:00
Guido van Rossum
20d2ab435e
Merge issue 11662.
2011-03-29 12:58:29 -07:00
Guido van Rossum
acb63092b7
Merge issue 11662.
2011-03-29 12:55:41 -07:00
guido@google.com
c768ff5d4f
Merge Issue 11662 from 3.1 branch.
2011-03-29 11:51:26 -07:00
guido@google.com
a119df91f3
Issue 11662: Fix vulnerability in urllib/urllib2.
...
(This version is a cleaned-up backport of a fix by Senthil Kumaran.)
2011-03-29 11:41:02 -07:00
Ezio Melotti
7ef2b46a0a
#10617 : merge with 3.1.
2011-03-28 13:53:40 +03:00
Ezio Melotti
9b2e67c4fa
#10617 : add class directives to collections ABCs.
2011-03-28 13:50:41 +03:00
Steven Bethard
d186f99d00
Issue #9343 : Document that argparse parent parsers must be configured before their children.
2011-03-26 21:49:00 +01:00
Steven Bethard
d8f2d50c20
Issue #8982 : Improve the documentation for the argparse Namespace object.
2011-03-26 19:50:06 +01:00
Éric Araujo
8b8f2ec560
Kill last reference to defunct module
2011-03-26 07:22:01 +01:00
Éric Araujo
01606dea3d
#10553 : Explain why compileall has no command-line argument to control optimization
2011-03-26 03:22:55 +01:00
Éric Araujo
722bec4210
Merge 3.1
2011-03-26 01:59:47 +01:00
Éric Araujo
5ab477695c
Tweaks to sys.flags description table.
...
The options listed in the table are now links to their documentation,
and the table uses compact markup to make it easier to read and edit.
First proposed in #10998 .
2011-03-26 00:47:04 +01:00
Éric Araujo
a464d4e608
Remove untrue statement from tutorial
2011-03-25 21:53:58 +01:00
Raymond Hettinger
df07aacebb
Issue #11071 : Fix whatsnew description of O/S access to raw bytes.
2011-03-25 12:41:07 -07:00
Éric Araujo
4dcf50250c
Use universal construct os.path.expanduser('~') instead of os.environ['HOME']
2011-03-25 20:31:50 +01:00
Raymond Hettinger
b1aef23316
Issue #10610 : Document that int(), float(), and complex() accept numeric literals with the Nd property.
2011-03-22 17:33:53 -07:00
Raymond Hettinger
c706dbfa67
Issue #10610 : Document that int(), float(), and complex() accept numeric literals with the Nd property.
2011-03-22 17:33:17 -07:00
Raymond Hettinger
2052978e9a
Issue #10771 : Clarify that descriptors get used in an *owner* class or one of its parents.
2011-03-22 16:27:31 -07:00
Raymond Hettinger
3b654be1a4
Issue #10771 : Clarify that descriptors get used in an *owner* class or one of its parents.
2011-03-22 16:27:02 -07:00
Raymond Hettinger
f047164f64
Issue 10988: fix description of super's descriptor call.
2011-03-22 15:33:02 -07:00
Raymond Hettinger
b199b2262c
Issue 10988: fix description of super's descriptor call.
2011-03-22 15:28:45 -07:00
Raymond Hettinger
608aba301e
Issue #11625 : Fix Typo
2011-03-22 09:12:18 -07:00
Raymond Hettinger
e5820c6b5d
Issue #11625 : Fix Typo
2011-03-22 09:11:39 -07:00
Georg Brandl
2f5cac6ab4
Merge to 3.2.
2011-03-21 08:55:31 +01:00
Georg Brandl
82d8ec5eef
Fix duplicate word.
2011-03-21 08:55:16 +01:00
Éric Araujo
d40248777b
Merge from 3.1
2011-03-20 18:31:42 +01:00
Éric Araujo
09eb980e3e
Fix typo in class name
2011-03-20 18:30:37 +01:00
R David Murray
38a04e51f6
Merge markup fixes for #7198 patch.
2011-03-20 11:19:20 -04:00
R David Murray
9c0d5eaa70
Markup fixes for #7198 patch.
2011-03-20 11:18:21 -04:00
R David Murray
fb8b067360
Really merge #7198
...
Changeset ab27f16f707a was messed up by a rebase (as were
959f666470cc and 9d1b1a95bc8f) and the patch only got applied
to default.
2011-03-20 10:25:29 -04:00
R David Murray
f453debb45
#7198 : really add newline='' to csv.writer docs.
...
Changeset ab27f16f707a was messed up by a rebase (as were
959f666470cc and 9d1b1a95bc8f) and the patch only got applied
to default.
2011-03-20 10:23:22 -04:00
Antoine Pitrou
7b98d02302
Issue #11459 : A `bufsize` value of 0 in subprocess.Popen() really creates
...
unbuffered pipes, such that select() works properly on them.
2011-03-19 17:04:13 +01:00
Antoine Pitrou
877766dee8
Issue #11459 : A `bufsize` value of 0 in subprocess.Popen() really creates
...
unbuffered pipes, such that select() works properly on them.
2011-03-19 17:00:37 +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
Ezio Melotti
3b3499ba69
#11565 : Merge with 3.1.
2011-03-16 11:35:38 +02:00
Ezio Melotti
13925008dc
#11565 : Fix several typos. Patch by Piotr Kasprzyk.
2011-03-16 11:05:33 +02:00
Raymond Hettinger
15aded8b73
Emphasize the ['x', 'y'] option for listing field names. Remove PS2 prompts to make the examples cut-and-pasteable.
2011-03-15 17:25:51 -07:00
Michael Foord
dcebe0f2dc
Closes issue 11133. Fixes two cases where inspect.getattr_static could trigger code execution
2011-03-15 19:20:44 -04:00
R David Murray
729c5e203d
Merge #11216 : document all possible set_charset execution paths.
2011-03-15 17:42:50 -04:00
R David Murray
e3d09ff269
#11216 : document all possible set_charset execution paths.
2011-03-15 17:41:13 -04:00
Antoine Pitrou
9bb9877d80
Followup to 4c59cd84086f: add an entry in the porting guide and a "versionchanged" attribute.
2011-03-15 20:22:50 +01:00
R David Murray
4a0b60c527
Merge #11555 as_string doc fix from 3.1.
2011-03-15 14:02:53 -04:00
R David Murray
7dedcb4644
#11555 : update doc for 3.x change to as_string mangle_from default.
2011-03-15 14:01:18 -04:00
R David Murray
c48c19afe0
Merge redundant __contains__ doc fix from 3.1.
2011-03-14 22:53:29 -04:00
R David Murray
f6db0bbbee
Remove redundant __contains__ entry from Message docs.
2011-03-14 22:43:38 -04:00
Ross Lagerwall
13312638b3
Merge from 3.1
2011-03-14 10:41:58 +02:00
Ross Lagerwall
8fea2e6a50
Issue #10885 : Fix multiprocessing docs typo
2011-03-14 10:40:15 +02:00
Antoine Pitrou
9bd3bbcfe8
Issue #11329 : PyEval_InitThreads() cannot be called before Py_Initialize() anymore
2011-03-13 23:28:28 +01:00
Antoine Pitrou
34db469895
Remove documentation to non-existent function PyObject_CopyToObject ( fixes #11478 )
2011-03-13 19:32:01 +01:00
Antoine Pitrou
6b19e50e9b
Remove documentation to non-existent function PyObject_CopyToObject ( fixes #11478 )
2011-03-13 19:31:11 +01:00
Ezio Melotti
0def5c6907
Merge with 3.1.
2011-03-13 02:27:26 +02:00
Ezio Melotti
2b73660135
Fix markup in inputoutput.rst.
2011-03-13 02:19:57 +02:00
Ezio Melotti
77845ce55a
Fix typo.
2011-03-12 22:25:06 +02:00
Benjamin Peterson
62e0b90be2
merge 3.1
2011-03-12 11:58:40 -06:00
Benjamin Peterson
ab2b71699c
trunc -> math.trunc ( closes #11475 )
2011-03-12 11:58:15 -06:00
Senthil Kumaran
e858bca356
forward merge from 3.1
2011-03-12 11:42:33 +08:00
Senthil Kumaran
abd4a05561
Fix issue11283 - Clarifying a re pattern in the re module docs for conditional regex
2011-03-12 11:40:25 +08:00
Ezio Melotti
147f6088f0
#11446 : merge with 3.1.
2011-03-11 20:53:24 +02:00
Ezio Melotti
7885833df0
#11446 : fix incorrect PEP link.
2011-03-11 20:50:42 +02:00
Eli Bendersky
fc4252d3e2
merge
2011-03-11 16:40:25 +02:00
Eli Bendersky
a7a1c15111
merge from 3.1
2011-03-11 16:39:04 +02:00
Eli Bendersky
9cc6249dee
Issue #11426 : use 'with' statements on open files in CSV examples
2011-03-11 16:33:36 +02:00
Ezio Melotti
1a87e3211a
#11435 : Update the links generated by the source directive to use hg.python.org.
2011-03-11 15:16:01 +02:00
R David Murray
5647c473bc
Merge #10999 fix.
2011-03-10 17:22:33 -05:00
R David Murray
30178068d9
#10999 : Add missing documentation for chflags constants to stat module docs
...
Patch by Michal Nowikowski.
2011-03-10 17:18:33 -05:00
Ezio Melotti
c29cd9384a
Use simpler assert in basic example.
2011-03-10 23:38:18 +02:00
Gregory P. Smith
f2b5673f73
Explicitly mention that people should not depend on immediate
...
finalization of objects.
HG Enter commit message. Lines beginning with 'HG:' are removed.
2011-03-10 11:32:29 -08:00
Gregory P. Smith
c542547211
Reword the finalization note.
2011-03-10 11:28:50 -08:00
Gregory P. Smith
c60137b272
Explicitly mention that people should not depend on immediate
...
finalization of objects in the language reference.
2011-03-10 11:25:44 -08:00
Ezio Melotti
40dcb1d287
Port a couple of changes from 3.1.
2011-03-10 13:46:50 +02:00
Ezio Melotti
2d1e88a4d1
Backport from 3.2 several improvements and fixes for unittest.rst.
2011-03-10 12:16:35 +02:00
Ezio Melotti
3d995843ce
#11298 : Improve the unittest discovery explanation.
2011-03-08 16:17:35 +02:00
Georg Brandl
891391bf68
Merge doc fixes.
2011-03-06 11:12:42 +01:00
Georg Brandl
1d0a0f5060
#11294 : add missing ERA_T_FMT to locale docs.
2011-03-06 11:09:51 +01:00
Georg Brandl
931e5c1038
#11292 : add missing A_REVERSE to curses attribute table.
2011-03-06 11:08:35 +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
Georg Brandl
45ec333c72
#11227 : use Host header in asyncore example.
2011-03-06 11:05:03 +01:00
Georg Brandl
12a6153aee
#11373 : fix spelling.
2011-03-06 10:57:52 +01:00
Georg Brandl
3640e18d90
#11405 : do not reference the string module again for its deprecated functions, only for Template class.
2011-03-06 10:56:18 +01:00
Georg Brandl
da2271939a
#11392 : you can trust the computer, but you have to know what it does.
2011-03-06 10:53:55 +01:00
Georg Brandl
e32acd0d79
#11337 : remove unreferenced footnote.
2011-03-06 10:51:18 +01:00
Georg Brandl
310337f828
#11400 : remove reference to pre-1.5 assignment behavior.
2011-03-06 10:48:43 +01:00
Georg Brandl
49857f8a93
Add updated .hgeol file and fix newlines in the 3.2 branch.
2011-03-05 15:11:35 +01:00
Georg Brandl
5537d298ea
Add updated .hgeol file and fix newlines in the 3.1 branch.
2011-03-05 15:10:38 +01:00
Fred Drake
c7eb7894d3
Merged revisions 88717 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/branches/py3k
........
r88717 | fred.drake | 2011-03-03 00:27:17 -0500 (Thu, 03 Mar 2011) | 2 lines
issue 11372: use range instead of xrange
........
2011-03-03 05:29:59 +00:00
Antoine Pitrou
6120d87d32
Merged revisions 88686 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/branches/py3k
........
r88686 | antoine.pitrou | 2011-02-28 23:38:07 +0100 (lun., 28 févr. 2011) | 4 lines
Recommend inspecting the errno attribute of socket.error objects,
and improve wording.
........
2011-02-28 23:03:28 +00:00
Benjamin Peterson
f3352e7c1f
Merged revisions 88668 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/branches/py3k
........
r88668 | benjamin.peterson | 2011-02-27 09:06:44 -0600 (Sun, 27 Feb 2011) | 1 line
make this a link #11345
........
2011-02-27 15:15:06 +00:00
Benjamin Peterson
849272bf02
Merged revisions 88658 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/branches/py3k
........
r88658 | benjamin.peterson | 2011-02-26 15:32:16 -0600 (Sat, 26 Feb 2011) | 1 line
this isn't true anymore
........
2011-02-26 21:34:51 +00:00
Vinay Sajip
dcc9513c67
Issue #11331 : fixed documentation in logging cookbook.
2011-02-26 14:24:29 +00:00
Éric Araujo
682f6a7a1c
Merged revisions 88613 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/branches/py3k
........
r88613 | eric.araujo | 2011-02-25 22:40:34 +0100 (ven., 25 févr. 2011) | 2 lines
Add missing read() in distutils doc.
........
2011-02-25 21:46:00 +00:00
Éric Araujo
7d9d34f18a
Merged revisions 88613 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/branches/py3k
........
r88613 | eric.araujo | 2011-02-25 22:40:34 +0100 (ven., 25 févr. 2011) | 2 lines
Add missing read() in distutils doc.
........
2011-02-25 21:45:06 +00:00
Giampaolo Rodolà
fb9a9c8f2f
Merged revisions 88581 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/branches/py3k
........
r88581 | giampaolo.rodola | 2011-02-25 15:50:57 +0100 (ven, 25 feb 2011) | 1 line
(issue 11232) - fix asyncore documentation issue (patch by Sandro Tosi)
........
2011-02-25 14:54:07 +00:00
Georg Brandl
bd65e7fa46
Markup backport fix.
2011-02-25 11:27:55 +00:00
Georg Brandl
2774310c27
Merged revisions 87627,87638,87739,87760,87771,87787,87984,87986,88108,88115,88144,88165,88329,88364-88365,88369-88370,88423-88424 via svnmerge from
...
svn+ssh://svn.python.org/python/branches/py3k
........
r87627 | georg.brandl | 2011-01-02 15:23:43 +0100 (So, 02 Jan 2011) | 1 line
#1665333 : add more docs for optparse.OptionGroup.
........
r87638 | georg.brandl | 2011-01-02 20:07:51 +0100 (So, 02 Jan 2011) | 1 line
Fix code indentation.
........
r87739 | georg.brandl | 2011-01-04 18:27:13 +0100 (Di, 04 Jan 2011) | 1 line
Fix exception catching.
........
r87760 | georg.brandl | 2011-01-05 11:59:48 +0100 (Mi, 05 Jan 2011) | 1 line
Fix duplicate end tag.
........
r87771 | georg.brandl | 2011-01-05 22:47:47 +0100 (Mi, 05 Jan 2011) | 1 line
On Py3k, -tt and -3 are no-op and unsupported respectively.
........
r87787 | georg.brandl | 2011-01-06 10:15:45 +0100 (Do, 06 Jan 2011) | 1 line
Remove doc for nonexisting parameter.
........
r87984 | georg.brandl | 2011-01-13 08:24:40 +0100 (Do, 13 Jan 2011) | 1 line
Add semicolon for consistency.
........
r87986 | georg.brandl | 2011-01-13 08:31:18 +0100 (Do, 13 Jan 2011) | 1 line
Fix the example output of count().
........
r88108 | georg.brandl | 2011-01-19 09:42:03 +0100 (Mi, 19 Jan 2011) | 1 line
Suppress trailing spaces in table paragraphs.
........
r88115 | georg.brandl | 2011-01-19 21:05:49 +0100 (Mi, 19 Jan 2011) | 1 line
#10944 : add c_bool to types table.
........
r88144 | georg.brandl | 2011-01-22 23:06:24 +0100 (Sa, 22 Jan 2011) | 1 line
#10983 : fix several bugs in the _tunnel implementation that seem to have missed while porting between branches. A unittest is needed!
........
r88165 | georg.brandl | 2011-01-24 20:53:18 +0100 (Mo, 24 Jan 2011) | 1 line
Typo fix.
........
r88329 | georg.brandl | 2011-02-03 08:08:25 +0100 (Do, 03 Feb 2011) | 1 line
Punctuation typos.
........
r88364 | georg.brandl | 2011-02-07 13:10:46 +0100 (Mo, 07 Feb 2011) | 1 line
#11138 : fix order of fill and align specifiers.
........
r88365 | georg.brandl | 2011-02-07 13:13:58 +0100 (Mo, 07 Feb 2011) | 1 line
#8691 : document that right alignment is default for numbers.
........
r88369 | georg.brandl | 2011-02-07 16:30:45 +0100 (Mo, 07 Feb 2011) | 1 line
Consistent heading spacing, and fix two typos.
........
r88370 | georg.brandl | 2011-02-07 16:44:27 +0100 (Mo, 07 Feb 2011) | 1 line
Spelling fixes.
........
r88423 | georg.brandl | 2011-02-15 13:41:17 +0100 (Di, 15 Feb 2011) | 1 line
Apply logging SocketHandler doc update by Vinay.
........
r88424 | georg.brandl | 2011-02-15 13:44:43 +0100 (Di, 15 Feb 2011) | 1 line
Remove editing slip.
........
2011-02-25 10:18:11 +00:00
Georg Brandl
d98934c483
Merged revisions 87101,87146,87156,87172,87175,87371,87378,87522-87524,87526-87528,87530-87536,87581 via svnmerge from
...
svn+ssh://svn.python.org/python/branches/py3k
........
r87101 | georg.brandl | 2010-12-06 23:02:48 +0100 (Mo, 06 Dez 2010) | 1 line
Remove visible XXX comments.
........
r87146 | georg.brandl | 2010-12-09 19:08:43 +0100 (Do, 09 Dez 2010) | 1 line
Fix "seperate".
........
r87156 | georg.brandl | 2010-12-10 11:01:44 +0100 (Fr, 10 Dez 2010) | 1 line
#10668 : fix wrong call of __init__.
........
r87172 | georg.brandl | 2010-12-11 20:10:30 +0100 (Sa, 11 Dez 2010) | 1 line
Avoid AttributeError(_closed) when a TemporaryDirectory is deallocated whose mkdtemp call failed.
........
r87175 | georg.brandl | 2010-12-11 23:19:34 +0100 (Sa, 11 Dez 2010) | 1 line
Fix markup.
........
r87371 | georg.brandl | 2010-12-18 17:21:58 +0100 (Sa, 18 Dez 2010) | 1 line
Fix typo.
........
r87378 | georg.brandl | 2010-12-18 18:51:28 +0100 (Sa, 18 Dez 2010) | 1 line
#10723 : add missing builtin exceptions.
........
r87522 | georg.brandl | 2010-12-28 10:16:12 +0100 (Di, 28 Dez 2010) | 1 line
Replace sys.maxint mention by sys.maxsize.
........
r87523 | georg.brandl | 2010-12-28 10:18:24 +0100 (Di, 28 Dez 2010) | 1 line
Remove confusing paragraph -- this is relevant only to advanced users anyway and does not belong into the tutorial.
........
r87524 | georg.brandl | 2010-12-28 10:29:19 +0100 (Di, 28 Dez 2010) | 1 line
Fix advice: call PyType_Ready to fill in ob_type of custom types.
........
r87526 | georg.brandl | 2010-12-28 11:38:33 +0100 (Di, 28 Dez 2010) | 1 line
#10777 : fix iteration over dict keys while mutating the dict.
........
r87527 | georg.brandl | 2010-12-28 11:56:20 +0100 (Di, 28 Dez 2010) | 1 line
#10768 : fix ScrolledText widget construction, and make the example work from the interactive shell.
........
r87528 | georg.brandl | 2010-12-28 12:02:12 +0100 (Di, 28 Dez 2010) | 1 line
Add news entry and clarify another.
........
r87530 | georg.brandl | 2010-12-28 12:06:07 +0100 (Di, 28 Dez 2010) | 1 line
#10767 : update README in crashers; not all may have a bug entry and/or be fixed.
........
r87531 | georg.brandl | 2010-12-28 12:08:17 +0100 (Di, 28 Dez 2010) | 1 line
#10742 : document readonly attribute of memoryviews.
........
r87532 | georg.brandl | 2010-12-28 12:15:49 +0100 (Di, 28 Dez 2010) | 1 line
#10781 : clarify that *encoding* is not a parameter for Node objects in general.
........
r87533 | georg.brandl | 2010-12-28 12:38:12 +0100 (Di, 28 Dez 2010) | 1 line
Remove history; adapt a bit more to reST, since this will once be part of the dev guide.
........
r87534 | georg.brandl | 2010-12-28 12:48:53 +0100 (Di, 28 Dez 2010) | 1 line
Rewrap.
........
r87535 | georg.brandl | 2010-12-28 12:49:41 +0100 (Di, 28 Dez 2010) | 1 line
#10739 : document that on Windows, socket.makefile() does not make a file that has a true file descriptor usable where such a thing is expected.
........
r87536 | georg.brandl | 2010-12-28 12:53:25 +0100 (Di, 28 Dez 2010) | 1 line
#10609 : fix non-working dbm example.
........
r87581 | georg.brandl | 2010-12-30 18:36:17 +0100 (Do, 30 Dez 2010) | 1 line
Fix NameErrors.
........
2011-02-25 10:03:34 +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
Raymond Hettinger
8edd2e9720
Issue #11296 : rsplit() mentioned twice for the same change.
2011-02-24 11:15:36 +00:00
Benjamin Peterson
edf5132dfe
Merged revisions 88540-88541 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/branches/py3k
........
r88540 | benjamin.peterson | 2011-02-23 20:46:00 -0600 (Wed, 23 Feb 2011) | 1 line
this seems to be pointlessly nested
........
r88541 | benjamin.peterson | 2011-02-23 20:53:05 -0600 (Wed, 23 Feb 2011) | 1 line
rewrite
........
2011-02-24 03:03:46 +00:00
Raymond Hettinger
756fe2608d
Issue #11304 : Input/output tutorial - PI is rounded not truncated.
2011-02-24 00:06:16 +00:00
Raymond Hettinger
48e5cd3df3
nits
2011-02-23 04:22:31 +00:00
Terry Reedy
ba9ad6021a
Fix typo reported by 'Paddy' on python-list.
2011-02-22 16:24:07 +00:00
Raymond Hettinger
540b636077
Issue 11263: Fix link to source code.
2011-02-21 19:56:24 +00:00
Raymond Hettinger
f5692b0476
Issue 10160: Both single-arg and multi-arg calls have been sped-up.
2011-02-21 17:53:16 +00:00
Georg Brandl
14927d0928
Topic and suspicious update.
2011-02-20 10:22:41 +00:00
Éric Araujo
e0e824d2ed
Fix two typos in what’s new ( #11234 ).
2011-02-19 18:46:02 +00:00
Éric Araujo
85dacf7267
Some more grammar fixes/typos for what’s new (approved by Raymond; #11071 )
2011-02-19 18:06:50 +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
Raymond Hettinger
8f0ae9a17f
Doc fixups.
2011-02-18 00:53:55 +00:00
Raymond Hettinger
03a6e6630b
Fix-up logging.dictConfig() example.
2011-02-17 19:19:44 +00:00
Raymond Hettinger
4a8f50a85c
Fix an import and add a citation.
2011-02-17 19:05:53 +00:00
Georg Brandl
08e278a562
Remove editing slip.
2011-02-15 12:44:43 +00:00
Georg Brandl
dbb958561d
Apply logging SocketHandler doc update by Vinay.
2011-02-15 12:41:17 +00:00
Raymond Hettinger
44efc6522a
Fix accumulate() example. (Reported by David Murray.)
2011-02-14 18:18:49 +00:00
Raymond Hettinger
725cb96d8a
Fix example for count().
2011-02-14 06:01:56 +00:00
Georg Brandl
829befb9e3
Fix markup error and update suspicious ignores.
2011-02-13 09:59:39 +00:00
Georg Brandl
c60e306a80
Fix markup problems.
2011-02-12 07:32:02 +00:00
R. David Murray
8b24aac936
Fix argument name typo in compileall docs.
2011-02-11 22:37:16 +00:00
Senthil Kumaran
2933312fe7
Fixed issue11082 - Reject str for POST data with a TypeError. Document the need to explicitly encode to bytes when using urlencode.
2011-02-11 11:25:47 +00:00
R. David Murray
43b2f457a0
Merged revisions 87136,87221,87256,87337-87338,87571,87839,88164 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/branches/py3k
........
r87136 | r.david.murray | 2010-12-08 17:53:00 -0500 (Wed, 08 Dec 2010) | 6 lines
Have script_helper._assert_python strip refcount strings from stderr.
This makes the output of the function and those that depend on it
independent of whether or not they are being run under a debug
build.
........
r87221 | r.david.murray | 2010-12-13 19:55:46 -0500 (Mon, 13 Dec 2010) | 4 lines
#10699 : fix docstring for tzset: it does not take a parameter
Thanks to Garrett Cooper for the fix.
........
r87256 | r.david.murray | 2010-12-14 21:19:14 -0500 (Tue, 14 Dec 2010) | 2 lines
#10705 : document what the values of debuglevel are and mean.
........
r87337 | r.david.murray | 2010-12-17 11:11:40 -0500 (Fri, 17 Dec 2010) | 2 lines
#10559 : provide instructions for accessing sys.argv when first mentioned.
........
r87338 | r.david.murray | 2010-12-17 11:29:07 -0500 (Fri, 17 Dec 2010) | 2 lines
#10454 : clarify the compileall docs and help messages.
[compileall.py changes not backported.]
........
r87571 | r.david.murray | 2010-12-29 14:06:48 -0500 (Wed, 29 Dec 2010) | 2 lines
Fix same typo in docs.
........
r87839 | r.david.murray | 2011-01-07 16:57:25 -0500 (Fri, 07 Jan 2011) | 9 lines
Fix formatting of values with embedded newlines when rfc2047 encoding
Before this patch if a value being encoded had an embedded newline,
the line following the newline would have no leading whitespace,
and the whitespace it did have was encoded into the word. Now
the existing whitespace gets turned into a blank, the way it does
in other header reformatting, and the _continuation_ws gets added
at the beginning of the encoded line.
........
r88164 | r.david.murray | 2011-01-24 14:34:58 -0500 (Mon, 24 Jan 2011) | 12 lines
#10960 : fix 'stat' links, link to lstat from stat, general tidy of stat doc.
Original patch by Michal Nowikowski, with some additions and wording
fixes by me.
I changed the wording from 'Performs a stat system call' to 'Performs
the equivalent of a stat system call', since on Windows there are no
stat/lstat system calls involved. I also extended Michal's breakout
of the attributes into a list to the other paragraphs, and rearranged
the order of the paragraphs in the 'stat' docs to make it flow
better and put it in what I think is a more logical/useful order.
........
2011-02-11 03:13:19 +00:00
Raymond Hettinger
44028d8663
Missing paren.
2011-02-11 00:08:38 +00:00
Raymond Hettinger
ed92b5a46b
Insert missing section heading (noticed by Victor Stinner).
2011-02-11 00:03:03 +00:00
Raymond Hettinger
1fbd8e1c9a
Fix nits.
2011-02-10 09:43:04 +00:00
Raymond Hettinger
9f62d7432c
Add an entry for logging.
2011-02-10 09:20:26 +00:00
Raymond Hettinger
3029affc85
Add missing source links.
2011-02-10 08:09:36 +00:00
Brett Cannon
a2f154459a
Tweak wording about equality comparison.
2011-02-09 22:55:13 +00:00
Terry Reedy
91638e70d3
Add 'pysqlite' before version 2.6.0
2011-02-09 19:21:00 +00:00
Raymond Hettinger
186f441288
Typo.
2011-02-09 18:16:32 +00:00
Antoine Pitrou
ddcacf3156
Merged revisions 88377 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/branches/py3k
........
r88377 | antoine.pitrou | 2011-02-08 00:10:33 +0100 (mar., 08 févr. 2011) | 4 lines
Issue #11141 : Fix the shelve documentation to use a list, not a range object.
Patch by SilentGhost.
........
2011-02-07 23:18:52 +00:00
Antoine Pitrou
631507d1c6
Issue #11141 : Fix the shelve documentation to use a list, not a range object.
...
Patch by SilentGhost.
2011-02-07 23:10:33 +00:00
Antoine Pitrou
b248bdca96
Merged revisions 88371 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/branches/py3k
........
r88371 | antoine.pitrou | 2011-02-07 16:58:11 +0100 (lun., 07 févr. 2011) | 3 lines
Clarify that IMAP4() implicitly calls open(), and that logout() implicitly calls shutdown().
........
2011-02-07 16:03:24 +00:00
Antoine Pitrou
fdded56a46
Clarify that IMAP4() implicitly calls open(), and that logout() implicitly calls shutdown().
2011-02-07 15:58:11 +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
Raymond Hettinger
555f28830b
Add link to table for Tcl/Tk issues on the Mac.
2011-02-07 12:51:05 +00:00
Georg Brandl
ca583b66c8
#8691 : document that right alignment is default for numbers.
2011-02-07 12:13:58 +00:00
Georg Brandl
a5770aa9ca
#11138 : fix order of fill and align specifiers.
2011-02-07 12:10:46 +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
8cd0b38392
Typo. Doh!
2011-02-07 04:00:24 +00:00
Raymond Hettinger
833ad0eede
Fix awkwardly rendered sentence.
2011-02-06 21:00:38 +00:00
Raymond Hettinger
fb2d167e26
Issue #11071 : Various improvements to whatsnew.
2011-02-06 20:08: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
Gregory P. Smith
8095b6548b
Merged revisions 88352 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/branches/py3k
........
r88352 | gregory.p.smith | 2011-02-05 13:47:25 -0800 (Sat, 05 Feb 2011) | 3 lines
issue7678 - Properly document how to replace a shell pipeline so that SIGPIPE
happens when the end exits before the beginning.
........
2011-02-05 21:51:27 +00:00
Gregory P. Smith
e09d2f1614
issue7678 - Properly document how to replace a shell pipeline so that SIGPIPE
...
happens when the end exits before the beginning.
2011-02-05 21:47:25 +00:00
Martin v. Löwis
738236dbd6
Issue #11067 : Add PyType_GetFlags, to support PyUnicode_Check
...
in the limited ABI
2011-02-05 20:35:29 +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
Antoine Pitrou
7095721d3e
Mention asyncore and Twisted in the library FAQ.
2011-02-05 11:24:15 +00:00
Antoine Pitrou
11480b6fe3
Mention concurrent.futures and update answers about the GIL.
2011-02-05 11:18:34 +00:00
Antoine Pitrou
f7005243e5
Update test of "why is Python installed" FAQ.
2011-02-05 11:04:01 +00:00
Antoine Pitrou
09264b66f2
Mention Cython and remove obsolete alternatives
2011-02-05 10:57:17 +00:00
Antoine Pitrou
eb50ba5ab7
Update info in the GUI FAQ
2011-02-05 10:43:57 +00:00
Antoine Pitrou
8e0ef58f30
Merged revisions 88334 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/branches/py3k
........
r88334 | antoine.pitrou | 2011-02-04 21:11:11 +0100 (ven., 04 févr. 2011) | 3 lines
Mention that seek and tell over a TextIOWrapper can be very slow.
........
2011-02-04 20:17:40 +00:00
Antoine Pitrou
eefb97cb57
Mention that seek and tell over a TextIOWrapper can be very slow.
2011-02-04 20:11:11 +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
e951e917c6
Punctuation typos.
2011-02-03 07:08:25 +00:00
Éric Araujo
b344dd06c8
Merged revisions 86236,86240,86332,86340,87271,87273,87447 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/branches/py3k
The missing NEWS entries correspond to changes that were made before 3.1.3, but
I think it’s not usual to edit entries of released versions, so I put them at
the top.
........
r86236 | eric.araujo | 2010-11-06 03:44:43 +0100 (sam., 06 nov. 2010) | 2 lines
Make sure each test can be run standalone (./python Lib/distutils/tests/x.py)
........
r86240 | eric.araujo | 2010-11-06 05:11:59 +0100 (sam., 06 nov. 2010) | 2 lines
Prevent ResourceWarnings in test_gettext
........
r86332 | eric.araujo | 2010-11-08 19:15:17 +0100 (lun., 08 nov. 2010) | 4 lines
Add missing NEWS entry for a fix committed by Senthil.
All recent modifications to distutils should now be covered in NEWS.
........
r86340 | eric.araujo | 2010-11-08 22:48:23 +0100 (lun., 08 nov. 2010) | 2 lines
This was actually fixed for the previous alpha.
........
r87271 | eric.araujo | 2010-12-15 20:09:58 +0100 (mer., 15 déc. 2010) | 2 lines
Improve trace documentation (#9264 ). Patch by Eli Bendersky.
........
r87273 | eric.araujo | 2010-12-15 20:30:15 +0100 (mer., 15 déc. 2010) | 2 lines
Use nested method directives, rewrap long lines, fix whitespace.
........
r87447 | eric.araujo | 2010-12-23 20:13:05 +0100 (jeu., 23 déc. 2010) | 2 lines
Fix typo in superclass method name
........
2011-02-02 21:38:37 +00:00
Raymond Hettinger
0446b21a51
Punctuation typo.
2011-02-02 21:12:39 +00:00
Eric Smith
7b5011b4a3
Wording fix.
2011-02-01 21:31:22 +00:00
Brian Curtin
070f050c3a
Merged revisions 88281 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/branches/py3k
........
r88281 | brian.curtin | 2011-01-31 13:35:02 -0600 (Mon, 31 Jan 2011) | 2 lines
#11083 typo: RuntimeException -> RuntimeError
........
2011-01-31 19:41:53 +00:00
Brian Curtin
bd0c897332
#11083 typo: RuntimeException -> RuntimeError
2011-01-31 19:35:02 +00:00
Raymond Hettinger
92acd67756
Recommend use of the tracker during the RC phase or just before a beta.
2011-01-31 06:34:47 +00:00
Raymond Hettinger
9c2fc47788
Fix minor grammar nits.
...
Revert r88272 -- the examples are more readable with spacing.
Add todos for difflib and logging.
2011-01-31 06:14:48 +00:00
Eli Bendersky
e2ae80730d
Mention new parameter and attributes of the difflib.SequenceMatcher class added in 3.2 (issue 2986)
2011-01-31 04:21:40 +00:00
Eli Bendersky
f30793a6bb
Fix PEP-8 violation in argparse usage example (similar examples in argparse.rst do follow PEP-8)
2011-01-31 04:10:23 +00:00
Eli Bendersky
d7cde5daff
Fix some grammar and typos
2011-01-31 04:05:52 +00:00
Georg Brandl
6ddc16b41e
Update suspicious ignore file.
2011-01-30 14:02:36 +00:00
Raymond Hettinger
ce227e3518
Clarify the status of get_string() and recommend using the binary API.
2011-01-30 08:20:37 +00:00
Raymond Hettinger
994d38059a
Add entry for the mailbox fixups.
2011-01-30 07:56:03 +00:00
R. David Murray
b7deff1ddc
#9124 : mailbox now accepts binary input and uses binary internally
...
Although this patch contains API changes and is rather weighty for an
RC phase, the mailbox module was essentially unusable without the patch
since it would produce UnicodeErrors when handling non-ascii input
at arbitrary and somewhat mysterious places, and any non-trivial amount
of email processing will encounter messages with non-ascii bytes.
The release manager approved the patch application.
The changes allow binary input, and reject non-ASCII string input early
with a useful message instead of failing mysteriously later. Binary
is used internally for reading and writing the mailbox files. StringIO
and Text file input are deprecated.
Initial patch by Victor Stinner, validated and expanded by R. David Murray.
2011-01-30 06:21:28 +00:00
Raymond Hettinger
b02f7c00ae
List known build/install problems for OS X.
2011-01-30 05:37:16 +00:00
Raymond Hettinger
c7bb159acd
Markup nits.
2011-01-30 01:10:07 +00:00
Raymond Hettinger
62399747a5
Add section for http.client.
...
Link to OS X build instructions.
Add back issue references for datetime.
2011-01-30 00:55:47 +00:00
Raymond Hettinger
519c308939
Typos.
2011-01-30 00:39:00 +00:00
Giampaolo Rodolà
ac039aee4d
fix reference to issue where the addition of select.PIPE_BUF was discussed
2011-01-29 13:24:33 +00:00
Raymond Hettinger
08d4293013
Add entry for str.format_map().
...
Add bullet list and reference to documentation section.
2011-01-29 08:51:57 +00:00
Eric Smith
598b513a5d
Added a placeholder for str.format_map, as discussed with Raymond. My prose is horrible, some cleanup is required.
2011-01-28 20:23:25 +00:00
Michael Foord
e180d3953f
Issue 10573: revert unittest docs to first / second
...
Minor internal change to unittest.TestCase.assertCountEqual
Reviewed by R. David Murray
2011-01-28 19:51:48 +00:00
Łukasz Langa
66c908e6bf
#11027 : documented how to override SECTCRE
2011-01-28 11:57:30 +00:00
Raymond Hettinger
469271d4ea
More source links
2011-01-27 20:38:46 +00:00
Vinay Sajip
1a90f9c52f
Issue 11008: docs updated to show versionadded for dictConfig.
2011-01-27 19:14:16 +00:00
Raymond Hettinger
e6f0abf34a
More typical sample invocation of tarfile.
2011-01-27 07:34:45 +00:00
Raymond Hettinger
712d2b4f4b
Add missing attributions.
2011-01-27 06:46:54 +00:00
Raymond Hettinger
8d09cb2127
Update todo list.
2011-01-27 06:10:18 +00:00
Raymond Hettinger
7626ef93b7
Add an entry for tarfile.
2011-01-27 05:48:56 +00:00
Raymond Hettinger
a199368b23
More source links.
2011-01-27 01:20:32 +00:00
Raymond Hettinger
a63a312a3f
Issue #11014 : Make 'filter' argument in tarfile.Tarfile.add() into a
...
keyword-only argument. The preceding positional argument was deprecated,
so it made no sense to add filter as a positional argument.
(Patch reviewed by Brian Curtin and Anthony Long.)
2011-01-26 20:34:14 +00:00
Raymond Hettinger
e3b8f7c0fa
Markup nits.
2011-01-26 19:36:13 +00:00
Raymond Hettinger
14eb4c356e
Add a few imports to examples.
2011-01-26 01:13:26 +00:00
Antoine Pitrou
cfad97b3ca
Fix the description of PIPE_BUF
2011-01-25 17:24:57 +00:00
Antoine Pitrou
da7be3e7b7
Fix the doc for PIPE_BUF
2011-01-25 16:28:44 +00:00
Raymond Hettinger
902f320232
Typo.
2011-01-25 08:01:01 +00:00
Raymond Hettinger
da4a05de7e
Add entries for select and site.
2011-01-25 07:46:07 +00:00
Raymond Hettinger
2f707c98fb
Add math.erfc and turtledemo.
2011-01-25 06:58:01 +00:00
Raymond Hettinger
f9b8a19d75
Typo.
2011-01-25 05:53:27 +00:00
Raymond Hettinger
2c63906283
Nits.
2011-01-25 02:38:59 +00:00
Raymond Hettinger
a4cfb4292a
Add entry for the math module.
2011-01-25 02:35:58 +00:00
Raymond Hettinger
f4f0e6c7a7
Add entry for io.BytesIO.getbuffer().
2011-01-24 22:14:42 +00:00
Terry Reedy
e2248f9e6d
Issue #11000 ast.parse doc fix (r88172) + tix fix (r88170)
2011-01-24 21:46:05 +00:00
Terry Reedy
feac624827
Issue #11000 ast.parse parses source, not just expressions.
2011-01-24 21:36:03 +00:00
Terry Reedy
2a6ac15f26
Update last tix code example for 3.x, as already done for previous examples.
2011-01-24 20:48:40 +00:00
Georg Brandl
009a6bd675
Fix label syntax.
2011-01-24 19:59:08 +00:00
Georg Brandl
8e490de616
Typo fix.
2011-01-24 19:53:18 +00:00
R. David Murray
7b1aae9a52
#10960 : fix 'stat' links, link to lstat from stat, general tidy of stat doc.
...
Original patch by Michal Nowikowski, with some additions and wording
fixes by me.
I changed the wording from 'Performs a stat system call' to 'Performs
the equivalent of a stat system call', since on Windows there are no
stat/lstat system calls involved. I also extended Michal's breakout
of the attributes into a list to the other paragraphs, and rearranged
the order of the paragraphs in the 'stat' docs to make it flow
better and put it in what I think is a more logical/useful order.
2011-01-24 19:34:58 +00:00
Raymond Hettinger
a80ab10bc2
Typos.
2011-01-24 18:19:01 +00:00
Raymond Hettinger
ead4975b9f
Missing source links.
2011-01-24 16:28:06 +00:00
Raymond Hettinger
399bf7be41
Fix markup and add todo.
2011-01-24 10:11:12 +00:00
Raymond Hettinger
e7dfe74ce3
Add entry for hash_info().
2011-01-24 09:17:24 +00:00
Raymond Hettinger
9a236b0235
Add section for urllib.parse.
2011-01-24 09:01:27 +00:00
Raymond Hettinger
a3b7a14d16
Add entry for the html module.
2011-01-24 05:26:00 +00:00
Raymond Hettinger
d0d59b138d
Add entry for hashlib and expand the GC entry.
2011-01-24 05:07:13 +00:00
Raymond Hettinger
acff595a4e
Add entries for dis, dbm, and ctypes.
2011-01-24 01:51:49 +00:00
Raymond Hettinger
50307b684d
Add entries for array, asyncore, csv, compileall, and ast.
2011-01-24 01:18:30 +00:00
Raymond Hettinger
971f48320b
minor clean-up.
2011-01-23 21:32:18 +00:00
Raymond Hettinger
cbc903bc7e
Add tracker references.
2011-01-23 21:13:27 +00:00
Raymond Hettinger
98b140c196
Add entry for reprlib.
2011-01-23 21:05:46 +00:00
Raymond Hettinger
0929b1fc70
Add entry for shutil's archiving operations.
2011-01-23 11:29:08 +00:00
Antoine Pitrou
a970e62258
Merged revisions 88137 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/branches/py3k
........
r88137 | antoine.pitrou | 2011-01-21 22:37:32 +0100 (ven., 21 janv. 2011) | 3 lines
Fix JSON docs about loads() accepting only str objects, not bytes.
........
2011-01-21 21:39:56 +00:00
Antoine Pitrou
00d650baaa
Fix JSON docs about loads() accepting only str objects, not bytes.
2011-01-21 21:37:32 +00:00
Raymond Hettinger
2e042d3dc2
Use a Latin-1 example that won't break the LaTeX PDF build.
2011-01-21 09:18:19 +00:00
Raymond Hettinger
7a168d96dd
Add example for __wrapped__.
2011-01-21 04:59:00 +00:00
Raymond Hettinger
f1dae31ea6
Clarify what changed with respect to date ranges and two-digit years.
2011-01-21 03:00:00 +00:00
Alexander Belopolsky
9ee94dec18
Corrected the entry about new year range in the time module.
2011-01-20 19:51:31 +00:00
Raymond Hettinger
00db6aa4a6
Add an entry for the code repository.
2011-01-20 09:47:04 +00:00
Raymond Hettinger
2270d58a2d
Make an entry for the os module's bytes accessors.
...
Split codecs into a separate section. Rewrite
the Unicode section.
2011-01-20 09:04:39 +00:00
Raymond Hettinger
03ca1a92af
Add hasattr() example.
2011-01-20 04:12:37 +00:00
Raymond Hettinger
a275c989c9
Add more examples
2011-01-20 04:03:19 +00:00
Georg Brandl
ecdd63f56c
#10944 : add c_bool to types table.
2011-01-19 20:05:49 +00:00
Alexander Belopolsky
41a99bc20d
Issue #10934 : Fixed and expanded Internaldate2tuple() and
...
Time2Internaldate() documentation. Thanks Joe Peterson for the report
and the original patch.
2011-01-19 19:53:30 +00:00
Raymond Hettinger
be9994e0d1
Fix markup.
2011-01-19 08:44:33 +00:00
Georg Brandl
f3923cf9fd
Suppress trailing spaces in table paragraphs.
2011-01-19 08:42:03 +00:00
Raymond Hettinger
89c1cd1fdd
Expand entry for pydoc.
2011-01-19 04:43:45 +00:00
Raymond Hettinger
c1dfa2e7c3
Improve looks by replacing a bullet list with a table.
2011-01-19 04:24:57 +00:00
Raymond Hettinger
4bea978f65
Add examples for inspect.
2011-01-19 04:14:34 +00:00
David Malcolm
4934864853
Fix typo in example of barrier timeouts from r88102
2011-01-18 23:45:53 +00:00
Raymond Hettinger
2c3865b210
Expand barrier example to show time-outs.
2011-01-18 22:58:33 +00:00
Raymond Hettinger
e0f1f3234c
Missing word.
2011-01-18 21:14:27 +00:00
Raymond Hettinger
23ab1016a0
Reword the OrderedDict entry to emphasize the default behavior,
...
to show equivalent code, and to provide a use case.
2011-01-18 20:25:04 +00:00
Raymond Hettinger
c8a16867f6
Typos.
2011-01-18 09:01:34 +00:00
Raymond Hettinger
ba5512f8f2
More nits.
2011-01-18 08:28:01 +00:00
Raymond Hettinger
c136b048b3
Nits.
2011-01-18 07:15:39 +00:00
Raymond Hettinger
93c8cad6d7
More nits.
2011-01-18 00:30:24 +00:00
Raymond Hettinger
7ec790d1fa
Add example for the abc module.
2011-01-18 00:19:30 +00:00
Raymond Hettinger
ca904be778
Nits.
2011-01-18 00:02:40 +00:00
Raymond Hettinger
9ba8b0a117
Add an import to the logging example
2011-01-17 23:42:17 +00:00
Raymond Hettinger
02dd70be5c
The example for configparser was weird.
2011-01-17 23:39:39 +00:00
Raymond Hettinger
6f0d59bad3
Beautify code examples.
2011-01-17 23:10:55 +00:00
Raymond Hettinger
66352d2793
Wording nits.
2011-01-17 22:33:11 +00:00
Raymond Hettinger
1dcc84e43b
Fix-up the XXX for importlib.abc.
2011-01-17 21:55:40 +00:00
Raymond Hettinger
4854d14f55
Tidy-up the ssl section.
2011-01-17 21:29:58 +00:00
Raymond Hettinger
15b47c5d7f
Note that two-phase cyclic barriers are suitable for use in loops.
2011-01-17 21:05:07 +00:00
Georg Brandl
1f3fa04543
Markup fix.
2011-01-17 18:16:16 +00:00
Brett Cannon
83a682da30
Placeholder sentence pointing out that imoprtlib has updated (as well as deprecated) ABCs thanks to the new .pyc situation.
2011-01-16 21:02:09 +00:00
Antoine Pitrou
ebeb90339d
Mention deprecation of PyEval_{Acquire,Release}Lock().
2011-01-16 18:45:17 +00:00
Antoine Pitrou
2e8ec22242
More SSL-related stuff
2011-01-16 18:41:36 +00:00
Antoine Pitrou
f7fb7626d9
Mention HTTP 0.9's partial demise.
2011-01-16 18:34:09 +00:00
Antoine Pitrou
bcba43496c
Mention the new context parameter to FTP_TLS, and the small API change
...
in subprocess.Popen.
2011-01-16 18:29:34 +00:00
Raymond Hettinger
b965629a42
Issue 10889: Added entry for handling of indexing and slicing with ranges bigger than sys.maxsize.
2011-01-16 18:22:06 +00:00
Antoine Pitrou
eec6dbf232
Get proper credit
2011-01-16 18:21:12 +00:00
Antoine Pitrou
121a055a0f
Fix misindent
2011-01-16 18:16:52 +00:00
Antoine Pitrou
33da1d65bc
Better description of SSL-related changes
2011-01-16 18:16:09 +00:00
Raymond Hettinger
9297709292
Clean-up comment.
2011-01-16 09:18:59 +00:00
Georg Brandl
52a43b5dfd
Fix two small issues.
2011-01-16 09:11:45 +00:00
Georg Brandl
23e924f96b
Fix "make suspicious" errors and update ignore file.
2011-01-15 17:05:20 +00:00
Georg Brandl
375aec2315
Fix a few doc errors, mostly undefined keywords.
2011-01-15 17:03:02 +00:00
Georg Brandl
6dc50f34dd
Update to 1.0.7.
2011-01-15 16:45:03 +00:00
Antoine Pitrou
f5cf435bb5
Nits
2011-01-15 14:31:49 +00:00
Antoine Pitrou
3acd3e97f2
Merged revisions 88012-88018 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/branches/py3k
........
r88012 | antoine.pitrou | 2011-01-15 12:39:23 +0100 (sam., 15 janv. 2011) | 3 lines
Avoid ResourceWarnings in ccbench
........
r88013 | antoine.pitrou | 2011-01-15 12:44:17 +0100 (sam., 15 janv. 2011) | 3 lines
Standard streams use file descriptors, not FILE pointers.
........
r88014 | antoine.pitrou | 2011-01-15 12:57:42 +0100 (sam., 15 janv. 2011) | 3 lines
Restructure a bit
........
r88015 | antoine.pitrou | 2011-01-15 13:10:48 +0100 (sam., 15 janv. 2011) | 3 lines
Improve description of issues
........
r88016 | antoine.pitrou | 2011-01-15 13:21:53 +0100 (sam., 15 janv. 2011) | 3 lines
Add mention of how to switch interpreters
........
r88017 | antoine.pitrou | 2011-01-15 13:54:19 +0100 (sam., 15 janv. 2011) | 3 lines
Reword and restructure the GIL API doc
........
r88018 | antoine.pitrou | 2011-01-15 14:11:48 +0100 (sam., 15 janv. 2011) | 4 lines
Issue #10913 : Deprecate misleading functions PyEval_AcquireLock() and
PyEval_ReleaseLock(). The thread-state aware APIs should be used instead.
........
2011-01-15 14:19:53 +00:00
Antoine Pitrou
5ace8e98da
Issue #10913 : Deprecate misleading functions PyEval_AcquireLock() and
...
PyEval_ReleaseLock(). The thread-state aware APIs should be used instead.
2011-01-15 13:11:48 +00:00
Antoine Pitrou
bedd2c2d88
Reword and restructure the GIL API doc
2011-01-15 12:54:19 +00:00
Antoine Pitrou
9bf8d1c228
Add mention of how to switch interpreters
2011-01-15 12:21:53 +00:00
Antoine Pitrou
f1dfe735b5
Improve description of issues
2011-01-15 12:10:48 +00:00
Antoine Pitrou
8b50b831b4
Restructure a bit
2011-01-15 11:57:42 +00:00
Antoine Pitrou
0765dd6b96
Standard streams use file descriptors, not FILE pointers.
2011-01-15 11:44:17 +00:00
Eli Bendersky
5bcc563cde
Merged revisions 88009 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/branches/py3k
........
r88009 | eli.bendersky | 2011-01-15 12:23:34 +0200 (Sat, 15 Jan 2011) | 2 lines
Issue #10912 : Clarify the documentation of PyObject_RichCompareBool. Thanks to Devin Jeanpierre for spotting the problem.
........
2011-01-15 10:33:07 +00:00
Eli Bendersky
ad30c4206a
Issue #10912 : Clarify the documentation of PyObject_RichCompareBool. Thanks to Devin Jeanpierre for spotting the problem.
2011-01-15 10:23:34 +00:00
Victor Stinner
c58be2ddc0
urllib doc: add versionchanged sections for parse_qs() and parse_qsl()
2011-01-14 13:31:45 +00:00
Victor Stinner
ac71c54b88
Add encoding and errors arguments to urllib.parse_qs() and urllib.parse_qsl()
2011-01-14 12:52:12 +00:00
Eli Bendersky
39be2a5210
Merged revisions 87993 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/branches/py3k
........
r87993 | eli.bendersky | 2011-01-14 10:25:03 +0200 (Fri, 14 Jan 2011) | 2 lines
Issue #10902 : Fix reference to run* methods
........
2011-01-14 08:55:38 +00:00
Eli Bendersky
489f392a0e
Issue #10902 : Fix reference to run* methods
2011-01-14 08:25:03 +00:00
Alexander Belopolsky
cc75a86123
Issue #9268 : Documented -m pickletools usage.
...
Also added a source code link.
2011-01-13 21:58:44 +00:00
Georg Brandl
37a80dc7bc
Fix the example output of count().
2011-01-13 07:31:18 +00:00
Georg Brandl
ee31e31db3
Add semicolon for consistency.
2011-01-13 07:24:40 +00:00
Alexander Belopolsky
287d1fdd3f
Issue #10225 : Fixed the simple mistakes in doctests.
2011-01-12 16:37:14 +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
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
Raymond Hettinger
cf8a382c94
Update the email section
2011-01-11 21:20:20 +00:00
Raymond Hettinger
9767365318
Update the datetime and time section.
2011-01-11 21:13:26 +00:00
Raymond Hettinger
3a8ae5f9f4
Clean-up threading.Barrier example.
2011-01-11 20:51:45 +00:00
Raymond Hettinger
5cee47f321
Add entry for Barrier objects.
2011-01-11 19:59:46 +00:00
Raymond Hettinger
6655d113e6
Add a todo.
2011-01-11 08:49:10 +00:00
Raymond Hettinger
51e2107b81
Fix typos and markup.
2011-01-10 23:38:15 +00:00
Alexander Belopolsky
5fc850b455
Improved footnote for the %Y directive slightly.
2011-01-10 23:31:51 +00:00
Alexander Belopolsky
085556ae89
Improved description of %Y directive.
2011-01-10 23:28:33 +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
Alexander Belopolsky
9971e001ef
Issue #2568 : Removed bogus rationale for supporting tm_sec=61.
2011-01-10 22:56:14 +00:00
Alexander Belopolsky
dc004a3ad6
Removed time.ctime from the list of functions that take a time tuple argument
2011-01-10 21:58:52 +00:00
Alexander Belopolsky
bd96b06fd8
Added entries about removal of year 1900 limit.
2011-01-10 21:55:34 +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
Raymond Hettinger
eb70b90097
Misspelling.
2011-01-10 21:26:49 +00:00
Raymond Hettinger
05ce079a1c
Missed two source links
2011-01-10 21:16:07 +00:00
Raymond Hettinger
4f707fd316
Separate source link from main text.
2011-01-10 19:54:11 +00:00
Alexander Belopolsky
04da1e013a
Fixed a footnote reference
2011-01-10 19:14:38 +00:00
Raymond Hettinger
de2e618eb9
Fix typos.
2011-01-10 05:40:57 +00:00
Raymond Hettinger
1048094037
Move source links to consistent location and remove wordy, big yellow boxes.
2011-01-10 03:26:08 +00:00
Georg Brandl
04536b0edf
#10871 : "file" does not exist anymore in Python 3. Also adapt the reprs of opened file objects.
2011-01-09 09:31:01 +00:00