]> granicus.if.org Git - python/log
python
10 years agoUpdate setuptools to 18.0.1 and pip to 7.1.0
Donald Stufft [Wed, 1 Jul 2015 15:29:34 +0000 (11:29 -0400)]
Update setuptools to 18.0.1 and pip to 7.1.0

10 years agoIssue #24467: Fixed possible buffer over-read in bytearray. The bytearray
Serhiy Storchaka [Mon, 29 Jun 2015 18:13:54 +0000 (21:13 +0300)]
Issue #24467: Fixed possible buffer over-read in bytearray. The bytearray
object now always allocates place for trailing null byte and it's buffer now
is always null-terminated.

10 years agoIssue #20387: Backport fix from Python 3.4
Jason R. Coombs [Sun, 28 Jun 2015 17:05:19 +0000 (13:05 -0400)]
Issue #20387: Backport fix from Python 3.4

10 years agoIssue #20387: Backport test from Python 3.4
Jason R. Coombs [Sun, 28 Jun 2015 17:03:26 +0000 (13:03 -0400)]
Issue #20387: Backport test from Python 3.4

10 years agoIssue #24456: Fixed possible buffer over-read in adpcm2lin() and lin2adpcm()
Serhiy Storchaka [Sun, 28 Jun 2015 14:51:40 +0000 (17:51 +0300)]
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.

10 years agoIssue #24336: Backported test for contextmanager. Patch by Martin Panter.
Serhiy Storchaka [Sun, 28 Jun 2015 14:11:51 +0000 (17:11 +0300)]
Issue #24336: Backported test for contextmanager.  Patch by Martin Panter.

10 years agoensure internal buffer is large enough for string after flushing (closes #24481)
Benjamin Peterson [Sat, 27 Jun 2015 19:52:41 +0000 (14:52 -0500)]
ensure internal buffer is large enough for string after flushing (closes #24481)

10 years agoIssue #24496: Backport gzip examples to Python 2.
Berker Peksag [Thu, 25 Jun 2015 20:57:42 +0000 (23:57 +0300)]
Issue #24496: Backport gzip examples to Python 2.

gzip.open() supports context management protocol in Python 2, so it's better to
use it in the examples section.

Patch by Jakub Kadlčík.

10 years agoIssue #23684: Clarify the return value of the scheme attribute of ParseResult and...
Berker Peksag [Thu, 25 Jun 2015 20:47:43 +0000 (23:47 +0300)]
Issue #23684: Clarify the return value of the scheme attribute of ParseResult and SplitResult objects.

Patch by Martin Panter.

10 years agoIssue #24497: update link in test_decimal comments
Ned Deily [Wed, 24 Jun 2015 20:36:53 +0000 (13:36 -0700)]
Issue #24497: update link in test_decimal comments

10 years agoIssue #24489: ensure a previously set C errno doesn't disturb cmath.polar().
Antoine Pitrou [Tue, 23 Jun 2015 12:31:11 +0000 (14:31 +0200)]
Issue #24489: ensure a previously set C errno doesn't disturb cmath.polar().

10 years agoIssue #24408: Prevent test_font failures with non-ascii font names.
Ned Deily [Sun, 21 Jun 2015 20:57:30 +0000 (13:57 -0700)]
Issue #24408: Prevent test_font failures with non-ascii font names.

10 years agoAdded the const qualifier for char* argument of Py_EnterRecursiveCall().
Serhiy Storchaka [Sun, 21 Jun 2015 13:26:28 +0000 (16:26 +0300)]
Added the const qualifier for char* argument of Py_EnterRecursiveCall().

10 years agoIssue #24408: Fixed test for tkinter.Font on OS X.
Serhiy Storchaka [Sun, 21 Jun 2015 11:41:36 +0000 (14:41 +0300)]
Issue #24408: Fixed test for tkinter.Font on OS X.
Based on patch by Martin Panter.

10 years agoDeprecate unused scripts in Tools/buildbot.
Zachary Ware [Tue, 16 Jun 2015 15:56:14 +0000 (10:56 -0500)]
Deprecate unused scripts in Tools/buildbot.

I would just outright delete them, but the readme in PCbuild recommended
their use, so I figure it would be nice to leave them there for a while.

10 years agoUpdate PCbuild/readme.txt
Zachary Ware [Tue, 16 Jun 2015 15:54:48 +0000 (10:54 -0500)]
Update PCbuild/readme.txt

It now recommends PCbuild/get_externals.bat instead of the scripts in
Tools/buildbot.

10 years agoIssue #24443: Fix links for Event.clear() and Event.wait() methods.
Berker Peksag [Sat, 13 Jun 2015 08:05:31 +0000 (11:05 +0300)]
Issue #24443: Fix links for Event.clear() and Event.wait() methods.

Patch by Jaivish Kothari.

10 years agowhitespace
Terry Jan Reedy [Fri, 12 Jun 2015 20:47:03 +0000 (16:47 -0400)]
whitespace

10 years agoIssue #24406: Add sentences on dict comparisons, similar to those for Sequence
Terry Jan Reedy [Fri, 12 Jun 2015 20:38:51 +0000 (16:38 -0400)]
Issue #24406: Add sentences on dict comparisons, similar to those for Sequence
and set comparisions.  Patch by Gareth Rees.

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