]> granicus.if.org Git - python/log
python
10 years agoFixed indentation of Python examples in C comments.
Serhiy Storchaka [Wed, 10 Jun 2015 21:06:27 +0000 (00:06 +0300)]
Fixed indentation of Python examples in C comments.

10 years agoClean up/refactor the batch scripts used for building on Windows.
Zachary Ware [Tue, 9 Jun 2015 20:21:39 +0000 (15:21 -0500)]
Clean up/refactor the batch scripts used for building on Windows.

This is mostly a backport of issue #21907, but also includes a few
extras necessary to make the bulidbot scripts as thin as possible.

10 years agoIssue #24408: Added more tkinter.Font tests.
Serhiy Storchaka [Tue, 9 Jun 2015 04:21:31 +0000 (07:21 +0300)]
Issue #24408: Added more tkinter.Font tests.

10 years agoIssue 24385: Adds "--as-flags=--32" when generating 32-bit MinGW library.
Steve Dower [Mon, 8 Jun 2015 16:57:04 +0000 (09:57 -0700)]
Issue 24385: Adds "--as-flags=--32" when generating 32-bit MinGW library.

10 years agoIssue #24299: Fixed test__locale on Solaris.
Serhiy Storchaka [Mon, 8 Jun 2015 15:48:33 +0000 (18:48 +0300)]
Issue #24299: Fixed test__locale on Solaris.

10 years agothat this is "for Python" is obvious
Benjamin Peterson [Sat, 6 Jun 2015 02:03:08 +0000 (21:03 -0500)]
that this is "for Python" is obvious

10 years agoGenerates installer product codes for future releases.
Steve Dower [Wed, 3 Jun 2015 15:58:14 +0000 (08:58 -0700)]
Generates installer product codes for future releases.

10 years agoUpgrade pip to 7.0.3 and setuptools to 17.0
Donald Stufft [Tue, 2 Jun 2015 15:38:01 +0000 (11:38 -0400)]
Upgrade pip to 7.0.3 and setuptools to 17.0

10 years agoIssue #24267 - Ensure that pip version check is disabled on uninstall
Donald Stufft [Tue, 2 Jun 2015 14:54:37 +0000 (10:54 -0400)]
Issue #24267 - Ensure that pip version check is disabled on uninstall

10 years agoIssue #24357: use example.org instead
Ned Deily [Tue, 2 Jun 2015 04:17:14 +0000 (21:17 -0700)]
Issue #24357: use example.org instead

10 years agoIssue #24357: Change host in socket.getaddrinfo example to one that
Ned Deily [Tue, 2 Jun 2015 01:45:49 +0000 (18:45 -0700)]
Issue #24357: Change host in socket.getaddrinfo example to one that
does support IPv6 and IPv4; www.python.org currently does not.

10 years agosync opcode prediction code with python 3
Benjamin Peterson [Mon, 1 Jun 2015 23:24:31 +0000 (18:24 -0500)]
sync opcode prediction code with python 3

10 years agoIssue #19543: Emit deprecation warning for known non-text encodings.
Serhiy Storchaka [Sun, 31 May 2015 17:21:00 +0000 (20:21 +0300)]
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.

10 years agoFixed test_audioop for issue #24326.
Serhiy Storchaka [Sun, 31 May 2015 09:05:40 +0000 (12:05 +0300)]
Fixed test_audioop for issue #24326.
24-bit samples are not supported in 2.7.

10 years agoFixed the array module in unicode disabled build (regression of issue20014).
Serhiy Storchaka [Sun, 31 May 2015 08:56:48 +0000 (11:56 +0300)]
Fixed the array module in unicode disabled build (regression of issue20014).

10 years agoIssue #24264: Fixed buffer overflow in the imageop module.
Serhiy Storchaka [Sun, 31 May 2015 06:05:10 +0000 (09:05 +0300)]
Issue #24264: Fixed buffer overflow in the imageop module.

10 years agoIssue #21853: Fixed the inspect module in unicode disabled build.
Serhiy Storchaka [Sun, 31 May 2015 05:01:00 +0000 (08:01 +0300)]
Issue #21853: Fixed the inspect module in unicode disabled build.

10 years agoIssue #5633: Fixed timeit when the statement is a string and the setup is not.
Serhiy Storchaka [Sat, 30 May 2015 16:37:19 +0000 (19:37 +0300)]
Issue #5633: Fixed timeit when the statement is a string and the setup is not.

10 years agoIssue #24115: Update uses of PyObject_IsTrue(), PyObject_Not(),
Serhiy Storchaka [Sat, 30 May 2015 14:45:12 +0000 (17:45 +0300)]
Issue #24115: Update uses of PyObject_IsTrue(), PyObject_Not(),
PyObject_IsInstance(), PyObject_RichCompareBool() and _PyDict_Contains()
to check for and handle errors correctly.

10 years agoIssue #24326: Fixed audioop.ratecv() with non-default weightB argument.
Serhiy Storchaka [Fri, 29 May 2015 21:53:26 +0000 (00:53 +0300)]
Issue #24326: Fixed audioop.ratecv() with non-default weightB argument.
Original patch by David Moore.

10 years agoIssue #22095: Fixed HTTPConnection.set_tunnel with default port. The port
Serhiy Storchaka [Thu, 28 May 2015 19:37:13 +0000 (22:37 +0300)]
Issue #22095: Fixed HTTPConnection.set_tunnel with default port.  The port
value in the host header was set to "None".  Patch by Demian Brecht.

10 years agobackport computed gotos (#4753)
Benjamin Peterson [Thu, 28 May 2015 17:45:31 +0000 (12:45 -0500)]
backport computed gotos (#4753)

10 years agoupdate for 3.6 emerging
Benjamin Peterson [Wed, 27 May 2015 23:32:25 +0000 (18:32 -0500)]
update for 3.6 emerging

10 years agoIssue 24304: Fix broken license link in FAQ.
Ned Deily [Wed, 27 May 2015 22:36:39 +0000 (15:36 -0700)]
Issue 24304: Fix broken license link in FAQ.

10 years agoIssue #24286: Register dict views with the MappingView ABCs.
Raymond Hettinger [Tue, 26 May 2015 08:35:54 +0000 (01:35 -0700)]
Issue #24286: Register dict views with the MappingView ABCs.

10 years agoMoved Misc/NEWS entries to correct section and fix formatting.
Serhiy Storchaka [Tue, 26 May 2015 07:20:11 +0000 (10:20 +0300)]
Moved Misc/NEWS entries to correct section and fix formatting.

10 years agokeep distutils version in sync with python version automatically
Benjamin Peterson [Tue, 26 May 2015 02:24:00 +0000 (21:24 -0500)]
keep distutils version in sync with python version automatically

10 years agoRemove UTF-8 BOMs.
Serhiy Storchaka [Mon, 25 May 2015 09:27:39 +0000 (12:27 +0300)]
Remove UTF-8 BOMs.

10 years agoUpdate idlelib/NEWS.txt.
Terry Jan Reedy [Sat, 23 May 2015 21:23:23 +0000 (17:23 -0400)]
Update idlelib/NEWS.txt.

10 years agoMake expression legal python by adding '1'.
Terry Jan Reedy [Sat, 23 May 2015 20:16:23 +0000 (16:16 -0400)]
Make expression legal python by adding '1'.

10 years ago2.7.10+
Benjamin Peterson [Sat, 23 May 2015 16:03:53 +0000 (11:03 -0500)]
2.7.10+

10 years agomerge 2.7.10 release branch
Benjamin Peterson [Sat, 23 May 2015 16:03:20 +0000 (11:03 -0500)]
merge 2.7.10 release branch

10 years agoAdded tag v2.7.10 for changeset 15c95b7d81dc
Benjamin Peterson [Sat, 23 May 2015 16:02:34 +0000 (11:02 -0500)]
Added tag v2.7.10 for changeset 15c95b7d81dc

10 years agopython 2.7.10 final v2.7.10
Benjamin Peterson [Sat, 23 May 2015 16:02:14 +0000 (11:02 -0500)]
python 2.7.10 final

10 years agomerge 2.7.10 release branch
Benjamin Peterson [Sat, 23 May 2015 15:47:39 +0000 (10:47 -0500)]
merge 2.7.10 release branch

10 years agoallow square brackets in cookie values (#22931)
Benjamin Peterson [Sat, 23 May 2015 15:46:25 +0000 (10:46 -0500)]
allow square brackets in cookie values (#22931)

10 years agoUpgrade pip to 7.0.1
Donald Stufft [Sat, 23 May 2015 00:28:52 +0000 (20:28 -0400)]
Upgrade pip to 7.0.1

10 years agomerge 2.7.10 release branch
Benjamin Peterson [Fri, 22 May 2015 22:55:22 +0000 (17:55 -0500)]
merge 2.7.10 release branch

10 years agomake idlever.py self-updating (closes #24199)
Benjamin Peterson [Fri, 22 May 2015 22:53:06 +0000 (17:53 -0500)]
make idlever.py self-updating (closes #24199)

10 years agoIssue #24257: Fixed segmentation fault in sqlite3.Row constructor with faked
Serhiy Storchaka [Fri, 22 May 2015 08:00:40 +0000 (11:00 +0300)]
Issue #24257: Fixed segmentation fault in sqlite3.Row constructor with faked
cursor type.

10 years agoUpgrade pip to 7.0 and setuptools to 16.0
Donald Stufft [Fri, 22 May 2015 04:43:31 +0000 (00:43 -0400)]
Upgrade pip to 7.0 and setuptools to 16.0

10 years agoFixed issue number for issue #22939.
Serhiy Storchaka [Thu, 21 May 2015 17:54:26 +0000 (20:54 +0300)]
Fixed issue number for issue #22939.

10 years agoIssue #23985: Fixed integer overflow in iterator object. Original patch by
Serhiy Storchaka [Thu, 21 May 2015 17:49:34 +0000 (20:49 +0300)]
Issue #23985: Fixed integer overflow in iterator object.  Original patch by
Clement Rouault.

10 years agoIssue #24134: Use assertRaises() in context manager form in test_slice to
Serhiy Storchaka [Wed, 20 May 2015 15:37:37 +0000 (18:37 +0300)]
Issue #24134: Use assertRaises() in context manager form in test_slice to
avoid passing the test accidently because slice.__hash__ is None.

10 years agoIssue #24245: Eliminated senseless expect clauses that have no any effect in
Serhiy Storchaka [Wed, 20 May 2015 13:14:54 +0000 (16:14 +0300)]
Issue #24245: Eliminated senseless expect clauses that have no any effect in
IDLE.  Patch by Martin Panter.

10 years agoIssue #22107: tempfile.gettempdir() and tempfile.mkdtemp() now try again
Serhiy Storchaka [Tue, 19 May 2015 21:10:56 +0000 (00:10 +0300)]
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.

10 years agoIssue #6598: Increased time precision and random number range in
Serhiy Storchaka [Tue, 19 May 2015 07:09:27 +0000 (10:09 +0300)]
Issue #6598: Increased time precision and random number range in
email.utils.make_msgid() to strengthen the uniqueness of the message ID.

10 years agoIssue #24222: Fix regression introduced with idlelib/PyShell.py future print
Terry Jan Reedy [Mon, 18 May 2015 19:37:37 +0000 (15:37 -0400)]
Issue #24222: Fix regression introduced with idlelib/PyShell.py future print
import.  Idle -c "code", -r file.py again compile with print statement.

10 years agoIssue #24091: Fixed various crashes in corner cases in cElementTree.
Serhiy Storchaka [Mon, 18 May 2015 15:28:57 +0000 (18:28 +0300)]
Issue #24091: Fixed various crashes in corner cases in cElementTree.

10 years agoIssue #24102: Fixed exception type checking in standard error handlers.
Serhiy Storchaka [Mon, 18 May 2015 13:08:38 +0000 (16:08 +0300)]
Issue #24102: Fixed exception type checking in standard error handlers.

10 years agoIssue #23757: Only call the concrete list API for exact lists.
Raymond Hettinger [Sun, 17 May 2015 21:37:39 +0000 (14:37 -0700)]
Issue #23757:  Only call the concrete list API for exact lists.

10 years agoIssue #22155: Add File Handlers subsection with createfilehandler to Tkinter
Terry Jan Reedy [Sun, 17 May 2015 18:49:20 +0000 (14:49 -0400)]
Issue #22155: Add File Handlers subsection with createfilehandler to Tkinter
doc.  Remove obsolete example from FAQ.  Patch by Martin Panter.

10 years agoIssue #15809: IDLE shell now uses locale encoding instead of Latin1 for
Serhiy Storchaka [Sun, 17 May 2015 10:53:54 +0000 (13:53 +0300)]
Issue #15809: IDLE shell now uses locale encoding instead of Latin1 for
decoding unicode literals.

10 years agoIssue #24199: Stop using idelver in aboutdialog.
Terry Jan Reedy [Sat, 16 May 2015 23:28:27 +0000 (19:28 -0400)]
Issue #24199: Stop using idelver in aboutdialog.

10 years agoAdded tests for more builtin types.
Serhiy Storchaka [Sat, 16 May 2015 18:34:56 +0000 (21:34 +0300)]
Added tests for more builtin types.

10 years agoIssue #23964: Update idlelib/idle_test/README.txt. first patch by Al Sweigart.
Terry Jan Reedy [Sat, 16 May 2015 18:23:33 +0000 (14:23 -0400)]
Issue #23964: Update idlelib/idle_test/README.txt. first patch by Al Sweigart.

10 years agoIssue #15267: HTTPConnection.request() now is compatibile with old-style
Serhiy Storchaka [Sat, 16 May 2015 15:58:41 +0000 (18:58 +0300)]
Issue #15267: HTTPConnection.request() now is compatibile with old-style
classes (such as TemporaryFile).  Original patch by Atsuo Ishimoto.

10 years agoIssue #20014: array.array() now accepts unicode typecodes. Based on patch by
Serhiy Storchaka [Sat, 16 May 2015 14:11:41 +0000 (17:11 +0300)]
Issue #20014: array.array() now accepts unicode typecodes.  Based on patch by
Vajrasky Kok.

10 years agoIssue #23637: Showing a warning no longer fails with UnicodeErrror.
Serhiy Storchaka [Sat, 16 May 2015 13:42:18 +0000 (16:42 +0300)]
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.

10 years agoReverted issue #24134 changes.
Serhiy Storchaka [Sat, 16 May 2015 13:21:10 +0000 (16:21 +0300)]
Reverted issue #24134 changes.

10 years agoIssue #23184: idle tests, remove unused names and imports.
Terry Jan Reedy [Sat, 16 May 2015 03:55:15 +0000 (23:55 -0400)]
Issue #23184: idle tests, remove unused names and imports.

10 years agoIssue #23184: idlelib, remove more unused names and imports.
Terry Jan Reedy [Sat, 16 May 2015 03:03:11 +0000 (23:03 -0400)]
Issue #23184: idlelib, remove more unused names and imports.

10 years agomerge 2.7.10 release branch
Benjamin Peterson [Fri, 15 May 2015 16:19:41 +0000 (12:19 -0400)]
merge 2.7.10 release branch

10 years agodeque is not varsized, so using Py_SIZE is nonsensical (closes #24162)
Benjamin Peterson [Fri, 15 May 2015 16:19:18 +0000 (12:19 -0400)]
deque is not varsized, so using Py_SIZE is nonsensical (closes #24162)

10 years agoidlelib: remove unused names and imports (forgot one).
Terry Jan Reedy [Thu, 14 May 2015 22:11:50 +0000 (18:11 -0400)]
idlelib: remove unused names and imports (forgot one).

10 years agoidlelib: remove unused names and imports (one is a duplicate import).
Terry Jan Reedy [Thu, 14 May 2015 22:10:30 +0000 (18:10 -0400)]
idlelib: remove unused names and imports (one is a duplicate import).

10 years ago#19934: fix mangled wording
Andrew Kuchling [Wed, 13 May 2015 15:25:40 +0000 (11:25 -0400)]
#19934: fix mangled wording

10 years agoIssue #22064: Improve the misleading message from 2to3 when skipping optional fixers.
Berker Peksag [Wed, 13 May 2015 10:42:26 +0000 (13:42 +0300)]
Issue #22064: Improve the misleading message from 2to3 when skipping optional fixers.

Patch by Vinod Kurup.

10 years agoIssue #23971: Fix underestimated presizing in dict.fromkeys()
Raymond Hettinger [Wed, 13 May 2015 10:13:28 +0000 (03:13 -0700)]
Issue #23971:  Fix underestimated presizing in dict.fromkeys()

10 years agoIssue #19934: Document *None* as an acceptable input to Counter.most_common([n])
Raymond Hettinger [Wed, 13 May 2015 09:50:57 +0000 (02:50 -0700)]
Issue #19934:  Document *None* as an acceptable input to Counter.most_common([n])

10 years agouse imperative
Benjamin Peterson [Tue, 12 May 2015 23:15:53 +0000 (19:15 -0400)]
use imperative

10 years agoDefend against a mutation during comparison
Raymond Hettinger [Tue, 12 May 2015 03:00:25 +0000 (20:00 -0700)]
Defend against a mutation during comparison

10 years agoIssue #24161: Document that PyIter_Check() returns false positives for old-style...
Raymond Hettinger [Mon, 11 May 2015 17:22:20 +0000 (10:22 -0700)]
Issue #24161:  Document that PyIter_Check() returns false positives for old-style instances.

10 years agoAdds UUIDs for 2.7.10
Steve Dower [Mon, 11 May 2015 02:06:07 +0000 (19:06 -0700)]
Adds UUIDs for 2.7.10

10 years agoadd trailing slash
Benjamin Peterson [Mon, 11 May 2015 01:19:18 +0000 (21:19 -0400)]
add trailing slash

10 years ago - Do not italicize punctuation in the python man page
doko@ubuntu.com [Sun, 10 May 2015 22:00:38 +0000 (00:00 +0200)]
 - Do not italicize punctuation in the python man page

10 years agoadd news section for 2.7.11
Benjamin Peterson [Sun, 10 May 2015 17:16:20 +0000 (13:16 -0400)]
add news section for 2.7.11

10 years agoAdded tag v2.7.10rc1 for changeset 80ccce248ba2
Benjamin Peterson [Sun, 10 May 2015 17:14:43 +0000 (13:14 -0400)]
Added tag v2.7.10rc1 for changeset 80ccce248ba2

10 years agobump version to 2.7.10rc1 v2.7.10rc1
Benjamin Peterson [Sun, 10 May 2015 17:14:16 +0000 (13:14 -0400)]
bump version to 2.7.10rc1

10 years agoupdate pydoc-topics
Benjamin Peterson [Sun, 10 May 2015 17:13:10 +0000 (13:13 -0400)]
update pydoc-topics

10 years agoensure .keywords is always a dict
Benjamin Peterson [Sat, 9 May 2015 04:23:41 +0000 (00:23 -0400)]
ensure .keywords is always a dict

10 years agofix libffi compilation on FreeBSD (#23042)
Benjamin Peterson [Sat, 9 May 2015 01:31:36 +0000 (21:31 -0400)]
fix libffi compilation on FreeBSD (#23042)

Patch from Marc-Andre Lemburg.

10 years agoUpgrade setuptools to 15.2
Donald Stufft [Sat, 9 May 2015 01:28:57 +0000 (21:28 -0400)]
Upgrade setuptools to 15.2

10 years agoMinor updates to the OS X installer ReadMe.rtf.
Ned Deily [Fri, 8 May 2015 21:42:07 +0000 (14:42 -0700)]
Minor updates to the OS X installer ReadMe.rtf.

10 years agoIssue #20274: When calling a _sqlite.Connection, it now complains if passed
Larry Hastings [Fri, 8 May 2015 16:56:29 +0000 (09:56 -0700)]
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.

10 years agoFixed English in error message.
Serhiy Storchaka [Wed, 6 May 2015 16:21:00 +0000 (19:21 +0300)]
Fixed English in error message.

10 years agoIssue #24134: assertRaises() and assertRaisesRegexp() checks are not longer
Serhiy Storchaka [Wed, 6 May 2015 16:10:40 +0000 (19:10 +0300)]
Issue #24134: assertRaises() and assertRaisesRegexp() checks are not longer
successful if the callable is None.

Added tests for assertRaises().

10 years agoIssue #24125: Saved error's line and column numbers when an error is occured
Serhiy Storchaka [Wed, 6 May 2015 06:35:52 +0000 (09:35 +0300)]
Issue #24125: Saved error's line and column numbers when an error is occured
during closing expatreader.  Fixed a regression introduced in issue #23865.

10 years agoupdate example, since python.org is HTTPS-only now (closes #24118)
Benjamin Peterson [Sun, 3 May 2015 17:00:21 +0000 (13:00 -0400)]
update example, since python.org is HTTPS-only now (closes #24118)

10 years agoIssue #23330: h2py now supports arbitrary filenames in #include.
Serhiy Storchaka [Sun, 3 May 2015 12:35:02 +0000 (15:35 +0300)]
Issue #23330: h2py now supports arbitrary filenames in #include.

10 years ago#24108: Update fnmatch.translate example to show correct output.
R David Murray [Sat, 2 May 2015 19:09:22 +0000 (15:09 -0400)]
#24108: Update fnmatch.translate example to show correct output.

Patch by Merlijn van Deen.

10 years ago#24081: Remove obsolete caveat from import docs.
R David Murray [Sat, 2 May 2015 19:02:30 +0000 (15:02 -0400)]
#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.

10 years agoDefer deleted item decref until after the deque is restored to a consistent state.
Raymond Hettinger [Sat, 2 May 2015 17:53:27 +0000 (10:53 -0700)]
Defer deleted item decref until after the deque is restored to a consistent state.

10 years agoIssues #24099, #24100, and #24101: Fix free-after-use bug in heapq.
Raymond Hettinger [Sat, 2 May 2015 17:26:57 +0000 (10:26 -0700)]
Issues #24099, #24100, and #24101: Fix free-after-use bug in heapq.

10 years agoIssue #24060: Made logging.Formatter documentation a little clearer.
Vinay Sajip [Sat, 2 May 2015 08:42:24 +0000 (09:42 +0100)]
Issue #24060: Made logging.Formatter documentation a little clearer.

10 years agoupdate links
Benjamin Peterson [Thu, 30 Apr 2015 21:37:11 +0000 (17:37 -0400)]
update links

10 years agoimprove phrasing
Benjamin Peterson [Wed, 29 Apr 2015 22:00:44 +0000 (18:00 -0400)]
improve phrasing

10 years agoallow 2.7 to be built with asan (closes #24061)
Benjamin Peterson [Mon, 27 Apr 2015 00:33:38 +0000 (20:33 -0400)]
allow 2.7 to be built with asan (closes #24061)

10 years agoremove extern definition, since it's in a header file (closes #24058)
Benjamin Peterson [Sun, 26 Apr 2015 19:55:06 +0000 (15:55 -0400)]
remove extern definition, since it's in a header file (closes #24058)

10 years agoIssue #23356: Simplify convert_arg_line_to_args example.
Berker Peksag [Sun, 26 Apr 2015 09:12:45 +0000 (12:12 +0300)]
Issue #23356: Simplify convert_arg_line_to_args example.

Patch by py.user.