Commit Graph

11724 Commits

Author SHA1 Message Date
Benjamin Peterson 1a5097244a merge 3.2 2011-04-30 13:16:14 -05:00
Benjamin Peterson f97aed1a25 merge 3.1 2011-04-30 13:15:18 -05:00
Benjamin Peterson 4c020885d9 fix function name in example (closes #11966) 2011-04-30 13:14:56 -05:00
Georg Brandl 00db582272 Fix indentation. 2011-04-30 15:30:03 +02:00
Victor Stinner a929335961 Issue #8407, issue #11859: Add signal.pthread_sigmask() function to fetch
and/or change the signal mask of the calling thread.

Fix also tests of test_io using threads and an alarm: use pthread_sigmask() to
ensure that the SIGALRM signal is received by the main thread.

Original patch written by Jean-Paul Calderone.
2011-04-30 15:21:58 +02:00
Victor Stinner d5c355ccc7 Issue #11223: Replace threading._info() by sys.thread_info 2011-04-30 14:53:09 +02:00
Brian Curtin 6b549a4d8b Fix #11961. Document STARTUPINFO and creation flag options. 2011-04-29 22:21:35 -05:00
Brian Curtin 3040193401 Fix #11961. Document STARTUPINFO and creation flag options. 2011-04-29 22:20:57 -05:00
Brian Curtin 73365dd887 whitespace... 2011-04-29 22:18:33 -05:00
Brian Curtin e6242d77bd Fix #11961. Document STARTUPINFO and creation flag options. 2011-04-29 22:17:51 -05:00
Georg Brandl 0cd25c9dd9 Small grammar fix. 2011-04-29 13:45:54 +02:00
Ezio Melotti 025691a5fe #11952: merge with 3.2. 2011-04-29 07:13:12 +03:00
Ezio Melotti 17797a7310 #11952: merge with 3.1. 2011-04-29 07:12:42 +03:00
Ezio Melotti 2ee88355fc #11952: Fix typo in multiprocessing doc. 2011-04-29 07:10:24 +03:00
Antoine Pitrou 15399c3f09 Issue #11811: ssl.get_server_certificate() is now IPv6-compatible. Patch
by Charles-François Natali.
2011-04-28 19:23:55 +02:00
Łukasz Langa e812bf7bf6 Merged styling updates for #11670 from 3.2. 2011-04-28 12:02:58 +02:00
Łukasz Langa ba702daef9 Style updates for the #11670 solution after post-commit review by Ezio Melotti:
http://mail.python.org/pipermail/python-checkins/2011-April/104688.html

Thanks!
2011-04-28 12:02:05 +02:00
Raymond Hettinger 121bf6aa61 Issue #11940: Update external link. 2011-04-27 16:33:01 -07:00
Raymond Hettinger 4f7412356d Issue #11940: Update external link. 2011-04-27 16:32:34 -07:00
Raymond Hettinger 507cbc1773 Issue #11940: Update external link. 2011-04-27 16:32:08 -07:00
Ezio Melotti 98be2b72c6 #11942: merge with 3.2. 2011-04-28 00:53:48 +03:00
Ezio Melotti a782ccaf6c #11942: merge with 3.1. 2011-04-28 00:53:14 +03:00
Ezio Melotti f95033ba44 #11942: Fix return type of Py_AddPendingCall. Patch by Sandro Tosi. 2011-04-28 00:48:46 +03:00
Łukasz Langa 2356659f34 Merged trailing whitespace fix. 2011-04-27 18:14:04 +02:00
Łukasz Langa 43ae619925 Fixed trailing whitespace in the ReST file. 2011-04-27 18:13:42 +02:00
Łukasz Langa 29050d7317 Merged #11670 from 3.2 2011-04-27 18:11:50 +02:00
Łukasz Langa daab1c8092 Closes #11670: configparser read_file now iterates over f. 2011-04-27 18:10:05 +02:00
Éric Araujo 0abb8b74d9 Merge 3.2 2011-04-27 16:32:36 +02:00
Éric Araujo 7fb624fe51 Branch merge 2011-04-27 16:28:50 +02:00
Éric Araujo 944d16c6c4 Merge 3.1 2011-04-27 16:27:38 +02:00
É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
Raymond Hettinger f3d77dc94a merge 2011-04-26 13:59:59 -07:00
Raymond Hettinger 441ed91a88 Issue 11929: Minor whitespace clean-ups. 2011-04-26 13:56:29 -07:00
Raymond Hettinger 40fc59d98b Issue 11929: Minor whitespace clean-ups. 2011-04-26 13:55:55 -07:00
Victor Stinner b90db4caf0 Issue #11918: OS/2 and VMS are no more supported because of the lack of
maintainer.
2011-04-26 22:48:24 +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 ce4c4074f9 The version* directives don’t work with a blank line between arguments 2011-04-24 03:31:37 +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
Éric Araujo 2b9388a033 Fix weird executable name 2011-04-22 21:27:10 +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
Ezio Melotti 5149eedddf #11897: Merge with 3.2. 2011-04-21 14:49:56 +03:00
Ezio Melotti c17c1f64aa #11897: Fix typo in porting howto. Patch by Marti Raudsepp. 2011-04-21 14:49:03 +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
Benjamin Peterson 82f614b20a glossary entry for struct sequence 2011-04-20 18:27:32 -05:00
Ezio Melotti 32f4db3175 Merge with 3.2. 2011-04-20 21:33:29 +03:00
Ezio Melotti 861d27f4cf Merge with 3.1. 2011-04-20 21:32:40 +03:00
Ezio Melotti e402724912 Fix wrong function name. Noticed by Clive Darke. 2011-04-20 21:29:31 +03: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
Éric Araujo ad0790e573 Branch merge 2011-04-20 18:54: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 d66f07a6b3 #11865: Merge with 3.2. 2011-04-18 10:14:49 +03:00
Ezio Melotti 74c0031066 #11865: Merge with 3.1. 2011-04-18 10:14:13 +03:00
Ezio Melotti 340bb95ffd #11865: fix typo in init.rst. 2011-04-18 10:11:21 +03:00
Éric Araujo a0b3c32c7a Advertise nesting directives for class/method and class/data combos.
Also fix a typo and a misleading example (method used to describe function).
2011-04-16 23:47:53 +02: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 386832ece2 #11843: Merge with 3.2. 2011-04-15 18:08:09 +03:00
Ezio Melotti 8881868e08 #11843: Merge with 3.1. 2011-04-15 18:07:38 +03:00
Ezio Melotti 181810b5fe #11843: remove duplicate line from table in distutil doc. 2011-04-15 18:05:09 +03: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 c470a0c744 #11840: Merge with 3.2. 2011-04-14 07:51:57 +03:00
Ezio Melotti c1f0577b54 #11840: Merge with 3.1. 2011-04-14 07:50:25 +03:00
Ezio Melotti 95cd91c17f #11840: Improve c-api/unicode documentation. Patch by Sandro Tosi. 2011-04-14 07:43:53 +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