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
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
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
Brett Cannon
732ac654c8
Issue #19721 : Consolidate test_importlib utility code into a single
...
module.
2014-05-09 14:32:57 -04:00
Brett Cannon
91795c8e34
Issue #20776 : Flesh out tests for importlib.machinery.PathFinder.
2014-05-09 13:38:11 -04:00
Brett Cannon
6eaac13c92
Issue #21156 : importlib.abc.InspectLoader.source_to_code() is now a
...
staticmethod.
2014-05-09 12:28:22 -04:00
Tim Peters
983c1065fe
Merge from 3.4.
...
Issue #21435 : Segfault in gc with cyclic trash
Changed the iteration logic in finalize_garbage() to tolerate objects vanishing
from the list as a side effect of executing a finalizer.
2014-05-08 17:43:25 -05:00
Tim Peters
5fbc7b12f7
Issue #21435 : Segfault in gc with cyclic trash
...
Changed the iteration logic in finalize_garbage() to tolerate objects vanishing
from the list as a side effect of executing a finalizer.
2014-05-08 17:42:19 -05:00
Antoine Pitrou
38ca5a7b6d
Issue #21396 : Fix TextIOWrapper(..., write_through=True) to not force a flush() on the underlying binary stream.
...
Patch by akira.
2014-05-09 00:31:32 +02:00
Antoine Pitrou
c644e7c39f
Issue #21396 : Fix TextIOWrapper(..., write_through=True) to not force a flush() on the underlying binary stream.
...
Patch by akira.
2014-05-09 00:24:50 +02:00
doko@ubuntu.com
4ce74dc54c
- Issue #17752 : Fix distutils tests when run from the installed location.
2014-05-07 13:08:51 +02:00
doko@ubuntu.com
e5de66eaa7
- Issue #17752 : Fix distutils tests when run from the installed location.
2014-05-07 12:57:44 +02:00
R David Murray
5915505796
Merge: #21300 : Clean up the docs for the email "policy" arguments.
2014-05-06 21:33:50 -04:00
R David Murray
e25244657c
#21300 : Clean up the docs for the email "policy" arguments.
2014-05-06 21:33:18 -04:00
Guido van Rossum
5dcad2c8f3
Merge 3.4->default: asyncio: Fix the second half of issue #21447 : race in _write_to_self().
2014-05-06 14:45:39 -07:00
Guido van Rossum
3d139d8ed6
asyncio: Fix the second half of issue #21447 : race in _write_to_self().
2014-05-06 14:42:40 -07:00
Tim Golden
e0bd2c5fad
Issue21440 Use support.rmtree in test_zipfile & test_tarfile
2014-05-06 13:24:26 +01:00
Tim Golden
0321cf2550
Issue18314 Allow unlink to remove junctions. Includes support for creating junctions. Patch by Kim Gräsman
2014-05-05 19:46:17 +01:00
Larry Hastings
f19a400714
Issue #21088 : Merge from 3.4.
2014-05-04 04:45:57 -07:00
Larry Hastings
9147a9697a
Issue #21088 : Bugfix for curses.window.addch() regression in 3.4.0.
...
In porting to Argument Clinic, the first two arguments were reversed.
2014-05-04 04:41:18 -07:00
Raymond Hettinger
53d2c41f77
Issue #19414 : Have the OrderedDict mark deleted links as unusable.
...
This gives an earlier and more visible failure if a link is deleted
during iteration.
2014-05-03 21:58:45 -07:00
Ned Deily
71ac07f8ba
Issue #18604 : merge from 3.4
2014-05-03 19:25:34 -07:00
Ned Deily
88b5b6ddf6
Issue #18604 : Skip the Tk instantiation test on OS X because it can
...
cause GUI tests to segfault in Cocoa Tk when run under regrtest -j
(multiple threads running subprocesses).
2014-05-03 19:24:05 -07:00
Raymond Hettinger
3170d1cccb
Issue #21421 : Add __slots__ to the MappingViews ABCs.
2014-05-03 19:06:32 -07:00
Benjamin Peterson
4ce5f3f203
improve idioms ( closes #20642 )
...
Patch by Claudiu Popa.
2014-05-03 20:22:00 -04:00
Benjamin Peterson
98baa14109
merge 3.4
2014-05-03 20:18:56 -04:00
Benjamin Peterson
3d678e3b12
use with blocks to make sure files are closed
2014-05-03 20:18:50 -04:00
Benjamin Peterson
644bb49a45
merge 3.4 ( #21357 )
2014-05-03 20:16:59 -04:00
Benjamin Peterson
f24600eb64
improve test coverage of filecmp ( closes #21357 )
...
Patch by Diana Clarke.
2014-05-03 20:07:16 -04:00
Zachary Ware
cb2ad801ac
Closes #18604 : Merge with 3.4
2014-05-02 10:52:12 -05:00
Zachary Ware
ceced6bfea
Issue #18604 : Consolidated checks for GUI availability.
...
test_support._is_gui_available is now defined the same way on every
platform, and now includes the Windows-specific check that had been in the
Windows version of _is_gui_available and the OSX-specific check that was
in tkinter.test.support.check_tk_availability. Also, every platform
checks whether Tk can be instantiated (if the platform-specific checks
passed).
2014-05-02 10:51:07 -05:00
Stefan Krah
6b794b8b59
Fix typo and tests without docstrings.
2014-05-01 17:42:33 +02:00
Stefan Krah
5de1f82464
Issue #21407 : _decimal now supports function signatures.
2014-05-01 15:53:42 +02:00
Stefan Krah
b151f8f60b
Issue #10650 : Remove the non-standard 'watchexp' parameter from the
...
Decimal.quantize() method in the Python version. It had never been
present in the C version.
2014-04-30 19:15:38 +02:00
Stefan Krah
8fb74a35da
Issue #21374 : Fix pickling of DecimalTuple.
2014-04-29 18:24:50 +02:00
Stefan Krah
f1d4e42195
Issue #21374 : Fix pickling of DecimalTuple.
2014-04-29 18:23:35 +02:00
Jesus Cea
ae43046b61
MERGE: Closes issue #21316 : mark test_devpoll to be meaningfull only for Solaris
2014-04-29 18:18:58 +02:00
Jesus Cea
da25109fbc
Closes issue #21316 : mark test_devpoll to be meaningfull only for Solaris
2014-04-29 18:18:37 +02:00