Commit Graph

79088 Commits

Author SHA1 Message Date
Ned Deily 14c9ea6e8e Issue #24357: Change host in socket.getaddrinfo example to one that
does support IPv6 and IPv4; www.python.org currently does not.
2015-06-01 18:45:49 -07:00
Benjamin Peterson cc06dbfc73 sync opcode prediction code with python 3 2015-06-01 18:24:31 -05: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 5127ed727c Issue #24115: Update uses of PyObject_IsTrue(), PyObject_Not(),
PyObject_IsInstance(), PyObject_RichCompareBool() and _PyDict_Contains()
to check for and handle errors correctly.
2015-05-30 17:45:12 +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
Benjamin Peterson 2c992a0788 backport computed gotos (#4753) 2015-05-28 12:45:31 -05:00
Benjamin Peterson 78ba242403 update for 3.6 emerging 2015-05-27 18:32:25 -05:00
Ned Deily ad73b5ad58 Issue 24304: Fix broken license link in FAQ. 2015-05-27 15:36:39 -07:00
Raymond Hettinger 1a7c3571c7 Issue #24286: Register dict views with the MappingView ABCs. 2015-05-26 01:35:54 -07:00
Serhiy Storchaka 902176be89 Moved Misc/NEWS entries to correct section and fix formatting. 2015-05-26 10:20:11 +03:00
Benjamin Peterson fdd70ae453 keep distutils version in sync with python version automatically 2015-05-25 21:24:00 -05:00
Serhiy Storchaka 91421680be Remove UTF-8 BOMs. 2015-05-25 12:27:39 +03:00
Terry Jan Reedy 3dc4082cbe Update idlelib/NEWS.txt. 2015-05-23 17:23:23 -04:00
Terry Jan Reedy 13ab3a46ae Make expression legal python by adding '1'. 2015-05-23 16:16:23 -04:00
Benjamin Peterson 60ab9ccf56 2.7.10+ 2015-05-23 11:03:53 -05:00
Benjamin Peterson 5bd3be83fa merge 2.7.10 release branch 2015-05-23 11:03:20 -05:00
Benjamin Peterson 5546face6e Added tag v2.7.10 for changeset 15c95b7d81dc 2015-05-23 11:02:34 -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 0ad379cc8f Fixed issue number for issue #22939. 2015-05-21 20:54:26 +03:00
Serhiy Storchaka d43e928753 Issue #23985: Fixed integer overflow in iterator object. Original patch by
Clement Rouault.
2015-05-21 20:49:34 +03: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 25598f35d7 Issue #24091: Fixed various crashes in corner cases in cElementTree. 2015-05-18 18:28:57 +03: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
Terry Jan Reedy 84924e6e92 Issue #22155: Add File Handlers subsection with createfilehandler to Tkinter
doc.  Remove obsolete example from FAQ.  Patch by Martin Panter.
2015-05-17 14:49:20 -04: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