Ned Deily [Tue, 12 Jun 2018 02:38:03 +0000 (22:38 -0400)]
Update macOS installer Welcome and ReadMe files for 3.7.0. (GH-7653)
Ned Deily [Tue, 12 Jun 2018 00:26:28 +0000 (20:26 -0400)]
bpo-31432: Revert unrelated code changes to _ssl.c and test_ssl (GH-7650)
Christian Heimes [Mon, 11 Jun 2018 22:59:45 +0000 (00:59 +0200)]
bpo-31432: Clarify ssl CERT_NONE/OPTIONAL/REQUIRED docs. (GH-3530)
The documentation for CERT_NONE, CERT_OPTIONAL, and CERT_REQUIRED were
misleading and partly wrong. It fails to explain that OpenSSL behaves
differently in client and server mode. Also OpenSSL does validate the
cert chain everytime. With SSL_VERIFY_NONE a validation error is not
fatal in client mode and does not request a client cert in server mode.
Also discourage people from using CERT_OPTIONAL in client mode.
Terry Jan Reedy [Mon, 11 Jun 2018 20:53:41 +0000 (16:53 -0400)]
bpo-33656: Mention color in idlelib/NEWS.txt entry. (#7646)
Matthias Bussonnier [Mon, 11 Jun 2018 20:08:16 +0000 (22:08 +0200)]
bpo-33582: Emit deprecation warning for `formatargspec` (GH-6994)
Terry Jan Reedy [Mon, 11 Jun 2018 19:45:27 +0000 (15:45 -0400)]
bpo-33656: Add enum name for argument of Windows call. (GH-7642)
Change suggested by Eryk Sun in a comment on PR 7137 after it was merged.
Terry Jan Reedy [Mon, 11 Jun 2018 18:15:37 +0000 (14:15 -0400)]
bpo-33656: Add entry to What's New 3.7. (GH-7638)
This is a separate PR because this does not backport to 3.6.
Terry Jan Reedy [Mon, 11 Jun 2018 18:14:32 +0000 (14:14 -0400)]
bpo-33656: On Windows, add API call saying that tk scales for DPI (GH-7137)
On Windows 8.1+ or 10, with DPI compatibility properties of the Python binary
unchanged, and a monitor resolution greater than 96 DPI, this should
make text and lines sharper. It should otherwise have no effect.
Using a magnifier, I determined that the improvement comes from horizontal and
lines being better lined up with the monitor pixels. I checked that this call causes
no problem on any Windows buildbot, including the Win7 buildbots. Unlike most
IDLE patches, this one can be easily reverted by users by removing a few lines,
at the top of idlelib/pyshell.py.
Andrés Delfino [Mon, 11 Jun 2018 16:58:18 +0000 (13:58 -0300)]
bpo-33831: Make htmlview run again (GH-7628)
Zackery Spytz [Mon, 11 Jun 2018 14:47:47 +0000 (08:47 -0600)]
bpo-30820: Remove incorrect docs for email.contentmanager.raw_data_manager (#7631)
The docs claimed that a list of EmailMessage objects could be
passed to set_content(), but this was never implemented.
Serhiy Storchaka [Mon, 11 Jun 2018 12:01:47 +0000 (15:01 +0300)]
Clean up after bpo-33738. (GH-7627)
* Add declarations even if they are overridden by macros.
* Make the declaration and the definition of PyExceptionClass_Name
consistent.
Ned Deily [Mon, 11 Jun 2018 08:09:34 +0000 (04:09 -0400)]
bpo-23404: Update/sync What's New files for 3.6/3.5/2.7 (GH-7620)
Ned Deily [Mon, 11 Jun 2018 04:45:50 +0000 (00:45 -0400)]
pypi.python.org -> pypi.org (GH-7613)
Ned Deily [Mon, 11 Jun 2018 02:41:09 +0000 (22:41 -0400)]
bpo-33745: Add What's New for empty function docstring change. (GH-7611)
Ned Deily [Mon, 11 Jun 2018 02:17:56 +0000 (22:17 -0400)]
bpo-33109: Remove now-obsolete What's New entry for bpo-26510. (GH-7609)
Steve Weber [Mon, 11 Jun 2018 00:49:34 +0000 (20:49 -0400)]
bpo-30167: Prevent site.main() exception if PYTHONSTARTUP is set. (GH-6731)
Before Python 3.6, os.path.abspath(None) used to report an AttributeError which was properly caught inside site.abs_paths, making it ignore __main__, one of sys.modules, which has __file__ and __cached__ set to None. With 3.6, os.path.abspath(None) raises TypeError instead which site.abs_path was not expecting. This resulted in an uncaught exception if a user had PYTHONSTARTUP set and the application called site.main() which a number of third-party programs do.
Christian Tismer [Sun, 10 Jun 2018 22:48:28 +0000 (00:48 +0200)]
bpo-33738: Address review comments in GH #7477 (GH-7585)
Alexander Belopolsky [Sun, 10 Jun 2018 21:02:58 +0000 (17:02 -0400)]
bpo-33812: Corrected astimezone for naive datetimes. (GH-7578)
A datetime object d is aware if d.tzinfo is not None and
d.tzinfo.utcoffset(d) does not return None. If d.tzinfo is None,
or if d.tzinfo is not None but d.tzinfo.utcoffset(d) returns None,
d is naive.
This commit ensures that instances with non-None d.tzinfo, but
d.tzinfo.utcoffset(d) returning None are treated as naive.
In addition, C acceleration code will raise TypeError if
d.tzinfo.utcoffset(d) returns an object with the type other than
timedelta.
* Updated the documentation.
Assume that the term "naive" is defined elsewhere and remove the
not entirely correct clarification. Thanks, Tim.
Terry Jan Reedy [Sun, 10 Jun 2018 19:48:41 +0000 (15:48 -0400)]
bpo-33610: Update IDLE Code Context doc entry (GH-7597)
Users can now click on context lines.
Terry Jan Reedy [Sun, 10 Jun 2018 18:57:38 +0000 (14:57 -0400)]
bpo-33820: Fix IDLE What's New typo (#7594)
Terry Jan Reedy [Sun, 10 Jun 2018 18:15:04 +0000 (14:15 -0400)]
bpo-33821: Update idlelib subsection of What's New 3.7 (#7590)
Terry Jan Reedy [Sun, 10 Jun 2018 18:03:40 +0000 (14:03 -0400)]
bpo-33820: Update idlelib subsection of What's New 3.6 (GH-7589)
Zackery Spytz [Sun, 10 Jun 2018 07:28:01 +0000 (01:28 -0600)]
Remove unneeded PyErr_Occurred() check in os_lseek_impl() (GH-7557)
This call became unneeded after the posix module was converted to the
Argument Clinic in
2f93635d342a500053e97c9c7c30f1eaf11fc3ac and should
have been removed as part of that change.
Tal Einat [Sun, 10 Jun 2018 07:10:28 +0000 (10:10 +0300)]
bpo-33748: fix tests altering sys.path and sys.modules (GH-7433)
Tal Einat [Sun, 10 Jun 2018 07:01:50 +0000 (10:01 +0300)]
bpo-33770: improve base64 exception message for encoded inputs of invalid length (#7416)
Serhiy Storchaka [Sun, 10 Jun 2018 06:46:50 +0000 (09:46 +0300)]
Fix spaces added after hyphens in news entries. (GH-7579)
Seems they were added by double applying blurb.
Andrés Delfino [Sun, 10 Jun 2018 01:43:45 +0000 (22:43 -0300)]
Remove hyphens from phrase "picks up where it left off" (GH-7410)
Andrés Delfino [Sun, 10 Jun 2018 00:41:09 +0000 (21:41 -0300)]
Fix typo in object.__getnewargs__() documentation (GH-7554)
Ammar Askar [Sat, 9 Jun 2018 23:49:39 +0000 (16:49 -0700)]
bpo-33766: Document that end of file or string is a newline (GH-7383)
MarcoFalke [Sat, 9 Jun 2018 23:09:13 +0000 (19:09 -0400)]
doc: Fix typo in asyncio-eventloop.rst (GH-7345)
This is a fixup to
19a44f63c738388ef3c8515348b4ffc061dfd627
Ned Deily [Sat, 9 Jun 2018 22:19:57 +0000 (18:19 -0400)]
bpo-32493: Correct test for uuid_enc_be availability in configure.ac. (GH-7511) (GH-7567)
Christian Tismer [Sat, 9 Jun 2018 18:32:25 +0000 (20:32 +0200)]
bpo-33738: Fix macros which contradict PEP 384 (GH-7477)
During development of the limited API support for PySide,
we saw an error in a macro that accessed a type field.
This patch fixes the 7 errors in the Python headers.
Macros which were not written as capitals were implemented
as function.
To do the necessary analysis again, a script was included that
parses all headers and looks for "->tp_" in serctions which can
be reached with active limited API.
It is easily possible to call this script as a test.
Error listing:
../../Include/objimpl.h:243
#define PyObject_IS_GC(o) (PyType_IS_GC(Py_TYPE(o)) && \
(Py_TYPE(o)->tp_is_gc == NULL || Py_TYPE(o)->tp_is_gc(o)))
Action: commented only
../../Include/objimpl.h:362
#define PyType_SUPPORTS_WEAKREFS(t) ((t)->tp_weaklistoffset > 0)
Action: commented only
../../Include/objimpl.h:364
#define PyObject_GET_WEAKREFS_LISTPTR(o) \
((PyObject **) (((char *) (o)) + Py_TYPE(o)->tp_weaklistoffset))
Action: commented only
../../Include/pyerrors.h:143
#define PyExceptionClass_Name(x) \
((char *)(((PyTypeObject*)(x))->tp_name))
Action: implemented function
../../Include/abstract.h:593
#define PyIter_Check(obj) \
((obj)->ob_type->tp_iternext != NULL && \
(obj)->ob_type->tp_iternext != &_PyObject_NextNotImplemented)
Action: implemented function
../../Include/abstract.h:713
#define PyIndex_Check(obj) \
((obj)->ob_type->tp_as_number != NULL && \
(obj)->ob_type->tp_as_number->nb_index != NULL)
Action: implemented function
../../Include/abstract.h:924
#define PySequence_ITEM(o, i)\
( Py_TYPE(o)->tp_as_sequence->sq_item(o, i) )
Action: commented only
Zackery Spytz [Sat, 9 Jun 2018 17:09:45 +0000 (11:09 -0600)]
bpo-33375: Fix GCC warning in Python/_warnings.c (GH-7556)
_Py_IDENTIFIER(argv) is now unused.
Nick Coghlan [Sat, 9 Jun 2018 06:54:08 +0000 (16:54 +1000)]
bpo-33409: Clarify PEP 538/540 relationship (GH-7534)
While locale coercion and UTF-8 mode turned out to
be complementary ideas rather than competing ones,
it isn't immediately obvious why it's useful to
have both, or how they interact at runtime.
This updates both the Python 3.7 What's New doc
and the PYTHONCOERCECLOCALE and PYTHONUTF8
documentation in an attempt to clarify that
relationship:
- in the respective What's New sections, add a closing paragraph
explaining which problem each one solves, and pointing to the
other PEP's section for the specific aspects it relies on the other
PEP to solve
- use "locale-aware mode" as a more descriptive term for the
default non-UTF-8 mode
- improve wording conistenccy between the PYTHONCOERCECLOCALE
and PYTHONUTF8 docs when they cover the same thing (mostly
related to legacy locale detection and setting the standard
stream error handler)
- improve the description of the locale coercion trigger conditions
(including pointing out that setting LC_ALL turns off locale coercion)
- port the full description of the UTF-8 mode behaviour changes
from PEP 540 into the PYTHONUTF8 documentation
- be explicit that PYTHONIOENCODING still overrides the settings
for the standard streams
- mention concrete examples of things that do and don't get their
text encoding assumptions adjusted by the two text encoding
assumption override techniques
Andrés Delfino [Sat, 9 Jun 2018 00:20:05 +0000 (21:20 -0300)]
Fix indendation level of versionchanged directive in configparser.items() doc (GH-7543)
Alexander Belopolsky [Fri, 8 Jun 2018 23:22:33 +0000 (19:22 -0400)]
bpo-33810 Remove unused code from datetime.py. (GH-7549)
Since implementation of bpo-25283, the objects returned by time.localtime
always have tm_zone and tm_gmtoff attributes. Remove code that
anticipates their absence.
Alexander Belopolsky [Fri, 8 Jun 2018 22:58:38 +0000 (18:58 -0400)]
Datetime test coverage (#7544)
* Added a test case for strftime("%z").
The added test checks a case with UTC offest expressed in an integer
number of seconds.
* Added a test comparing naive and aware datetimes.
Check that a greater than comparison of a naive datetime instance with
an aware one raises a TypeError.
* Test datetime in fold or in gap comparison both ways.
Yury Selivanov [Fri, 8 Jun 2018 22:24:37 +0000 (18:24 -0400)]
bpo-30805: Avoid race condition with debug logging (GH-7545)
Supersedes https://github.com/python/cpython/pull/2490
Andrés Delfino [Fri, 8 Jun 2018 21:51:20 +0000 (18:51 -0300)]
bpo-33801: Remove non-ordered dict comment from plistlib doc (GH-7495)
Thomas Kluyver [Fri, 8 Jun 2018 19:28:37 +0000 (21:28 +0200)]
bpo-33375: Get filename for warnings from frame.f_code.co_filename (GH-6622)
More consistent with how other parts of Python find the filename (e.g. tracebacks and pdb).
Andrés Delfino [Fri, 8 Jun 2018 19:19:21 +0000 (16:19 -0300)]
bpo-33800: Fix default argument for parameter dict_type of ConfigParser/RawConfigParser (GH-7494)
Dong-hee Na [Fri, 8 Jun 2018 16:07:52 +0000 (01:07 +0900)]
bpo-33197: Add versionadded tag to the documentation of ParameterKind (GH-7536)
Suriyaa ✌️️ [Fri, 8 Jun 2018 15:40:55 +0000 (17:40 +0200)]
bpo-33807: Add Python 3.7 buildbot link to '.github/CONTRIBUTING.rst' (GH-7532)
Elvis Pranskevichus [Fri, 8 Jun 2018 15:36:00 +0000 (11:36 -0400)]
bpo-33736: Improve the documentation of asyncio stream APIs (GH-7326)
Andrés Delfino [Fri, 8 Jun 2018 12:51:12 +0000 (09:51 -0300)]
bpo-33798: Update csv document about dict order (GH-7490)
Łukasz Langa [Fri, 8 Jun 2018 11:02:48 +0000 (04:02 -0700)]
bpo-33802: Do not interpolate in ConfigParser while reading defaults (GH-7524)
This solves a regression in logging config due to changes in BPO-23835.
wim glenn [Fri, 8 Jun 2018 10:12:49 +0000 (05:12 -0500)]
bpo-11874: fix assertion failure in argparse metavar handling (GH-1826)
- bugfix and test for fragile metavar handling in argparse (see
bpo-24089, bpo-14046, bpo-25058, bpo-11874)
- also fixes some incorrect tests that did not make 1-element tuples correctly
Victor Stinner [Fri, 8 Jun 2018 08:32:06 +0000 (10:32 +0200)]
bpo-33694: Fix typo in helper function name (GH-7522)
_feed_data_to_bufferred_proto() renamed to
_feed_data_to_buffered_proto() ("bufferred" => "buffered").
Typo spotted by Nathaniel J. Smith.
Victor Stinner [Fri, 8 Jun 2018 07:53:51 +0000 (09:53 +0200)]
bpo-33718: regrtest: use "xxx then yyy" result if re-run (GH-7521)
If tests are re-run, use "xxx then yyy" result format (ex: "FAILURE
then SUCCESS") to show that some failing tests have been re-run.
Add also test_regrtest.test_rerun_fail() test.
Andrés Delfino [Fri, 8 Jun 2018 06:38:07 +0000 (03:38 -0300)]
bpo-33799: Remove non-ordered dicts comments from FAQ
Terry Jan Reedy [Fri, 8 Jun 2018 06:28:45 +0000 (02:28 -0400)]
Update idlelib/NEWS.txt to 2018 Jun 8 am. (GH-7517)
Cheryl Sabella [Fri, 8 Jun 2018 05:21:15 +0000 (01:21 -0400)]
bpo-33768: IDLE: Clicking on code context line moves it to top of editor (GH-7411)
Dong-hee Na [Fri, 8 Jun 2018 03:46:31 +0000 (12:46 +0900)]
bpo-33197: Add description property for _ParameterKind. (GH-7206)
atg7000 [Fri, 8 Jun 2018 02:33:20 +0000 (19:33 -0700)]
bpo-33791: Update README for macOS users (GH-7471)
Yury Selivanov [Fri, 8 Jun 2018 00:44:57 +0000 (20:44 -0400)]
bpo-33792: Add selector and proactor windows policies (GH-7487)
Yury Selivanov [Fri, 8 Jun 2018 00:31:26 +0000 (20:31 -0400)]
bpo-33786: Fix asynchronous generators to handle GeneratorExit in athrow() (GH-7467)
Yury Selivanov [Fri, 8 Jun 2018 00:29:55 +0000 (20:29 -0400)]
bpo-33803: Fix a crash in hamt.c (#7504)
Victor Stinner [Fri, 8 Jun 2018 00:28:28 +0000 (02:28 +0200)]
bpo-33615: Skip test__xxsubinterpreters (GH-7503)
The test does crash on multiple CIs causing many troubles. For
example, the test prevents to get results of the two Refleak 3.x
buildbots.
Terry Jan Reedy [Thu, 7 Jun 2018 23:11:41 +0000 (19:11 -0400)]
bpo-33642 and bpo-33679: Revise and condense blurbs (GH-7500)
Victor Stinner [Thu, 7 Jun 2018 22:25:52 +0000 (00:25 +0200)]
bpo-33694: Fix race condition in asyncio proactor (GH-7498)
The cancellation of an overlapped WSARecv() has a race condition
which causes data loss because of the current implementation of
proactor in asyncio.
No longer cancel overlapped WSARecv() in _ProactorReadPipeTransport
to work around the race condition.
Remove the optimized recv_into() implementation to get simple
implementation of pause_reading() using the single _pending_data
attribute.
Move _feed_data_to_bufferred_proto() to protocols.py.
Remove set_protocol() method which became useless.
Neil Schemenauer [Thu, 7 Jun 2018 21:46:04 +0000 (14:46 -0700)]
bpo-33609: small wording fixes to dict ordering docs
A few wording improvements to dict ordering documentation.
Eric V. Smith [Thu, 7 Jun 2018 18:43:59 +0000 (14:43 -0400)]
bpo-33796: Ignore ClassVar for dataclasses.replace(). (GH-7488)
Benjamin Peterson [Thu, 7 Jun 2018 14:21:28 +0000 (07:21 -0700)]
update 3.7 whatsnew entry about Unicode version (GH-7480)
Followup to
4705ea38c900f068fd262aca02943896d1123544 and bpo-33778.
Anthony Sottile [Thu, 7 Jun 2018 09:58:12 +0000 (02:58 -0700)]
bpo-17909: Document that json.load can accept a binary IO (GH-7366)
Scott Sanderson [Thu, 7 Jun 2018 09:46:42 +0000 (05:46 -0400)]
bpo-29235: Update document for Profiler's context manager (GH-7331)
Zackery Spytz [Thu, 7 Jun 2018 06:02:24 +0000 (00:02 -0600)]
bpo-30436: Add missing space in importlib.util.find_spec() error message (GH-7385)
arikrupnik [Thu, 7 Jun 2018 04:42:38 +0000 (23:42 -0500)]
bpo-33274: Compliance with DOM L1: return removed attribute (#7465)
* bpo-33274: Compliance with DOM L1: return removed attribute
* Update 2018-06-06-22-01-33.bpo-33274.teYqv8.rst
Benjamin Peterson [Thu, 7 Jun 2018 03:14:28 +0000 (20:14 -0700)]
update to Unicode 11.0.0 (closes bpo-33778) (GH-7439)
Also, standardize indentation of generated tables.
Victor Stinner [Wed, 6 Jun 2018 23:30:38 +0000 (01:30 +0200)]
bpo-32676, test_asyncio: Fix warning in test_error_in_call_soon() (GH-7462)
Fix "<CoroWrapper ...> was never yielded from" warning in
PyTask_PyFuture_Tests.test_error_in_call_soon() of
test_asyncio.test_tasks.
Close manually the coroutine on error.
Victor Stinner [Wed, 6 Jun 2018 23:13:48 +0000 (01:13 +0200)]
bpo-33789, test_asyncio: Hide PendingDeprecationWarning (GH-7461)
Hide PendingDeprecationWarning in test__register_task_3().
Victor Stinner [Wed, 6 Jun 2018 23:12:38 +0000 (01:12 +0200)]
bpo-33789: test_asyncio: Fix ResourceWarning (GH-7460)
* Close sockets and streams to fix ResourceWarning warnings
* Catch also OSError to hide a traceback on an expected handshake
error
Victor Stinner [Wed, 6 Jun 2018 15:55:18 +0000 (17:55 +0200)]
bpo-28240: timeit: Update repeat() doc (GH-7419)
Document that the default value of repeat changed from 3 to 5 in
Python 3.7.
Victor Stinner [Wed, 6 Jun 2018 15:23:50 +0000 (17:23 +0200)]
bpo-33773: Fix test.support.fd_count() on Linux/FreBSD (GH-7421)
Substract one because listdir() opens internally a file
descriptor to list the content of the /proc/self/fd/ directory.
Add test_support.test_fd_count().
Move also MAXFD code before msvcrt.CrtSetReportMode(), to make sure
that the report mode is always restored on failure.
Victor Stinner [Wed, 6 Jun 2018 13:50:50 +0000 (15:50 +0200)]
bpo-33781: audioop: enhance rounding double as int (GH-7447)
Move the floor() call into fbound() to call floor() on a double
rather than an int. The change should enhance the rounding.
Document also (int)double rounding mode.
Victor Stinner [Wed, 6 Jun 2018 13:34:46 +0000 (15:34 +0200)]
test.support.SaveSignals: fix typo (GH-7448)
an => and
Victor Stinner [Wed, 6 Jun 2018 13:28:50 +0000 (15:28 +0200)]
bpo-31044, test_posix: Reenable makedev() tests on FreeBSD (#7449)
The bug has been fixed 10 months ago:
* https://svnweb.freebsd.org/base?view=revision&revision=321920
* https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=221048
Benjamin Peterson [Wed, 6 Jun 2018 05:40:12 +0000 (22:40 -0700)]
remove hg support from patchcheck (GH-7440)
John Reese [Tue, 5 Jun 2018 23:31:33 +0000 (16:31 -0700)]
bpo-33504: Migrate configparser from OrderedDict to dict. (#6819)
With 3.7+, dictionary are ordered by design. Configparser still uses
collections.OrderedDict, which is unnecessary. This updates the module
to use the standard dict implementation by default, and changes the
docs and tests to match.
Gregory P. Smith [Tue, 5 Jun 2018 19:00:57 +0000 (12:00 -0700)]
Improve the subprocess restore_signals=True test. (GH-7414)
It wasn't testing functionality. Now it is (on Linux anyways).
Thomas Kluyver [Tue, 5 Jun 2018 17:26:39 +0000 (19:26 +0200)]
bpo-12486: Document tokenize.generate_tokens() as public API (#6957)
* Document tokenize.generate_tokens()
* Add news file
* Add test for generate_tokens
* Document behaviour around ENCODING token
* Add generate_tokens to __all__
Serhiy Storchaka [Tue, 5 Jun 2018 16:55:41 +0000 (19:55 +0300)]
bpo-33751: Fix test_file. (GH-7378)
testModeStrings and testTruncateOnWindows were depended on
a file leaked in other tests.
Also improve cleaning up after tests.
Barry Warsaw [Tue, 5 Jun 2018 16:40:45 +0000 (09:40 -0700)]
bpo-33755: Fix importlib.resources isolation tests (#7412)
Vinay Sajip [Tue, 5 Jun 2018 16:24:18 +0000 (17:24 +0100)]
bpo-33165: Added stacklevel parameter to logging APIs. (GH-7424)
Mayank Singhal [Tue, 5 Jun 2018 14:14:37 +0000 (19:44 +0530)]
bpo-31215: Add version changed notes for OpenSSL 1.1.0 compatibility (GH-7346)
Serhiy Storchaka [Tue, 5 Jun 2018 13:03:00 +0000 (16:03 +0300)]
bpo-33752: Fix a file leak in test_dbm. (GH-7376)
With addCleanup() f.close() was executed after tearDown().
Yury Selivanov [Tue, 5 Jun 2018 12:59:58 +0000 (08:59 -0400)]
bpo-33769: start_tls: Fix error message; cancel callbacks on error (GH-7403)
In addition to that, mark SSLTransport as "closed" in its "abort()" method to prevent bogus warnings.
Zackery Spytz [Tue, 5 Jun 2018 12:59:41 +0000 (06:59 -0600)]
bpo-33767: Fix improper use of SystemError by mmap.mmap objects (GH-7381)
Raise TypeError instead of SystemError for unsupported operations.
Tobias Kunze [Tue, 5 Jun 2018 11:41:42 +0000 (13:41 +0200)]
bpo-32392: Document env keyword argument of subprocess.run() (GH-7289)
INADA Naoki [Tue, 5 Jun 2018 11:40:53 +0000 (20:40 +0900)]
bpo-5755: Move -Wstrict-prototypes to CFLAGS_NODIST (GH-7395)
Serhiy Storchaka [Tue, 5 Jun 2018 09:08:36 +0000 (12:08 +0300)]
bpo-33753: Refactor creating temporary files in test_fileinput. (GH-7377)
INADA Naoki [Mon, 4 Jun 2018 22:09:22 +0000 (07:09 +0900)]
bpo-33609: Document dict insertion order guarantee as of 3.7 (GH-7093)
Steve Dower [Mon, 4 Jun 2018 20:25:00 +0000 (13:25 -0700)]
bpo-33720: Reduces maximum marshal recursion depth on release builds. (GH-7401)
Cheryl Sabella [Mon, 4 Jun 2018 15:58:44 +0000 (11:58 -0400)]
bpo-33763: IDLE: Replace label widget with text widget in code context (GH-7367)
Cheryl Sabella [Mon, 4 Jun 2018 15:48:21 +0000 (11:48 -0400)]
bpo-33664: Scroll IDLE editor text by lines (GH-7351)
Previously, the mouse wheel and scrollbar slider moved text by a fixed
number of pixels, resulting in partial lines at the top of the editor
box. The change also applies to the shell and grep output windows,
but not to read-only text views.
Yury Selivanov [Mon, 4 Jun 2018 15:32:35 +0000 (11:32 -0400)]
bpo-33734: asyncio/ssl: a bunch of bugfixes (#7321)
* Fix AttributeError (not all SSL exceptions have 'errno' attribute)
* Increase default handshake timeout from 10 to 60 seconds
* Make sure start_tls can be cancelled correctly
* Make sure any error in SSLProtocol gets propagated (instead of just being logged)
A. Jesse Jiryu Davis [Mon, 4 Jun 2018 10:57:08 +0000 (06:57 -0400)]
bpo-31849: Fix warning in pyhash.c (GH-6799)
Tobias Kunze [Mon, 4 Jun 2018 10:07:16 +0000 (12:07 +0200)]
bpo-27902: Add compatibility note to Profile docs (GH-7295)
Farhaan Bukhsh [Mon, 4 Jun 2018 07:29:00 +0000 (12:59 +0530)]
bpo-33640, uuid.UUID doc: document endian of bytes parameter (GH-7263)
The bytes parameter uses big endian.
Serhiy Storchaka [Mon, 4 Jun 2018 05:20:25 +0000 (08:20 +0300)]
Regenerate configure after changing configure.ac in GH-6987. (GH-7344)
Victor Stinner [Mon, 4 Jun 2018 05:14:46 +0000 (07:14 +0200)]
bpo-33509: Fix test_warnings for python3 -Werror (GH-7365)
Fix test_warnings.test_module_globals() when python3 is run with
-Werror.