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
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
Brett Cannon
6eaac13c92
Issue #21156 : importlib.abc.InspectLoader.source_to_code() is now a
...
staticmethod.
2014-05-09 12:28:22 -04:00
Zachary Ware
10c2dba8b2
Issue #21141 : The Windows build process no longer attempts to find Perl,
...
instead relying on OpenSSL source being configured and ready to build. The
``PCbuild\build_ssl.py`` script has been re-written and re-named to
``PCbuild\prepare_ssl.py``, and takes care of configuring OpenSSL source
for both 32 and 64 bit platforms. OpenSSL sources obtained from
svn.python.org will always be pre-configured and ready to build.
2014-05-09 09:07:50 -05: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
Charles-François Natali
d30b022b5e
Issue #21037 : Add a build option to enable AddressSanitizer support.
2014-05-08 23:08:51 +01: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
Tim Golden
8c9f480e9c
Issue18314 ACKS & NEWS
2014-05-05 20:59:50 +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
Raymond Hettinger
3170d1cccb
Issue #21421 : Add __slots__ to the MappingViews ABCs.
2014-05-03 19:06:32 -07:00
Raymond Hettinger
4b0b1accb5
Issue #21101 : Eliminate double hashing in the C code for collections.Counter().
2014-05-03 16:41:19 -07:00
Victor Stinner
db067af12a
Issue #21233 : Add new C functions: PyMem_RawCalloc(), PyMem_Calloc(),
...
PyObject_Calloc(), _PyObject_GC_Calloc(). bytes(int) and bytearray(int) are now
using ``calloc()`` instead of ``malloc()`` for large objects which is faster
and use less memory (until the bytearray buffer is filled with data).
2014-05-02 22:31:14 +02: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
5de1f82464
Issue #21407 : _decimal now supports function signatures.
2014-05-01 15:53:42 +02:00
Martin v. Löwis
b9e71d4a55
Merge with 3.4
2014-05-01 15:18:43 +02:00
Antoine Pitrou
161d695fb0
Issue #21377 : PyBytes_Concat() now tries to concatenate in-place when the first argument has a reference count of 1.
...
Patch by Nikolaus Rath.
2014-05-01 14:36:20 +02:00
Martin v. Löwis
3d5c9e2c67
Update to 1.0.1g
2014-05-01 14:28:48 +02:00
Zachary Ware
991fd2888c
Unite 'Build' sections of Misc/NEWS
2014-04-30 16:29:51 -05:00
Zachary Ware
45bc17b6b4
Issue #19962 : The Windows build process now creates "python.bat"
...
in the root of the source tree, which passes all arguments through
to the most recently built interpreter.
2014-04-30 15:47:53 -05: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
Benjamin Peterson
5c2ac8c1c6
setup.py: report modules which built but import failed ( closes #21282 )
...
Patch by Lukas Vacek.
2014-04-30 11:06:16 -04:00
Zachary Ware
e83ce4b90f
Closes #17386 : Merge with 3.4
2014-04-29 09:47:39 -05:00
Zachary Ware
a67b97f438
Issue #17386 : Expand Doc/make.bat to be much more similar to Doc/Makefile
2014-04-29 09:45:33 -05:00
Antoine Pitrou
32497f89bb
Issue #21321 : itertools.islice() now releases the reference to the source iterator when the slice is exhausted.
...
Patch by Anton Afanasyev.
2014-04-29 12:14:47 +02:00
Antoine Pitrou
26f82efe59
Issue #21321 : itertools.islice() now releases the reference to the source iterator when the slice is exhausted.
...
Patch by Anton Afanasyev.
2014-04-29 12:13:46 +02:00
Antoine Pitrou
b8503896ad
Issue #21057 : TextIOWrapper now allows the underlying binary stream's read() or read1() method to return an arbitrary bytes-like object (such as a memoryview).
...
Patch by Nikolaus Rath.
2014-04-29 10:14:02 +02:00
Antoine Pitrou
b4bebdafe3
Issue #20951 : SSLSocket.send() now raises either SSLWantReadError or SSLWantWriteError on a non-blocking socket if the operation would block. Previously, it would return 0.
...
Patch by Nikolaus Rath.
2014-04-29 10:03:28 +02:00
Terry Jan Reedy
c763807d9b
Merge with 3.4
2014-04-29 00:32:17 -04:00
Terry Jan Reedy
43e7cd38e5
Issue #21026 : Augment site doc based on experiments. Patch by Carol Willing.
2014-04-29 00:31:53 -04:00
Giampaolo Rodola'
7971286b6e
merge heads
2014-04-29 02:04:14 +02:00
Giampaolo Rodola'
8af740c46a
fix isuse #13248 : remove previously deprecated asyncore.dispatcher __getattr__ cheap inheritance hack.
2014-04-29 02:03:40 +02:00
Antoine Pitrou
05da1ef40a
Issue #18727 : improve test coverage of the csv module by testing for DictWriter.writerows.
...
Patch by Muhammad Jehanzeb.
2014-04-29 01:58:06 +02:00
Antoine Pitrou
b1e58440f8
Issue #9815 : assertRaises now tries to clear references to local variables in the exception's traceback.
2014-04-29 01:25:07 +02:00
Antoine Pitrou
9681022f1e
Issue #9815 : assertRaises now tries to clear references to local variables in the exception's traceback.
2014-04-29 01:23:50 +02:00
Antoine Pitrou
6999441d62
Issue #20355 : -W command line options now have higher priority than the PYTHONWARNINGS environment variable. Patch by Arfrever.
2014-04-29 00:56:08 +02:00
Antoine Pitrou
285a163a4c
Issue #21312 : Update the thread_foobar.h template file to include newer threading APIs. Patch by Jack McCracken.
2014-04-28 21:12:11 +02:00
Antoine Pitrou
c695c95626
Issue #19940 : ssl.cert_time_to_seconds() now interprets the given time string in the UTC timezone (as specified in RFC 5280), not the local timezone.
...
Patch by Akira.
2014-04-28 20:57:36 +02:00
Antoine Pitrou
3a74ce2088
Issue #13204 : Calling sys.flags.__new__ would crash the interpreter, now it raises a TypeError.
2014-04-28 13:08:28 +02:00
Antoine Pitrou
871dfc41d3
Issue #13204 : Calling sys.flags.__new__ would crash the interpreter, now it raises a TypeError.
2014-04-28 13:07:06 +02:00
Tim Golden
5707ff1925
Backed out changeset: 4b97092aa4bd
2014-04-27 18:35:51 +01:00
Tim Golden
fbf963c064
Backed out changeset: 17df50df62c7
2014-04-27 18:35:36 +01:00