Benjamin Peterson
8a4b42b7f4
merge 3.2
2011-07-22 11:10:43 -05:00
Benjamin Peterson
180e63507d
None is ok for identifiers but not strings
2011-07-22 11:09:07 -05:00
Benjamin Peterson
51a6b371f9
merge 3.2 (null)
2011-07-22 10:55:25 -05:00
Benjamin Peterson
86f088e8e5
merge 3.2
2011-07-22 10:55:02 -05:00
Benjamin Peterson
2193d2b72b
type check AST strings and identifiers
...
This is related to a21829180423 as well as #12609 and #12610 .
2011-07-22 10:50:23 -05:00
Benjamin Peterson
efad2449fc
hardcode the old svn __version__
2011-07-22 10:39:12 -05:00
Charles-François Natali
db57e8d186
Merge - Issue #12372 : POSIX semaphores are broken on AIX: don't use them.
2011-07-21 19:49:47 +02:00
Charles-François Natali
996f606787
Issue #12372 : POSIX semaphores are broken on AIX: don't use them.
2011-07-21 19:45:31 +02:00
Ezio Melotti
a30def6c66
#12601 : merge with 3.2.
2011-07-21 11:17:05 +03:00
Ezio Melotti
1beea5b7c1
#12601 : fix typo.
2011-07-21 11:16:32 +03:00
Ezio Melotti
6ce6a45ed5
#11435 : dummy merge with 3.2.
2011-07-21 09:37:38 +03:00
Ezio Melotti
bca31b5d1f
#11435 : link to the correct branch.
2011-07-21 09:35:19 +03:00
Antoine Pitrou
d649480739
Issue #12551 : Provide a get_channel_binding() method on SSL sockets so as
...
to get channel binding data for the current SSL session (only the
"tls-unique" channel binding is implemented). This allows the
implementation of certain authentication mechanisms such as SCRAM-SHA-1-PLUS.
Patch by Jacek Konieczny.
2011-07-21 01:11:30 +02:00
R David Murray
875048bd4c
#665194 : support roundtripping RFC2822 date stamps in the email.utils module
2011-07-20 11:41:21 -04:00
Senthil Kumaran
3e44612726
merge from 3.2 - Fix closes issue12524 - update http.client POST example with a working example.
2011-07-20 21:57:07 +08:00
Senthil Kumaran
96c84a4c7d
Fix closes issue12524 - update http.client POST example with a working example.
2011-07-20 21:56:24 +08:00
Antoine Pitrou
fb96089b13
Fix test_multiprocessing failure under Windows.
...
(followup to dfaa3a149a92)
2011-07-20 02:01:39 +02:00
Barry Warsaw
49e175a572
Upstream merge.
2011-07-19 19:27:21 -04:00
Barry Warsaw
346f95ff82
Upstream merge
2011-07-19 19:25:56 -04:00
Barry Warsaw
6d744261e2
Upstream merge.
2011-07-19 19:25:25 -04:00
Barry Warsaw
2ebada4233
- Issue #10309 : Define _GNU_SOURCE so that mremap() gets the proper
...
signature. Without this, architectures where sizeof void* != sizeof int are
broken. Patch given by Hallvard B Furuseth.
2011-07-19 19:23:56 -04:00
Ned Deily
dac7de3102
Issue #12587 : Correct faulty test file and reference in test_tokenize.
...
(Patch by Robert Xiao)
2011-07-19 16:18:11 -07:00
Ned Deily
2ea6fccf64
Issue #12587 : Correct faulty test file and reference in test_tokenize.
...
(Patch by Robert Xiao)
2011-07-19 16:15:27 -07:00
Barry Warsaw
d460a76e9e
- Issue #10309 : Define _GNU_SOURCE so that mremap() gets the proper
...
signature. Without this, architectures where sizeof void* != sizeof int are
broken. Patch given by Hallvard B Furuseth.
2011-07-19 18:28:30 -04:00
Antoine Pitrou
7b561ec98f
Issue #12571 : Add a plat-linux3 directory mirroring the plat-linux2 directory,
...
so that "import DLFCN" and other similar imports work on Linux 3.0.
2011-07-20 00:28:21 +02:00
Antoine Pitrou
c57ed91e0c
Issue #12571 : Add a plat-linux3 directory mirroring the plat-linux2 directory,
...
so that "import DLFCN" and other similar imports work on Linux 3.0.
2011-07-20 00:26:23 +02:00
R David Murray
4c14bba7f9
#7484 : simplify quoteaddr: if parseaddr throws an error it is a bug.
...
As far as I can tell, the try/except was ancient code, from before the email
package rewrite where the philosophy of never throwing parsing errors was
adopted.
2011-07-18 21:59:53 -04:00
R David Murray
da7af4d7a1
Merge #7484 : no more <> around addresses in VRFY or EXPN
2011-07-18 21:42:28 -04:00
R David Murray
4634676cec
#7484 : no more <> around addresses in VRFY or EXPN
...
The RFC doesn't say that they are allowed; apparently many mailers accept
them, but not postfix. Contributions to this patch were made by Felipe Cruz
and Catalin Iacob.
The changeset also adds additional indirect tests for quoteaddr (null address
and IDNA-encoded address).
2011-07-18 21:38:54 -04:00
Senthil Kumaran
a8713b141a
merge from 3.2 - Fix closes issue12577 - clarify shutil.move documentation. Patch suggestion by Catalin Iacob
2011-07-19 08:03:55 +08:00
Senthil Kumaran
ae4a78b0a8
Fix closes issue12577 - clarify shutil.move documentation. Patch suggestion by Catalin Iacob
2011-07-19 08:03:02 +08:00
Antoine Pitrou
6d175b72b5
Issue #6476 : Document that os.spawnle and os.spawnve are not thread-safe under Windows.
2011-07-19 01:29:18 +02:00
Antoine Pitrou
0e752dd3f8
Issue #6476 : Document that os.spawnle and os.spawnve are not thread-safe under Windows.
2011-07-19 01:26:58 +02:00
Eric V. Smith
c12469df22
Merge from 3.2.
2011-07-18 14:08:55 -04:00
Eric V. Smith
12ebefc9d3
Closes #12579 . Positional fields with str.format_map() now raise a ValueError instead of SystemError.
2011-07-18 14:03:41 -04:00
R David Murray
677b6530b0
Fix English in packaging, too.
2011-07-18 12:39:18 -04:00
R David Murray
3ef6ca4882
Merge English fix.
2011-07-18 12:38:48 -04:00
R David Murray
b899007268
Better English.
2011-07-18 12:38:03 -04:00
Benjamin Peterson
bd9c655c97
merge heads
2011-07-17 22:50:12 -05:00
Benjamin Peterson
76f7f4d979
excise the remains of STOP_CODE, which hasn't done anything useful for years
2011-07-17 22:49:50 -05:00
Brett Cannon
e52181c05a
Add Misc/NEWS entry and relevant doc change for issue 10271.
2011-07-17 19:25:50 -07:00
Brett Cannon
52a7d98273
Make warnings accept a callable for showwarnings instead of
...
restricting itself to just functions and methods (which allows
built-in functions to be used, etc.).
Closes issue #10271 . Thanks to lekma for the bug report.
2011-07-17 19:17:55 -07:00
Alex Gaynor
b05be7d936
Merged upstream.
2011-07-17 16:22:05 -07:00
Alex Gaynor
e151d21883
Mark itertools tests of tuple reuse as being specific to CPython.
2011-07-17 16:21:30 -07:00
Senthil Kumaran
c32aae0d44
fix whitespace in rst.
2011-07-18 07:18:11 +08:00
Senthil Kumaran
3e7f33fc82
fix whitespace nit.
2011-07-18 07:17:20 +08:00
Senthil Kumaran
029b467963
merge from 3.2 - Fix closes Issue12478 - HTTPErrorProcess 's methods are http_response and https_response.
2011-07-18 07:13:21 +08:00
Senthil Kumaran
0215d09ca9
Fix closes Issue12478 - HTTPErrorProcess 's methods are http_response and https_response.
2011-07-18 07:12:40 +08:00
Senthil Kumaran
3121547f42
merge from 3.2 - Fix closes Issue12479 - Add HTTPErrorProcessor class definition - Patch by Sandro Tosi
2011-07-18 06:43:25 +08:00
Senthil Kumaran
ed270fab64
Fix closes Issue12479 - Add HTTPErrorProcessor class definition - Patch by Sandro Tosi
2011-07-18 06:42:46 +08:00