Commit graph

4362 commits

Author SHA1 Message Date
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
Brett Cannon
5650e4f41c Issue #15627: Add the compile_source() method to
importlib.abc.SourceLoader.

This provides an easy hook into the import system to allow for source
transformations, AST optimizations, etc.
2012-11-18 10:03:31 -05:00
Ezio Melotti
6ba0666641 #16053: merge with 3.3. 2012-11-18 12:56:31 +02:00
Ezio Melotti
186ab5f404 #16053: merge with 3.2. 2012-11-18 12:56:17 +02:00
Ezio Melotti
a69be2803b #16053: document csv.Dialect.strict. Patch by Kushal Das. 2012-11-18 12:55:35 +02:00
Mark Dickinson
9de28f4c0c Merge typo fix from 3.3. 2012-11-18 10:42:42 +00:00
Mark Dickinson
eb54deb2d2 Merge typo fix from 3.2. 2012-11-18 10:42:27 +00:00
Mark Dickinson
ec967246a1 Typo fix. 2012-11-18 10:42:07 +00:00
Mark Dickinson
add87369a8 Issue #12005: merge doc patch from 3.3 2012-11-18 10:22:51 +00:00
Mark Dickinson
f56c361212 Issue #12005: merge doc patch from 3.2 2012-11-18 10:22:40 +00:00
Mark Dickinson
a3f37408da Issue #12005: clarify behaviour of % and // for Decimal objects. 2012-11-18 10:22:05 +00:00
Antoine Pitrou
c3afba104a Issue #14631: Add a new :class:weakref.WeakMethod to simulate weak references to bound methods. 2012-11-17 18:57:38 +01:00
Ezio Melotti
e0321f45fb #16420: merge with 3.3. 2012-11-17 17:39:11 +02:00
Ezio Melotti
9c594af3dd #16420: merge with 3.2. 2012-11-17 17:38:58 +02:00
Ezio Melotti
a39a22dc0b #16420: document a way to escape metacharacters in glob/fnmatch. 2012-11-17 17:38:11 +02:00
Brett Cannon
10f19812b5 Merge fix for #16489 from 3.3 2012-11-17 09:33:14 -05:00
Brett Cannon
56b4ca78d8 Issue #16489: Make it clearer that importlib.find_loader() requires
the user to import any parent packages.
2012-11-17 09:30:55 -05:00
Nadeem Vawda
cba149761a Issue #15677: Document that zlib and gzip accept a compression level of 0 to mean 'no compression'.
Patch by Brian Brazil.
2012-11-11 14:20:09 +01:00
Nadeem Vawda
6ff262e18f Issue #15677: Document that zlib and gzip accept a compression level of 0 to mean 'no compression'.
Patch by Brian Brazil.
2012-11-11 14:14:47 +01:00
Nadeem Vawda
19e568d254 Issue #15677: Document that zlib and gzip accept a compression level of 0 to mean 'no compression'.
Patch by Brian Brazil.
2012-11-11 14:04:14 +01:00
Gregory P. Smith
b696610c2d Fixes issue #16409: The reporthook callback made by the legacy
urllib.request.urlretrieve API now properly supplies a constant
non-zero block_size as it did in Python 3.2 and 2.7.  This matches the
behavior of urllib.request.URLopener.retrieve.
2012-11-10 13:44:50 -08:00
Gregory P. Smith
6b0bdab429 Fixes issue #16409: The reporthook callback made by the legacy
urllib.request.urlretrieve API now properly supplies a constant
non-zero block_size as it did in Python 3.2 and 2.7.  This matches the
behavior of urllib.request.URLopener.retrieve.
2012-11-10 13:43:44 -08:00
Chris Jerdonek
ef3971d3e5 Merge from 3.3: adjust set and frozenset function docs (issue #16436). 2012-11-09 18:58:47 -08:00
Chris Jerdonek
296c2fd065 Merge from 3.2: adjust set and frozenset function docs (issue #16436). 2012-11-09 18:58:06 -08:00
Chris Jerdonek
df3abec2c9 Link set and frozenset function docs to their class definitions (issue #16436). 2012-11-09 18:57:32 -08:00
Ezio Melotti
dc945e4943 #16440: merge with 3.3. 2012-11-09 01:09:27 +02:00
Ezio Melotti
a3ad8a0ce7 #16440: merge with 3.2. 2012-11-09 01:09:10 +02:00
Ezio Melotti
8b6b176b33 #16440: fix exception type and clarify example. 2012-11-09 01:08:25 +02:00
Andrew Svetlov
fba5dc1800 Merge issue #16439: Fix markup in example for stdtypes.
Thanks to Yongzhi Pan.
2012-11-08 17:27:53 +02:00