Commit Graph

2717 Commits

Author SHA1 Message Date
Éric Araujo 19acb88baf Branch merge 2011-04-27 16:25:27 +02: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
Antoine Pitrou 45456a09f0 I think this should be "versionchanged", not "versionadded" 2011-04-26 18:53:42 +02:00
R David Murray dff18b0858 Merge #11901: add description of how bitfields are laid out to hexversion docs
Patch by Sijin Joseph.
2011-04-25 16:14:26 -04: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
Alexander Belopolsky 54afa5504c Issue #2736: Documented how to compute seconds since epoch. 2011-04-25 13:00:40 -04:00
Éric Araujo 3e8987025f Add versionchanged for c19752ea037f (#10998) 2011-04-24 04:37:00 +02:00
Éric Araujo b1734516c2 Add versionchanged for a364719e400a (#11591) 2011-04-24 03:15:32 +02:00
Éric Araujo 405d77872b Remove unneeded backslashes 2011-04-24 03:00:58 +02:00
Éric Araujo 08c9bd57f2 Remove unneeded backslashes 2011-04-24 02:59:02 +02:00
Éric Araujo 92952cc181 Merge 3.2 2011-04-24 02:49:10 +02:00
Éric Araujo 0c91e1d941 Branch merge 2011-04-24 02:47:37 +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
Ezio Melotti 707d1e6cea Merge with 3.2. 2011-04-22 01:57:47 +03:00
Ezio Melotti 5569e9b150 Fix some more markup glitches in argparse doc. 2011-04-22 01:42:10 +03:00
Ezio Melotti 7817e3b151 #11904-#11905: Merge typo fixes with 3.2. 2011-04-21 23:12:53 +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 ccb054759a #11902: Merge with 3.2. 2011-04-21 22:58:40 +03:00
Ezio Melotti 00f53afdda #11902: Fix typo in argparse doc. Noticed by Vladimir Rutsky. 2011-04-21 22:56:51 +03:00
Raymond Hettinger 295c1d4f19 Add another example for accumulate(). 2011-04-21 11:09:28 -07:00
Ezio Melotti 5bba6c2785 Merge with 3.2. 2011-04-21 16:13:44 +03:00
Ezio Melotti 0ee9c1be76 Add the :mod: role where it was missing. 2011-04-21 16:12:17 +03:00
Ezio Melotti c6f079d1b2 #11885: Merge with 3.2. 2011-04-21 15:29:04 +03:00
Ezio Melotti cca4ef8cba #11885: capitalize Python. 2011-04-21 15:26:46 +03:00
Éric Araujo de579d4359 Add a space to make json doc a bit more readable 2011-04-21 02:37:41 +02:00
Benjamin Peterson 2b8ef2df57 say struct sequence rather than structseq and link to glossary 2011-04-20 18:31:22 -05:00
Éric Araujo ab20b164b9 Merge 3.2 2011-04-20 20:22:57 +02: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
Victor Stinner 754851f456 Issue #11223: Add threading._info() function providing informations about the
thread implementation.

Skip test_lock_acquire_interruption() and test_rlock_acquire_interruption() of
test_threadsignals if a thread lock is implemented using a POSIX mutex and a
POSIX condition variable. A POSIX condition variable cannot be interrupted by a
signal (e.g. on Linux, the futex system call is restarted).
2011-04-19 23:58:51 +02:00
Ezio Melotti 4571ee0b78 Merge with 3.2. 2011-04-19 23:24:32 +03: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 64e564b8f5 Merged documentation fix from 3.2. 2011-04-19 13:58:49 +01:00
Vinay Sajip f97255fd7c Updated documentation on fileConfig(). 2011-04-19 13:56:39 +01:00
Georg Brandl e8d2d2d2b2 Add new email.policy document to the toctree and fix markup glitch. 2011-04-19 09:21:00 +02:00
R David Murray 6a45d3b6ae Markup and text fixes from Georg Brandl's review. 2011-04-18 16:00:47 -04:00
R David Murray 1f056b248a Merge: Fix markup. 2011-04-18 15:55:45 -04:00
R David Murray 530cc09796 Fix markup. 2011-04-18 15:54:58 -04:00
R David Murray 3edd22ac95 #11731: simplify/enhance parser/generator API by introducing policy objects.
This new interface will also allow for future planned enhancements
in control over the parser/generator without requiring any additional
complexity in the parser/generator API.

Patch reviewed by Éric Araujo and Barry Warsaw.
2011-04-18 13:59:37 -04:00
R David Murray f3299989a2 Merge: #11492: rewrite header folding algorithm. Less code, more passing tests. 2011-04-18 10:11:06 -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 2476ee32b1 Merge with 3.2. 2011-04-16 23:14:40 +03:00
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