]> granicus.if.org Git - python/log
python
8 years agoIssue 27866: relax get_cipher() test even more. Gentoo buildbot has no ECDHE
Christian Heimes [Tue, 6 Sep 2016 09:27:25 +0000 (11:27 +0200)]
Issue 27866: relax get_cipher() test even more. Gentoo buildbot has no ECDHE

8 years agoIssue 27744: skip test if AF_ALG socket bind fails
Christian Heimes [Tue, 6 Sep 2016 09:14:09 +0000 (11:14 +0200)]
Issue 27744: skip test if AF_ALG socket bind fails

8 years agoIssue 27866: relax test case for set_cipher() and allow more cipher suites
Christian Heimes [Tue, 6 Sep 2016 08:45:44 +0000 (10:45 +0200)]
Issue 27866: relax test case for set_cipher() and allow more cipher suites

8 years agoAvoid calling functions with an empty string as format string
Victor Stinner [Tue, 6 Sep 2016 01:16:01 +0000 (18:16 -0700)]
Avoid calling functions with an empty string as format string

Directly pass NULL rather than an empty string.

8 years agoAvoid inefficient way to call functions without argument
Victor Stinner [Tue, 6 Sep 2016 00:53:15 +0000 (17:53 -0700)]
Avoid inefficient way to call functions without argument

Don't pass "()" format to PyObject_CallXXX() to call a function without
argument: pass NULL as the format string instead. It avoids to have to parse a
string to produce 0 argument.

8 years agoIssue #27960: Merge with 3.5
Jason R. Coombs [Tue, 6 Sep 2016 02:29:29 +0000 (22:29 -0400)]
Issue #27960: Merge with 3.5

8 years agoIssue #27960: Merge with 3.4
Jason R. Coombs [Tue, 6 Sep 2016 02:26:19 +0000 (22:26 -0400)]
Issue #27960: Merge with 3.4

8 years agoIssue #27960: Revert state to 675e20c38fdac6, backing out all changes by developed...
Jason R. Coombs [Tue, 6 Sep 2016 02:24:01 +0000 (22:24 -0400)]
Issue #27960: Revert state to 675e20c38fdac6, backing out all changes by developed for Issue #12885.

8 years agoIssue #27355: Import no longer needed
Martin Panter [Tue, 6 Sep 2016 02:18:16 +0000 (02:18 +0000)]
Issue #27355: Import no longer needed

8 years agomerge 3.5
Benjamin Peterson [Tue, 6 Sep 2016 01:26:26 +0000 (18:26 -0700)]
merge 3.5

8 years agoexplicitly cast away constness to silence compiler warning
Benjamin Peterson [Tue, 6 Sep 2016 01:26:19 +0000 (18:26 -0700)]
explicitly cast away constness to silence compiler warning

8 years agorequire a long long data type (closes #27961)
Benjamin Peterson [Tue, 6 Sep 2016 00:44:18 +0000 (17:44 -0700)]
require a long long data type (closes #27961)

8 years agoUpdate OS X installer to use SQlite 3.14.1 and XZ 5.2.2.
Ned Deily [Tue, 6 Sep 2016 00:31:14 +0000 (17:31 -0700)]
Update OS X installer to use SQlite 3.14.1 and XZ 5.2.2.

8 years agoDeprecate Tix
Zachary Ware [Tue, 6 Sep 2016 00:22:24 +0000 (17:22 -0700)]
Deprecate Tix

When building it breaks, we won't be fixing it.

8 years agomerge 3.5
Benjamin Peterson [Tue, 6 Sep 2016 00:22:22 +0000 (17:22 -0700)]
merge 3.5

8 years agoBacked out changeset 8b6be1341770
Benjamin Peterson [Tue, 6 Sep 2016 00:22:09 +0000 (17:22 -0700)]
Backed out changeset 8b6be1341770

8 years ago[merge from 3.5] - Update pkgutil docs to reference appropriate finder and loader...
Senthil Kumaran [Tue, 6 Sep 2016 00:16:06 +0000 (17:16 -0700)]
[merge from 3.5] - Update pkgutil docs to reference appropriate finder and loader object documentation.

Initial patch contributed by Jaysinh shukla.

8 years agoUpdate pkgutil docs to reference appropriate finder and loader object documentation.
Senthil Kumaran [Tue, 6 Sep 2016 00:11:51 +0000 (17:11 -0700)]
Update pkgutil docs to reference appropriate finder and loader object documentation.

Initial patch contributed by Jaysinh shukla.

8 years agomerge 3.5
Benjamin Peterson [Mon, 5 Sep 2016 23:27:08 +0000 (16:27 -0700)]
merge 3.5

8 years agoremove long double from ctypes value union
Benjamin Peterson [Mon, 5 Sep 2016 23:24:52 +0000 (16:24 -0700)]
remove long double from ctypes value union

It is unused. It also forces a 16-byte alignment, which creates problems because
Python's allocator only uses 8-byte alignment.

8 years agoCloses #20366: Build full text search support into SQLite on Windows
Zachary Ware [Mon, 5 Sep 2016 23:19:13 +0000 (18:19 -0500)]
Closes #20366: Build full text search support into SQLite on Windows

8 years agoMove NEWS entry to correct section.
Zachary Ware [Mon, 5 Sep 2016 23:17:52 +0000 (18:17 -0500)]
Move NEWS entry to correct section.

8 years agoIssue #26470: Use short name rather than name for compression name to fix #27958.
Christian Heimes [Mon, 5 Sep 2016 23:14:34 +0000 (01:14 +0200)]
Issue #26470: Use short name rather than name for compression name to fix #27958.

8 years agoIssue #26470: Use short name rather than name for compression name to fix #27958.
Christian Heimes [Mon, 5 Sep 2016 23:10:39 +0000 (01:10 +0200)]
Issue #26470: Use short name rather than name for compression name to fix #27958.

8 years agoIssue #27748: Merge with 3.5
Zachary Ware [Mon, 5 Sep 2016 23:10:32 +0000 (18:10 -0500)]
Issue #27748: Merge with 3.5

8 years agoIssue #27748: Backed out changeset f845e24d794e
Zachary Ware [Mon, 5 Sep 2016 23:08:27 +0000 (18:08 -0500)]
Issue #27748: Backed out changeset f845e24d794e

Apparently the test succeeds on XP.

8 years agoIssue 27744: AES-CBC and DRBG need Kernel 3.19+
Christian Heimes [Mon, 5 Sep 2016 22:58:47 +0000 (00:58 +0200)]
Issue 27744: AES-CBC and DRBG need Kernel 3.19+

8 years agoIssue #27938: Add a fast-path for us-ascii encoding
Victor Stinner [Mon, 5 Sep 2016 22:40:10 +0000 (15:40 -0700)]
Issue #27938: Add a fast-path for us-ascii encoding

Other changes:

* Rewrite _Py_normalize_encoding() as a C implementation of
  encodings.normalize_encoding(). For example, " utf-8 " is now normalized to
  "utf_8". So the fast path is now used for more name variants of the same
  encoding.
* Avoid strcpy() when encoding is NULL: call directly the UTF-8 codec

8 years agoos.access does not allow a fd
Benjamin Peterson [Mon, 5 Sep 2016 22:40:59 +0000 (15:40 -0700)]
os.access does not allow a fd

8 years agomerge 3.5
Benjamin Peterson [Mon, 5 Sep 2016 22:35:45 +0000 (15:35 -0700)]
merge 3.5

8 years agoIssue 27744: Check for AF_ALG support in Kernel
Christian Heimes [Mon, 5 Sep 2016 22:37:46 +0000 (00:37 +0200)]
Issue 27744: Check for AF_ALG support in Kernel

8 years agoImplement the frame evaluation API aspect of PEP 523.
Brett Cannon [Mon, 5 Sep 2016 22:33:46 +0000 (15:33 -0700)]
Implement the frame evaluation API aspect of PEP 523.

8 years agoIssue #25387: Check return value of winsound.MessageBeep
Zachary Ware [Mon, 5 Sep 2016 22:32:28 +0000 (17:32 -0500)]
Issue #25387: Check return value of winsound.MessageBeep

8 years agodo not pretend to support passing a fd to access()
Benjamin Peterson [Mon, 5 Sep 2016 22:29:33 +0000 (15:29 -0700)]
do not pretend to support passing a fd to access()

8 years agoIssue #27748: Merge with 3.5
Zachary Ware [Mon, 5 Sep 2016 22:24:45 +0000 (17:24 -0500)]
Issue #27748: Merge with 3.5

8 years agoIssue #27748: strengthen test_alias_nofallback
Zachary Ware [Mon, 5 Sep 2016 22:19:35 +0000 (17:19 -0500)]
Issue #27748: strengthen test_alias_nofallback

This test should always raise RuntimeError.

8 years agoIssue #27355: Removed support for Windows CE. It was never finished,
Larry Hastings [Mon, 5 Sep 2016 22:11:23 +0000 (15:11 -0700)]
Issue #27355: Removed support for Windows CE.  It was never finished,
and Windows CE is no longer a relevant platform for Python.

8 years agoIssue #27744: correct comment and markup
Christian Heimes [Mon, 5 Sep 2016 22:07:02 +0000 (00:07 +0200)]
Issue #27744: correct comment and markup

8 years agoIssue #27866: Add SSLContext.get_ciphers() method to get a list of all enabled ciphers.
Christian Heimes [Mon, 5 Sep 2016 22:04:45 +0000 (00:04 +0200)]
Issue #27866: Add SSLContext.get_ciphers() method to get a list of all enabled ciphers.

8 years agoIssue #27744: Add AF_ALG (Linux Kernel crypto) to socket module.
Christian Heimes [Mon, 5 Sep 2016 21:54:41 +0000 (23:54 +0200)]
Issue #27744: Add AF_ALG (Linux Kernel crypto) to socket module.

8 years agoIssue #24254: Preserve class attribute definition order.
Eric Snow [Mon, 5 Sep 2016 21:50:11 +0000 (14:50 -0700)]
Issue #24254: Preserve class attribute definition order.

8 years agoIssue #27756: Updates installer icons to be the console and launcher icon instead...
Steve Dower [Mon, 5 Sep 2016 21:51:41 +0000 (14:51 -0700)]
Issue #27756: Updates installer icons to be the console and launcher icon instead of the setup icon

8 years agoIssue #26470: Port ssl and hashlib module to OpenSSL 1.1.0.
Christian Heimes [Mon, 5 Sep 2016 21:23:24 +0000 (23:23 +0200)]
Issue #26470: Port ssl and hashlib module to OpenSSL 1.1.0.

8 years agoCloses #11620: Fix support for SND_MEMORY in winsound.PlaySound.
Zachary Ware [Mon, 5 Sep 2016 21:31:21 +0000 (16:31 -0500)]
Closes #11620: Fix support for SND_MEMORY in winsound.PlaySound.

Based on a patch by Tim Lesher.

8 years agoIssue #26470: Port ssl and hashlib module to OpenSSL 1.1.0.
Christian Heimes [Mon, 5 Sep 2016 21:19:05 +0000 (23:19 +0200)]
Issue #26470: Port ssl and hashlib module to OpenSSL 1.1.0.

8 years agoCloses #27748: Merge with 3.5
Zachary Ware [Mon, 5 Sep 2016 21:15:20 +0000 (16:15 -0500)]
Closes #27748: Merge with 3.5

8 years agoIssue #27748: Simplify test_winsound.
Zachary Ware [Mon, 5 Sep 2016 21:06:56 +0000 (16:06 -0500)]
Issue #27748: Simplify test_winsound.

The tests no longer attempt to figure out if a soundcard or particular
system sounds are available.  Instead, it just tries everything and
accepts RuntimeError as a flavor of success.

8 years agoIssue #27756: Adds new icons for Python files and processes on Windows. Designs by...
Steve Dower [Mon, 5 Sep 2016 21:05:17 +0000 (14:05 -0700)]
Issue #27756: Adds new icons for Python files and processes on Windows. Designs by Cherry Wang.

8 years agomerge 3.5 (#27957)
Benjamin Peterson [Mon, 5 Sep 2016 21:03:08 +0000 (14:03 -0700)]
merge 3.5 (#27957)

8 years agoremove ungrammarical apostrophe (closes #27957)
Benjamin Peterson [Mon, 5 Sep 2016 21:02:59 +0000 (14:02 -0700)]
remove ungrammarical apostrophe (closes #27957)

8 years agoMerge
Raymond Hettinger [Mon, 5 Sep 2016 20:15:20 +0000 (13:15 -0700)]
Merge

8 years agoImprove recipe by showing results of intermediate steps
Raymond Hettinger [Mon, 5 Sep 2016 20:15:02 +0000 (13:15 -0700)]
Improve recipe by showing results of intermediate steps

8 years agoFix get_externals.bat
Zachary Ware [Mon, 5 Sep 2016 19:40:25 +0000 (14:40 -0500)]
Fix get_externals.bat

8 years agoIssue #27883: Update sqlite to 3.14.1 on Windows
Zachary Ware [Mon, 5 Sep 2016 19:32:38 +0000 (14:32 -0500)]
Issue #27883: Update sqlite to 3.14.1 on Windows

8 years agoremove memory indirections in dict_traverse (closes #27956)
Benjamin Peterson [Mon, 5 Sep 2016 19:12:59 +0000 (12:12 -0700)]
remove memory indirections in dict_traverse (closes #27956)

8 years agoIssue #27830: Remove unused _PyStack_AsDict()
Victor Stinner [Mon, 5 Sep 2016 18:43:18 +0000 (11:43 -0700)]
Issue #27830: Remove unused _PyStack_AsDict()

I forgot to remove this function, I made a mistake in my revert.

8 years agofix skipping #27921 for windows
Benjamin Peterson [Mon, 5 Sep 2016 18:13:07 +0000 (11:13 -0700)]
fix skipping #27921 for windows

8 years agoCloses #27407: Merge with 3.5
Zachary Ware [Mon, 5 Sep 2016 18:02:20 +0000 (13:02 -0500)]
Closes #27407: Merge with 3.5

8 years agoIssue #27407: Make PCbuild/prepare_ssl.py Python 2 compatible
Zachary Ware [Mon, 5 Sep 2016 17:54:08 +0000 (12:54 -0500)]
Issue #27407: Make PCbuild/prepare_ssl.py Python 2 compatible

8 years agomerge 3.5 (#27812)
Benjamin Peterson [Mon, 5 Sep 2016 17:40:34 +0000 (10:40 -0700)]
merge 3.5 (#27812)

8 years agoclear out f_gen during generator finalization (closes #27812)
Benjamin Peterson [Mon, 5 Sep 2016 17:39:57 +0000 (10:39 -0700)]
clear out f_gen during generator finalization (closes #27812)

Patch from Armin Rigo.

8 years agomerge 3.5
Benjamin Peterson [Mon, 5 Sep 2016 17:17:37 +0000 (10:17 -0700)]
merge 3.5

8 years agomerge heads
Benjamin Peterson [Mon, 5 Sep 2016 17:17:30 +0000 (10:17 -0700)]
merge heads

8 years agomerge heads
Benjamin Peterson [Mon, 5 Sep 2016 17:17:22 +0000 (10:17 -0700)]
merge heads

8 years agomerge 3.5 (closes #27811)
Benjamin Peterson [Mon, 5 Sep 2016 17:16:31 +0000 (10:16 -0700)]
merge 3.5 (closes #27811)

8 years agodo not allow _PyGen_Finalize to fail (closes #27811)
Benjamin Peterson [Mon, 5 Sep 2016 17:14:54 +0000 (10:14 -0700)]
do not allow _PyGen_Finalize to fail (closes #27811)

Patch from Armin Rigo.

8 years agoMinor improvements to the vcs ignore files
Steve Dower [Mon, 5 Sep 2016 17:12:29 +0000 (10:12 -0700)]
Minor improvements to the vcs ignore files

8 years agoMinor improvements to the vcs ignore files
Steve Dower [Mon, 5 Sep 2016 17:12:03 +0000 (10:12 -0700)]
Minor improvements to the vcs ignore files

8 years agoMerge with 3.5
Terry Jan Reedy [Mon, 5 Sep 2016 04:01:47 +0000 (00:01 -0400)]
Merge with 3.5

8 years agoIssue #27918# test.resource.is_gui_available no longer flashes tk window.
Terry Jan Reedy [Mon, 5 Sep 2016 04:01:34 +0000 (00:01 -0400)]
Issue #27918# test.resource.is_gui_available no longer flashes tk window.
Also, don't run it if 'gui' is not requested.  Patch by Xiang Zhang.

8 years agoissue23591: more docs; slight change to repr
Ethan Furman [Sun, 4 Sep 2016 18:39:01 +0000 (11:39 -0700)]
issue23591: more docs; slight change to repr

8 years agoMerge
Raymond Hettinger [Sun, 4 Sep 2016 18:29:13 +0000 (11:29 -0700)]
Merge

8 years agoIssue 27936: Update doc for round() to indicate that None is an allowable argument.
Raymond Hettinger [Sun, 4 Sep 2016 18:28:56 +0000 (11:28 -0700)]
Issue 27936: Update doc for round() to indicate that None is an allowable argument.

8 years agoMerge
Raymond Hettinger [Sun, 4 Sep 2016 18:17:48 +0000 (11:17 -0700)]
Merge

8 years agoImprove docs for random.seed()
Raymond Hettinger [Sun, 4 Sep 2016 18:17:28 +0000 (11:17 -0700)]
Improve docs for random.seed()

8 years agoAdd Francisco Couzo to Misc/ACKS (for issue #27427 patch).
Mark Dickinson [Sun, 4 Sep 2016 11:31:47 +0000 (12:31 +0100)]
Add Francisco Couzo to Misc/ACKS (for issue #27427 patch).

8 years agoIssue #27427: Additional tests for the math module. Thanks Francisco Couzo.
Mark Dickinson [Sun, 4 Sep 2016 11:29:14 +0000 (12:29 +0100)]
Issue #27427: Additional tests for the math module. Thanks Francisco Couzo.

8 years agoIssue #27953: skip failing math and cmath tests for tan on OS X 10.4.
Mark Dickinson [Sun, 4 Sep 2016 08:58:51 +0000 (09:58 +0100)]
Issue #27953: skip failing math and cmath tests for tan on OS X 10.4.

8 years agoIssue #26040: Improve test_math and test_cmath coverage and rigour. Thanks Jeff Allen.
Mark Dickinson [Sat, 3 Sep 2016 18:30:22 +0000 (19:30 +0100)]
Issue #26040: Improve test_math and test_cmath coverage and rigour. Thanks Jeff Allen.

8 years agoIssue 27921: Remove backslash from another f-string. I'll revert this change before...
Eric V. Smith [Sat, 3 Sep 2016 16:33:38 +0000 (12:33 -0400)]
Issue 27921: Remove backslash from another f-string. I'll revert this change before beta 2. I also need to look in to why test_tools/test_unparse fails with the files that are now being skipped.

8 years agoIssue #11734: Add support for IEEE 754 half-precision floats to the struct module...
Mark Dickinson [Sat, 3 Sep 2016 16:21:29 +0000 (17:21 +0100)]
Issue #11734: Add support for IEEE 754 half-precision floats to the struct module. Original patch by Eli Stevens.

8 years agoCloses #27935: returned numeric value for 'FATAL' logging level.
Vinay Sajip [Sat, 3 Sep 2016 16:04:36 +0000 (17:04 +0100)]
Closes #27935: returned numeric value for 'FATAL' logging level.

8 years agoMerge upstream change.
Vinay Sajip [Sat, 3 Sep 2016 15:55:35 +0000 (16:55 +0100)]
Merge upstream change.

8 years agoCloses #27937: Merge fix from 3.5.
Vinay Sajip [Sat, 3 Sep 2016 15:54:41 +0000 (16:54 +0100)]
Closes #27937: Merge fix from 3.5.

8 years agoFixes #27937: optimise code used in all logging calls.
Vinay Sajip [Sat, 3 Sep 2016 15:50:09 +0000 (16:50 +0100)]
Fixes #27937: optimise code used in all logging calls.

8 years agoIssue 27921: Remove backslash from another f-string. I'll revert this change before...
Eric V. Smith [Sat, 3 Sep 2016 15:01:53 +0000 (11:01 -0400)]
Issue 27921: Remove backslash from another f-string. I'll revert this change before beta 2.

8 years agoFixes #27937: optimise code used in all logging calls.
Vinay Sajip [Sat, 3 Sep 2016 14:56:07 +0000 (15:56 +0100)]
Fixes #27937: optimise code used in all logging calls.

8 years agoIssue 27921: Remove backslash from another f-string.
Eric V. Smith [Sat, 3 Sep 2016 14:43:20 +0000 (10:43 -0400)]
Issue 27921: Remove backslash from another f-string.

8 years agoCloses issue 27921: Disallow backslashes anywhere in f-strings. This is a temporary...
Eric V. Smith [Sat, 3 Sep 2016 13:18:34 +0000 (09:18 -0400)]
Closes issue 27921: Disallow backslashes anywhere in f-strings. This is a temporary restriction. In 3.6 beta 2, the plan is to again allow backslashes in the string parts of f-strings, but disallow them in the expression parts.

8 years agoMerge
Raymond Hettinger [Sat, 3 Sep 2016 08:55:39 +0000 (01:55 -0700)]
Merge

8 years agoIssue 27936: Fix inconsistent round() behavior between float and int
Raymond Hettinger [Sat, 3 Sep 2016 08:55:11 +0000 (01:55 -0700)]
Issue 27936: Fix inconsistent round() behavior between float and int

8 years agoissue23591: bool(empty_flags) == False; more docs & tests
Ethan Furman [Fri, 2 Sep 2016 23:32:32 +0000 (16:32 -0700)]
issue23591: bool(empty_flags) == False; more docs & tests

8 years agoissue23591: optimize _high_bit()
Ethan Furman [Fri, 2 Sep 2016 22:50:21 +0000 (15:50 -0700)]
issue23591: optimize _high_bit()

8 years agoPEP 7 style for if/else in C
Victor Stinner [Fri, 2 Sep 2016 10:12:23 +0000 (12:12 +0200)]
PEP 7 style for if/else in C

Add also a newline for readability in normalize_encoding().

8 years agoissue23591: add docs; code cleanup; more tests
Ethan Furman [Fri, 2 Sep 2016 06:55:19 +0000 (23:55 -0700)]
issue23591: add docs; code cleanup; more tests

8 years agoIssue #12885: Merge with 3.5
Jason R. Coombs [Fri, 2 Sep 2016 03:29:28 +0000 (23:29 -0400)]
Issue #12885: Merge with 3.5

8 years agoIssue #12885: Merge with 3.4, retaining commits reverted there.
Jason R. Coombs [Fri, 2 Sep 2016 03:29:04 +0000 (23:29 -0400)]
Issue #12885: Merge with 3.4, retaining commits reverted there.

8 years agoIssue #12885: Revert commits in 3.4 branch which is security-only fixes.
Jason R. Coombs [Fri, 2 Sep 2016 03:27:45 +0000 (23:27 -0400)]
Issue #12885: Revert commits in 3.4 branch which is security-only fixes.

8 years agoIssue #12885: Merge with 3.5
Jason R. Coombs [Fri, 2 Sep 2016 02:10:09 +0000 (22:10 -0400)]
Issue #12885: Merge with 3.5

8 years agoIssue #12885: Merge 3.4
Jason R. Coombs [Fri, 2 Sep 2016 02:09:06 +0000 (22:09 -0400)]
Issue #12885: Merge 3.4