Commit Graph

78853 Commits

Author SHA1 Message Date
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
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
Benjamin Peterson f465e0f929 merge 2.7.10 release branch 2015-05-15 12:19:41 -04:00
Benjamin Peterson 5863a39603 deque is not varsized, so using Py_SIZE is nonsensical (closes #24162) 2015-05-15 12:19:18 -04:00
Terry Jan Reedy 91226cf7ba idlelib: remove unused names and imports (forgot one). 2015-05-14 18:11:50 -04:00
Terry Jan Reedy d8dc7496c5 idlelib: remove unused names and imports (one is a duplicate import). 2015-05-14 18:10:30 -04:00
Andrew Kuchling c711b61ad4 #19934: fix mangled wording 2015-05-13 11:25:40 -04:00
Berker Peksag 73e4f5f6bb Issue #22064: Improve the misleading message from 2to3 when skipping optional fixers.
Patch by Vinod Kurup.
2015-05-13 13:42:26 +03:00
Raymond Hettinger 77b3ae5e2c Issue #23971: Fix underestimated presizing in dict.fromkeys() 2015-05-13 03:13:28 -07:00
Raymond Hettinger bd04919014 Issue #19934: Document *None* as an acceptable input to Counter.most_common([n]) 2015-05-13 02:50:57 -07:00
Benjamin Peterson b9b0a580f2 use imperative 2015-05-12 19:15:53 -04:00
Raymond Hettinger 3aee092ecb Defend against a mutation during comparison 2015-05-11 20:00:25 -07:00
Raymond Hettinger 632d692e29 Issue #24161: Document that PyIter_Check() returns false positives for old-style instances. 2015-05-11 10:22:20 -07:00
Steve Dower 6c42d1c51f Adds UUIDs for 2.7.10 2015-05-10 19:06:07 -07:00
Benjamin Peterson 42e268ee1d add trailing slash 2015-05-10 21:19:18 -04:00
doko@ubuntu.com d29d0393f3 - Do not italicize punctuation in the python man page 2015-05-11 00:00:38 +02:00
Benjamin Peterson ddc6171b59 add news section for 2.7.11 2015-05-10 13:16:20 -04:00
Benjamin Peterson f2fa17ce2a Added tag v2.7.10rc1 for changeset 80ccce248ba2 2015-05-10 13:14:43 -04:00
Benjamin Peterson a40ea98fc1 bump version to 2.7.10rc1 2015-05-10 13:14:16 -04:00
Benjamin Peterson 91fd159935 update pydoc-topics 2015-05-10 13:13:10 -04:00
Benjamin Peterson 72c0141f03 ensure .keywords is always a dict 2015-05-09 00:23:41 -04:00
Benjamin Peterson 36691efe7b fix libffi compilation on FreeBSD (#23042)
Patch from Marc-Andre Lemburg.
2015-05-08 21:31:36 -04:00
Donald Stufft 1c5af3de6d Upgrade setuptools to 15.2 2015-05-08 21:28:57 -04:00
Ned Deily 39e4fcd499 Minor updates to the OS X installer ReadMe.rtf. 2015-05-08 14:42:07 -07:00
Larry Hastings 101b054c32 Issue #20274: When calling a _sqlite.Connection, it now complains if passed
any keyword arguments.  Previously it silently ignored them.  Also: Remove
ignored and erroneous "kwargs" parameters from three METH_VARARGS methods
on _sqlite.Connection.
2015-05-08 09:56:29 -07:00
Serhiy Storchaka 2e2dcf6eac Fixed English in error message. 2015-05-06 19:21:00 +03:00
Serhiy Storchaka 7f71e04cb5 Issue #24134: assertRaises() and assertRaisesRegexp() checks are not longer
successful if the callable is None.

Added tests for assertRaises().
2015-05-06 19:10:40 +03:00
Serhiy Storchaka 3234abb9a0 Issue #24125: Saved error's line and column numbers when an error is occured
during closing expatreader.  Fixed a regression introduced in issue #23865.
2015-05-06 09:35:52 +03:00
Benjamin Peterson 69af580131 update example, since python.org is HTTPS-only now (closes #24118) 2015-05-03 13:00:21 -04:00
Serhiy Storchaka aa767a555b Issue #23330: h2py now supports arbitrary filenames in #include. 2015-05-03 15:35:02 +03:00
R David Murray 10324f88a8 #24108: Update fnmatch.translate example to show correct output.
Patch by Merlijn van Deen.
2015-05-02 15:09:22 -04:00
R David Murray 11d041a045 #24081: Remove obsolete caveat from import docs.
Per Eric Snow's research, this changed in Python 2.4 in changeset 331e60d8ce,
but these docs were not updated.
2015-05-02 15:02:30 -04:00
Raymond Hettinger 79f2c5b8e0 Defer deleted item decref until after the deque is restored to a consistent state. 2015-05-02 10:53:27 -07:00
Raymond Hettinger 89543dd992 Issues #24099, #24100, and #24101: Fix free-after-use bug in heapq. 2015-05-02 10:26:57 -07:00
Vinay Sajip 68099ae7e0 Issue #24060: Made logging.Formatter documentation a little clearer. 2015-05-02 09:42:24 +01:00