Commit graph

4390 commits

Author SHA1 Message Date
Benjamin Peterson
448e81b2da add fixer for reload() -> imp.reload() (closes #11797)\n\nPatch by Laurie Clark-Michalek and Berker Peksag 2012-12-07 22:44:10 -05:00
Andrew Svetlov
4b237e3b11 Specify which I/O ABC methods have implementations in the docs. 2012-12-06 12:21:22 +02:00
Andrew Svetlov
f04d1bb170 Specify which I/O ABC methods have implementations in the docs. 2012-12-06 12:21:12 +02:00
Andrew Svetlov
ed636a84b9 Specify which I/O ABC methods have implementations in the docs. 2012-12-06 12:20:56 +02:00
Andrew Svetlov
b1715ea435 Merge 3.3 2012-12-05 11:12:50 +02:00
Andrew Svetlov
73a5a12dcf Fix typo. 2012-12-05 11:12:14 +02:00
Eric Snow
a6cfb28bd2 Issue #15627: This is simply an update to the name of a new method recently added
to importlib.abc.SourceLoader.
2012-12-04 23:43:43 -08:00
Benjamin Peterson
c77dd20698 merge 3.3 2012-12-02 11:33:14 -05:00
Benjamin Peterson
78f7e3a8dc document UnicodeError attributes 2012-12-02 11:33:06 -05:00
Benjamin Peterson
196035595f document that encoding error handlers may return bytes (#16585) 2012-12-02 11:26:10 -05:00
Ezio Melotti
100314427a #16333: use (",", ": ") as default separator when indent is specified to avoid trailing whitespace. Patch by Serhiy Storchaka. 2012-11-29 00:42:56 +02:00
Ezio Melotti
57af3bf158 #16333: merge with 3.2. 2012-11-29 00:36:42 +02:00
Ezio Melotti
d654dedbbb #16333: document a way to get rid of trailing whitespace when indent is used. 2012-11-29 00:35:29 +02:00
Andrew Svetlov
2d6f0c1ef9 Revert duplicate changes in argparse docs. 2012-11-28 19:24:44 +02:00
Andrew Svetlov
eff1738e01 Revert duplicate changes in argparse docs. 2012-11-28 19:24:31 +02:00
Andrew Svetlov
74120996f5 Revert duplicate changes in argparse docs. 2012-11-28 19:23:52 +02:00
Andrew Svetlov
adec76a28f Merge issue #11076: document the way to convert argparse.Namespace to a dict.
Initial patch by Virgil Dupras.
2012-11-28 19:18:25 +02:00
Andrew Svetlov
51292fff3f Merge issue #11076: document the way to convert argparse.Namespace to a dict.
Initial patch by Virgil Dupras.
2012-11-28 19:18:09 +02:00
Andrew Svetlov
e15cb61dde Issue #11076: document the way to convert argparse.Namespace to a dict.
Initial patch by Virgil Dupras.
2012-11-28 19:17:26 +02:00
Chris Jerdonek
16459e8b16 Merge from 3.3: Add a str class entry to the string section (issue #16209).
This commit also moves the documentation for the str built-in function to
the new class entry.  Links to :class:`str` now go to the class entry with
the string methods immediately afterwards.
2012-11-28 01:45:15 -08:00
Chris Jerdonek
bb4e941c6d Add a str class entry to the "Text Sequence Type" section (issue #16209).
This commit also moves the documentation for the str built-in function to
the new class entry.  Links to :class:`str` now go to the class entry with
the string methods immediately afterwards.
2012-11-28 01:38:40 -08:00
Andrew Svetlov
bff98fe536 Issue #16464: reset Request's Content-Length header on .data change.
It will be recalculated on sending request to HTTP server.

Patch by Alexey Kachayev
2012-11-27 23:06:19 +02:00
Ezio Melotti
847d4add26 #16556: merge with 3.3. 2012-11-27 19:19:01 +02:00
Ezio Melotti
7768dd77c1 #16556: merge with 3.2. 2012-11-27 19:18:47 +02:00
Ezio Melotti
28c88f48f9 #16556: Fix inconsistency between kwds and kwargs. Patch by Taavi Burns. 2012-11-27 19:17:57 +02:00
Chris Jerdonek
b48f4ea601 Merge from 3.3: add hyperlinks to some os.path function docs (issue #16552). 2012-11-25 20:42:00 -08:00
Chris Jerdonek
3b39d35eeb Merge from 3.2: add hyperlinks to some os.path function docs (issue #16552). 2012-11-25 20:40:57 -08:00
Chris Jerdonek
0b502ff33b Add hyperlinks to the docs of some os.path functions (issue #16552). 2012-11-25 20:38:01 -08:00
Antoine Pitrou
df204be922 Issue #16423: urllib.request now has support for `data:` URLs.
Patch by Mathias Panzenböck.
2012-11-24 17:59:08 +01:00
Antoine Pitrou
8618d7457b Issue #4473: Add a POP3.stls() to switch a clear-text POP3 session into an encrypted POP3 session, on supported servers.
Patch by Lorenzo Catucci.
2012-11-23 20:13:48 +01:00
Antoine Pitrou
25cee19beb Issue #4473: Add a POP3.capa() method to query the capabilities advertised by the POP3 server.
Patch by Lorenzo Catucci.
2012-11-23 20:07:39 +01:00
Ezio Melotti
ff790aac66 #16530: merge with 3.3. 2012-11-23 19:46:52 +02:00
Ezio Melotti
44dcd6bcb2 #16530: merge with 3.2. 2012-11-23 19:46:29 +02:00
Ezio Melotti
ba4d8ed8f8 #16530: the "options" arg of os.wait3 is required. 2012-11-23 19:45:52 +02:00
Andrew Svetlov
9f8c2194c2 Merge issue #16538: correctly describe MAKE_CLOSURE in docs.
Patch by Daniel Urban
2012-11-23 15:29:48 +02:00
Andrew Svetlov
a5c430940c Issue #16538: correctly describe MAKE_CLOSURE in docs.
Patch by Daniel Urban
2012-11-23 15:28:34 +02:00
R David Murray
60dd6e538f #16522: s/always 1/at most 1/.
Correction thanks to Joey Geralnik.
2012-11-22 06:22:41 -05:00
Éric Araujo
ded22c6c9d Merge #13424 followup from 3.3 2012-11-22 00:14:28 -05:00
Éric Araujo
5bd9270954 Address reviews for open’s opener argument doc patch (#13424).
* Remove example deemed not helpful.
* Simplify the other one.
* Add missing target to ref.
2012-11-22 00:13:49 -05:00
R David Murray
5a9d706123 #16522: Add FAIL_FAST flag to doctest.
Patch by me, most of the work (doc and tests) by Daniel Urban.
2012-11-21 15:09:21 -05:00
Chris Jerdonek
d675a2c48a Merge from 3.3: Improve str() and object.__str__() docs (issue #13538). 2012-11-20 17:53:17 -08:00
Chris Jerdonek
5fae0e5854 Improve str() and object.__str__() documentation (issue #13538). 2012-11-20 17:45:51 -08:00
Chris Jerdonek
17fc44c9b3 Improve str() and object.__str__() documentation (issue #13538). 2012-11-20 17:31:02 -08:00
Barry Warsaw
b72c10996e - Issue #16514: Fix regression causing a traceback when sys.path[0] is None
(actually, any non-string or non-bytes type).
2012-11-20 15:35:27 -05:00
Barry Warsaw
82c1c781c7 - Issue #16514: Fix regression causing a traceback when sys.path[0] is None
(actually, any non-string or non-bytes type).
2012-11-20 15:22:51 -05:00
Andrew Svetlov
47037d7e4e Merge: fix typo in multiprocessing documentation, thanks to Dmitry Tolstoy from docs@ 2012-11-20 16:13:54 +02:00
Andrew Svetlov
23089ab1db Fix typo in multiprocessing documentation, thanks to Dmitry Tolstoy from docs@ 2012-11-20 16:12:38 +02:00
Antoine Pitrou
99f57942e0 The poplib module provides two classes, not one. 2012-11-18 18:37:54 +01:00
Antoine Pitrou
946eb45930 The poplib module provides two classes, not one. 2012-11-18 18:37:24 +01:00
Antoine Pitrou
3813c9efb7 The poplib module provides two classes, not one. 2012-11-18 18:37:02 +01:00