Commit Graph

26602 Commits

Author SHA1 Message Date
Jason R. Coombs eabfe8cc0e Issue #20387: Backport fix from Python 3.4 2015-06-28 13:05:19 -04:00
Jason R. Coombs 33b24f5c09 Issue #20387: Backport test from Python 3.4 2015-06-28 13:03:26 -04:00
Serhiy Storchaka 84af51d1b3 Issue #24456: Fixed possible buffer over-read in adpcm2lin() and lin2adpcm()
functions of the audioop module.  Fixed SystemError when the state is not a
tuple.  Fixed possible memory leak.
2015-06-28 17:51:40 +03:00
Serhiy Storchaka d1d4d8ab99 Issue #24336: Backported test for contextmanager. Patch by Martin Panter. 2015-06-28 17:11:51 +03:00
Benjamin Peterson 1c72acf24c ensure internal buffer is large enough for string after flushing (closes #24481) 2015-06-27 14:52:41 -05:00
Ned Deily 3e5e74ad4c Issue #24497: update link in test_decimal comments 2015-06-24 13:36:53 -07:00
Antoine Pitrou 0d2fac1fba Issue #24489: ensure a previously set C errno doesn't disturb cmath.polar(). 2015-06-23 14:31:11 +02:00
Ned Deily 9487043453 Issue #24408: Prevent test_font failures with non-ascii font names. 2015-06-21 13:57:30 -07:00
Serhiy Storchaka 18d69e0edc Issue #24408: Fixed test for tkinter.Font on OS X.
Based on patch by Martin Panter.
2015-06-21 14:41:36 +03:00
Serhiy Storchaka 66f8d75ba8 Issue #24408: Added more tkinter.Font tests. 2015-06-09 07:21:31 +03:00
Serhiy Storchaka 637c8e88ab Issue #24299: Fixed test__locale on Solaris. 2015-06-08 18:48:33 +03:00
Donald Stufft e629fef213 Upgrade pip to 7.0.3 and setuptools to 17.0 2015-06-02 11:38:01 -04:00
Donald Stufft 69c0d26159 Issue #24267 - Ensure that pip version check is disabled on uninstall 2015-06-02 10:54:37 -04:00
Serhiy Storchaka c7797dc748 Issue #19543: Emit deprecation warning for known non-text encodings.
Backported issues #19619: encode() and decode() methods and constructors
of str, unicode and bytearray classes now emit deprecation warning for known
non-text encodings when Python is ran with the -3 option.

Backported issues #20404: io.TextIOWrapper (and hence io.open()) now uses the
internal codec marking system added to emit deprecation warning for known non-text
encodings at stream construction time when Python is ran with the -3 option.
2015-05-31 20:21:00 +03:00
Serhiy Storchaka cfb7028df4 Fixed test_audioop for issue #24326.
24-bit samples are not supported in 2.7.
2015-05-31 12:05:40 +03:00
Serhiy Storchaka dc967c137c Fixed the array module in unicode disabled build (regression of issue20014). 2015-05-31 11:56:48 +03:00
Serhiy Storchaka 062bed289b Issue #24264: Fixed buffer overflow in the imageop module. 2015-05-31 09:05:10 +03:00
Serhiy Storchaka d6bfa94493 Issue #21853: Fixed the inspect module in unicode disabled build. 2015-05-31 08:01:00 +03:00
Serhiy Storchaka 59ea508bb8 Issue #5633: Fixed timeit when the statement is a string and the setup is not. 2015-05-30 19:37:19 +03:00
Serhiy Storchaka 1e95340bc3 Issue #24326: Fixed audioop.ratecv() with non-default weightB argument.
Original patch by David Moore.
2015-05-30 00:53:26 +03:00
Serhiy Storchaka 9d1de8a2a9 Issue #22095: Fixed HTTPConnection.set_tunnel with default port. The port
value in the host header was set to "None".  Patch by Demian Brecht.
2015-05-28 22:37:13 +03:00
Raymond Hettinger 1a7c3571c7 Issue #24286: Register dict views with the MappingView ABCs. 2015-05-26 01:35:54 -07:00
Benjamin Peterson fdd70ae453 keep distutils version in sync with python version automatically 2015-05-25 21:24:00 -05:00
Terry Jan Reedy 3dc4082cbe Update idlelib/NEWS.txt. 2015-05-23 17:23:23 -04:00
Benjamin Peterson 5bd3be83fa merge 2.7.10 release branch 2015-05-23 11:03:20 -05:00
Benjamin Peterson 5a29c5cc45 python 2.7.10 final 2015-05-23 11:02:14 -05:00
Benjamin Peterson fa3d5b5b95 merge 2.7.10 release branch 2015-05-23 10:47:39 -05:00
Benjamin Peterson ec7abfb58f allow square brackets in cookie values (#22931) 2015-05-23 10:46:25 -05:00
Donald Stufft bd2f9c2194 Upgrade pip to 7.0.1 2015-05-22 20:28:52 -04:00
Benjamin Peterson b1f3797450 merge 2.7.10 release branch 2015-05-22 17:55:22 -05:00
Benjamin Peterson a71a4f4ed3 make idlever.py self-updating (closes #24199) 2015-05-22 17:53:06 -05:00
Serhiy Storchaka 80cb186b49 Issue #24257: Fixed segmentation fault in sqlite3.Row constructor with faked
cursor type.
2015-05-22 11:00:40 +03:00
Donald Stufft d9ac81765e Upgrade pip to 7.0 and setuptools to 16.0 2015-05-22 00:43:31 -04:00
Serhiy Storchaka 3220849524 Issue #24134: Use assertRaises() in context manager form in test_slice to
avoid passing the test accidently because slice.__hash__ is None.
2015-05-20 18:37:37 +03:00
Serhiy Storchaka bc5046634a Issue #24245: Eliminated senseless expect clauses that have no any effect in
IDLE.  Patch by Martin Panter.
2015-05-20 16:14:54 +03:00
Serhiy Storchaka 9eb0c0e73e Issue #22107: tempfile.gettempdir() and tempfile.mkdtemp() now try again
when a directory with the chosen name already exists on Windows as well as
on Unix.  tempfile.mkstemp() now fails early if parent directory is not
valid (not exists or is a file) on Windows.
2015-05-20 00:10:56 +03:00
Serhiy Storchaka 49f2ccf83d Issue #6598: Increased time precision and random number range in
email.utils.make_msgid() to strengthen the uniqueness of the message ID.
2015-05-19 10:09:27 +03:00
Terry Jan Reedy 23120090f5 Issue #24222: Fix regression introduced with idlelib/PyShell.py future print
import.  Idle -c "code", -r file.py again compile with print statement.
2015-05-18 15:37:37 -04:00
Serhiy Storchaka 14e10a19f7 Issue #24102: Fixed exception type checking in standard error handlers. 2015-05-18 16:08:38 +03:00
Raymond Hettinger 51dbc9a4ad Issue #23757: Only call the concrete list API for exact lists. 2015-05-17 14:37:39 -07:00
Serhiy Storchaka 4b2c468e74 Issue #15809: IDLE shell now uses locale encoding instead of Latin1 for
decoding unicode literals.
2015-05-17 13:53:54 +03:00
Terry Jan Reedy c8059e48f2 Issue #24199: Stop using idelver in aboutdialog. 2015-05-16 19:28:27 -04:00
Serhiy Storchaka d6c1c1e3e2 Added tests for more builtin types. 2015-05-16 21:34:56 +03:00
Terry Jan Reedy 848543763f Issue #23964: Update idlelib/idle_test/README.txt. first patch by Al Sweigart. 2015-05-16 14:23:33 -04:00
Serhiy Storchaka 80573bb902 Issue #15267: HTTPConnection.request() now is compatibile with old-style
classes (such as TemporaryFile).  Original patch by Atsuo Ishimoto.
2015-05-16 18:58:41 +03:00
Serhiy Storchaka b70091a8d5 Issue #20014: array.array() now accepts unicode typecodes. Based on patch by
Vajrasky Kok.
2015-05-16 17:11:41 +03:00
Serhiy Storchaka f40fcb33d2 Issue #23637: Showing a warning no longer fails with UnicodeErrror.
Formatting unicode warning in the file with the path containing non-ascii
characters no longer fails with UnicodeErrror.
2015-05-16 16:42:18 +03:00
Serhiy Storchaka 049060c249 Reverted issue #24134 changes. 2015-05-16 16:21:10 +03:00
Terry Jan Reedy d39d962cbd Issue #23184: idle tests, remove unused names and imports. 2015-05-15 23:55:15 -04:00
Terry Jan Reedy 2848925ed2 Issue #23184: idlelib, remove more unused names and imports. 2015-05-15 23:03:11 -04:00