Victor Stinner
fadeeffe5b
(Merge 3.2) Issue #11277 : mmap.mmap() calls fcntl(fd, F_FULLFSYNC) on Mac OS X
...
to get around a mmap bug with sparse files. Patch written by Steffen Daode
Nurpmeso.
2011-05-02 01:14:55 +02:00
Victor Stinner
8108e96bc8
(Merge 3.1) Issue #11277 : mmap.mmap() calls fcntl(fd, F_FULLFSYNC) on Mac OS X
...
to get around a mmap bug with sparse files. Patch written by Steffen Daode
Nurpmeso.
2011-05-02 01:11:33 +02:00
Victor Stinner
a6cd0cf0f5
Issue #11277 : mmap calls fcntl(fd, F_FULLFSYNC) on Mac OS X to get around a
...
mmap bug with sparse files. Patch written by Steffen Daode Nurpmeso.
2011-05-02 01:05:37 +02:00
Benjamin Peterson
47583fa9b4
merge 3.2
2011-05-01 17:39:52 -05:00
Benjamin Peterson
cee01bf18f
merge 3.1
2011-05-01 17:39:40 -05:00
Benjamin Peterson
10116d40d8
note abcs of int and float ( closes #11977 )
2011-05-01 17:38:17 -05:00
R David Murray
c55a7ea2b8
Merge #11901 : post-commit review fixes per Georg Brandl
2011-04-30 16:36:37 -04:00
R David Murray
b751d6195f
Merge #11901 : post-commit review fixes per Georg Brandl
2011-04-30 16:36:08 -04:00
R David Murray
9beb34ee0d
#11901 : post-commit review fixes per Georg Brandl
2011-04-30 16:35:29 -04: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
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
Ł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
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