Charles-François Natali
7a2f0c7802
Issue #12603 : Fix pydoc.synopsis() on files with non-negative st_mtime.
2011-07-27 19:42:05 +02:00
Charles-François Natali
27c4e88552
Issue #12603 : Fix pydoc.synopsis() on files with non-negative st_mtime.
2011-07-27 19:40:02 +02:00
Ross Lagerwall
114f0e499d
Issue #12607 : Merge with 3.2.
2011-07-27 07:39:27 +02:00
Ross Lagerwall
d98646e430
Issue #12607 : In subprocess, fix issue where if stdin, stdout or stderr is
...
given as a low fd, it gets overwritten.
2011-07-27 07:16:31 +02:00
Ned Deily
12aa1aea67
Issue #12590 : IDLE editor window now always displays the first line
...
when opening a long file. With Tk 8.5, the first line was hidden.
2011-07-26 18:19:09 -07:00
Ned Deily
f25e3d5278
Issue #12590 : IDLE editor window now always displays the first line
...
when opening a long file. With Tk 8.5, the first line was hidden.
2011-07-26 18:17:33 -07:00
Senthil Kumaran
7496fef8ff
merge from 3.2 - Fix closes Issue12576 - fix urlopen behavior on sites which do not send (or obsfuscates) Connection: Close header.
2011-07-27 08:06:44 +08:00
Senthil Kumaran
1299a8f3b2
Fix closes Issue12576 - fix urlopen behavior on sites which do not send (or obsfuscates) Connection: Close header.
2011-07-27 08:05:58 +08:00
Jason R. Coombs
76eec3db21
Issue #10639 : reindent.py tool now accepts a --newline option to specify the newline to be used in the output of converted files.
2011-07-26 11:38:04 -04:00
Jason R. Coombs
1322bd4971
Merge with 3.2 Issue #10639 : reindent.py should not convert newlines.
...
reindent.py now will use the newline detected in the original file and will report an error if mixed newlines are encountered.
2011-07-26 11:57:08 -04:00
Jason R. Coombs
76748b7033
Fixes #10639 : reindent.py should not convert newlines
...
reindent.py now will use the newline detected in the original file and will report an error if mixed newlines are encountered.
2011-07-26 11:18:40 -04:00
Ross Lagerwall
432171c687
Issue #12102 : Merge with 3.2.
2011-07-25 07:14:15 +02:00
Ross Lagerwall
59c01edcaa
Issue #12102 : Document that buffered files must be flushed before being used
...
with mmap. Patch by Steffen Daode Nurpmeso.
2011-07-25 07:12:43 +02:00
Charles-François Natali
dc1d548ecb
Issue #12560 : Build libpython.so on OpenBSD. Patch by Stefan Sperling.
2011-07-24 22:44:15 +02:00
Charles-François Natali
749400a94d
Issue #12560 : Build libpython.so on OpenBSD. Patch by Stefan Sperling.
2011-07-24 22:41:18 +02:00
Antoine Pitrou
5a24d82941
Add a test for issue #1813 : getlocale() failing under a Turkish locale
...
(not a problem under 3.x)
2011-07-24 02:41:54 +02:00
Antoine Pitrou
cf9d3c08c8
Issue #1813 : Fix codec lookup under Turkish locales.
2011-07-24 02:27:04 +02:00
Antoine Pitrou
8dbd8573e5
Issue #12624 : It is now possible to fail after the first failure when
...
running in verbose mode (`-v` or `-W`), by using the `--failfast`
(or `-G`) option to regrtest. This is useful with long test suites
such as test_io or test_subprocess.
2011-07-23 22:37:52 +02:00
Antoine Pitrou
216a3bc36d
Issue #12624 : It is now possible to fail after the first failure when
...
running in verbose mode (`-v` or `-W`), by using the `--failfast`
(or `-G`) option to regrtest. This is useful with long test suites
such as test_io or test_subprocess.
2011-07-23 22:33:39 +02:00
Antoine Pitrou
e02891b459
Issue #12591 : Improve support of "universal newlines" in the subprocess
...
module: the piped streams can now be properly read from or written to.
2011-07-23 22:04:41 +02:00
Antoine Pitrou
ab85ff3d1a
Issue #12591 : Improve support of "universal newlines" in the subprocess
...
module: the piped streams can now be properly read from or written to.
(this was broken due to the 2.x to 3.x transition; communicate() support
is still sketchy)
2011-07-23 22:03:45 +02:00
Antoine Pitrou
d42c1d09e9
Issue #12591 : Allow io.TextIOWrapper to work with raw IO objects (without
...
a read1() method), and add a *write_through* parameter to
mandate unbuffered writes.
2011-07-23 21:50:21 +02:00
Antoine Pitrou
e96ec68101
Issue #12591 : Allow io.TextIOWrapper to work with raw IO objects (without
...
a read1() method), and add an undocumented *write_through* parameter to
mandate unbuffered writes.
2011-07-23 21:46:35 +02:00
Nadeem Vawda
d2d7a3b0bb
Add Misc/NEWS entry for d68765bd6490.
2011-07-23 15:17:19 +02:00
Nadeem Vawda
ce7e51e8f6
Add Misc/NEWS entry for c741ba9e37ef.
2011-07-23 15:16:23 +02:00
Charles-François Natali
54ef40b000
Merge - Issue #12592 : Make Python build on OpenBSD 5 (and future major
...
releases).
2011-07-22 23:52:02 +02:00
Charles-François Natali
beed47ec0e
Issue #12592 : Make Python build on OpenBSD 5 (and future major releases).
2011-07-22 23:48:44 +02: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
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
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
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
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
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
Brett Cannon
e52181c05a
Add Misc/NEWS entry and relevant doc change for issue 10271.
2011-07-17 19:25:50 -07:00
Antoine Pitrou
0b447957c7
Close the call queue in concurrent.futures.ProcessPoolExecutor when
...
shutdown() is called, without waiting for the garbage collector to kick in.
2011-07-16 23:52:02 +02:00
Benjamin Peterson
ddddcab3ec
put in correct section
2011-07-15 21:11:35 -05:00
Benjamin Peterson
7dc35f6fea
merge heads
2011-07-15 21:10:44 -05:00
Benjamin Peterson
0bd152cd67
remove ast.__version__ ( closes #12273 )
2011-07-15 21:10:13 -05:00