]>
granicus.if.org Git - python/log
Raymond Hettinger [Mon, 12 Sep 2016 00:24:05 +0000 (17:24 -0700)]
merge
Raymond Hettinger [Mon, 12 Sep 2016 00:23:49 +0000 (17:23 -0700)]
Issue #26511: Reference the id() function in the 'is' and 'is not' docs
Christian Heimes [Sun, 11 Sep 2016 23:14:35 +0000 (01:14 +0200)]
Update whatsnew with my contributions
Eric V. Smith [Sun, 11 Sep 2016 23:01:22 +0000 (19:01 -0400)]
Add another f-string comment test, to make sure # are being caught in the right place.
Eric V. Smith [Sun, 11 Sep 2016 22:58:20 +0000 (18:58 -0400)]
Make an f-string error message more exact and consistent.
Guido van Rossum [Sun, 11 Sep 2016 22:35:30 +0000 (15:35 -0700)]
Null merge 3.5->3.6
Guido van Rossum [Sun, 11 Sep 2016 22:34:56 +0000 (15:34 -0700)]
Issue #28079: Update typing and test typing from python/typing repo.
Ivan Levkivskyi (3.5 version)
Guido van Rossum [Sun, 11 Sep 2016 22:33:31 +0000 (15:33 -0700)]
Null merge 3.5->3.6
Guido van Rossum [Sun, 11 Sep 2016 22:31:27 +0000 (15:31 -0700)]
Issue #28079: Update typing and test typing from python/typing repo.
Ivan Levkivskyi (3.6 version)
Christian Heimes [Sun, 11 Sep 2016 22:01:11 +0000 (00:01 +0200)]
Issue #28085: Add PROTOCOL_TLS_CLIENT and PROTOCOL_TLS_SERVER for SSLContext
Ethan Furman [Sun, 11 Sep 2016 21:54:27 +0000 (14:54 -0700)]
issue28082: better name for Flag
Serhiy Storchaka [Sun, 11 Sep 2016 21:52:40 +0000 (00:52 +0300)]
Issue #27213: Fixed different issues with reworked CALL_FUNCTION* opcodes.
* BUILD_TUPLE_UNPACK and BUILD_MAP_UNPACK_WITH_CALL no longer generated with
single tuple or dict.
* Restored more informative error messages for incorrect var-positional and
var-keyword arguments.
* Removed code duplications in _PyEval_EvalCodeWithName().
* Removed redundant runtime checks and parameters in _PyStack_AsDict().
* Added a workaround and enabled previously disabled test in test_traceback.
* Removed dead code from the dis module.
R David Murray [Sun, 11 Sep 2016 21:23:33 +0000 (17:23 -0400)]
Merge: #19003: Only replace \r and/or \n line endings in email.generator.
R David Murray [Sun, 11 Sep 2016 21:22:56 +0000 (17:22 -0400)]
#19003: Only replace \r and/or \n line endings in email.generator.
This is a further restoration of backward compatibility, as well as
being correct per the RFCs.
Christian Heimes [Sun, 11 Sep 2016 20:47:02 +0000 (22:47 +0200)]
Issue #28022: Catch another deprecation warning in imaplib
Ethan Furman [Sun, 11 Sep 2016 20:34:42 +0000 (13:34 -0700)]
issue28083: add IntFlag constants
Ethan Furman [Sun, 11 Sep 2016 20:30:08 +0000 (13:30 -0700)]
issue28082: use IntFlag for re constants
Ethan Furman [Sun, 11 Sep 2016 20:25:26 +0000 (13:25 -0700)]
Enum._convert: sort by value, then by name
Xavier de Gaye [Sun, 11 Sep 2016 20:22:24 +0000 (22:22 +0200)]
Issue #28046: get_sysconfigdata_name() uses the _PYTHON_SYSCONFIGDATA_NAME
environment variable that is defined when cross-compiling.
Ned Deily [Sun, 11 Sep 2016 19:49:37 +0000 (15:49 -0400)]
Add some additional suspicious exemption rules for recent doc changes.
Xavier de Gaye [Sun, 11 Sep 2016 19:39:17 +0000 (21:39 +0200)]
Issue #27917: Fix test_triplet_in_ext_suffix for the 'x86' Android platform.
Serhiy Storchaka [Sun, 11 Sep 2016 18:56:32 +0000 (21:56 +0300)]
Issue #23545: Turn on extra warnings on GCC.
Serhiy Storchaka [Sun, 11 Sep 2016 18:53:53 +0000 (21:53 +0300)]
Regenerate the configure script. Now it supports --runstatedir option
(directory for pid files etc, /run or /var/run).
https://lists.gnu.org/archive/html/bug-autoconf/2013-09/msg00002.html
Serhiy Storchaka [Sun, 11 Sep 2016 18:25:45 +0000 (21:25 +0300)]
Issue #27810: Regenerate Argument Clinic.
Christian Heimes [Sun, 11 Sep 2016 18:11:30 +0000 (20:11 +0200)]
Issue 27744: test_aes_cbc is blocking x86-64 Ubuntu 15.10 Skylake CPU 3.x for a while. Require Kernel 4.3+ for now
Christian Heimes [Sun, 11 Sep 2016 18:03:46 +0000 (20:03 +0200)]
Issue #28078: Add missing colon
Christian Heimes [Sun, 11 Sep 2016 17:54:43 +0000 (19:54 +0200)]
Issue 28022: Catch deprecation warning in test_httplib, reported by Martin Panter
Christian Heimes [Sun, 11 Sep 2016 17:49:56 +0000 (19:49 +0200)]
Issue #28078: Silence resource warnings in test_socket. Initial patch by Xiang Zhang, thanks
Guido van Rossum [Sun, 11 Sep 2016 16:45:24 +0000 (09:45 -0700)]
Issue #28076: Variable annotations should be mangled for private names.
By Ivan Levkivskyi.
Eric V. Smith [Sun, 11 Sep 2016 14:20:27 +0000 (10:20 -0400)]
Issue 24454: Removed unused match_getitem_doc.
Vinay Sajip [Sun, 11 Sep 2016 14:16:58 +0000 (15:16 +0100)]
Closes #23105: Merged update from 3.5.
Vinay Sajip [Sun, 11 Sep 2016 14:15:59 +0000 (15:15 +0100)]
Issue #23105: Updated documentation on open() flag constants.
Eric V. Smith [Sun, 11 Sep 2016 13:50:47 +0000 (09:50 -0400)]
Issue 24454: Added whatsnew entry, removed __getitem__ from match_methods. Thanks Serhiy Storchaka.
Serhiy Storchaka [Sun, 11 Sep 2016 13:47:59 +0000 (16:47 +0300)]
Fixed a markup in docs.
Eric V. Smith [Sun, 11 Sep 2016 12:55:43 +0000 (08:55 -0400)]
Issue 24454: Improve the usability of the re match object named group API
Berker Peksag [Sun, 11 Sep 2016 12:46:47 +0000 (15:46 +0300)]
Use HTTP in testPythonOrg
Berker Peksag [Sun, 11 Sep 2016 12:46:07 +0000 (15:46 +0300)]
Issue #20100: Merge from 3.5
Berker Peksag [Sun, 11 Sep 2016 12:45:32 +0000 (15:45 +0300)]
Issue #20100: Clarify that passing flags to epoll() has no effect
Berker Peksag [Sun, 11 Sep 2016 12:37:30 +0000 (15:37 +0300)]
Issue #28036: Remove unused pysqlite_flush_statement_cache function
Berker Peksag [Sun, 11 Sep 2016 12:27:07 +0000 (15:27 +0300)]
Unskip testPythonOrg in test_robotparser
We should probably use pythontest.net for this.
Serhiy Storchaka [Sun, 11 Sep 2016 12:19:12 +0000 (15:19 +0300)]
Fixed refactoring bug in
dd046963bd42 (issue27129).
Berker Peksag [Sun, 11 Sep 2016 12:17:53 +0000 (15:17 +0300)]
Wrap testPasswordProtectedSite with @reap_threads
Vinay Sajip [Sun, 11 Sep 2016 12:15:57 +0000 (13:15 +0100)]
Closed #26533: Merged update from 3.5.
Vinay Sajip [Sun, 11 Sep 2016 12:15:06 +0000 (13:15 +0100)]
Closed #26533: expanded on behaviour of logging.config.listen().
Vinay Sajip [Sun, 11 Sep 2016 11:53:34 +0000 (12:53 +0100)]
Merged upstream changes.
Berker Peksag [Sun, 11 Sep 2016 11:53:16 +0000 (14:53 +0300)]
Issue #25497: Rewrite test_robotparser to use a class based design
Vinay Sajip [Sun, 11 Sep 2016 11:52:53 +0000 (12:52 +0100)]
Closes #25671: Merged fix from 3.5.
Vinay Sajip [Sun, 11 Sep 2016 11:52:08 +0000 (12:52 +0100)]
Fixes #25671: Updated prompt handling in activate.fish.
Serhiy Storchaka [Sun, 11 Sep 2016 11:48:16 +0000 (14:48 +0300)]
Use uint16_t instead of short in audioop.
Serhiy Storchaka [Sun, 11 Sep 2016 11:41:02 +0000 (14:41 +0300)]
Use sequence repetition instead of bytes constructor with integer argument.
Serhiy Storchaka [Sun, 11 Sep 2016 10:48:15 +0000 (13:48 +0300)]
Issue #27129: Replaced wordcode related magic constants with macros.
Martin Panter [Sun, 11 Sep 2016 10:06:38 +0000 (10:06 +0000)]
Issue #27952: Merge fixcid.py from 3.5
Berker Peksag [Sun, 11 Sep 2016 10:02:56 +0000 (13:02 +0300)]
Issue #27991: Merge from 3.5
Berker Peksag [Sun, 11 Sep 2016 10:02:27 +0000 (13:02 +0300)]
Issue #27991: Remove incorrect sentence about store_true
Patch by py.user.
Berker Peksag [Sun, 11 Sep 2016 09:57:15 +0000 (12:57 +0300)]
Issue #10740: sqlite3 no longer implicitly commit an open transaction before DDL statements
This commit contains the following commits from ghaering/pysqlite:
* https://github.com/ghaering/pysqlite/commit/
f254c534948c41c0ceb8cbabf0d4a2f547754739
* https://github.com/ghaering/pysqlite/commit/
796b3afe38cfdac5d7d5ec260826b0a596554631
* https://github.com/ghaering/pysqlite/commit/
cae87ee68613697a5f4947b4a0941f59a28da1b6
* https://github.com/ghaering/pysqlite/commit/
3567b31bb5e5b226ba006213a9c69dde3f155faf
With the following additions:
* Fixed a refcount error
* Fixed a compiler warning
* Made the string comparison a little more robust
* Added a whatsnew entry
Serhiy Storchaka [Sun, 11 Sep 2016 09:50:02 +0000 (12:50 +0300)]
Issue #22493: Inline flags now should be used only at the start of the
regular expression. Deprecation warning is emitted if uses them in the
middle of the regular expression.
Martin Panter [Sun, 11 Sep 2016 09:32:26 +0000 (09:32 +0000)]
Issue #27952: Get fixcid.py working with the re module
Serhiy Storchaka [Sun, 11 Sep 2016 08:23:38 +0000 (11:23 +0300)]
Issue #26885: xmlrpc now supports unmarshalling additional data types used
by Apache XML-RPC implementation for numerics and None.
Serhiy Storchaka [Sun, 11 Sep 2016 08:03:14 +0000 (11:03 +0300)]
Issue #26900: Excluded underscored names and other private API from limited API.
Ethan Furman [Sun, 11 Sep 2016 06:36:59 +0000 (23:36 -0700)]
issue23591: add auto() for auto-generating Enum member values
Nick Coghlan [Sun, 11 Sep 2016 04:45:49 +0000 (14:45 +1000)]
Issue #23722: Initialize __class__ from type.__new__()
The __class__ cell used by zero-argument super() is now initialized
from type.__new__ rather than __build_class__, so class methods
relying on that will now work correctly when called from metaclass
methods during class creation.
Patch by Martin Teichmann.
Gregory P. Smith ext:(%20%5BGoogle%20Inc.%5D) [Sun, 11 Sep 2016 03:39:50 +0000 (20:39 -0700)]
Remove the debug print that i accidentally left in.
Gregory P. Smith ext:(%20%5BGoogle%20Inc.%5D) [Sun, 11 Sep 2016 03:39:36 +0000 (20:39 -0700)]
Remove the debug print that i accidentally left in.
Guido van Rossum [Sun, 11 Sep 2016 02:05:32 +0000 (19:05 -0700)]
Issue #26141: Update docs for typing.py. Ivan Levkivskyi. (null merge 3.5->3.6)
Guido van Rossum [Sun, 11 Sep 2016 02:03:22 +0000 (19:03 -0700)]
Issue #26141: Update docs for typing.py. Ivan Levkivskyi. (Backport from the 3.6 version)
Guido van Rossum [Sun, 11 Sep 2016 01:54:14 +0000 (18:54 -0700)]
Issue #26141: Update docs for typing.py. Ivan Levkivskyi.
Guido van Rossum [Sun, 11 Sep 2016 01:49:34 +0000 (18:49 -0700)]
Issue #28073: Improve wording around None. Michael Lee. (3.5->3.6)
Guido van Rossum [Sun, 11 Sep 2016 01:49:14 +0000 (18:49 -0700)]
Issue #28073: Improve wording around None. Michael Lee.
Benjamin Peterson [Sun, 11 Sep 2016 00:53:13 +0000 (17:53 -0700)]
Backed out changeset
8460a729e1de
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.