Commit Graph

4371 Commits

Author SHA1 Message Date
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
Andrew Svetlov 7cac2d8368 Merge issue #16439: Fix markup in example for stdtypes.
Thanks to Yongzhi Pan.
2012-11-08 17:27:39 +02:00
Andrew Svetlov 5c90436d64 Issue #16439: Fix markup in example for stdtypes.
Thanks to Yongzhi Pan.
2012-11-08 17:26:53 +02:00
Ezio Melotti 770a5bc9cd #11481: merge with 3.3. 2012-11-08 11:06:19 +02:00
Ezio Melotti b77dc4ec5f #11481: merge with 3.2. 2012-11-08 11:06:01 +02:00
Ezio Melotti 78b18d4b4c #11481: update copyreg docs and add example. 2012-11-08 11:04:57 +02:00
Ezio Melotti f62f3a4135 #10385: merge with 3.3. 2012-11-08 10:09:24 +02:00
Ezio Melotti 60e22b9c5d #10385: merge with 3.2. 2012-11-08 10:09:06 +02:00
Ezio Melotti 402f75d966 #10385: use the mod role in subprocess docs. 2012-11-08 10:07:10 +02:00
Tim Golden 9b3fb0c6a0 Backed out changeset dafca4714298 2012-11-06 15:33:30 +00:00
Tim Golden 8f323d9aca issue9584: Add {} list expansion to glob. Original patch by Mathieu Bridon 2012-11-06 13:50:42 +00:00
Ezio Melotti 10ffea887c Merge typo fix. 2012-11-05 22:23:16 +02:00
Ezio Melotti 99bafff7cc Fix typo noticed by Tom Lynn. 2012-11-05 22:22:48 +02:00
Andrew Svetlov 90a654b1dd Issue #15641: Clean up deprecated classes from importlib
Patch by Taras Lyapun.
2012-11-05 09:34:46 +02:00
Ezio Melotti 729eda4a8c #16304: merge with 3.3. 2012-11-04 07:00:04 +02:00
Ezio Melotti 7ce22d1940 #16304: merge with 3.2. 2012-11-04 06:59:51 +02:00
Ezio Melotti b87f82f8d4 #16304: clarify match objects docs. Initial patch by Jan Duzinkiewicz. 2012-11-04 06:59:22 +02:00
Éric Araujo 75e74c65e5 Merge 3.3 2012-11-03 17:40:06 -04:00
Éric Araujo 309b043237 Avoid fd leak in example. Caught by Serhiy. 2012-11-03 17:39:45 -04:00
Éric Araujo 8c997fa8bf Merge 3.3 2012-11-03 17:07:40 -04:00
Éric Araujo 8f423c9359 Add examples for opener argument of open (#13424).
Patch by Guillaume Pratte.
2012-11-03 17:06:52 -04:00
Chris Jerdonek 1a5f3ec9a9 Merge from 3.3: link to mapping glossary entry in docs. 2012-11-03 12:07:20 -07:00
Chris Jerdonek 1c8bb9f4d5 Merge from 3.2: link to mapping glossary entry in docs. 2012-11-03 12:06:42 -07:00
Chris Jerdonek 11f3f172e7 Link to mapping glossary entry in "Mapping Types - dict" and os.environ docs. 2012-11-03 12:05:55 -07:00
Andrew Svetlov 47395617bc Issue #16261: fix bare excepts in Doc/ 2012-11-02 22:07:26 +02:00
Stefan Krah c38c816ea1 Merge 3.3. 2012-11-02 17:55:11 +01:00
Stefan Krah 4af77a0276 Issue #15814: Use hash function that is compatible with the equality
definition from #15573.
2012-11-02 17:49:22 +01:00
Andrew Svetlov d98ee9781b Merge issue #1207589: Add Cut/Copy/Paste items to IDLE right click Context Menu
Patch by Todd Rovito.
2012-11-01 22:44:45 +02:00
Andrew Svetlov e2af509829 Merge issue #1207589: Add Cut/Copy/Paste items to IDLE right click Context Menu
Patch by Todd Rovito.
2012-11-01 22:44:06 +02:00
Andrew Svetlov d183767ca4 Issue #1207589: Add Cut/Copy/Paste items to IDLE right click Context Menu
Patch by Todd Rovito.
2012-11-01 22:41:19 +02:00
Andrew Svetlov e0614327ff Merge: Reword set docs to use *proper subset/superset* terminology. 2012-11-01 21:48:34 +02:00
Andrew Svetlov 129f57bc51 Merge: Reword set docs to use *proper subset/superset* terminology. 2012-11-01 21:48:16 +02:00
Andrew Svetlov 5bb420761f Reword set docs to use *proper subset/superset* terminology. 2012-11-01 21:47:54 +02:00
Andrew Svetlov 01e1e35f6a merge heads 2012-10-31 22:05:46 +02:00
Andrew Svetlov 7ffc9aac8d Issue #14900: document added sort keys for profile stats. 2012-10-31 22:04:20 +02:00
Andrew Svetlov 1e61e58be3 Merge issue #14900: document added sort keys for profile stats. 2012-10-31 22:04:06 +02:00
Andrew Svetlov 5f91ad3550 Issue #14900: document added sort keys for profile stats. 2012-10-31 22:03:28 +02:00
Mark Dickinson 1d2d007339 Issue #16348: merge fix from 3.3. 2012-10-31 19:45:21 +00:00
Mark Dickinson d3405edcdc Issue #16348: merge fix from 3.2. 2012-10-31 19:45:05 +00:00
Mark Dickinson 6ae568b9df Issue #16348: Fix incorrect documentation for Decimal.remainder_near. 2012-10-31 19:44:36 +00:00
Andrew Svetlov 0a4dfc3db9 Merge issue #16197: Fix several small errors in winreg documentation.
Initial patch by Zachary Ware.
2012-10-31 19:30:00 +02:00
Andrew Svetlov 616f8035a8 Issue #16197: Fix several small errors in winreg documentation.
Initial patch by Zachary Ware.
2012-10-31 19:29:33 +02:00
R David Murray ace7db1d8f merge #16371: fix up the English a bit more. 2012-10-31 10:52:16 -04:00
R David Murray 3e11d6583a merge #16371: fix up the English a bit more. 2012-10-31 10:51:35 -04:00
R David Murray a2959cea3f #16371: fix up the English a bit more. 2012-10-31 10:50:27 -04:00
Andrew Svetlov ced4d3a695 Merge issue #16371: fix typo in ctypes documentation.
Thanks to George Yoshida.
2012-10-31 16:21:32 +02:00
Andrew Svetlov 0451d251f9 Merge issue #16371: fix typo in ctypes documentation.
Thanks to George Yoshida.
2012-10-31 16:21:16 +02:00
Andrew Svetlov ec42255039 Issue #16371: fix typo in ctypes documentation.
Thanks to George Yoshida.
2012-10-31 16:20:54 +02:00
Andrew Svetlov dcff386419 Merge: fix typo in mock docs. 2012-10-31 11:30:18 +02:00
Andrew Svetlov 7ea6f706ac Fix typo in mock docs. 2012-10-31 11:29:52 +02:00
Antoine Pitrou d4156c1693 Issue #16351: New function gc.get_stats() returns per-generation collection statistics. 2012-10-30 22:43:19 +01:00
Victor Stinner 292c835548 Issue #15478: Raising an OSError doesn't decode or encode the filename anymore
Pass the original filename argument to OSError constructor, instead of trying
to encode it to or decode it from the filesystem encoding. This change avoids
an additionnal UnicodeDecodeError on Windows if the filename cannot be decoded
from the filesystem encoding (ANSI code page).
2012-10-30 02:17:38 +01:00
Brian Curtin a5e7cd06bb Merge 3.3 2012-10-29 18:20:18 -05:00
Brian Curtin 6b879fa402 Merge 3.2 2012-10-29 18:18:43 -05:00
Brian Curtin e9aeca7c24 Fix #16197. Update docstrings and documentation to match winreg code.
Patch by Zachary Ware.
2012-10-29 18:16:39 -05:00
Chris Jerdonek 21fecc764c Merge from 3.3: remove unneeded "Release" and "Date" markers from index pages. 2012-10-28 11:13:51 -07:00
Chris Jerdonek d285029ee8 Merge from 3.2: remove unneeded "Release" and "Date" markers from index pages. 2012-10-28 11:10:24 -07:00
Chris Jerdonek 8b7f9f581d Remove unneeded "Release" and "Date" markers from doc index pages. 2012-10-28 11:08:26 -07:00
Hynek Schlawack 27ddb576f1 #1492704: Ensure and document backward compatibility of the change 2012-10-28 13:59:27 +01:00
Andrew Svetlov 21b102481b merge heads 2012-10-28 14:12:50 +02:00
Andrew Svetlov 42b8932c12 Merge issue #14570: Document json sort_keys parameter properly.
Patch by Chris Rebert.
2012-10-28 14:11:21 +02:00
Andrew Svetlov 6d50a5447a Merge issue #14570: Document json sort_keys parameter properly.
Patch by Chris Rebert.
2012-10-28 14:11:00 +02:00
Andrew Svetlov 2ec53be2e2 Issue #14570: Document json sort_keys parameter properly.
Patch by Chris Rebert.
2012-10-28 14:10:30 +02:00
Andrew Svetlov 87c315eb75 Merge issue #14616: Mention shlex.quote in subprocess docs.
Patch by Chris Rebert.
2012-10-28 11:43:02 +02:00
Andrew Svetlov c2415eb7e6 Issue #14616: Mention shlex.quote in subprocess docs.
Patch by Chris Rebert.
2012-10-28 11:42:26 +02:00
Ezio Melotti acf1754bf3 #16337: merge with 3.3. 2012-10-27 23:25:38 +03:00
Ezio Melotti 971ba4c817 #16337: fix typo. 2012-10-27 23:25:18 +03:00
Senthil Kumaran 450371305f merge from 3.3 2012-10-27 11:05:54 -07:00
Senthil Kumaran 0b3014dda0 merge from 3.2 2012-10-27 11:05:32 -07:00
Senthil Kumaran 847c33cc3b Include mention of jenkins as an example framework for doing CI 2012-10-27 11:04:55 -07:00
Andrew Svetlov a0e41a2e9b Merge issue #16243: add example for inspect.formatargspec
Patch by Berker Peksag.
2012-10-27 00:28:49 +03:00
Andrew Svetlov 735d31723f Issue #16243: add example for inspect.formatargspec
Patch by Berker Peksag.
2012-10-27 00:28:20 +03:00
Ezio Melotti 9a56f8c1ed #16206: merge with 3.3. 2012-10-26 19:15:53 +03:00
Ezio Melotti a5941f8643 #16206: merge with 3.2. 2012-10-26 19:15:26 +03:00
Ezio Melotti a20879ffc8 #16206: Improve examples about dict construction. 2012-10-26 19:14:16 +03:00
Ezio Melotti 93653c48e6 #16210: merge with 3.3. 2012-10-24 23:07:16 +03:00
Ezio Melotti e6c0f0d94a #16210: merge with 3.2. 2012-10-24 23:06:56 +03:00
Ezio Melotti 837cd06d36 #16210: combine the two type() docs. Patch by Pete Sevander. 2012-10-24 23:06:25 +03:00
Ezio Melotti 353af2902c Merge typo fix with 3.3. 2012-10-21 07:24:40 +03:00
Ezio Melotti 1f67e80564 Fix typo. 2012-10-21 07:24:13 +03:00
Ezio Melotti d5050b3e17 Merge indentation fixes with 3.3. 2012-10-21 03:22:53 +03:00
Ezio Melotti b24d3cf769 Fix indentation (or Sphinx will think these are attributes of ConnectionError). 2012-10-21 03:22:05 +03:00
Ned Deily 257c1323f7 Issue #10405: merge from 3.3 2012-10-20 13:28:16 -07:00
Ned Deily d2cc1bb057 Issue #10405: merge from 3.2 2012-10-20 13:27:32 -07:00
Ned Deily 2778d0d147 Issue #10405: Document IDLE context menus in Standard Library document
and IDLE Help file.  (Thanks to Nick ODell and Todd Rovito for suggestions.)
Update Debug menu options in docs to match current code plus various other
minor IDLE doc and help edits.
2012-10-20 13:25:34 -07:00
Nick Coghlan aaa28832fd Merge from 3.3 2012-10-20 20:13:42 +10:00
Nick Coghlan 40c67739ba Fix typo in example (pointed out by a couple of people, most recently Ken Rimey) 2012-10-20 20:13:21 +10:00
Nick Coghlan 68e9d7c102 Merge concurrent.futures dict comp tweak from 3.3 2012-10-16 23:14:38 +10:00
Nick Coghlan d6d5cf33ef A dict comprehension is much prettier (thanks Antoine) 2012-10-16 23:14:03 +10:00
Nick Coghlan c7c03ba5be Merge concurrent.futures example changes from 3.3 2012-10-16 22:51:11 +10:00
Nick Coghlan f06ea25df2 Tweak the threaded example in concurrent.futures 2012-10-16 22:50:04 +10:00
Andrew Svetlov b3fe704a4a Merge issue #15936: Reformat text for os.random to follow Larry Hastings suggestion 2012-10-16 13:52:53 +03:00