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

9 years agoIssue #19176: Fixed doctype() related bugs in C implementation of ElementTree.
Serhiy Storchaka [Mon, 29 Jun 2015 19:35:58 +0000 (22:35 +0300)]
Issue #19176: Fixed doctype() related bugs in C implementation of ElementTree.
A deprecation warning no longer issued by XMLParser subclass with default
doctype() method.  Direct call of doctype() now issues a warning.  Parser's
doctype() now is not called if target's doctype() is called.  Based on patch
by Martin Panter.

9 years agoIssue #24467: Fixed possible buffer over-read in bytearray. The bytearray
Serhiy Storchaka [Mon, 29 Jun 2015 18:14:06 +0000 (21:14 +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.

9 years agoIssue #20387: Merge
Jason R. Coombs [Sun, 28 Jun 2015 15:10:29 +0000 (11:10 -0400)]
Issue #20387: Merge

9 years agoIssue #24456: Fixed possible buffer over-read in adpcm2lin() and lin2adpcm()
Serhiy Storchaka [Sun, 28 Jun 2015 14:52:09 +0000 (17:52 +0300)]
Issue #24456: Fixed possible buffer over-read in adpcm2lin() and lin2adpcm()
functions of the audioop module.

9 years agoIssue #20387: Merge patch and test
Jason R. Coombs [Sun, 28 Jun 2015 14:23:11 +0000 (10:23 -0400)]
Issue #20387: Merge patch and test

9 years agoIssue #24336: The contextmanager decorator now works with functions with
Serhiy Storchaka [Sun, 28 Jun 2015 14:06:07 +0000 (17:06 +0300)]
Issue #24336: The contextmanager decorator now works with functions with
keyword arguments called "func" and "self".  Patch by Martin Panter.

9 years agomerge 3.3
Benjamin Peterson [Sat, 27 Jun 2015 19:26:15 +0000 (14:26 -0500)]
merge 3.3

9 years agoadd issue number
Benjamin Peterson [Sat, 27 Jun 2015 19:25:50 +0000 (14:25 -0500)]
add issue number

9 years agomerge 3.3
Benjamin Peterson [Sat, 27 Jun 2015 18:56:46 +0000 (13:56 -0500)]
merge 3.3

9 years agouse safe allocation and reallocation macros
Benjamin Peterson [Sat, 27 Jun 2015 18:41:33 +0000 (13:41 -0500)]
use safe allocation and reallocation macros

9 years agoIssue #20387: Update Misc/NEWS
Jason R. Coombs [Fri, 26 Jun 2015 21:45:09 +0000 (17:45 -0400)]
Issue #20387: Update Misc/NEWS

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

Patch by Martin Panter.

9 years agoIssue #24509: Clarify Handle.cancel() and loop.call_* methods.
Yury Selivanov [Thu, 25 Jun 2015 17:49:52 +0000 (13:49 -0400)]
Issue #24509: Clarify Handle.cancel() and loop.call_* methods.

9 years agoasyncio.docs: Use less confusing title
Yury Selivanov [Thu, 25 Jun 2015 15:54:34 +0000 (11:54 -0400)]
asyncio.docs: Use less confusing title

9 years agoFix asyncio unittests in debug mode
Yury Selivanov [Wed, 24 Jun 2015 14:45:44 +0000 (10:45 -0400)]
Fix asyncio unittests in debug mode

9 years agoIssue #24400: Fix CoroWrapper for 'async def' coroutines
Yury Selivanov [Wed, 24 Jun 2015 14:30:14 +0000 (10:30 -0400)]
Issue #24400: Fix CoroWrapper for 'async def' coroutines

9 years agoasyncio: Merge changes from issue #24400.
Yury Selivanov [Wed, 24 Jun 2015 13:41:35 +0000 (09:41 -0400)]
asyncio: Merge changes from issue #24400.

9 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().

9 years agoIssue #20387: Restore retention of indentation during untokenize.
Dingyuan Wang [Mon, 22 Jun 2015 02:01:12 +0000 (10:01 +0800)]
Issue #20387: Restore retention of indentation during untokenize.

9 years agoIssue #20387: Correct test to properly capture expectation.
Jason R. Coombs [Fri, 26 Jun 2015 02:42:24 +0000 (22:42 -0400)]
Issue #20387: Correct test to properly capture expectation.

9 years agoFixed documentation of functions with const char* arguments.
Serhiy Storchaka [Sun, 21 Jun 2015 14:11:21 +0000 (17:11 +0300)]
Fixed documentation of functions with const char* arguments.

9 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().

9 years agoIssue #24436: Added const qualifiers for char* arguments of _PyTraceback_Add.
Serhiy Storchaka [Sun, 21 Jun 2015 12:59:46 +0000 (15:59 +0300)]
Issue #24436: Added const qualifiers for char* arguments of _PyTraceback_Add.
Patch by Michael Ensslin.

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

9 years agoIssue #20387: Add test capturing failure to roundtrip indented code in tokenize module.
Jason R. Coombs [Sat, 20 Jun 2015 23:52:22 +0000 (19:52 -0400)]
Issue #20387: Add test capturing failure to roundtrip indented code in tokenize module.

9 years agoRemove unused import and remove doctest-only import into doctests.
Jason R. Coombs [Sat, 20 Jun 2015 23:13:50 +0000 (19:13 -0400)]
Remove unused import and remove doctest-only import into doctests.

9 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.

9 years agoUpdate PCbuild/readme.txt
Zachary Ware [Wed, 17 Jun 2015 04:27:56 +0000 (23:27 -0500)]
Update PCbuild/readme.txt

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

9 years agoBack porting changeset db302b88fdb6 to 3.4 branch, which fixed multiple documentation...
Senthil Kumaran [Mon, 15 Jun 2015 00:35:37 +0000 (17:35 -0700)]
Back porting changeset db302b88fdb6 to 3.4 branch, which fixed multiple documentation typos.

Related Issues:

#issue21528
#issue24453

9 years agoIssue #24453: Fix doubled word.
Raymond Hettinger [Sun, 14 Jun 2015 23:08:06 +0000 (16:08 -0700)]
Issue #24453:  Fix doubled word.

9 years agoIssue #24435: Use the devguide link instead of PEP 306 in Grammar/Grammar.
Berker Peksag [Sat, 13 Jun 2015 08:18:33 +0000 (11:18 +0300)]
Issue #24435: Use the devguide link instead of PEP 306 in Grammar/Grammar.

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

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

9 years agoIssue #15745: Rewrite os.utime() tests in test_os
Victor Stinner [Fri, 12 Jun 2015 19:58:00 +0000 (21:58 +0200)]
Issue #15745: Rewrite os.utime() tests in test_os

* Don't use the timestamp of an existing file anymore, only use fixed
  timestamp
* Enhance the code checking the resolution of the filesystem timestamps.
* Check timestamps with a resolution of 1 microsecond instead of 1 millisecond
* When os.utime() uses the current system clock, tolerate a delta of 20 ms.
  Before some os.utime() tolerated a different of 10 seconds.
* Merge duplicated tests and simplify the code

9 years agoCloses issue #24405: mark set display as code.
Terry Jan Reedy [Fri, 12 Jun 2015 19:44:45 +0000 (15:44 -0400)]
Closes issue #24405: mark set display as code.

9 years agoFixed indentation of Python examples in C comments.
Serhiy Storchaka [Wed, 10 Jun 2015 21:06:39 +0000 (00:06 +0300)]
Fixed indentation of Python examples in C comments.

9 years agoClean up/refactor the batch scripts used for building on Windows.
Zachary Ware [Wed, 10 Jun 2015 04:16:52 +0000 (23:16 -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.

9 years ago- Issue #24351: Clarify what is meant by "identifier" in the context of
Barry Warsaw [Tue, 9 Jun 2015 18:20:31 +0000 (14:20 -0400)]
- Issue #24351: Clarify what is meant by "identifier" in the context of
  string.Template instances.

9 years ago#23891: correctly refer to PyPI as "Python Package Index"
Tal Einat [Tue, 9 Jun 2015 15:40:16 +0000 (18:40 +0300)]
#23891: correctly refer to PyPI as "Python Package Index"

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

9 years ago#23891: remove extra words
Andrew Kuchling [Mon, 8 Jun 2015 22:17:06 +0000 (18:17 -0400)]
#23891: remove extra words

9 years ago#23891: add a section to the Tutorial describing virtual environments and pip
Andrew Kuchling [Mon, 8 Jun 2015 21:35:45 +0000 (17:35 -0400)]
#23891: add a section to the Tutorial describing virtual environments and pip

9 years agoAdd link to pyvideoorg
Andrew Kuchling [Sun, 7 Jun 2015 07:00:58 +0000 (03:00 -0400)]
Add link to pyvideoorg

9 years ago#23891: rework discussion of python-list a bit
Andrew Kuchling [Sun, 7 Jun 2015 00:25:21 +0000 (20:25 -0400)]
#23891: rework discussion of python-list a bit

9 years agoIssue 24366: Indent code (thanks to li4ick for reporting).
Yury Selivanov [Tue, 2 Jun 2015 22:53:46 +0000 (18:53 -0400)]
Issue 24366: Indent code (thanks to li4ick for reporting).

9 years agomerge 3.2
Benjamin Peterson [Tue, 26 May 2015 02:24:26 +0000 (21:24 -0500)]
merge 3.2

9 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

9 years agomerge 3.2 (#22931)
Benjamin Peterson [Sat, 23 May 2015 15:38:48 +0000 (10:38 -0500)]
merge 3.2 (#22931)

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

9 years agobe more robust against the filters list changing under us (closes #24096)
Benjamin Peterson [Sun, 3 May 2015 15:23:37 +0000 (11:23 -0400)]
be more robust against the filters list changing under us (closes #24096)

9 years agojust sort the items tuple directly (closes #24094)
Benjamin Peterson [Sun, 3 May 2015 02:28:04 +0000 (22:28 -0400)]
just sort the items tuple directly (closes #24094)

9 years agomerge 3.2 (#24044)
Benjamin Peterson [Thu, 23 Apr 2015 21:05:07 +0000 (17:05 -0400)]
merge 3.2 (#24044)

9 years agoproperly handle malloc failure (closes #24044)
Benjamin Peterson [Thu, 23 Apr 2015 21:04:36 +0000 (17:04 -0400)]
properly handle malloc failure (closes #24044)

Patch by Christian Heimes.

9 years agoIssue #23998: PyImport_ReInitLock() now checks for lock allocation error
Christian Heimes [Sun, 19 Apr 2015 19:08:42 +0000 (21:08 +0200)]
Issue #23998: PyImport_ReInitLock() now checks for lock allocation error

9 years ago#23891: describe a few more modules in the tutorial
Andrew Kuchling [Fri, 10 Apr 2015 02:20:01 +0000 (22:20 -0400)]
#23891: describe a few more modules in the tutorial

9 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.

9 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

9 years agoIssue #23659: Document **fmtparams in csv.register_dialect docstring.
Berker Peksag [Fri, 5 Jun 2015 12:17:51 +0000 (15:17 +0300)]
Issue #23659: Document **fmtparams in csv.register_dialect docstring.

Initial patch by Brandon Milam.

9 years agoIssue #24148: Fix incorrect Stats.sort_stats() example.
Berker Peksag [Fri, 5 Jun 2015 11:48:29 +0000 (14:48 +0300)]
Issue #24148: Fix incorrect Stats.sort_stats() example.

"cum" is not a valid argument.

Patch by Brandon Milam.

9 years agoIssue 24366: Merge 3.3
Yury Selivanov [Tue, 2 Jun 2015 22:54:09 +0000 (18:54 -0400)]
Issue 24366: Merge 3.3

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

9 years agoCloses #24267 - Does not check version on ensurepip uninstall
Donald Stufft [Tue, 2 Jun 2015 14:37:08 +0000 (10:37 -0400)]
Closes #24267 - Does not check version on ensurepip uninstall

Ensure that the uninstall helper for Windows passes the proper
flags to pip to prevent it from checking PyPI if the pip that
we're currently attempting to uninstall is the latest verison.

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

9 years agoIssue #24357: fix real typo
Ned Deily [Tue, 2 Jun 2015 02:37:40 +0000 (19:37 -0700)]
Issue #24357: fix real typo

9 years agoIssue #24357: fix typo
Ned Deily [Tue, 2 Jun 2015 02:17:44 +0000 (19:17 -0700)]
Issue #24357: fix typo

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

9 years agoIssue 24017: Fix asyncio.CoroWrapper to support 'async def' coroutines
Yury Selivanov [Mon, 1 Jun 2015 01:37:09 +0000 (21:37 -0400)]
Issue 24017: Fix asyncio.CoroWrapper to support 'async def' coroutines

9 years agoIssue 24004: Support Awaitables (pep 492) in @asyncio.coroutine decorator
Yury Selivanov [Sun, 31 May 2015 01:02:12 +0000 (21:02 -0400)]
Issue 24004: Support Awaitables (pep 492) in @asyncio.coroutine decorator

9 years agoIssue 22357: Document __qualname__ in inspect.rst
Yury Selivanov [Sat, 30 May 2015 17:53:49 +0000 (13:53 -0400)]
Issue 22357: Document __qualname__ in inspect.rst

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

9 years agoIssue #24115: Update uses of PyObject_IsTrue(), PyObject_Not(),
Serhiy Storchaka [Sat, 30 May 2015 14:45:22 +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.

9 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.

9 years agoasyncio: Drop some useless code from tasks.py.
Yury Selivanov [Thu, 28 May 2015 14:52:19 +0000 (10:52 -0400)]
asyncio: Drop some useless code from tasks.py.

See also issue 24017.

9 years agoIssue 24298: Fix signature() to properly unwrap wrappers around bound methods
Yury Selivanov [Thu, 28 May 2015 01:56:53 +0000 (21:56 -0400)]
Issue 24298: Fix signature() to properly unwrap wrappers around bound methods

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

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

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

9 years agomerge 3.3
Benjamin Peterson [Tue, 26 May 2015 02:24:48 +0000 (21:24 -0500)]
merge 3.3

9 years agoIssue #23840: tokenize.open() now closes the temporary binary file on error to
Victor Stinner [Mon, 25 May 2015 22:43:58 +0000 (00:43 +0200)]
Issue #23840: tokenize.open() now closes the temporary binary file on error to
fix a resource warning.

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

9 years agowhitespace
Terry Jan Reedy [Sat, 23 May 2015 22:15:18 +0000 (18:15 -0400)]
whitespace

9 years agoAdd pointer to IDLE what's new file.
Terry Jan Reedy [Sat, 23 May 2015 22:13:14 +0000 (18:13 -0400)]
Add pointer to IDLE what's new file.

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

9 years agoAdd NEWS item for Idle.
Terry Jan Reedy [Sat, 23 May 2015 21:12:48 +0000 (17:12 -0400)]
Add NEWS item for Idle.

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

9 years agomerge 3.3 (#22931)
Benjamin Peterson [Sat, 23 May 2015 15:40:47 +0000 (10:40 -0500)]
merge 3.3 (#22931)

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

9 years agoIssue #24219: Remove duplicate literal in docs.
Raymond Hettinger [Fri, 22 May 2015 23:37:49 +0000 (16:37 -0700)]
Issue #24219: Remove duplicate literal in docs.

9 years agoIssue #24257: Fixed incorrect uses of PyObject_IsInstance().
Serhiy Storchaka [Fri, 22 May 2015 08:02:49 +0000 (11:02 +0300)]
Issue #24257: Fixed incorrect uses of PyObject_IsInstance().
Fixed segmentation fault in sqlite3.Row constructor with faked cursor type.
Fixed system error in the comparison of faked types.SimpleNamespace.

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

9 years agoIssue 23898: Fix inspect.classify_class_attrs() to work with __eq__
Yury Selivanov [Thu, 21 May 2015 19:41:57 +0000 (15:41 -0400)]
Issue 23898: Fix inspect.classify_class_attrs() to work with __eq__

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

9 years agoIssue #23985: Fixed integer overflow in iterator object. Patch by
Serhiy Storchaka [Thu, 21 May 2015 17:50:25 +0000 (20:50 +0300)]
Issue #23985: Fixed integer overflow in iterator object.  Patch by
Clement Rouault.

9 years agoIssue 24215: Added tests for more builtin types in test_pprint.
Serhiy Storchaka [Wed, 20 May 2015 16:37:10 +0000 (19:37 +0300)]
Issue 24215: Added tests for more builtin types in test_pprint.
Made test_pprint and test_trace discoverable.

9 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.

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

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

9 years agoFix some compilation warnings when using gcc (-Wmaybe-uninitialized).
Antoine Pitrou [Tue, 19 May 2015 19:04:33 +0000 (21:04 +0200)]
Fix some compilation warnings when using gcc (-Wmaybe-uninitialized).

9 years agoIssue #23985: Fix a possible buffer overrun when deleting a slice from the front...
Antoine Pitrou [Tue, 19 May 2015 18:52:27 +0000 (20:52 +0200)]
Issue #23985: Fix a possible buffer overrun when deleting a slice from the front of a bytearray and then appending some other bytes data.

Patch by Martin Panter.