]> granicus.if.org Git - python/log
python
9 years agoUndo inadvertent line swap
Raymond Hettinger [Mon, 14 Dec 2015 03:27:17 +0000 (19:27 -0800)]
Undo inadvertent line swap

9 years agoHoist constant expressions (so->table and so->mask) out of the inner-loop.
Raymond Hettinger [Mon, 14 Dec 2015 02:45:01 +0000 (18:45 -0800)]
Hoist constant expressions (so->table and so->mask) out of the inner-loop.

9 years agoMerge 3.5
Victor Stinner [Sun, 13 Dec 2015 23:22:10 +0000 (00:22 +0100)]
Merge 3.5

9 years agoIssue #25846: Fix usage of Py_ARRAY_LENGTH() in win32_wchdir() (new try)
Victor Stinner [Sun, 13 Dec 2015 23:21:50 +0000 (00:21 +0100)]
Issue #25846: Fix usage of Py_ARRAY_LENGTH() in win32_wchdir() (new try)

9 years agoMerge: #25495: Clarify b2a_base64 documentation vis 57 bytes.
R David Murray [Sun, 13 Dec 2015 23:11:07 +0000 (18:11 -0500)]
Merge: #25495: Clarify b2a_base64 documentation vis 57 bytes.

In 3.6 the parameter to control the appending of the newline was finally
added, so I dropped the historical note about why a new line was always
appended.

9 years agoMerge: #25495: Clarify b2a_base64 documentation vis 57 bytes.
R David Murray [Sun, 13 Dec 2015 23:04:56 +0000 (18:04 -0500)]
Merge: #25495: Clarify b2a_base64 documentation vis 57 bytes.

9 years ago#25495: Clarify b2a_base64 documentation vis 57 bytes.
R David Murray [Sun, 13 Dec 2015 23:04:27 +0000 (18:04 -0500)]
#25495: Clarify b2a_base64 documentation vis 57 bytes.

9 years ago(Merge 3.5) Issue #25846: Fix usage of Py_ARRAY_LENGTH() in win32_wchdir()
Victor Stinner [Sun, 13 Dec 2015 20:41:12 +0000 (21:41 +0100)]
(Merge 3.5) Issue #25846: Fix usage of Py_ARRAY_LENGTH() in win32_wchdir()

9 years agoIssue #25846: Fix usage of Py_ARRAY_LENGTH() in win32_wchdir()
Victor Stinner [Sun, 13 Dec 2015 20:40:26 +0000 (21:40 +0100)]
Issue #25846: Fix usage of Py_ARRAY_LENGTH() in win32_wchdir()

9 years agoMerge 3.5
Victor Stinner [Sun, 13 Dec 2015 20:26:34 +0000 (21:26 +0100)]
Merge 3.5

9 years agoIssue #25696: Don't ignore errors in 'make bininstall' on creating $(LIBPC) directory
Victor Stinner [Sun, 13 Dec 2015 20:26:17 +0000 (21:26 +0100)]
Issue #25696: Don't ignore errors in 'make bininstall' on creating $(LIBPC) directory

9 years ago(Merge 3.5) Issue #25696: Fix installation of Python on UNIX with make -j9.
Victor Stinner [Sun, 13 Dec 2015 20:21:36 +0000 (21:21 +0100)]
(Merge 3.5) Issue #25696: Fix installation of Python on UNIX with make -j9.

9 years agoIssue #25696: Fix installation of Python on UNIX with make -j9.
Victor Stinner [Sun, 13 Dec 2015 20:20:36 +0000 (21:20 +0100)]
Issue #25696: Fix installation of Python on UNIX with make -j9.

9 years agoFixes #25844: Merged fix from 3.5.
Vinay Sajip [Sun, 13 Dec 2015 09:45:19 +0000 (09:45 +0000)]
Fixes #25844: Merged fix from 3.5.

9 years agoFixes #25844: Corrected =/== typo potentially leading to crash in launcher.
Vinay Sajip [Sun, 13 Dec 2015 09:44:15 +0000 (09:44 +0000)]
Fixes #25844: Corrected =/== typo potentially leading to crash in launcher.

9 years agoFixes #25844: Corrected =/== typo potentially leading to crash in launcher.
Vinay Sajip [Sun, 13 Dec 2015 09:41:29 +0000 (09:41 +0000)]
Fixes #25844: Corrected =/== typo potentially leading to crash in launcher.

9 years agoSync asyncio with upstream git repo (conditional import in test_pep492.py). (Merge...
Guido van Rossum [Sun, 13 Dec 2015 01:02:15 +0000 (17:02 -0800)]
Sync asyncio with upstream git repo (conditional import in test_pep492.py). (Merge 3.5->3.6)

9 years agoSync asyncio with upstream git repo (conditional import in test_pep492.py).
Guido van Rossum [Sun, 13 Dec 2015 01:01:47 +0000 (17:01 -0800)]
Sync asyncio with upstream git repo (conditional import in test_pep492.py).

9 years agoIssue #19771: Merge runpy error adjustment from 3.5
Martin Panter [Sat, 12 Dec 2015 07:16:33 +0000 (07:16 +0000)]
Issue #19771: Merge runpy error adjustment from 3.5

9 years agoIssue #25845: Merge PyLong_Check() cleanup from 3.5
Martin Panter [Sat, 12 Dec 2015 07:14:03 +0000 (07:14 +0000)]
Issue #25845: Merge PyLong_Check() cleanup from 3.5

9 years agoIssue #25809: Merge French locale test from 3.5
Martin Panter [Sat, 12 Dec 2015 07:13:10 +0000 (07:13 +0000)]
Issue #25809: Merge French locale test from 3.5

9 years agoIssue #19771: Omit irrelevant message if package could not be initialized
Martin Panter [Sat, 12 Dec 2015 06:58:55 +0000 (06:58 +0000)]
Issue #19771: Omit irrelevant message if package could not be initialized

9 years agoIssue #25845: Drop redundant checks leftover from int to long conversion
Martin Panter [Sat, 12 Dec 2015 06:57:13 +0000 (06:57 +0000)]
Issue #25845: Drop redundant checks leftover from int to long conversion

9 years agoIssue #25809: Skip testing platform-dependent French thousands separator
Martin Panter [Sat, 12 Dec 2015 06:53:34 +0000 (06:53 +0000)]
Issue #25809: Skip testing platform-dependent French thousands separator

9 years agoIssue #25755: Move PropertyWritableDoc into the test case
Berker Peksag [Fri, 11 Dec 2015 21:48:37 +0000 (23:48 +0200)]
Issue #25755: Move PropertyWritableDoc into the test case

This fixes a test failure in refleak mode because
test_property_decorator_doc_writable no longer modifies
the class in module level.

Initial patch by Nan Wu and Torsten Landschoff (from issue 25757)

9 years agoIssue #25755: Move PropertyWritableDoc into the test case
Berker Peksag [Fri, 11 Dec 2015 21:48:13 +0000 (23:48 +0200)]
Issue #25755: Move PropertyWritableDoc into the test case

This fixes a test failure in refleak mode because
test_property_decorator_doc_writable no longer modifies
the class in module level.

Initial patch by Nan Wu and Torsten Landschoff (from issue 25757)

9 years agoMerge 3.5
Yury Selivanov [Fri, 11 Dec 2015 16:34:30 +0000 (11:34 -0500)]
Merge 3.5

9 years agoMerge 3.4
Yury Selivanov [Fri, 11 Dec 2015 16:34:11 +0000 (11:34 -0500)]
Merge 3.4

9 years agoasyncio: Make Tasks check if Futures are attached to the same event loop
Yury Selivanov [Fri, 11 Dec 2015 16:33:59 +0000 (11:33 -0500)]
asyncio: Make Tasks check if Futures are attached to the same event loop

See https://github.com/python/asyncio/pull/303 for details

9 years agoMerge 3.5
Yury Selivanov [Fri, 11 Dec 2015 16:33:21 +0000 (11:33 -0500)]
Merge 3.5

9 years agoMerge 3.4
Yury Selivanov [Fri, 11 Dec 2015 16:33:08 +0000 (11:33 -0500)]
Merge 3.4

9 years agoasyncio: Sync with github
Yury Selivanov [Fri, 11 Dec 2015 16:32:59 +0000 (11:32 -0500)]
asyncio: Sync with github

9 years agoIssue #25764: Merge fix for root user from 3.5
Martin Panter [Fri, 11 Dec 2015 05:42:26 +0000 (05:42 +0000)]
Issue #25764: Merge fix for root user from 3.5

9 years agoIssue #22341: Merge CRC doc from 3.5
Martin Panter [Fri, 11 Dec 2015 05:41:48 +0000 (05:41 +0000)]
Issue #22341: Merge CRC doc from 3.5

9 years agoIssue #25764: Skip fork failure test when run as root
Martin Panter [Fri, 11 Dec 2015 05:40:14 +0000 (05:40 +0000)]
Issue #25764: Skip fork failure test when run as root

9 years agoIssue #22341: Drop Python 2 workaround and document CRC initial value
Martin Panter [Fri, 11 Dec 2015 05:19:29 +0000 (05:19 +0000)]
Issue #22341: Drop Python 2 workaround and document CRC initial value

Also align the parameter naming in binascii to be consistent with zlib.

9 years agoIssue #14285: Merge runpy fix from 3.5
Martin Panter [Fri, 11 Dec 2015 03:35:31 +0000 (03:35 +0000)]
Issue #14285: Merge runpy fix from 3.5

9 years agoIssue #25638: Optimized ElementTree parsing; it is now 10% faster.
Serhiy Storchaka [Thu, 10 Dec 2015 07:51:53 +0000 (09:51 +0200)]
Issue #25638: Optimized ElementTree parsing; it is now 10% faster.

9 years agoIssue #14285: Do not catch exceptions initializing any ancestor package
Martin Panter [Thu, 10 Dec 2015 06:47:06 +0000 (06:47 +0000)]
Issue #14285: Do not catch exceptions initializing any ancestor package

The previous fix only handled the case of the parent package of __main__
failing to initialize.

Also make the "Error while finding spec" formatting slightly more appealing,
and document and test that the module name must be absolute.

9 years agoFixed possible leaks in ElementTree parser.
Serhiy Storchaka [Wed, 9 Dec 2015 17:45:07 +0000 (19:45 +0200)]
Fixed possible leaks in ElementTree parser.

9 years agoFixed possible leaks in ElementTree parser.
Serhiy Storchaka [Wed, 9 Dec 2015 17:44:30 +0000 (19:44 +0200)]
Fixed possible leaks in ElementTree parser.

9 years agoFixed possible leak in ElementTree.Element.iter().
Serhiy Storchaka [Wed, 9 Dec 2015 09:27:34 +0000 (11:27 +0200)]
Fixed possible leak in ElementTree.Element.iter().

9 years agoFixed possible leak in ElementTree.Element.iter().
Serhiy Storchaka [Wed, 9 Dec 2015 09:27:07 +0000 (11:27 +0200)]
Fixed possible leak in ElementTree.Element.iter().

9 years agoMerge with 3.5
Zachary Ware [Wed, 9 Dec 2015 08:03:18 +0000 (02:03 -0600)]
Merge with 3.5

9 years agoClarify that only *documentation* bugs should go to docs@python.org
Zachary Ware [Wed, 9 Dec 2015 07:53:44 +0000 (01:53 -0600)]
Clarify that only *documentation* bugs should go to docs@python.org

9 years agoIssue #25820: Merge test_gdb fixes from 3.5
Martin Panter [Wed, 9 Dec 2015 02:05:03 +0000 (02:05 +0000)]
Issue #25820: Merge test_gdb fixes from 3.5

9 years agoIssue #25820: Remove unused assignment and redundant GDB CLI arguments
Martin Panter [Tue, 8 Dec 2015 21:54:42 +0000 (21:54 +0000)]
Issue #25820: Remove unused assignment and redundant GDB CLI arguments

These were added in revision b71cda2f48c6.

9 years agoIssue #21240: Add an abstractmethod directive to mark abstract methods in the docs...
Berker Peksag [Tue, 8 Dec 2015 10:15:19 +0000 (12:15 +0200)]
Issue #21240: Add an abstractmethod directive to mark abstract methods in the docs more explicitly

9 years agoIssue #21240: Add an abstractmethod directive to mark abstract methods in the docs...
Berker Peksag [Tue, 8 Dec 2015 10:14:50 +0000 (12:14 +0200)]
Issue #21240: Add an abstractmethod directive to mark abstract methods in the docs more explicitly

9 years agoOnly update the arr variable when PyObject_RichCompareBool() has been called.
Raymond Hettinger [Tue, 8 Dec 2015 04:45:16 +0000 (20:45 -0800)]
Only update the arr variable when PyObject_RichCompareBool() has been called.

9 years agoIssue #25701: Merge set and delete documentation from 3.5
Martin Panter [Tue, 8 Dec 2015 00:05:06 +0000 (00:05 +0000)]
Issue #25701: Merge set and delete documentation from 3.5

9 years agoIssue #25701: Document C API functions that both set and delete objects
Martin Panter [Tue, 8 Dec 2015 00:03:20 +0000 (00:03 +0000)]
Issue #25701: Document C API functions that both set and delete objects

Also document that the separate functions that delete objects are preferred;
using PyObject_SetAttr(), _SetAttrString(), and PySequence_SetItem() to
delete is deprecated.

9 years agomerge 3.5
doko@ubuntu.com [Mon, 7 Dec 2015 11:21:01 +0000 (12:21 +0100)]
merge 3.5

9 years agomerge 3.4
doko@ubuntu.com [Mon, 7 Dec 2015 11:20:44 +0000 (12:20 +0100)]
merge 3.4

9 years agoRemove x permissions from Lib/test/test_script_helper.py
doko@ubuntu.com [Mon, 7 Dec 2015 11:19:49 +0000 (12:19 +0100)]
Remove x permissions from Lib/test/test_script_helper.py

9 years agoIssue #25761: Fixed reference leak added in previous changeset (5c670af0100f).
Serhiy Storchaka [Mon, 7 Dec 2015 09:32:00 +0000 (11:32 +0200)]
Issue #25761: Fixed reference leak added in previous changeset (5c670af0100f).

9 years agoNull merge from 3.5.
Larry Hastings [Mon, 7 Dec 2015 06:14:58 +0000 (22:14 -0800)]
Null merge from 3.5.

9 years agoMostly-null merge from 3.4. (Only added the tag for 3.4.4rc1.)
Larry Hastings [Mon, 7 Dec 2015 06:11:21 +0000 (22:11 -0800)]
Mostly-null merge from 3.4.  (Only added the tag for 3.4.4rc1.)

9 years agoMerge.
Larry Hastings [Mon, 7 Dec 2015 06:00:57 +0000 (22:00 -0800)]
Merge.

9 years agoMerge.
Larry Hastings [Mon, 7 Dec 2015 05:58:18 +0000 (21:58 -0800)]
Merge.

9 years agoPost-release fixups for Python 3.4.4rc1.
Larry Hastings [Mon, 7 Dec 2015 05:54:29 +0000 (21:54 -0800)]
Post-release fixups for Python 3.4.4rc1.

9 years agoPost-release fixups for Python 3.5.1.
Larry Hastings [Mon, 7 Dec 2015 05:53:27 +0000 (21:53 -0800)]
Post-release fixups for Python 3.5.1.

9 years agoIssue #25638: Optimized ElementTree.iterparse(); it is now 2x faster.
Serhiy Storchaka [Mon, 7 Dec 2015 00:31:11 +0000 (02:31 +0200)]
Issue #25638: Optimized ElementTree.iterparse(); it is now 2x faster.

ElementTree.XMLParser._setevents now accepts any objects with the append
method, not just a list.

9 years agoIssue25814: Propagate all errors from custom XML parser handlers
Serhiy Storchaka [Sun, 6 Dec 2015 21:55:05 +0000 (23:55 +0200)]
Issue25814: Propagate all errors from custom XML parser handlers
in ElementTree.iterparse().

9 years agoIssue25814: Propagate all errors from custom XML parser handlers
Serhiy Storchaka [Sun, 6 Dec 2015 21:54:28 +0000 (23:54 +0200)]
Issue25814: Propagate all errors from custom XML parser handlers
in ElementTree.iterparse().

9 years agoIssue25814: Propagate all errors from custom XML parser handlers
Serhiy Storchaka [Sun, 6 Dec 2015 21:51:44 +0000 (23:51 +0200)]
Issue25814: Propagate all errors from custom XML parser handlers
in ElementTree.iterparse().

9 years agoIssue #25761: Improved detecting errors in broken pickle data.
Serhiy Storchaka [Sun, 6 Dec 2015 20:01:35 +0000 (22:01 +0200)]
Issue #25761: Improved detecting errors in broken pickle data.

9 years agoAdded tag v3.4.4rc1 for changeset 04f3f725896c
Larry Hastings [Sun, 6 Dec 2015 13:53:49 +0000 (05:53 -0800)]
Added tag v3.4.4rc1 for changeset 04f3f725896c

9 years agoVersion bump for 3.4.4rc1. v3.4.4rc1
Larry Hastings [Sun, 6 Dec 2015 13:53:35 +0000 (05:53 -0800)]
Version bump for 3.4.4rc1.

9 years agoRebuilt pydoc topics for 3.4.4rc1.
Larry Hastings [Sun, 6 Dec 2015 13:51:56 +0000 (05:51 -0800)]
Rebuilt pydoc topics for 3.4.4rc1.

9 years agoIssue #25717: Merge comment from 3.5
Martin Panter [Sun, 6 Dec 2015 11:19:31 +0000 (11:19 +0000)]
Issue #25717: Merge comment from 3.5

9 years agoIssue #25717: Add comment explaining why errors are ignored
Martin Panter [Sun, 6 Dec 2015 11:12:15 +0000 (11:12 +0000)]
Issue #25717: Add comment explaining why errors are ignored

9 years agoIssue #25798: merge from 3.5
Ned Deily [Sun, 6 Dec 2015 04:57:55 +0000 (23:57 -0500)]
Issue #25798: merge from 3.5

9 years agoIssue #25798: merge from 3.4
Ned Deily [Sun, 6 Dec 2015 04:55:33 +0000 (23:55 -0500)]
Issue #25798: merge from 3.4

9 years agoIssue #25798: Update OS X 10.5+ 32-bit-only installer to build
Ned Deily [Sun, 6 Dec 2015 04:51:23 +0000 (23:51 -0500)]
Issue #25798: Update OS X 10.5+ 32-bit-only installer to build
and link with OpenSSL 1.0.2e.

9 years agoIssue #25717: Merge fstat() fix from 3.5
Martin Panter [Sun, 6 Dec 2015 03:29:54 +0000 (03:29 +0000)]
Issue #25717: Merge fstat() fix from 3.5

9 years agoIssue #25717: Tolerate fstat() failures in the FileIO constructor
Martin Panter [Sun, 6 Dec 2015 03:15:05 +0000 (03:15 +0000)]
Issue #25717: Tolerate fstat() failures in the FileIO constructor

This restores 3.4 behaviour, which was removed by revision 3b5279b5bfd1. The
fstat() call fails with ENOENT for a Virtual Box shared folder filesystem if
the file entry has been unlinked, e.g. for a temporary file.

9 years agoAdded tag v3.5.1 for changeset 37a07cee5969
Larry Hastings [Sun, 6 Dec 2015 01:05:33 +0000 (17:05 -0800)]
Added tag v3.5.1 for changeset 37a07cee5969

9 years agoVersion bump for 3.5.1 final. v3.5.1
Larry Hastings [Sun, 6 Dec 2015 01:05:23 +0000 (17:05 -0800)]
Version bump for 3.5.1 final.

9 years agoUpdated pydoc topics for 3.5.1 final.
Larry Hastings [Sun, 6 Dec 2015 01:03:20 +0000 (17:03 -0800)]
Updated pydoc topics for 3.5.1 final.

9 years agoIssue #25764: Merge OS X test skipping from 3.4 into 3.5
Martin Panter [Sat, 5 Dec 2015 12:41:29 +0000 (12:41 +0000)]
Issue #25764: Merge OS X test skipping from 3.4 into 3.5

9 years agoIssue #25764: Remove test debugging
Martin Panter [Sat, 5 Dec 2015 10:18:25 +0000 (10:18 +0000)]
Issue #25764: Remove test debugging

9 years agoIssue #25764: Merge OS X test skipping from 3.5
Martin Panter [Sat, 5 Dec 2015 12:41:41 +0000 (12:41 +0000)]
Issue #25764: Merge OS X test skipping from 3.5

9 years agoIssue #25764: Skip the test on OS X
Martin Panter [Sat, 5 Dec 2015 09:51:52 +0000 (09:51 +0000)]
Issue #25764: Skip the test on OS X

The OS X buildbots were failing at the second setrlimit() call with EPERM, as
if they were trying to raise the hard limit. The call should be keeping the
hard limit the same and raising the soft limit back to its original value, so
I don't understand the failure.

9 years agomerge 3.5
Benjamin Peterson [Sat, 5 Dec 2015 08:27:40 +0000 (00:27 -0800)]
merge 3.5

9 years agomerge 3.4
Benjamin Peterson [Sat, 5 Dec 2015 08:27:33 +0000 (00:27 -0800)]
merge 3.4

9 years agomerge 3.3
Benjamin Peterson [Sat, 5 Dec 2015 08:27:23 +0000 (00:27 -0800)]
merge 3.3

9 years agofix reordering
Benjamin Peterson [Sat, 5 Dec 2015 08:27:11 +0000 (00:27 -0800)]
fix reordering

9 years agomerge 3.5
Benjamin Peterson [Sat, 5 Dec 2015 08:24:10 +0000 (00:24 -0800)]
merge 3.5

9 years agomerge 3.4
Benjamin Peterson [Sat, 5 Dec 2015 08:24:01 +0000 (00:24 -0800)]
merge 3.4

9 years agomerge 3.3
Benjamin Peterson [Sat, 5 Dec 2015 08:23:11 +0000 (00:23 -0800)]
merge 3.3

9 years agomerge 3.2
Benjamin Peterson [Sat, 5 Dec 2015 08:21:12 +0000 (00:21 -0800)]
merge 3.2

9 years agoadd CVE and issue number
Benjamin Peterson [Sat, 5 Dec 2015 08:17:57 +0000 (00:17 -0800)]
add CVE and issue number

9 years agoCloses #25800: Merge with 3.5
Zachary Ware [Sat, 5 Dec 2015 06:19:08 +0000 (00:19 -0600)]
Closes #25800: Merge with 3.5

9 years agoIssue #25800: Merge with 3.4
Zachary Ware [Sat, 5 Dec 2015 06:18:29 +0000 (00:18 -0600)]
Issue #25800: Merge with 3.4

9 years agoIssue #25800: Fix running test_capi directly
Zachary Ware [Sat, 5 Dec 2015 06:16:55 +0000 (00:16 -0600)]
Issue #25800: Fix running test_capi directly

9 years agoIssue #25764: OS X now failing on the second setrlimit() call
Martin Panter [Sat, 5 Dec 2015 05:42:18 +0000 (05:42 +0000)]
Issue #25764: OS X now failing on the second setrlimit() call

9 years agoCloses #25795: Merge with 3.5
Zachary Ware [Sat, 5 Dec 2015 05:33:59 +0000 (23:33 -0600)]
Closes #25795: Merge with 3.5

9 years agoIssue #25795: Fix several tests to run independently.
Zachary Ware [Sat, 5 Dec 2015 05:32:23 +0000 (23:32 -0600)]
Issue #25795: Fix several tests to run independently.

These were broken in 3aec776fc796 when they were converted
away from using support.run_unittest().  Oops :)

Initial patch by Felippe da Motta Raposo.

9 years agoIssue #25764: Attempt to debug and skip OS X setrlimit() failure
Martin Panter [Sat, 5 Dec 2015 04:16:45 +0000 (04:16 +0000)]
Issue #25764: Attempt to debug and skip OS X setrlimit() failure