]> granicus.if.org Git - python/log
python
8 years agoIssue #27731: Opt-out of MAX_PATH on Windows 10
Steve Dower [Wed, 7 Sep 2016 03:40:11 +0000 (20:40 -0700)]
Issue #27731: Opt-out of MAX_PATH on Windows 10

8 years agoget skipIf from the right place
Benjamin Peterson [Wed, 7 Sep 2016 03:22:41 +0000 (20:22 -0700)]
get skipIf from the right place

8 years agoIssue #6135: Adds encoding and errors parameters to subprocess
Steve Dower [Wed, 7 Sep 2016 03:16:17 +0000 (20:16 -0700)]
Issue #6135: Adds encoding and errors parameters to subprocess

8 years agoFix test_os.GetRandomTests()
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.

8 years agoIssue #27959: Updates NEWS and whatsnew
Steve Dower [Wed, 7 Sep 2016 02:55:55 +0000 (19:55 -0700)]
Issue #27959: Updates NEWS and whatsnew

8 years agoIssue #27959: Documents new encoding and alias.
Steve Dower [Wed, 7 Sep 2016 02:46:42 +0000 (19:46 -0700)]
Issue #27959: Documents new encoding and alias.

8 years agoIssue #27959: Adds oem encoding, alias ansi to mbcs, move aliasmbcs to codec lookup
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

8 years agoAdds test.support.PGO and skips tests that are not useful for PGO.
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.

8 years agoIssue #27182: Add support for path-like objects to PyUnicode_FSDecoder().
Brett Cannon [Wed, 7 Sep 2016 02:36:01 +0000 (19:36 -0700)]
Issue #27182: Add support for path-like objects to PyUnicode_FSDecoder().

8 years agoFix some warnings from MSVC
Steve Dower [Wed, 7 Sep 2016 02:09:15 +0000 (19:09 -0700)]
Fix some warnings from MSVC

8 years agomerge 3.5
Benjamin Peterson [Wed, 7 Sep 2016 02:04:37 +0000 (19:04 -0700)]
merge 3.5

8 years agodo not memcpy from NULL
Benjamin Peterson [Wed, 7 Sep 2016 02:03:40 +0000 (19:03 -0700)]
do not memcpy from NULL

8 years agoMerge from 3.5
Berker Peksag [Wed, 7 Sep 2016 01:03:02 +0000 (04:03 +0300)]
Merge from 3.5

8 years agoUse shorter version of Connection.isolation_level in sqlite3.rst
Berker Peksag [Wed, 7 Sep 2016 01:02:41 +0000 (04:02 +0300)]
Use shorter version of Connection.isolation_level in sqlite3.rst

8 years agomerge 3.5
Benjamin Peterson [Wed, 7 Sep 2016 00:58:44 +0000 (17:58 -0700)]
merge 3.5

8 years agomake sure to not call memcpy with a NULL second argument
Benjamin Peterson [Wed, 7 Sep 2016 00:58:25 +0000 (17:58 -0700)]
make sure to not call memcpy with a NULL second argument

8 years agoSilence two warnings in blake2. key_length is between 0 and 64 (block size).
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).

8 years agoBypass __get_openssl_constructor() and always use our own blake2 implementation
Christian Heimes [Wed, 7 Sep 2016 00:35:13 +0000 (02:35 +0200)]
Bypass __get_openssl_constructor() and always use our own blake2 implementation

8 years agoCorrect a comment in the test referencing the wrong issue number (issue3100
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).

8 years agoMerge
Brett Cannon [Wed, 7 Sep 2016 00:16:41 +0000 (17:16 -0700)]
Merge

8 years agoMerge for #26359
Brett Cannon [Wed, 7 Sep 2016 00:16:11 +0000 (17:16 -0700)]
Merge for #26359

8 years agoIssue #18844: Add random.weighted_choices()
Raymond Hettinger [Wed, 7 Sep 2016 00:15:29 +0000 (17:15 -0700)]
Issue #18844: Add random.weighted_choices()

8 years agoIssue #26359: Add the --with-optimizations flag.
Brett Cannon [Wed, 7 Sep 2016 00:15:21 +0000 (17:15 -0700)]
Issue #26359: Add the --with-optimizations flag.

8 years agoIssue #26359: Add the --with-optimizations configure 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.

8 years agoOptimize unicode_escape and raw_unicode_escape
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.

8 years agoIssue #27776: include process.h on Windows for getpid()
Victor Stinner [Wed, 7 Sep 2016 00:03:03 +0000 (17:03 -0700)]
Issue #27776: include process.h on Windows for getpid()

8 years ago_PyUnicodeWriter: assert that max character <= MAX_UNICODE
Victor Stinner [Tue, 6 Sep 2016 23:58:36 +0000 (16:58 -0700)]
_PyUnicodeWriter: assert that max character <= MAX_UNICODE

8 years agoFixes 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:58:32 +0000 (23:58 +0000)]
Fixes issue26307: The profile-opt build now applys PGO to the built-in modules.

8 years agoFixes issue26307: The profile-opt build now applys PGO to the built-in
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.

8 years agoAdd libpython*.dylib to .{hg,git}ignore
Zachary Ware [Tue, 6 Sep 2016 23:46:22 +0000 (16:46 -0700)]
Add libpython*.dylib to .{hg,git}ignore

8 years agoIssue #26798: Hello Winndows, my old friend. I've come to fix blake2 for you again.
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.

8 years agoos.urandom() now blocks on Linux
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.

8 years agoIssue #23226: Add linspace() recipe to the docs
Raymond Hettinger [Tue, 6 Sep 2016 23:35:34 +0000 (16:35 -0700)]
Issue #23226:  Add linspace() recipe to the docs

8 years agoDownload hashlib test vectors from pythontest.net
Christian Heimes [Tue, 6 Sep 2016 23:21:14 +0000 (01:21 +0200)]
Download hashlib test vectors from pythontest.net

8 years agoIssue #27974: Remove importlib._bootstrap._ManageReload.
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.

8 years agoAdd os.getrandom()
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.

8 years agoIssue #21250: Merge from 3.5
Berker Peksag [Tue, 6 Sep 2016 23:05:16 +0000 (02:05 +0300)]
Issue #21250: Merge from 3.5

8 years agoIssue #21250: Add tests for SQLite's ON CONFLICT clause
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.

8 years agoDarn you, Benjamin!
Brett Cannon [Tue, 6 Sep 2016 22:58:40 +0000 (15:58 -0700)]
Darn you, Benjamin!

8 years agomerge heads
Benjamin Peterson [Tue, 6 Sep 2016 22:57:48 +0000 (15:57 -0700)]
merge heads

8 years agoMerge for #27872 doc changes
Brett Cannon [Tue, 6 Sep 2016 22:57:35 +0000 (15:57 -0700)]
Merge for #27872 doc changes

8 years agoIssue #26027, #27524: Document the support for path-like objects in os and os.path.
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.

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

8 years agodo not leak addrinfo in configure test
Benjamin Peterson [Tue, 6 Sep 2016 22:54:24 +0000 (15:54 -0700)]
do not leak addrinfo in configure test

8 years agoRun Argument Clinic on posixmodule.c
Victor Stinner [Tue, 6 Sep 2016 22:54:20 +0000 (15:54 -0700)]
Run Argument Clinic on posixmodule.c

Issue #17884.

8 years agoIssue #26027: Support path-like objects in PyUnicode-FSConverter().
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.

8 years agoIssue #26798: for loop initial declarations, take 3
Christian Heimes [Tue, 6 Sep 2016 22:32:06 +0000 (00:32 +0200)]
Issue #26798: for loop initial declarations, take 3

8 years agoIssue #26798: for loop initial declarations, take 2
Christian Heimes [Tue, 6 Sep 2016 22:09:22 +0000 (00:09 +0200)]
Issue #26798: for loop initial declarations, take 2

8 years agoIssue #21122: Fix LTO builds on OS X.
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.

8 years agoRemove redundant bullet point in 3.6.rst
Berker Peksag [Tue, 6 Sep 2016 22:07:06 +0000 (01:07 +0300)]
Remove redundant bullet point in 3.6.rst

8 years agoshut up some perfectly innocent reST in hashlib-blake2
Benjamin Peterson [Tue, 6 Sep 2016 21:37:37 +0000 (14:37 -0700)]
shut up some perfectly innocent reST in hashlib-blake2

8 years agoCloses #27982: Allow keyword arguments to winsound functions
Zachary Ware [Tue, 6 Sep 2016 21:32:43 +0000 (16:32 -0500)]
Closes #27982: Allow keyword arguments to winsound functions

8 years agoimprove grammar
Benjamin Peterson [Tue, 6 Sep 2016 21:32:40 +0000 (14:32 -0700)]
improve grammar

8 years agoIssue #27691: Fix ssl module's parsing of GEN_RID subject alternative name fields...
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.

8 years agoIssue #27691: Fix ssl module's parsing of GEN_RID subject alternative name fields...
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.

8 years agoIssue #26798: for loop initial declarations are only allowed in C99 or C11 mode
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

8 years agoIssue #25761: Improved error reporting about truncated pickle data in
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.

8 years agoadd back SIZEOF_UINTPTR_T
Benjamin Peterson [Tue, 6 Sep 2016 20:53:14 +0000 (13:53 -0700)]
add back SIZEOF_UINTPTR_T

8 years agoreplace Py_(u)intptr_t with the c99 standard types
Benjamin Peterson [Tue, 6 Sep 2016 20:47:26 +0000 (13:47 -0700)]
replace Py_(u)intptr_t with the c99 standard types

8 years agoFix out-of-tree builds for blake2
Christian Heimes [Tue, 6 Sep 2016 20:35:14 +0000 (22:35 +0200)]
Fix out-of-tree builds for blake2

8 years agorequire uintptr_t to exist
Benjamin Peterson [Tue, 6 Sep 2016 20:33:56 +0000 (13:33 -0700)]
require uintptr_t to exist

8 years agoproperly introduce reST literal blocks
Benjamin Peterson [Tue, 6 Sep 2016 20:28:29 +0000 (13:28 -0700)]
properly introduce reST literal blocks

8 years agoreplace Python aliases for standard integer types with the standard integer types...
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)

8 years agoonly include inttypes.h (#17884)
Benjamin Peterson [Tue, 6 Sep 2016 20:05:58 +0000 (13:05 -0700)]
only include inttypes.h (#17884)

8 years agoIssue #26798: Add BLAKE2 (blake2b and blake2s) to hashlib.
Christian Heimes [Tue, 6 Sep 2016 20:03:25 +0000 (22:03 +0200)]
Issue #26798: Add BLAKE2 (blake2b and blake2s) to hashlib.

8 years agodtoa.c: remove code for platforms with 64-bit integers (#17884)
Benjamin Peterson [Tue, 6 Sep 2016 19:44:21 +0000 (12:44 -0700)]
dtoa.c: remove code for platforms with 64-bit integers (#17884)

8 years agoinclude (now) int standard headers
Benjamin Peterson [Tue, 6 Sep 2016 19:41:06 +0000 (12:41 -0700)]
include (now) int standard headers

8 years agoMerge heads
Serhiy Storchaka [Tue, 6 Sep 2016 19:35:03 +0000 (22:35 +0300)]
Merge heads

8 years agoIssue #25596: Optimized glob() and iglob() functions in the
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.

8 years agodo not need vcstdint.h anymore
Benjamin Peterson [Tue, 6 Sep 2016 19:07:53 +0000 (12:07 -0700)]
do not need vcstdint.h anymore

8 years agoIssue #27078: Added BUILD_STRING opcode. Optimized f-strings evaluation.
Serhiy Storchaka [Tue, 6 Sep 2016 19:07:53 +0000 (22:07 +0300)]
Issue #27078: Added BUILD_STRING opcode.  Optimized f-strings evaluation.

8 years agoremove an unanswered question
Benjamin Peterson [Tue, 6 Sep 2016 18:59:24 +0000 (11:59 -0700)]
remove an unanswered question

8 years agorequire standard int types to be defined (#17884)
Benjamin Peterson [Tue, 6 Sep 2016 18:58:01 +0000 (11:58 -0700)]
require standard int types to be defined (#17884)

8 years agoIssue #27928: Add scrypt (password-based key derivation function) to hashlib module...
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).

8 years agoIssues #27850 and #27766: Remove 3DES from ssl default cipher list and add ChaCha20...
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.

8 years agoIssues #27850 and #27766: Remove 3DES from ssl default cipher list and add ChaCha20...
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.

8 years agoremove some silly defined() tests
Benjamin Peterson [Tue, 6 Sep 2016 17:51:19 +0000 (10:51 -0700)]
remove some silly defined() tests

8 years agoPrevents unnecessary help text appearing in doc build.
Steve Dower [Tue, 6 Sep 2016 17:49:17 +0000 (10:49 -0700)]
Prevents unnecessary help text appearing in doc build.

8 years agoreplace PY_LONG_LONG with long long
Benjamin Peterson [Tue, 6 Sep 2016 17:46:49 +0000 (10:46 -0700)]
replace PY_LONG_LONG with long long

8 years agomerge 3.5 (#27969)
Benjamin Peterson [Tue, 6 Sep 2016 17:06:51 +0000 (10:06 -0700)]
merge 3.5 (#27969)

8 years agosuppress stderr output when checking gdb (closes #27969)
Benjamin Peterson [Tue, 6 Sep 2016 17:06:31 +0000 (10:06 -0700)]
suppress stderr output when checking gdb (closes #27969)

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 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 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 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 #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 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