Victor Stinner
933da8efb7
(Merge 3.4) Issue #21485 : remove unnecesary .flush() calls in the asyncio
...
subprocess code example
2014-05-12 23:25:25 +02:00
Victor Stinner
b0539b27d9
Issue #21485 : remove unnecesary .flush() calls in the asyncio subprocess code
...
example
2014-05-12 23:25:09 +02:00
Victor Stinner
66113bb74a
(Merge 3.4) Issue #21422 : Add a test to check that bool << int and bool >> int
...
return an int
2014-05-12 22:43:07 +02:00
Victor Stinner
7fe1049fcb
Issue #21422 : Add a test to check that bool << int and bool >> int return an int
2014-05-12 22:35:40 +02:00
Antoine Pitrou
5fb195f854
Issue #16531 : ipaddress.IPv4Network and ipaddress.IPv6Network now accept an (address, netmask) tuple argument, so as to easily construct network objects from existing addresses.
2014-05-12 20:36:46 +02:00
Guido van Rossum
3b5162d05d
Merge 3.4->default: asyncio: Fix upstream issue 168: StreamReader.read(-1) from pipe may hang if data exceeds buffer limit.
2014-05-12 10:05:04 -07:00
Guido van Rossum
bf88ffba5e
asyncio: Fix upstream issue 168: StreamReader.read(-1) from pipe may hang if data exceeds buffer limit.
2014-05-12 10:04:37 -07:00
Ned Deily
05278eeac9
Issue 21383: merge from 3.4
2014-05-11 21:47:21 -07:00
Ned Deily
a869fd3dc0
Issue #21383 : Allow "make touch" to work when building outside of the
...
source directory.
2014-05-11 21:45:13 -07:00
Terry Jan Reedy
70371fcb56
Issue #18104 : News for 3.4, in proper place.
2014-05-11 23:47:31 -04:00
Terry Jan Reedy
ce9654f8f0
#18104 : null merge of 3.4 News entry
2014-05-11 23:46:22 -04:00
Terry Jan Reedy
96089fb40d
Issue #18104 : News for 3.4 (which will not merge forward).
2014-05-11 23:42:43 -04:00
Terry Jan Reedy
d9ee1f50e5
Merge with 3.4
2014-05-11 23:35:35 -04:00
Terry Jan Reedy
8386fda154
whitespace
2014-05-11 23:35:09 -04:00
Terry Jan Reedy
f80c0f6eac
Merge with 3.4
2014-05-11 23:32:58 -04:00
Terry Jan Reedy
06313b79d5
Issue #18104 : Add idlelib/idle_test/htest.py with a few sample tests to begin
...
consolidating and improving human-validated tests of Idle. Change other files
as needed to work with htest. Running the module as __main__ runs all tests.
2014-05-11 23:32:32 -04:00
Benjamin Peterson
89aea5075e
merge 3.4
2014-05-11 16:17:34 -07:00
Benjamin Peterson
23a192d963
use logical rather than bit and
2014-05-11 16:17:02 -07:00
Raymond Hettinger
234fb2d503
Issue 21424: Apply the nlargest() optimizations to nsmallest() as well.
2014-05-11 14:21:23 -07:00
Gregory P. Smith
3a17e21755
merge from 3.4 - clean up the subprocess docs warning-soup and
...
s/Unix/POSIX/.
2014-05-11 13:29:36 -07:00
Gregory P. Smith
8e0aa051e6
Change all references to Unix to POSIX in the subprocess docs. It's
...
more accurate and sounds less like a strange tale of yore.
2014-05-11 13:28:35 -07:00
Gregory P. Smith
6436cba9db
Remove the warning-soup from the subprocess documentation by adding
...
a Security Considerations section as preferred by both the devguide
and documentation users who do not wish to go insane.
2014-05-11 13:26:21 -07:00
Benjamin Peterson
384a3ea5c5
merge 3.4
2014-05-11 11:19:17 -07:00
Benjamin Peterson
5c8ce188ee
remove confusing delete indexing ( closes #21466 )
2014-05-11 11:18:51 -07:00
Antoine Pitrou
a6c4e1050c
Null merge
2014-05-11 19:39:13 +02:00
Antoine Pitrou
5e6b5f2f26
Try to fix issue #21425 workaround for shared library builds
2014-05-11 19:13:43 +02:00
Antoine Pitrou
ffef2447ee
Try to fix issue #21425 workaround for shared library builds
2014-05-11 19:13:43 +02:00
Antoine Pitrou
5006a56e39
Fix printing out error message when test fails and run with -bb
2014-05-11 19:05:50 +02:00
Antoine Pitrou
dab4e8a02d
Fix printing out error message when test fails and run with -bb
2014-05-11 19:05:23 +02:00
Antoine Pitrou
3a0cdd5c96
Null merge
2014-05-11 17:30:41 +02:00
Antoine Pitrou
4f23472fc2
Remove debugging output
2014-05-11 17:29:57 +02:00
Antoine Pitrou
6b4b8d0722
Try workaround for test issues in #21425
2014-05-11 16:59:16 +02:00
Antoine Pitrou
bb62c18ec9
Try workaround for test issues in #21425
2014-05-11 16:59:16 +02:00
Antoine Pitrou
ffd72737d3
Fix debugging output to work with -W
2014-05-11 16:36:22 +02:00
Antoine Pitrou
c1b22d9c22
Fix debugging output to work with -bb
2014-05-11 16:24:45 +02:00
Antoine Pitrou
0a44a0b827
Add debugging output for #21425
2014-05-11 16:09:15 +02:00
Antoine Pitrou
1c33280c95
Issue #21425 : Fix flushing of standard streams in the interactive interpreter.
2014-05-11 13:43:31 +02:00
Antoine Pitrou
9845c7ebc5
Issue #21425 : Fix flushing of standard streams in the interactive interpreter.
2014-05-11 13:42:17 +02:00
Raymond Hettinger
c89a451ae1
By popular demand, add back a security warning.
2014-05-11 02:26:23 -07:00
Raymond Hettinger
277842eff1
Issue #21424 : Optimize heaqp.nlargest() to make fewer tuple comparisons.
...
Consolidates the logic for nlargest() into a single function so that
decoration tuples (elem,order) or (key, order, elem) only need to
be formed when a new element is added to the heap. Formerly, a tuple
was created for every element regardless of whether it was added to
the heap.
The change reduces the number of tuples created, the number of ordering
integers created, and total number of tuple comparisons.
2014-05-11 01:55:46 -07:00
Guido van Rossum
d6a46ae705
Merge 3.4 -> default: asyncio: Upstream issue #167 : remove dead code, by Marc Schlaich.
2014-05-10 15:48:03 -07:00
Guido van Rossum
3d1bc608a8
asyncio: Upstream issue #167 : remove dead code, by Marc Schlaich.
2014-05-10 15:47:15 -07:00
Raymond Hettinger
a7894f7f4c
Remove the redundant and poorly worded warning message.
...
The paragraph above already says, clearly and correctly, that
"However, being completely deterministic, it is not suitable for
all purposes, and is completely unsuitable for cryptographic purposes."
Also we should make any promises about SystemRandom or os.urandom()
being cryptographically secure (they may be, but be can't validate
that promise). Further, those are actual random number generators
not psuedo-random number generators.
2014-05-10 14:05:28 -07:00
Jason R. Coombs
09122f84fc
Reindent long line
2014-05-10 13:24:58 -04:00
Jason R. Coombs
0375653371
Replace overly-aggressive comparison for type equality with an isinstance check.
2014-05-10 13:24:18 -04:00
Jason R. Coombs
a384652d6d
Drop support for Python 2.4 in upload command.
2014-05-10 13:22:43 -04:00
Jason R. Coombs
6f71726ecd
Replace import * with explicit import
2014-05-10 13:21:02 -04:00
Jason R. Coombs
7ae0fde001
Clean up style in distutils upload command
2014-05-10 13:20:28 -04:00
Eli Bendersky
f84866c9af
Issue #19655 : Add tests for the new asdl parser.
...
This unit test runs only for source builds of Python, similarly to test_tools.
2014-05-09 19:03:25 -07:00
Eli Bendersky
5e3d338a74
Issue #19655 : Replace the ASDL parser carried with CPython
...
The new parser does not rely on Spark (which is now removed from our repo),
uses modern 3.x idioms and is significantly smaller and simpler.
It generates exactly the same AST files (.h and .c), so in practice no builds
should be affected.
2014-05-09 17:58:22 -07:00