]>
granicus.if.org Git - python/log
Benjamin Peterson [Sun, 11 Sep 2016 00:45:33 +0000 (17:45 -0700)]
force gcc to use c99 inline semantics
Benjamin Peterson [Sun, 11 Sep 2016 00:38:51 +0000 (17:38 -0700)]
fix link to instrumentation
Benjamin Peterson [Sun, 11 Sep 2016 00:34:15 +0000 (17:34 -0700)]
add the usual extern C silliness to pydtrace.h
Benjamin Peterson [Sun, 11 Sep 2016 00:24:25 +0000 (17:24 -0700)]
reST is not markdown
Benjamin Peterson [Sun, 11 Sep 2016 00:04:36 +0000 (17:04 -0700)]
Backed out changeset
3934e070c9db
Serhiy Storchaka [Sat, 10 Sep 2016 22:41:01 +0000 (01:41 +0300)]
Null merge
Serhiy Storchaka [Sat, 10 Sep 2016 22:39:51 +0000 (01:39 +0300)]
Backported tests for issue #28070.
Serhiy Storchaka [Sat, 10 Sep 2016 22:39:01 +0000 (01:39 +0300)]
Issue #28070: Fixed parsing inline verbose flag in regular expressions.
Christian Heimes [Sat, 10 Sep 2016 21:44:53 +0000 (23:44 +0200)]
Issue #19500: Add client-side SSL session resumption to the ssl module.
Christian Heimes [Sat, 10 Sep 2016 21:23:33 +0000 (23:23 +0200)]
Issue #28022: Deprecate ssl-related arguments in favor of SSLContext.
The deprecation include manual creation of SSLSocket and certfile/keyfile
(or similar) in ftplib, httplib, imaplib, smtplib, poplib and urllib.
ssl.wrap_socket() is not marked as deprecated yet.
Alexander Belopolsky [Sat, 10 Sep 2016 20:51:17 +0000 (16:51 -0400)]
#28067: Fixed another typo.
Christian Heimes [Sat, 10 Sep 2016 20:43:48 +0000 (22:43 +0200)]
Issue 28043: SSLContext has improved default settings
The options OP_NO_COMPRESSION, OP_CIPHER_SERVER_PREFERENCE, OP_SINGLE_DH_USE, OP_SINGLE_ECDH_USE, OP_NO_SSLv2 (except for PROTOCOL_SSLv2), and OP_NO_SSLv3 (except for PROTOCOL_SSLv3) are set by default. The initial cipher suite list contains only HIGH ciphers, no NULL ciphers and MD5 ciphers (except for PROTOCOL_SSLv2).
Terry Jan Reedy [Sat, 10 Sep 2016 20:28:01 +0000 (16:28 -0400)]
IDLE newx items. merge from 3.5
Terry Jan Reedy [Sat, 10 Sep 2016 20:24:54 +0000 (16:24 -0400)]
IDLE newx items.
Alexander Belopolsky [Sat, 10 Sep 2016 20:08:26 +0000 (16:08 -0400)]
#28067: Fixed a typo.
Alexander Belopolsky [Sat, 10 Sep 2016 19:58:31 +0000 (15:58 -0400)]
Closes #28067: Do not call localtime (gmtime) in datetime module.
Steve Dower [Sat, 10 Sep 2016 19:25:07 +0000 (12:25 -0700)]
Closes #28059: Fixes test_platform to set PYTHONPATH for .pyd files
Mark Dickinson [Sat, 10 Sep 2016 19:20:08 +0000 (20:20 +0100)]
Issue #25221: merge from 3.5.
Steve Dower [Sat, 10 Sep 2016 19:19:42 +0000 (12:19 -0700)]
Closes #28059: Fixes test_platform to set PYTHONPATH for .pyd files
Mark Dickinson [Sat, 10 Sep 2016 19:17:36 +0000 (20:17 +0100)]
Issue #25221: Fix corrupted result from PyLong_FromLong(0) when Python is compiled with NSMALLPOSINTS = 0.
Steve Dower [Sat, 10 Sep 2016 18:53:34 +0000 (11:53 -0700)]
Merge from 3.5
Steve Dower [Sat, 10 Sep 2016 18:52:18 +0000 (11:52 -0700)]
Issue #27932: Backs out change
Serhiy Storchaka [Sat, 10 Sep 2016 18:34:43 +0000 (21:34 +0300)]
Fixed compiler warnings in compact dict implementation on 32-bit platforms.
Serhiy Storchaka [Sat, 10 Sep 2016 18:28:07 +0000 (21:28 +0300)]
Issue #24693: Changed some RuntimeError's in the zipfile module to more
appropriate types. Improved some error messages and debugging output.
Xavier de Gaye [Sat, 10 Sep 2016 14:19:45 +0000 (16:19 +0200)]
Issue #28046: Fix get_sysconfigdata_name().
Zachary Ware [Sat, 10 Sep 2016 13:55:15 +0000 (08:55 -0500)]
Backed out changeset
491bbba73bca
This change didn't have the intended effect.
Martin Panter [Sat, 10 Sep 2016 10:45:28 +0000 (10:45 +0000)]
One more spelling fix
Martin Panter [Sat, 10 Sep 2016 10:44:12 +0000 (10:44 +0000)]
Merge spelling fixes from 3.5
Martin Panter [Sat, 10 Sep 2016 10:38:28 +0000 (10:38 +0000)]
Correct spelling in documentation and code comment
Victor Stinner [Sat, 10 Sep 2016 10:24:47 +0000 (06:24 -0400)]
test_platform: Save/restore os.environ on Windows
Nick Coghlan [Sat, 10 Sep 2016 10:16:18 +0000 (20:16 +1000)]
Issue #17909: Accept binary input in json.loads
json.loads (and hence json.load) now support binary input
encoded as UTF-8, UTF-16 or UTF-32.
Patch by Serhiy Storchaka.
Nick Coghlan [Sat, 10 Sep 2016 10:00:02 +0000 (20:00 +1000)]
Issue #27137: align Python & C implementations of functools.partial
The pure Python fallback implementation of functools.partial
now matches the behaviour of its accelerated C counterpart for
subclassing, pickling and text representation purposes.
Patch by Emanuel Barry and Serhiy Storchaka.
Victor Stinner [Sat, 10 Sep 2016 08:27:56 +0000 (04:27 -0400)]
Merge 3.5 (regrtest)
Victor Stinner [Sat, 10 Sep 2016 08:27:28 +0000 (04:27 -0400)]
regrtest: accept options after test names
Victor Stinner [Sat, 10 Sep 2016 08:19:48 +0000 (04:19 -0400)]
test_eintr: Fix ResourceWarning warnings
Victor Stinner [Sat, 10 Sep 2016 08:07:38 +0000 (04:07 -0400)]
Show regrtest env changed warn on Windows buildbot
Issue #27829: don't pass --quiet option to regrtest to see
"Warning -- xxx was modified by ..." warnings.
Serhiy Storchaka [Sat, 10 Sep 2016 06:53:51 +0000 (09:53 +0300)]
Issue #28019: itertools.count() no longer rounds non-integer step in range
between 1.0 and 2.0 to 1.
Serhiy Storchaka [Sat, 10 Sep 2016 06:49:24 +0000 (09:49 +0300)]
Issue #28019: itertools.count() no longer rounds non-integer step in range
between 1.0 and 2.0 to 1.
Berker Peksag [Sat, 10 Sep 2016 06:28:03 +0000 (09:28 +0300)]
Fix Python version in pdb.rst
Victor Stinner [Sat, 10 Sep 2016 06:22:09 +0000 (23:22 -0700)]
Issue #18401: Fix test_pdb on Windows
* Use "with Popen" to cleanup properly the process
* Use support.temp_cwd() to properly change the working directory
* Use environ.pop() to cleanup the code
Victor Stinner [Sat, 10 Sep 2016 06:11:52 +0000 (23:11 -0700)]
Fix check_force_ascii()
Issue #27938: Normalize aliases of the ASCII encoding, because
_Py_normalize_encoding() now correctly normalize encoding names.
Victor Stinner [Sat, 10 Sep 2016 05:56:54 +0000 (22:56 -0700)]
Issue #18401: Fix test_pdb if $HOME is not set
HOME is not set on Windows for example.
Use also textwrap.dedent() for the script.
Łukasz Langa [Sat, 10 Sep 2016 05:21:17 +0000 (22:21 -0700)]
Issue #18401: pdb tests don't read ~/.pdbrc anymore
Patch by Martin Matusiak and Sam Kimbrel.
Victor Stinner [Sat, 10 Sep 2016 04:51:19 +0000 (21:51 -0700)]
Try to fix sizeof unit tests on dict
Issue #28056 and issue #26058.
Łukasz Langa [Sat, 10 Sep 2016 04:47:46 +0000 (21:47 -0700)]
Don't run garbage collection on interpreter exit if it was explicitly disabled
by the user.
Guido van Rossum [Sat, 10 Sep 2016 04:39:36 +0000 (21:39 -0700)]
Use raw string for regexp (3.5->3.6)
Guido van Rossum [Sat, 10 Sep 2016 04:39:10 +0000 (21:39 -0700)]
Use raw string for regexp
R David Murray [Sat, 10 Sep 2016 04:22:25 +0000 (00:22 -0400)]
#20476: Deal with the message_factory circular import differently.
It turns out we can't depend on email.message getting imported every place
message_factory is needed, so to avoid a circular import we need to special
case Policy.message_factory=None in the parser instead of using monkey
patching. I had a feeling that was a bad idea when I did it.
Victor Stinner [Sat, 10 Sep 2016 03:56:52 +0000 (20:56 -0700)]
Issue #27810: Fix getargs.c compilation on Windows
Benjamin Peterson [Sat, 10 Sep 2016 03:45:06 +0000 (20:45 -0700)]
fix export of size_t parse stack function
Victor Stinner [Sat, 10 Sep 2016 03:22:59 +0000 (20:22 -0700)]
dictobject.c: explain why stringlib is used
Victor Stinner [Sat, 10 Sep 2016 03:00:13 +0000 (20:00 -0700)]
Issue #27810: Rerun Argument Clinic on all modules
Steve Dower [Sat, 10 Sep 2016 01:38:20 +0000 (18:38 -0700)]
Issue #27566: Fix clean target in freeze makefile (patch by Lisa Roach)
Steve Dower [Sat, 10 Sep 2016 01:21:15 +0000 (18:21 -0700)]
Issue #27705: Update message in validate_ucrtbase.py
Gregory P. Smith ext:(%20%5BGoogle%20Inc.%5D) [Sat, 10 Sep 2016 01:18:52 +0000 (18:18 -0700)]
Issue #25969: Update the lib2to3 grammar to handle the unpacking
generalizations added in 3.5.
Gregory P. Smith [Sat, 10 Sep 2016 01:14:33 +0000 (18:14 -0700)]
remove fix_callable - callable() was readded many releases ago.
Steve Dower [Sat, 10 Sep 2016 01:01:25 +0000 (18:01 -0700)]
Issue #27932: Fixes memory leak in platform.win32_ver()
Victor Stinner [Sat, 10 Sep 2016 00:40:38 +0000 (17:40 -0700)]
Emit METH_FASTCALL code in Argument Clinic
Issue #27810:
* Modify vgetargskeywordsfast() to work on a C array of PyObject* rather than
working on a tuple directly.
* Add _PyArg_ParseStack()
* Argument Clinic now emits code using the new METH_FASTCALL calling convention
Victor Stinner [Sat, 10 Sep 2016 00:40:22 +0000 (17:40 -0700)]
Add METH_FASTCALL calling convention
Issue #27810: Add a new calling convention for C functions:
PyObject* func(PyObject *self, PyObject **args,
Py_ssize_t nargs, PyObject *kwnames);
Where args is a C array of positional arguments followed by values of keyword
arguments. nargs is the number of positional arguments, kwnames are keys of
keyword arguments. kwnames can be NULL.
Victor Stinner [Sat, 10 Sep 2016 02:28:36 +0000 (19:28 -0700)]
Fix SystemError in compact dict
Issue #28040: Fix _PyDict_DelItem_KnownHash() and _PyDict_Pop(): convert
splitted table to combined table to be able to delete the item.
Write an unit test for the issue.
Patch by INADA Naoki.
Benjamin Peterson [Sat, 10 Sep 2016 03:14:05 +0000 (20:14 -0700)]
make invalid_comma_and_underscore a real prototype
Eric V. Smith [Sat, 10 Sep 2016 03:13:01 +0000 (23:13 -0400)]
Further improved ',' and '_' specification in format mini-language.
Eric V. Smith [Sat, 10 Sep 2016 03:12:02 +0000 (23:12 -0400)]
Improved ',' and '_' specification in format mini-language.
Eric V. Smith [Sat, 10 Sep 2016 03:06:47 +0000 (23:06 -0400)]
Issue 27080: PEP 515: add '_' formatting option.
Benjamin Peterson [Sat, 10 Sep 2016 02:52:23 +0000 (19:52 -0700)]
compile dtrace stubs
Łukasz Langa [Sat, 10 Sep 2016 02:48:14 +0000 (19:48 -0700)]
Issue #27199: TarFile expose copyfileobj bufsize to improve throughput
Patch by Jason Fried.
Benjamin Peterson [Sat, 10 Sep 2016 02:48:47 +0000 (19:48 -0700)]
add dtrace inline stubs
Benjamin Peterson [Sat, 10 Sep 2016 02:31:12 +0000 (19:31 -0700)]
just start with an int rather than casting
Eric V. Smith [Sat, 10 Sep 2016 01:56:20 +0000 (21:56 -0400)]
Issue 27948: Allow backslashes in the literal string portion of f-strings, but not in the expressions. Also, require expressions to begin and end with literal curly braces.
Steve Dower [Sat, 10 Sep 2016 01:41:56 +0000 (18:41 -0700)]
Issue #27566: Fix clean target in freeze makefile (patch by Lisa Roach)
Zachary Ware [Sat, 10 Sep 2016 01:29:10 +0000 (18:29 -0700)]
Issue #28046: Fix distutils
Why do we have two sysconfig modules again?
Steve Dower [Sat, 10 Sep 2016 01:25:29 +0000 (18:25 -0700)]
Issue #27705: Update message in validate_ucrtbase.py
Gregory P. Smith ext:(%20%5BGoogle%20Inc.%5D) [Sat, 10 Sep 2016 01:19:51 +0000 (18:19 -0700)]
Issue #25969: Update the lib2to3 grammar to handle the unpacking
generalizations added in 3.5.
Gregory P. Smith [Sat, 10 Sep 2016 01:14:52 +0000 (18:14 -0700)]
merge (3.6 already has this)
Benjamin Peterson [Sat, 10 Sep 2016 01:09:52 +0000 (18:09 -0700)]
dummy dtrace probes are a good place to use inline functions
Steve Dower [Sat, 10 Sep 2016 01:05:07 +0000 (18:05 -0700)]
Merge from Zach
Steve Dower [Sat, 10 Sep 2016 01:04:26 +0000 (18:04 -0700)]
Issue #27932: Fixes memory leak in platform.win32_ver()
Zachary Ware [Sat, 10 Sep 2016 00:59:49 +0000 (17:59 -0700)]
Issue #28046: Remove platform-specific directories from sys.path
Zachary Ware [Sat, 10 Sep 2016 00:47:38 +0000 (17:47 -0700)]
Actually fix suspicious markup, I ignored it too readily
Benjamin Peterson [Sat, 10 Sep 2016 00:46:24 +0000 (17:46 -0700)]
fix dummy macro
Łukasz Langa [Sat, 10 Sep 2016 00:37:37 +0000 (17:37 -0700)]
DTrace support: function calls, GC activity, line execution
Tested on macOS 10.11 dtrace, Ubuntu 16.04 SystemTap, and libbcc.
Largely based by an initial patch by Jesús Cea Avión, with some
influence from Dave Malcolm's SystemTap patch and Nikhil Benesch's
unification patch.
Things deliberately left out for simplicity:
- ustack helpers, I have no way of testing them at this point since
they are Solaris-specific
- PyFrameObject * in function__entry/function__return, this is
SystemTap-specific
- SPARC support
- dynamic tracing
- sys module dtrace facility introspection
All of those might be added later.
Zachary Ware [Sat, 10 Sep 2016 00:38:28 +0000 (17:38 -0700)]
Remove line numbers from suspicious rules
Steve Dower [Sat, 10 Sep 2016 00:33:37 +0000 (17:33 -0700)]
Issue #25758: Prevents zipimport from unnecessarily encoding a filename (patch by Eryk Sun)
Steve Dower [Sat, 10 Sep 2016 00:27:33 +0000 (17:27 -0700)]
Issue #25758: Prevents zipimport from unnecessarily encoding a filename (patch by Eryk Sun)
R David Murray [Sat, 10 Sep 2016 00:09:43 +0000 (20:09 -0400)]
Merge: #14977: Make mailcap respect the order of the lines in the mailcap file.
R David Murray [Sat, 10 Sep 2016 00:04:23 +0000 (20:04 -0400)]
#14977: Make mailcap respect the order of the lines in the mailcap file.
This is required by RFC 1542, so despite the subtle behavior change we
are treating it as a bug. Patch by Michael Lazar.
Gregory P. Smith [Sat, 10 Sep 2016 00:03:58 +0000 (17:03 -0700)]
Remove 2to3's fix_callable... We reintroduced the callable built-in
pretty early on in the 3.x series (3.1 or 3.2?).
Zachary Ware [Sat, 10 Sep 2016 00:01:21 +0000 (17:01 -0700)]
Closes #27976: Deprecate bundled full copy of libffi
Builds on non-OSX UNIX now default to using the system libffi, and warn if the
bundled copy is used.
Raymond Hettinger [Fri, 9 Sep 2016 23:44:53 +0000 (16:44 -0700)]
Merge
Raymond Hettinger [Fri, 9 Sep 2016 23:43:48 +0000 (16:43 -0700)]
Issue #22450: Use "Accept: */*" in the default headers for urllib.request
Steve Dower [Fri, 9 Sep 2016 23:39:36 +0000 (16:39 -0700)]
Issue #25144: Ensures TargetDir is set before continuing with custom install.
Steve Dower [Fri, 9 Sep 2016 23:37:53 +0000 (16:37 -0700)]
Issue #25144: Ensures TargetDir is set before continuing with custom install.
Zachary Ware [Fri, 9 Sep 2016 23:15:03 +0000 (16:15 -0700)]
Rename test_strlit -> test_string_literals
Davin Potts [Fri, 9 Sep 2016 23:03:10 +0000 (18:03 -0500)]
Issue #28053: Applying refactorings, docs and other cleanup to follow.
Raymond Hettinger [Fri, 9 Sep 2016 22:58:00 +0000 (15:58 -0700)]
merge
Raymond Hettinger [Fri, 9 Sep 2016 22:57:13 +0000 (15:57 -0700)]
Issue 14976: Note that the queue module is not designed to protect against reentrancy
Steve Dower [Fri, 9 Sep 2016 22:53:58 +0000 (15:53 -0700)]
Fix call to PathCombineW.
Zachary Ware [Fri, 9 Sep 2016 22:47:05 +0000 (15:47 -0700)]
We're not that far in the future yet
Zachary Ware [Fri, 9 Sep 2016 22:46:14 +0000 (15:46 -0700)]
Fix suspicious markup
Steve Dower [Fri, 9 Sep 2016 22:45:47 +0000 (15:45 -0700)]
Remove buildbot diagnostic code.