]>
granicus.if.org Git - python/log
Gregory P. Smith ext:(%20%5BGoogle%20Inc.%5D) [Wed, 7 Sep 2016 00:22:22 +0000 (00:22 +0000)]
Correct a comment in the test referencing the wrong issue number (issue3100
is correct, not 3110).
Brett Cannon [Wed, 7 Sep 2016 00:16:41 +0000 (17:16 -0700)]
Merge
Brett Cannon [Wed, 7 Sep 2016 00:16:11 +0000 (17:16 -0700)]
Merge for #26359
Raymond Hettinger [Wed, 7 Sep 2016 00:15:29 +0000 (17:15 -0700)]
Issue #18844: Add random.weighted_choices()
Brett Cannon [Wed, 7 Sep 2016 00:15:21 +0000 (17:15 -0700)]
Issue #26359: Add the --with-optimizations flag.
Brett Cannon [Wed, 7 Sep 2016 00:12:40 +0000 (17:12 -0700)]
Issue #26359: Add the --with-optimizations configure flag.
The flag will activate LTO and PGO build support when available.
Thanks to Alecsandur Patrascu of Intel for the original patch.
Victor Stinner [Wed, 7 Sep 2016 00:04:34 +0000 (17:04 -0700)]
Optimize unicode_escape and raw_unicode_escape
Issue #16334. Patch written by Serhiy Storchaka.
Victor Stinner [Wed, 7 Sep 2016 00:03:03 +0000 (17:03 -0700)]
Issue #27776: include process.h on Windows for getpid()
Victor Stinner [Tue, 6 Sep 2016 23:58:36 +0000 (16:58 -0700)]
_PyUnicodeWriter: assert that max character <= MAX_UNICODE
Gregory P. Smith ext:(%20%5BGoogle%20Inc.%5D) [Tue, 6 Sep 2016 23:58:32 +0000 (23:58 +0000)]
Fixes issue26307: The profile-opt build now applys PGO to the built-in modules.
Gregory P. Smith ext:(%20%5BGoogle%20Inc.%5D) [Tue, 6 Sep 2016 23:56:54 +0000 (23:56 +0000)]
Fixes issue26307: The profile-opt build now applys PGO to the built-in
modules.
Zachary Ware [Tue, 6 Sep 2016 23:46:22 +0000 (16:46 -0700)]
Add libpython*.dylib to .{hg,git}ignore
Christian Heimes [Tue, 6 Sep 2016 23:45:22 +0000 (01:45 +0200)]
Issue #26798: Hello Winndows, my old friend. I've come to fix blake2 for you again.
Victor Stinner [Tue, 6 Sep 2016 23:33:52 +0000 (16:33 -0700)]
os.urandom() now blocks on Linux
Issue #27776: The os.urandom() function does now block on Linux 3.17 and newer
until the system urandom entropy pool is initialized to increase the security.
This change is part of the PEP 524.
Raymond Hettinger [Tue, 6 Sep 2016 23:35:34 +0000 (16:35 -0700)]
Issue #23226: Add linspace() recipe to the docs
Christian Heimes [Tue, 6 Sep 2016 23:21:14 +0000 (01:21 +0200)]
Download hashlib test vectors from pythontest.net
Brett Cannon [Tue, 6 Sep 2016 23:20:46 +0000 (16:20 -0700)]
Issue #27974: Remove importlib._bootstrap._ManageReload.
Class was dead code. Thanks to Xiang Zhang for the patch.
Victor Stinner [Tue, 6 Sep 2016 23:18:52 +0000 (16:18 -0700)]
Add os.getrandom()
Issue #27778: Expose the Linux getrandom() syscall as a new os.getrandom()
function.
This change is part of the PEP 524.
Berker Peksag [Tue, 6 Sep 2016 23:05:16 +0000 (02:05 +0300)]
Issue #21250: Merge from 3.5
Berker Peksag [Tue, 6 Sep 2016 23:04:34 +0000 (02:04 +0300)]
Issue #21250: Add tests for SQLite's ON CONFLICT clause
Initial patch by Alex LordThorsen.
Brett Cannon [Tue, 6 Sep 2016 22:58:40 +0000 (15:58 -0700)]
Darn you, Benjamin!
Benjamin Peterson [Tue, 6 Sep 2016 22:57:48 +0000 (15:57 -0700)]
merge heads
Brett Cannon [Tue, 6 Sep 2016 22:57:35 +0000 (15:57 -0700)]
Merge for #27872 doc changes
Brett Cannon [Tue, 6 Sep 2016 22:55:02 +0000 (15:55 -0700)]
Issue #26027, #27524: Document the support for path-like objects in os and os.path.
This completes PEP 519.
Benjamin Peterson [Tue, 6 Sep 2016 22:54:38 +0000 (15:54 -0700)]
merge 3.5
Benjamin Peterson [Tue, 6 Sep 2016 22:54:24 +0000 (15:54 -0700)]
do not leak addrinfo in configure test
Victor Stinner [Tue, 6 Sep 2016 22:54:20 +0000 (15:54 -0700)]
Run Argument Clinic on posixmodule.c
Issue #17884.
Brett Cannon [Tue, 6 Sep 2016 22:50:29 +0000 (15:50 -0700)]
Issue #26027: Support path-like objects in PyUnicode-FSConverter().
This is to add support for os.exec*() and os.spawn*() functions. Part
of PEP 519.
Christian Heimes [Tue, 6 Sep 2016 22:32:06 +0000 (00:32 +0200)]
Issue #26798: for loop initial declarations, take 3
Christian Heimes [Tue, 6 Sep 2016 22:09:22 +0000 (00:09 +0200)]
Issue #26798: for loop initial declarations, take 2
Ned Deily [Tue, 6 Sep 2016 22:09:20 +0000 (15:09 -0700)]
Issue #21122: Fix LTO builds on OS X.
Patch by Brett Cannon.
Berker Peksag [Tue, 6 Sep 2016 22:07:06 +0000 (01:07 +0300)]
Remove redundant bullet point in 3.6.rst
Benjamin Peterson [Tue, 6 Sep 2016 21:37:37 +0000 (14:37 -0700)]
shut up some perfectly innocent reST in hashlib-blake2
Zachary Ware [Tue, 6 Sep 2016 21:32:43 +0000 (16:32 -0500)]
Closes #27982: Allow keyword arguments to winsound functions
Benjamin Peterson [Tue, 6 Sep 2016 21:32:40 +0000 (14:32 -0700)]
improve grammar
Christian Heimes [Tue, 6 Sep 2016 21:27:06 +0000 (23:27 +0200)]
Issue #27691: Fix ssl module's parsing of GEN_RID subject alternative name fields in X.509 certs.
Christian Heimes [Tue, 6 Sep 2016 21:25:35 +0000 (23:25 +0200)]
Issue #27691: Fix ssl module's parsing of GEN_RID subject alternative name fields in X.509 certs.
Christian Heimes [Tue, 6 Sep 2016 21:18:03 +0000 (23:18 +0200)]
Issue #26798: for loop initial declarations are only allowed in C99 or C11 mode
Serhiy Storchaka [Tue, 6 Sep 2016 20:55:11 +0000 (23:55 +0300)]
Issue #25761: Improved error reporting about truncated pickle data in
C implementation of unpickler. UnpicklingError is now raised instead of
AttributeError and ValueError in some cases.
Benjamin Peterson [Tue, 6 Sep 2016 20:53:14 +0000 (13:53 -0700)]
add back SIZEOF_UINTPTR_T
Benjamin Peterson [Tue, 6 Sep 2016 20:47:26 +0000 (13:47 -0700)]
replace Py_(u)intptr_t with the c99 standard types
Christian Heimes [Tue, 6 Sep 2016 20:35:14 +0000 (22:35 +0200)]
Fix out-of-tree builds for blake2
Benjamin Peterson [Tue, 6 Sep 2016 20:33:56 +0000 (13:33 -0700)]
require uintptr_t to exist
Benjamin Peterson [Tue, 6 Sep 2016 20:28:29 +0000 (13:28 -0700)]
properly introduce reST literal blocks
Benjamin Peterson [Tue, 6 Sep 2016 20:24:00 +0000 (13:24 -0700)]
replace Python aliases for standard integer types with the standard integer types (#17884)
Benjamin Peterson [Tue, 6 Sep 2016 20:05:58 +0000 (13:05 -0700)]
only include inttypes.h (#17884)
Christian Heimes [Tue, 6 Sep 2016 20:03:25 +0000 (22:03 +0200)]
Issue #26798: Add BLAKE2 (blake2b and blake2s) to hashlib.
Benjamin Peterson [Tue, 6 Sep 2016 19:44:21 +0000 (12:44 -0700)]
dtoa.c: remove code for platforms with 64-bit integers (#17884)
Benjamin Peterson [Tue, 6 Sep 2016 19:41:06 +0000 (12:41 -0700)]
include (now) int standard headers
Serhiy Storchaka [Tue, 6 Sep 2016 19:35:03 +0000 (22:35 +0300)]
Merge heads
Serhiy Storchaka [Tue, 6 Sep 2016 19:33:41 +0000 (22:33 +0300)]
Issue #25596: Optimized glob() and iglob() functions in the
glob module; they are now about 3--6 times faster.
Benjamin Peterson [Tue, 6 Sep 2016 19:07:53 +0000 (12:07 -0700)]
do not need vcstdint.h anymore
Serhiy Storchaka [Tue, 6 Sep 2016 19:07:53 +0000 (22:07 +0300)]
Issue #27078: Added BUILD_STRING opcode. Optimized f-strings evaluation.
Benjamin Peterson [Tue, 6 Sep 2016 18:59:24 +0000 (11:59 -0700)]
remove an unanswered question
Benjamin Peterson [Tue, 6 Sep 2016 18:58:01 +0000 (11:58 -0700)]
require standard int types to be defined (#17884)
Christian Heimes [Tue, 6 Sep 2016 18:22:28 +0000 (20:22 +0200)]
Issue #27928: Add scrypt (password-based key derivation function) to hashlib module (requires OpenSSL 1.1.0).
Christian Heimes [Tue, 6 Sep 2016 18:07:58 +0000 (20:07 +0200)]
Issues #27850 and #27766: Remove 3DES from ssl default cipher list and add ChaCha20 Poly1305.
Christian Heimes [Tue, 6 Sep 2016 18:06:47 +0000 (20:06 +0200)]
Issues #27850 and #27766: Remove 3DES from ssl default cipher list and add ChaCha20 Poly1305.
Benjamin Peterson [Tue, 6 Sep 2016 17:51:19 +0000 (10:51 -0700)]
remove some silly defined() tests
Steve Dower [Tue, 6 Sep 2016 17:49:17 +0000 (10:49 -0700)]
Prevents unnecessary help text appearing in doc build.
Benjamin Peterson [Tue, 6 Sep 2016 17:46:49 +0000 (10:46 -0700)]
replace PY_LONG_LONG with long long
Benjamin Peterson [Tue, 6 Sep 2016 17:06:51 +0000 (10:06 -0700)]
merge 3.5 (#27969)
Benjamin Peterson [Tue, 6 Sep 2016 17:06:31 +0000 (10:06 -0700)]
suppress stderr output when checking gdb (closes #27969)
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
Christian Heimes [Tue, 6 Sep 2016 09:14:09 +0000 (11:14 +0200)]
Issue 27744: skip test if AF_ALG socket bind fails
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
Jason R. Coombs [Tue, 6 Sep 2016 02:26:19 +0000 (22:26 -0400)]
Issue #27960: Merge with 3.4
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.
Benjamin Peterson [Tue, 6 Sep 2016 01:26:19 +0000 (18:26 -0700)]
explicitly cast away constness to silence compiler warning
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.
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.
Jason R. Coombs [Tue, 6 Sep 2016 02:29:29 +0000 (22:29 -0400)]
Issue #27960: Merge with 3.5
Martin Panter [Tue, 6 Sep 2016 02:18:16 +0000 (02:18 +0000)]
Issue #27355: Import no longer needed
Benjamin Peterson [Tue, 6 Sep 2016 01:26:26 +0000 (18:26 -0700)]
merge 3.5
Benjamin Peterson [Tue, 6 Sep 2016 00:44:18 +0000 (17:44 -0700)]
require a long long data type (closes #27961)
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.
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.
Benjamin Peterson [Tue, 6 Sep 2016 00:22:22 +0000 (17:22 -0700)]
merge 3.5
Benjamin Peterson [Tue, 6 Sep 2016 00:22:09 +0000 (17:22 -0700)]
Backed out changeset
8b6be1341770
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.
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.
Benjamin Peterson [Mon, 5 Sep 2016 23:27:08 +0000 (16:27 -0700)]
merge 3.5
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.
Zachary Ware [Mon, 5 Sep 2016 23:19:13 +0000 (18:19 -0500)]
Closes #20366: Build full text search support into SQLite on Windows
Zachary Ware [Mon, 5 Sep 2016 23:17:52 +0000 (18:17 -0500)]
Move NEWS entry to correct section.
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.
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.
Zachary Ware [Mon, 5 Sep 2016 23:10:32 +0000 (18:10 -0500)]
Issue #27748: Merge with 3.5
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.
Christian Heimes [Mon, 5 Sep 2016 22:58:47 +0000 (00:58 +0200)]
Issue 27744: AES-CBC and DRBG need Kernel 3.19+
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
Benjamin Peterson [Mon, 5 Sep 2016 22:40:59 +0000 (15:40 -0700)]
os.access does not allow a fd
Benjamin Peterson [Mon, 5 Sep 2016 22:35:45 +0000 (15:35 -0700)]
merge 3.5
Christian Heimes [Mon, 5 Sep 2016 22:37:46 +0000 (00:37 +0200)]
Issue 27744: Check for AF_ALG support in Kernel
Brett Cannon [Mon, 5 Sep 2016 22:33:46 +0000 (15:33 -0700)]
Implement the frame evaluation API aspect of PEP 523.
Zachary Ware [Mon, 5 Sep 2016 22:32:28 +0000 (17:32 -0500)]
Issue #25387: Check return value of winsound.MessageBeep
Benjamin Peterson [Mon, 5 Sep 2016 22:29:33 +0000 (15:29 -0700)]
do not pretend to support passing a fd to access()
Zachary Ware [Mon, 5 Sep 2016 22:24:45 +0000 (17:24 -0500)]
Issue #27748: Merge with 3.5
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.
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.