Commit Graph

2717 Commits

Author SHA1 Message Date
Ezio Melotti 2409d770d9 Fix a few more hyphens in argparse.rst 2011-04-16 23:13:50 +03:00
Georg Brandl 884843dd35 Fix duplicate "is". 2011-04-16 17:02:58 +02:00
Georg Brandl d606ebe144 Merge with 3.2 2011-04-16 16:59:48 +02:00
Georg Brandl 10fe23b495 Merge with 3.1 2011-04-16 16:59:32 +02: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 69518bc765 Consistency fix: "command line" is the noun, "command-line" the adjective. 2011-04-16 16:44:54 +02:00
Eli Bendersky 5145ed5859 Issue #11855: merge from 3.2 2011-04-16 15:36:26 +03: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 4c2ffab80b merge 2011-04-15 17:44:30 -07: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 5ee8cb1201 #4783: Merge with 3.2. 2011-04-15 07:40:37 +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 fd9103a5da merge from 3.2 2011-04-15 07:29:31 +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 832c8bbe51 #9101: backport json reference in configparser doc. 2011-04-14 06:41:38 +03:00
R David Murray b35c850a3f #11684: Complete parser bytes interface by adding BytesHeaderParser
Patch by Steffen Daode Nurpmeso.
2011-04-13 16:46:05 -04:00
R David Murray c6652ca468 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:13:52 -04: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 d16ee63df2 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:19:20 -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
Raymond Hettinger 4bbde72440 Fix markup. 2011-04-11 17:57:21 -07:00
Vinay Sajip 4a0a31df5c Added 'handlers' argument to logging.basicConfig. 2011-04-11 08:42:07 +01:00
Ezio Melotti 88fdeb45ef #2650: re.escape() no longer escapes the "_". 2011-04-10 12:59:16 +03:00
Ross Lagerwall 344d26c7a0 Merge with 3.2 2011-04-10 09:34:35 +02:00
Ross Lagerwall 810b94a364 Issue #11818: Fix tempfile examples for Python 3. 2011-04-10 09:30:04 +02:00
Raymond Hettinger 1929983518 Beautify and modernize the SequenceMatcher example 2011-04-09 19:41:31 -07:00
Raymond Hettinger dbb677a894 Beautify and modernize the SequenceMatcher example 2011-04-09 19:41:00 -07:00
Victor Stinner cfa7123ef1 faulthandler: fix unregister() if it is called before register()
Fix a crash: don't read from NULL.
2011-04-08 12:48:15 +02:00
Vinay Sajip d35d64b54c Merged whitespace fix. 2011-04-08 01:35:04 +01:00
Vinay Sajip 77f8d2962c Normalised whitespace. 2011-04-08 01:34:20 +01:00
Vinay Sajip bfd463c57d Merged doc fix in 3.2. 2011-04-08 01:32:27 +01:00
Vinay Sajip c46102c98a Updated Formatter documentation. 2011-04-08 01:30:51 +01:00
R David Murray 8debacb51c #1690608: make formataddr RFC2047 aware.
Patch by Torsten Becker.
2011-04-06 09:35:57 -04:00
Antoine Pitrou 6b4be36cfd Clarify that GzipFile.read1() is now implemented 2011-04-04 21:09:05 +02:00
Antoine Pitrou e88604755c Clarify that GzipFile.read1() isn't implemented. 2011-04-04 21:06:20 +02:00
Antoine Pitrou 5bfa0622ec Issue #11688: Add sqlite3.Connection.set_trace_callback(). Patch by Torsten Landschoff. 2011-04-04 00:12:04 +02:00
Antoine Pitrou 37dc5f85b8 Issue #5863: Rewrite BZ2File in pure Python, and allow it to accept
file-like objects using a new `fileobj` constructor argument.  Patch by
Nadeem Vawda.
2011-04-03 17:05:46 +02:00
Ezio Melotti b7af620747 #11282: merge with 3.2. 2011-04-03 17:39:19 +03: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 c9a5272e8d Merge with 3.2 2011-04-03 16:25:49 +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
Victor Stinner d727e23243 Issue #11393: The fault handler handles also SIGABRT 2011-04-01 12:13:55 +02:00
Georg Brandl 7098685bdb Fix markup. 2011-04-01 09:19:57 +02:00
Raymond Hettinger d6056b7d8d Issue #7796: Add link to Jan Kaliszewski's alternate constructor and ABC for named tuples. 2011-03-31 15:46:39 -07: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 112226f962 Fix markup and wording. 2011-03-31 13:59:52 -07:00
Raymond Hettinger 12e6c256ca Fix markup and wording. 2011-03-31 13:59:24 -07:00
Raymond Hettinger 6604662616 Add links to make the math docs more usable. 2011-03-31 12:06:47 -07:00
Raymond Hettinger 1081d48889 Add links to make the math docs more usable. 2011-03-31 12:04:53 -07:00
Victor Stinner 702624ecf7 Issue #11393: Fix the documentation (cancel_dump_traceback_later)
* dump_traceback_later() => dump_tracebacks_later()
 * cancel_dump_traceback_later() => cancel_dump_tracebacks_later()
2011-03-31 03:42:34 +02:00
Victor Stinner 024e37adcc Issue #11393: Add the new faulthandler module 2011-03-31 01:31:06 +02: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 69cfcabae3 Merge. 2011-03-29 12:09:45 -07:00
guido@google.com 2008a8f8c0 Merge Issue 11662 from 3.2 branch. 2011-03-29 12:02:49 -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
R David Murray 86cc82e36f Remove the 'strict' argument to Parser, deprecated since 2.4. 2011-03-29 11:32:35 -04:00
Ezio Melotti c831a91931 #10617: merge with 3.2. 2011-03-28 19:27:09 +03: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
Raymond Hettinger 5d44613e3b Add optional *func* argument to itertools.accumulate(). 2011-03-27 18:52:10 -07:00
Steven Bethard b04d70d993 Issue #9343: Document that argparse parent parsers must be configured before their children. (Merge from 3.2.) 2011-03-26 21:51:56 +01: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 0a3a7d35ca Issue #8982: Improve the documentation for the argparse Namespace object. (Merge from 3.2.) 2011-03-26 19:55:36 +01:00
Steven Bethard d8f2d50c20 Issue #8982: Improve the documentation for the argparse Namespace object. 2011-03-26 19:50:06 +01:00
Steven Bethard 0331e906d6 Issue #11174: Add argparse.MetavarTypeHelpFormatter, which uses type names
for the names of optional and positional arguments in help messages.
2011-03-26 14:48:04 +01:00
Éric Araujo b9a1c5662b Merge #10553 followup from 3.2 2011-03-26 03:23:43 +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 b3a591bf06 Branch merge 2011-03-26 02:01:33 +01:00
Éric Araujo 5c1da90f8c Merge 3.2 2011-03-26 02:00:51 +01:00
Éric Araujo 722bec4210 Merge 3.1 2011-03-26 01:59:47 +01:00
Éric Araujo be3bd57ba2 Remove traces of division_warning left over from Python 2 (#10998) 2011-03-26 01:55:15 +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 4dcf50250c Use universal construct os.path.expanduser('~') instead of os.environ['HOME'] 2011-03-25 20:31:50 +01:00
Raymond Hettinger 2ebea41d31 Expose the namedtuple source with a _source attribute. 2011-03-23 12:52:23 -07:00
Raymond Hettinger ba7b560c1d Fix set representation in an example. 2011-03-22 22:57:49 -07:00
Raymond Hettinger b2d0945c87 Minor named tuple clean-ups. 2011-03-22 22:36:21 -07:00
Éric Araujo c09fca67e7 Do not touch sys.path when site is imported and python was started with -S.
Original patch by Carl Meyer, review by Brett Cannon, small doc editions by
yours truly.  Fixes #11591.
2011-03-23 02:06:24 +01:00
Raymond Hettinger f59c7b2bdd Issue #10610: Document that int(), float(), and complex() accept numeric literals with the Nd property. 2011-03-22 17:34:28 -07: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
Antoine Pitrou 36920354c7 Merge 2011-03-22 18:33:33 +01: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 7878020035 Merge to default. 2011-03-21 08:55:42 +01: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 7582385887 Merge from 3.1 2011-03-20 18:32:51 +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 3d81d3e0d3 Markup fixes for #7198 patch.
Also corrected the indentation of one of the examples.
2011-03-20 11:33:17 -04: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 a50549b845 Fix footnote reference. 2011-03-20 11:08:10 -04:00
Skip Montanaro 5b5394c6df mention newline= in write doc 2011-03-20 09:50:43 -05: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 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
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
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
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
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
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
R David Murray 9188702a75 #7198: add newlines='' to csv.writer docs. 2011-03-19 22:30:14 -04:00
Skip Montanaro c9b49f8759 untab 2011-03-19 13:07:10 -05:00
Skip Montanaro b7d1aebb66 *sigh* - i don't like this workflow at all 2011-03-19 13:05:58 -05:00
Skip Montanaro 482e7e061b merge from upstream 2011-03-19 13:03:33 -05:00
Antoine Pitrou 1679f4daa1 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:06:22 +01:00
Skip Montanaro b61efd0a68 commit merge 2011-03-19 09:15:28 -05:00
Skip Montanaro b40dea7499 Mention RFC 4180. Based on input by Tony Wallace in issue 11456. 2011-03-19 09:09:30 -05:00
Ross Lagerwall 7807c3545d Issue #10812: Add some extra posix functions to the os module. 2011-03-17 20:20:30 +02:00
Ross Lagerwall ba102ec10d Issue #5870: Add subprocess.DEVNULL constant. 2011-03-16 18:40:25 +02:00
Ronald Oussoren c1577902c6 Fix typo in subprocess documentation. 2011-03-16 10:03:10 -04:00
Raymond Hettinger a2e7814b2d Forward port doc update. 2011-03-15 18:19:52 -07:00
Michael Foord ed1fce2ee5 merge 3.2 2011-03-15 19:22:19 -04:00
R David Murray 31f218bc6b Merge #11216: document all possible set_charset execution paths. 2011-03-15 17:43:21 -04:00
Barry Warsaw 5b2c876842 Merged 2011-03-15 15:23:30 -04:00
Barry Warsaw 1f5c958721 - Issue #11289: `smtp.SMTP` class becomes a context manager so it can be used
in a `with` statement.  Contributed by Giampaolo Rodola.
2011-03-15 15:04:44 -04:00
R David Murray ab1dfd68e1 Merge #11555 as_string doc fix from 3.2. 2011-03-15 14:04:00 -04:00
R David Murray deaa678952 Merge redundant __contains__ doc fix from 3.2. 2011-03-14 22:54:19 -04:00
Michael Foord 1341bb0019 Closes issue 11407. TestCase.run returns the result object used or created 2011-03-14 19:01:46 -04:00
Gregory P. Smith 54d412edcc Add a SubprocessError base class for exceptions in the subprocess module. 2011-03-14 14:08:43 -04:00
Reid Kleckner 28f130320b Change versionchanged for timeout to 3.3, not 3.2. 2011-03-14 12:36:53 -04:00
Reid Kleckner 31aa7dd141 Add a 'timeout' argument to subprocess.Popen.
If the timeout expires before the subprocess exits, the wait method and the
communicate method will raise a subprocess.TimeoutExpired exception.  When used
with communicate, it is possible to catch the exception, kill the process, and
retry the communicate and receive any output written to stdout or stderr.
2011-03-14 12:02:10 -04:00
Ross Lagerwall 41b1228525 Merge with 3.2 2011-03-14 10:42:24 +02:00
Benjamin Peterson 6cb2b923e0 convert ast versioning to mercurial 2011-03-12 18:28:16 -06:00
Benjamin Peterson 32b0127007 merge 3.2 2011-03-12 11:59:10 -06:00
Éric Araujo e4f6a80ed8 Fix example in atexit doc: Both open and read could raise the IOError (#10461 follow-up).
Thanks to SilenGhost for catching this.
2011-03-12 15:56:09 +01:00
orsenthil@gmail.com 476021b3d0 Fix issue11283 - Clarifying a re pattern in the re module docs for conditional regex 2011-03-12 10:46:25 +08:00
Éric Araujo a3dd56b6cf Use with statement where it improves the documentation (closes #10461) 2011-03-11 17:42:48 +01:00
Eli Bendersky 6860a92be0 Issue #11426: use 'with' statements on open files in CSV examples 2011-03-11 15:47:36 +02:00
R David Murray ee30a0be35 Merge #10999 fix. 2011-03-10 17:38:50 -05:00
Ezio Melotti a2087d0a5a Merge from 3.2. 2011-03-10 13:54:21 +02:00
Ezio Melotti 684d78cfb0 #11298: merge from 3.2. 2011-03-08 16:49:57 +02:00
Georg Brandl 1ebca48030 Merge doc fixes. 2011-03-06 11:12:54 +01: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 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 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 776e586114 Remove sys.subversion and svn build identification leftovers. 2011-03-06 10:35:42 +01:00
Eli Bendersky 0716a579a4 Mentioned new clear() method of MutableSequence in its doc, and added unit tests for its mixin methods 2011-03-04 10:38:14 +00:00
Giampaolo Rodolà 424298a155 Issue 9795: adds context manager protocol to nntplib.NNTP class so that it can used with the 'with' statement. 2011-03-03 18:34:06 +00:00
Eli Bendersky 4db28d3343 Issue #10516: added copy() and clear() methods to bytearrays as well 2011-03-03 18:21:02 +00:00
Victor Stinner 1dfd380306 Issue #11377: Deprecate platform.popen() and reimplement it with os.popen(). 2011-03-03 12:54:07 +00: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
Fred Drake 446230664b issue 11372: use range instead of xrange 2011-03-03 05:27:17 +00:00
Éric Araujo c613b6bce1 Remove outdated pointer to optparse (fixes #11360).
The doc already points to argparse.
2011-03-01 18:26:56 +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
Antoine Pitrou f06576dc2b Recommend inspecting the errno attribute of socket.error objects,
and improve wording.
2011-02-28 22:38:07 +00:00
Antoine Pitrou 061cfb5258 Issue #10866: Add socket.sethostname(). Initial patch by Ross Lagerwall. 2011-02-28 22:25:22 +00:00
Antoine Pitrou d6d17c58af No need to put this at top 2011-02-28 22:04:51 +00:00
Antoine Pitrou fcf81fd031 Issue #11140: Lock.release() now raises a RuntimeError when attempting
to release an unacquired lock, as claimed in the threading documentation.
The _thread.error exception is now an alias of RuntimeError.
2011-02-28 22:03:34 +00:00
Giampaolo Rodolà 396ff06051 Fix issue 8594: adds a source_address parameter to ftplib module. 2011-02-28 19:19:51 +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 d0f89f3247 make this a link #11345 2011-02-27 15:06:44 +00:00
Raymond Hettinger 94ca211372 Make Py3.x style "import builtins" 2011-02-26 02:48:44 +00:00
Raymond Hettinger 9fe1ccfb5a Issue #11297: Add collections.ChainMap() 2011-02-26 01:02:51 +00:00
Antoine Pitrou 8250e23abd Issue #10755: Add the posix.fdlistdir() function. Patch by Ross Lagerwall. 2011-02-25 23:41:16 +00:00
Antoine Pitrou f65132de3d Issue #4761: Add the *at() family of functions (openat(), etc.) to the posix
module.  Patch by Ross Lagerwall.
2011-02-25 23:25:17 +00:00
Giampaolo Rodolà 103a6d6cd6 Issue 11177: asyncore's create_socket() arguments can now be omitted. 2011-02-25 22:21:22 +00:00
Antoine Pitrou 0bd4deba38 Issue #6064: Add a `daemon` keyword argument to the threading.Thread
and multiprocessing.Process constructors in order to override the
default behaviour of inheriting the daemonic property from the current
thread/process.
2011-02-25 22:07:43 +00:00
Giampaolo Rodolà 18e8bcb289 Issue 10784: adds os.getpriority() and os.setpriority() functions. 2011-02-25 20:57:54 +00:00
Alexander Belopolsky 1d52146a25 Issue #11303: Added shortcuts for utf8 and latin1 encodings.
Documented the list of optimized encodings as CPython implementation
detail.
2011-02-25 19:19:57 +00:00
Vinay Sajip a29a9dd156 Documented QueueListener change. 2011-02-25 16:05:26 +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
Giampaolo Rodolà 61a0bf5864 (issue 11232) - fix asyncore documentation issue (patch by Sandro Tosi) 2011-02-25 14:50:57 +00:00
Giampaolo Rodolà c9c2c8b034 Issue 10882: add os.sendfile(). (patch provided by Ross Lagerwall) 2011-02-25 14:39:16 +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