]>
granicus.if.org Git - python/log
Benjamin Peterson [Wed, 7 Sep 2016 18:53:55 +0000 (11:53 -0700)]
compile with -std=c99
Benjamin Peterson [Wed, 7 Sep 2016 18:43:22 +0000 (11:43 -0700)]
permit intermingled declarations
Benjamin Peterson [Wed, 7 Sep 2016 18:39:46 +0000 (11:39 -0700)]
hardcode sizeof(_Bool) on windows
Benjamin Peterson [Wed, 7 Sep 2016 18:28:35 +0000 (11:28 -0700)]
use a the bool type for a boolean variable
Brett Cannon [Wed, 7 Sep 2016 18:16:41 +0000 (11:16 -0700)]
Add the co_extra field and accompanying APIs to code objects.
This completes PEP 523.
Benjamin Peterson [Wed, 7 Sep 2016 18:06:17 +0000 (11:06 -0700)]
require C99 bool
R David Murray [Wed, 7 Sep 2016 18:02:11 +0000 (14:02 -0400)]
Merge: #26209: Clarify type of *localaddr*/*remoteadr* in smtpd docs.
R David Murray [Wed, 7 Sep 2016 18:01:23 +0000 (14:01 -0400)]
#26209: Clarify type of *localaddr*/*remoteadr* in smtpd docs.
R David Murray [Wed, 7 Sep 2016 17:41:06 +0000 (13:41 -0400)]
Merge: 27988: Make sure iter_attachments does not mutate the payload list.
R David Murray [Wed, 7 Sep 2016 17:39:36 +0000 (13:39 -0400)]
27988: Make sure iter_attachments does not mutate the payload list.
Benjamin Peterson [Wed, 7 Sep 2016 17:33:28 +0000 (10:33 -0700)]
make _Py_static_string_init use a designated initializer
Steve Dower [Wed, 7 Sep 2016 16:31:52 +0000 (09:31 -0700)]
Issue #27959: Prevent ImportError from escaping codec search function
Benjamin Peterson [Wed, 7 Sep 2016 16:26:18 +0000 (09:26 -0700)]
replace PY_SIZE_MAX with SIZE_MAX
Benjamin Peterson [Wed, 7 Sep 2016 16:00:57 +0000 (09:00 -0700)]
merge 3.5 (closes #27968)
Benjamin Peterson [Wed, 7 Sep 2016 16:00:48 +0000 (09:00 -0700)]
capture stderr to silence output during test_coroutines (closes #27968)
Benjamin Peterson [Wed, 7 Sep 2016 15:54:35 +0000 (08:54 -0700)]
new and exciting shutdown error on windows
Benjamin Peterson [Wed, 7 Sep 2016 15:47:18 +0000 (08:47 -0700)]
merge 3.5 (#27968)
Benjamin Peterson [Wed, 7 Sep 2016 15:46:59 +0000 (08:46 -0700)]
supress coroutine warning when an exception is pending (#27968)
Ethan Furman [Wed, 7 Sep 2016 15:17:15 +0000 (08:17 -0700)]
add recipes for pseudo-valueless enums
Christian Heimes [Wed, 7 Sep 2016 11:18:40 +0000 (13:18 +0200)]
Issue #16113: one more C90 violation in big endian code.
Christian Heimes [Wed, 7 Sep 2016 11:01:15 +0000 (13:01 +0200)]
Issue #16113: take 2 on big endian machines.
Christian Heimes [Wed, 7 Sep 2016 10:51:56 +0000 (12:51 +0200)]
Issue #16113: compile the module on Windows, too.
Christian Heimes [Wed, 7 Sep 2016 10:42:47 +0000 (12:42 +0200)]
Issue #16113: KeccakP-1600-opt64 does not support big endian platforms yet.
Christian Heimes [Wed, 7 Sep 2016 09:58:24 +0000 (11:58 +0200)]
Issue #16113: Add SHA-3 and SHAKE support to hashlib module.
Christian Heimes [Wed, 7 Sep 2016 09:39:21 +0000 (11:39 +0200)]
blake2: silence two more warnings on platforms with size_t < uint64_t. Don't use SSE2 when cross-compiling
Serhiy Storchaka [Wed, 7 Sep 2016 07:58:05 +0000 (10:58 +0300)]
Issue #26032: Optimized globbing in pathlib by using os.scandir(); it is now
about 1.5--4 times faster.
Senthil Kumaran [Wed, 7 Sep 2016 07:53:17 +0000 (00:53 -0700)]
issue20842 - null merge with 3.5
Senthil Kumaran [Wed, 7 Sep 2016 07:52:20 +0000 (00:52 -0700)]
[backport to 3.5] - issue26896 - Disambiguate uses of "importer" with "finder".
Raymond Hettinger [Wed, 7 Sep 2016 07:08:44 +0000 (00:08 -0700)]
Rename weighted_choices() to just choices()
Serhiy Storchaka [Wed, 7 Sep 2016 06:49:42 +0000 (09:49 +0300)]
Issue #25596: Falls back to listdir in glob for bytes paths on Windows.
Guido van Rossum [Wed, 7 Sep 2016 04:13:15 +0000 (21:13 -0700)]
Issue #27905: Docs for typing.Type[C], by Michael Lee. (Merge 3.5->3.6)
Guido van Rossum [Wed, 7 Sep 2016 04:12:44 +0000 (21:12 -0700)]
Issue #27905: Docs for typing.Type[C], by Michael Lee.
Benjamin Peterson [Wed, 7 Sep 2016 03:42:17 +0000 (20:42 -0700)]
merge 3.5
Steve Dower [Wed, 7 Sep 2016 03:40:11 +0000 (20:40 -0700)]
Issue #27731: Opt-out of MAX_PATH on Windows 10
Benjamin Peterson [Wed, 7 Sep 2016 03:40:04 +0000 (20:40 -0700)]
promote some shifts to unsigned, so as not to invoke undefined behavior
Benjamin Peterson [Wed, 7 Sep 2016 03:22:41 +0000 (20:22 -0700)]
get skipIf from the right place
Steve Dower [Wed, 7 Sep 2016 03:16:17 +0000 (20:16 -0700)]
Issue #6135: Adds encoding and errors parameters to subprocess
Victor Stinner [Wed, 7 Sep 2016 02:57:40 +0000 (19:57 -0700)]
Fix test_os.GetRandomTests()
Issue #27778: Skip getrandom() tests if getrandom() fails with ENOSYS.
Steve Dower [Wed, 7 Sep 2016 02:55:55 +0000 (19:55 -0700)]
Issue #27959: Updates NEWS and whatsnew
Steve Dower [Wed, 7 Sep 2016 02:46:42 +0000 (19:46 -0700)]
Issue #27959: Documents new encoding and alias.
Steve Dower [Wed, 7 Sep 2016 02:42:27 +0000 (19:42 -0700)]
Issue #27959: Adds oem encoding, alias ansi to mbcs, move aliasmbcs to codec lookup
Steve Dower [Wed, 7 Sep 2016 02:38:15 +0000 (19:38 -0700)]
Adds test.support.PGO and skips tests that are not useful for PGO.
Brett Cannon [Wed, 7 Sep 2016 02:36:01 +0000 (19:36 -0700)]
Issue #27182: Add support for path-like objects to PyUnicode_FSDecoder().
Steve Dower [Wed, 7 Sep 2016 02:09:15 +0000 (19:09 -0700)]
Fix some warnings from MSVC
Benjamin Peterson [Wed, 7 Sep 2016 02:04:37 +0000 (19:04 -0700)]
merge 3.5
Benjamin Peterson [Wed, 7 Sep 2016 02:03:40 +0000 (19:03 -0700)]
do not memcpy from NULL
Berker Peksag [Wed, 7 Sep 2016 01:03:02 +0000 (04:03 +0300)]
Merge from 3.5
Berker Peksag [Wed, 7 Sep 2016 01:02:41 +0000 (04:02 +0300)]
Use shorter version of Connection.isolation_level in sqlite3.rst
Benjamin Peterson [Wed, 7 Sep 2016 00:58:44 +0000 (17:58 -0700)]
merge 3.5
Benjamin Peterson [Wed, 7 Sep 2016 00:58:25 +0000 (17:58 -0700)]
make sure to not call memcpy with a NULL second argument
Christian Heimes [Wed, 7 Sep 2016 00:49:11 +0000 (02:49 +0200)]
Silence two warnings in blake2. key_length is between 0 and 64 (block size).
Christian Heimes [Wed, 7 Sep 2016 00:35:13 +0000 (02:35 +0200)]
Bypass __get_openssl_constructor() and always use our own blake2 implementation
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)