Commit graph

2567 commits

Author SHA1 Message Date
Benjamin Peterson
619323c68f merge 3.1 2011-05-20 11:49:19 -05:00
Benjamin Peterson
2340986fe0 this should actually be an IOError 2011-05-20 11:49:06 -05:00
Benjamin Peterson
c7dd737ef7 merge 3.1 2011-05-20 11:41:59 -05:00
Benjamin Peterson
249b508c98 add example for not using access 2011-05-20 11:41:13 -05:00
Łukasz Langa
d8eab60c00 Merged rethought pprint usage example from 3.1. 2011-05-14 22:49:10 +02:00
Łukasz Langa
4ad78ab766 pprint usage example rethought. 2011-05-14 22:43:44 +02:00
Raymond Hettinger
23157e5ddc Further beautification of the example 2011-05-13 01:38:31 -07:00
Raymond Hettinger
9c47d778f7 Neaten up example so it can be cut and pasted. 2011-05-13 01:03:50 -07:00
Georg Brandl
5166375045 Use singular they. Thanks to Mark Summerfield. 2011-05-13 06:55:28 +02:00
Georg Brandl
325477e20e Fix unbound local error in RE tokenizer example. Thanks to Herman L. Jackson. 2011-05-13 06:54:23 +02:00
Gregory P. Smith
c9557af441 merge - 7a3f3ad83676 Fixes Issue #12044. 2011-05-11 22:18:23 -07:00
Raymond Hettinger
30439b23c0 Document default fmtspec. Fix inaccurate note. Document exceptions. 2011-05-11 10:47:27 -07:00
Senthil Kumaran
57e6eac905 Issue #11968 - the start_response header values in wsgiref shoudl be str not
bytes. The PEP-0333 says that and test_wsgiref follows the same.  Updated docs
accordingly.
2011-05-11 22:34:59 +08:00
Antoine Pitrou
1be815aac4 Issue #8498: In socket.accept(), allow to specify 0 as a backlog value in
order to accept exactly one connection.  Patch by Daniel Evers.
2011-05-10 19:16:29 +02:00
Łukasz Langa
cda41d3bf7 Actually print out the description of what changed. 2011-05-10 15:25:41 +02:00
Victor Stinner
17ca323e7c (Merge 3.1) Issue #12012: ssl.PROTOCOL_SSLv2 becomes optional
OpenSSL is now compiled with OPENSSL_NO_SSL2 defined (without the SSLv2
protocol) on Debian: fix the ssl module on Debian Testing and Debian Sid.

Optimize also ssl.get_protocol_name(): speed does matter!
2011-05-10 00:48:41 +02:00
Victor Stinner
ee18b6f2fd Issue #12012: ssl.PROTOCOL_SSLv2 becomes optional
OpenSSL is now compiled with OPENSSL_NO_SSL2 defined (without the SSLv2
protocol) on Debian: fix the ssl module on Debian Testing and Debian Sid.

Optimize also ssl.get_protocol_name(): speed does matter!
2011-05-10 00:38:00 +02:00
Łukasz Langa
725476222a Closes #12036: ConfigParser: Document items() added the vars dictionary to the result 2011-05-09 18:49:42 +02:00
Martin v. Löwis
867754e3e3 merge 11164 2011-05-09 08:10:38 +02:00
Martin v. Löwis
2f48d892d4 Stop trying to use _xmlplus in the xml module. Closes #11164.
Patch by Arfrever Frehtes Taifersar Arahesis.
2011-05-09 08:05:43 +02:00
Ezio Melotti
74efb71871 Merge with 3.1. 2011-05-09 04:00:06 +03:00
Ezio Melotti
0ed8c6897c Add a note to the str.find doc to suggest the use of the "in" operator. 2011-05-09 03:54:30 +03:00
Nick Coghlan
0ded3e307b Issue #11647: allow contextmanager objects to be used as decorators as described in the docs. Initial patch by Ysj Ray. 2011-05-05 23:49:25 +10:00
Ezio Melotti
5098d44354 #11985: merge with 3.1. 2011-05-03 20:43:48 +03:00
Ezio Melotti
b351bcca23 #11985: document the return value of platform.python_implementation for PyPy. 2011-05-03 20:41:48 +03:00
Éric Araujo
38cfe89665 Merge 3.1 2011-05-02 13:12:23 +02:00
Éric Araujo
b79c234e1a Add missing colon 2011-05-02 13:10:18 +02:00
Benjamin Peterson
c704378987 merge 3.1 2011-05-01 20:24:40 -05:00
Raymond Hettinger
9b2fd32cc5 Fix spelling. 2011-05-01 18:14:49 -07: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
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
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
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
2ee88355fc #11952: Fix typo in multiprocessing doc. 2011-04-29 07:10:24 +03: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
Brian Curtin
3040193401 Fix #11961. Document STARTUPINFO and creation flag options. 2011-04-29 22:20:57 -05:00
Ezio Melotti
17797a7310 #11952: merge with 3.1. 2011-04-29 07:12:42 +03: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
43ae619925 Fixed trailing whitespace in the ReST file. 2011-04-27 18:13:42 +02:00
Łukasz Langa
daab1c8092 Closes #11670: configparser read_file now iterates over f. 2011-04-27 18:10:05 +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
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