]> granicus.if.org Git - python/log
python
6 years agobpo-32436: Document PEP 567 changes to asyncio. (GH-7073)
Yury Selivanov [Wed, 23 May 2018 17:35:04 +0000 (13:35 -0400)]
bpo-32436: Document PEP 567 changes to asyncio. (GH-7073)

6 years agobpo-33612: Remove PyThreadState_Clear() assertion (#7069)
Victor Stinner [Wed, 23 May 2018 16:00:55 +0000 (18:00 +0200)]
bpo-33612: Remove PyThreadState_Clear() assertion (#7069)

bpo-25612, bpo-33612: Remove an assertion from PyThreadState_Clear()
which failed at Python shutdown or on fork if a thread was running a
generator.

6 years agobpo-27300: Add the errors parameter to tempfile classes. (GH-6696)
sth [Wed, 23 May 2018 05:07:01 +0000 (07:07 +0200)]
bpo-27300: Add the errors parameter to tempfile classes. (GH-6696)

6 years agoReverse the meaning of is_argument when used for type check (GH-7039)
Nina Zakharenko [Wed, 23 May 2018 03:32:10 +0000 (20:32 -0700)]
Reverse the meaning of is_argument when used for type check (GH-7039)

6 years agobpo-33604: Remove Pending from hmac Deprecation warning. (GH-7062)
Matthias Bussonnier [Tue, 22 May 2018 22:55:31 +0000 (15:55 -0700)]
bpo-33604: Remove Pending from hmac Deprecation warning. (GH-7062)

bpo-33604: Bump removal notice from 3.6 to 3.8 and change PendingDeprecationWarning to DeprecationWarning as we had intended to do earlier...

6 years agobpo-33570: TLS 1.3 ciphers for OpenSSL 1.1.1 (GH-6976)
Christian Heimes [Tue, 22 May 2018 20:50:12 +0000 (22:50 +0200)]
bpo-33570: TLS 1.3 ciphers for OpenSSL 1.1.1 (GH-6976)

Change TLS 1.3 cipher suite settings for compatibility with OpenSSL
1.1.1-pre6 and newer. OpenSSL 1.1.1 will have TLS 1.3 cipers enabled by
default.

Also update multissltests and Travis config to test with latest OpenSSL.

Signed-off-by: Christian Heimes <christian@python.org>
6 years agobpo-33516: Add support for __round__ in MagicMock (GH-6880)
John Reese [Tue, 22 May 2018 20:01:10 +0000 (13:01 -0700)]
bpo-33516: Add support for __round__ in MagicMock (GH-6880)

unittest.mock.MagicMock now supports the __round__() magic method.

6 years agoAdd missed details of the C API introduced in 3.7. (GH-7047)
Serhiy Storchaka [Tue, 22 May 2018 17:59:42 +0000 (20:59 +0300)]
Add missed details of the C API introduced in 3.7. (GH-7047)

* Set the limited API version for PyImport_GetModule and PyOS_*Fork
  functions.
* Add PyImport_GetModule and Py_UTF8Mode in PC/python3.def.
* Add several functions in Doc/data/refcounts.dat.

6 years agobpo-33592: Document the C API in PEP 567 (contextvars) (GH-7033)
Elvis Pranskevichus [Tue, 22 May 2018 17:31:56 +0000 (13:31 -0400)]
bpo-33592: Document the C API in PEP 567 (contextvars) (GH-7033)

6 years agoImprove comments in test_idle.py. (GH-7057)
Terry Jan Reedy [Tue, 22 May 2018 17:24:04 +0000 (13:24 -0400)]
Improve comments in test_idle.py. (GH-7057)

6 years agobpo-30877: Fix clearing a cache in the the JSON decoder. (GH-7048)
Serhiy Storchaka [Tue, 22 May 2018 11:55:07 +0000 (14:55 +0300)]
bpo-30877: Fix clearing a cache in the the JSON decoder. (GH-7048)

6 years agoAdd PyThread_tss_* to Doc/data/refcounts.dat. (GH-7038)
Masayuki Yamamoto [Tue, 22 May 2018 08:21:25 +0000 (17:21 +0900)]
Add PyThread_tss_* to Doc/data/refcounts.dat. (GH-7038)

Thread Specific Storage (TSS) API is a public C API (new in 3.7).

6 years agobpo-5945: Improve mappings and sequences C API docs. (GH-7029)
Serhiy Storchaka [Tue, 22 May 2018 08:02:44 +0000 (11:02 +0300)]
bpo-5945: Improve mappings and sequences C API docs. (GH-7029)

6 years agoFix lambda parameters being refered as arguments (GH-7037)
Andrés Delfino [Tue, 22 May 2018 05:57:45 +0000 (02:57 -0300)]
Fix lambda parameters being refered as arguments (GH-7037)

6 years agoUse IPv4 only to avoid IP address collision (#7030)
Andrew Svetlov [Mon, 21 May 2018 12:06:26 +0000 (15:06 +0300)]
Use IPv4 only to avoid IP address collision (#7030)

6 years agobpo-33583: Add note in PyObject_GC_Resize() doc (GH-7021)
INADA Naoki [Mon, 21 May 2018 09:35:41 +0000 (18:35 +0900)]
bpo-33583: Add note in PyObject_GC_Resize() doc (GH-7021)

6 years agoFix asyncio flaky tests (#7023)
Andrew Svetlov [Mon, 21 May 2018 09:03:45 +0000 (12:03 +0300)]
Fix asyncio flaky tests (#7023)

6 years agobpo-33263: Fix FD leak in _SelectorSocketTransport (GH-6450)
Vlad Starostin [Mon, 21 May 2018 08:13:45 +0000 (11:13 +0300)]
bpo-33263: Fix FD leak in _SelectorSocketTransport (GH-6450)

* bpo-33263 Fix FD leak in _SelectorSocketTransport. (GH-6450)

Under particular circumstances _SelectorSocketTransport can try to add a reader
even the transport is already being closed. This can lead to FD leak and
invalid stated of the following connections. Fixed the SelectorSocketTransport
to add the reader only if the trasport is still active.

6 years agobpo-26103: Fix inspect.isdatadescriptor() and a data descriptor definition. (GH-1959)
Aaron Hall, MBA [Sun, 20 May 2018 23:46:42 +0000 (19:46 -0400)]
bpo-26103: Fix inspect.isdatadescriptor() and a data descriptor definition. (GH-1959)

Look for '__set__' or '__delete__'.

6 years agoFix line breaks added after hyphens by blurb. (GH-7002)
Serhiy Storchaka [Sun, 20 May 2018 23:36:05 +0000 (02:36 +0300)]
Fix line breaks added after hyphens by blurb. (GH-7002)

Also remove bullet asterisks from IDLE entries.

6 years agoAdd idlelib and IDLE section to What's New in 3.7. (#7019)
Terry Jan Reedy [Sun, 20 May 2018 21:00:13 +0000 (17:00 -0400)]
Add idlelib and IDLE section to What's New in 3.7. (#7019)

6 years agobpo-32262: Fix typo in f-string (GH-7016)
Christian Heimes [Sun, 20 May 2018 17:57:13 +0000 (19:57 +0200)]
bpo-32262: Fix typo in f-string (GH-7016)

Fix typo from commit 6370f345e1d5829e1fba59cd695c8b82c5a8c620

Signed-off-by: Christian Heimes <christian@python.org>
<!--
Thanks for your contribution!
Please read this comment in its entirety. It's quite important.

# Pull Request title

It should be in the following format:

```
bpo-NNNN: Summary of the changes made
```

Where: bpo-NNNN refers to the issue number in the https://bugs.python.org.

Most PRs will require an issue number. Trivial changes, like fixing a typo, do not need an issue.

# Backport Pull Request title

If this is a backport PR (PR made against branches other than `master`),
please ensure that the PR title is in the following format:

```
[X.Y] <title from the original PR> (GH-NNNN)
```

Where: [X.Y] is the branch name, e.g. [3.6].

GH-NNNN refers to the PR number from `master`.

-->

<!-- issue-number: bpo-32262 -->
https://bugs.python.org/issue32262
<!-- /issue-number -->

6 years agobpo-33541: Remove unused __pad function (GH-4377)
Mario Corchero [Sun, 20 May 2018 17:42:30 +0000 (13:42 -0400)]
bpo-33541: Remove unused __pad function (GH-4377)

Function was added with the initial implementation 00efe7e798.

6 years agobpo-33580: Make binary/text file glossary entries follow most common "see also" style...
Andrés Delfino [Sun, 20 May 2018 15:12:50 +0000 (12:12 -0300)]
bpo-33580: Make binary/text file glossary entries follow most common "see also" style. (GH-6991)

6 years agobpo-33542: Ignore DUID in uuid.get_node on Windows. (GH-6922)
CtrlZvi [Sun, 20 May 2018 15:03:25 +0000 (08:03 -0700)]
bpo-33542: Ignore DUID in uuid.get_node on Windows. (GH-6922)

uuid._ipconfig_getnode did not validate the maximum length of the value,
so long as the value had the same type of formatting as a MAC address.
This let it select DUIDs as MAC addresses. It now requires an exact
length match.

6 years agobpo-30940: Updating round() docs. (GH-6342)
Lisa Roach [Sun, 20 May 2018 15:00:18 +0000 (11:00 -0400)]
bpo-30940: Updating round() docs. (GH-6342)

6 years agoDocs: be less specific about python versions (GH-6985)
Eitan Adler [Sun, 20 May 2018 14:38:01 +0000 (07:38 -0700)]
Docs: be less specific about python versions (GH-6985)

CPython 3.5 is old now, and we don't bump this version often,
so lets avoid using specific versions.

6 years agobpo-33584: Fix several minor bugs in asyncio. (GH-7003)
Serhiy Storchaka [Sun, 20 May 2018 13:30:31 +0000 (16:30 +0300)]
bpo-33584: Fix several minor bugs in asyncio. (GH-7003)

Fix the following bugs in the C implementation:

* get_future_loop() silenced all exceptions raised when look up the get_loop
  attribute, not just an AttributeError.
* enter_task() silenced all exceptions raised when look up the current task,
  not just a KeyError.
* repr() was called for a borrowed link in enter_task() and task_step_impl().
* str() was used instead of repr() in formatting one error message (in
  Python implementation too).
* There where few reference leaks in error cases.

6 years agobpo-26819: Prevent proactor double read on resume (#6921)
CtrlZvi [Sun, 20 May 2018 10:21:10 +0000 (03:21 -0700)]
bpo-26819: Prevent proactor double read on resume (#6921)

The proactor event loop has a race condition when reading with
pausing/resuming. `resume_reading()` unconditionally schedules the read
function to read from the current future. If `resume_reading()` was
called before the previously scheduled done callback fires, this results
in two attempts to get the data from the most recent read and an
assertion failure. This commit tracks whether or not `resume_reading`
needs to reschedule the callback to restart the loop, preventing a
second attempt to read the data.

6 years agobpo-23722: Raise a RuntimeError for absent __classcell__. (GH-6931)
Serhiy Storchaka [Sun, 20 May 2018 05:48:12 +0000 (08:48 +0300)]
bpo-23722: Raise a RuntimeError for absent __classcell__. (GH-6931)

A DeprecationWarning was emitted in Python 3.6-3.7.

6 years agobpo-23722: Fix docs for future __classcell__ changes. (GH-6999)
Serhiy Storchaka [Sun, 20 May 2018 05:13:52 +0000 (08:13 +0300)]
bpo-23722: Fix docs for future __classcell__ changes. (GH-6999)

6 years agobpo-32996: The bulk of What's New in Python 3.7 (GH-6978)
Elvis Pranskevichus [Sun, 20 May 2018 03:15:06 +0000 (23:15 -0400)]
bpo-32996: The bulk of What's New in Python 3.7 (GH-6978)

6 years agobpo-30928: Update idlelib/NEWS.txt. (#6995)
Terry Jan Reedy [Sun, 20 May 2018 01:38:46 +0000 (21:38 -0400)]
bpo-30928: Update idlelib/NEWS.txt. (#6995)

6 years agoFix typo in error message when decoding PYTHONPATH. (GH-6981)
Carl Meyer [Sat, 19 May 2018 22:48:22 +0000 (16:48 -0600)]
Fix typo in error message when decoding PYTHONPATH. (GH-6981)

6 years agobpo-32831: IDLE: Add docstrings and tests for codecontext (GH-5638)
Cheryl Sabella [Sat, 19 May 2018 19:34:03 +0000 (15:34 -0400)]
bpo-32831: IDLE: Add docstrings and tests for codecontext (GH-5638)

6 years agoimport secrets module in secrets recipes (#6705)
Daniel Chimeno [Sat, 19 May 2018 15:01:49 +0000 (17:01 +0200)]
import secrets module in secrets recipes (#6705)

6 years agobpo-28556: Don't simplify unions at runtime (GH-6841)
Ivan Levkivskyi [Fri, 18 May 2018 23:00:38 +0000 (16:00 -0700)]
bpo-28556: Don't simplify unions at runtime (GH-6841)

6 years agobpo-33556: Remove reference to thread module from docstring (GH-6963)
Skip Montanaro [Fri, 18 May 2018 18:38:36 +0000 (13:38 -0500)]
bpo-33556: Remove reference to thread module from docstring (GH-6963)

6 years agoFix C API docs: PyCapsule_Import always set an exception on failure. (GH-6967)
Serhiy Storchaka [Fri, 18 May 2018 13:32:54 +0000 (16:32 +0300)]
Fix C API docs: PyCapsule_Import always set an exception on failure. (GH-6967)

6 years agobpo-33564: Add async to IDLE's code context block openers. (GH-6960)
Terry Jan Reedy [Fri, 18 May 2018 00:38:41 +0000 (20:38 -0400)]
bpo-33564: Add async to IDLE's code context block openers. (GH-6960)

6 years agobpo-33559: Attribute changed repr of exceptions (GH-6954)
Miro Hrončok [Thu, 17 May 2018 19:04:57 +0000 (21:04 +0200)]
bpo-33559: Attribute changed repr of exceptions (GH-6954)

6 years agoFix Windows build of Python for latest WinSDK. (GH-6874)
Carl Meyer [Thu, 17 May 2018 18:03:59 +0000 (14:03 -0400)]
Fix Windows build of Python for latest WinSDK. (GH-6874)

6 years agobpo-33559: Document changed repr of exceptions (GH-6943)
Miro Hrončok [Thu, 17 May 2018 17:44:53 +0000 (19:44 +0200)]
bpo-33559: Document changed repr of exceptions (GH-6943)

6 years agoasyncio/docs: Mark asyncio.run() as provisional in 3.7. (#6946)
Yury Selivanov [Thu, 17 May 2018 17:44:00 +0000 (13:44 -0400)]
asyncio/docs: Mark asyncio.run() as provisional in 3.7. (#6946)

6 years agoOnly upload docs for CI build and not pull requests (GH-6945)
Steve Dower [Thu, 17 May 2018 17:38:15 +0000 (13:38 -0400)]
Only upload docs for CI build and not pull requests (GH-6945)

6 years agoProvide a little better debug output (#6940)
Barry Warsaw [Thu, 17 May 2018 15:54:01 +0000 (11:54 -0400)]
Provide a little better debug output (#6940)

6 years agobpo-33537: Add an __all__ to importlib.resources (#6920)
Barry Warsaw [Thu, 17 May 2018 15:41:53 +0000 (11:41 -0400)]
bpo-33537: Add an __all__ to importlib.resources (#6920)

6 years agobpo-19950: Clarify unittest TestCase instance use. (GH-6875)
Gregory P. Smith [Thu, 17 May 2018 15:08:45 +0000 (10:08 -0500)]
bpo-19950: Clarify unittest TestCase instance use. (GH-6875)

6 years agobpo-32604: Implement force-closing channels. (gh-6937)
Eric Snow [Thu, 17 May 2018 14:27:09 +0000 (10:27 -0400)]
bpo-32604: Implement force-closing channels. (gh-6937)

This will make it easier to clean up channels (e.g. when used in tests).

6 years agoUpdate Python Folder.icns icon file to match new macOS look (GH-1780)
Thomas Jones [Thu, 17 May 2018 09:14:30 +0000 (19:14 +1000)]
Update Python Folder.icns icon file to match new macOS look (GH-1780)

Patch by Thomas Jones.

6 years agobpo-33549: Remove shim and deprecation warning to access DocumentLS.async. (GH-6924)
Matthias Bussonnier [Thu, 17 May 2018 08:16:12 +0000 (01:16 -0700)]
bpo-33549: Remove shim and deprecation warning to access DocumentLS.async. (GH-6924)

`obj.async` is now a syntax error, so the warning/shim is
quasi-unnecessary.

6 years agobpo-33518: Add PEP entry to documentation glossary (GH-6860)
Andrés Delfino [Thu, 17 May 2018 07:51:50 +0000 (04:51 -0300)]
bpo-33518: Add PEP entry to documentation glossary (GH-6860)

6 years agobpo-13631: Fix the order of initialization for readline libedit on macOS. (GH-6915)
Zvezdan Petkovic [Thu, 17 May 2018 06:45:10 +0000 (02:45 -0400)]
bpo-13631: Fix the order of initialization for readline libedit on macOS. (GH-6915)

The editline emulation needs to be initialized *after* the name is
defined. This fixes the long open issue.

6 years agobpo-33475: Fix and improve converting annotations to strings. (GH-6774)
Serhiy Storchaka [Thu, 17 May 2018 03:17:48 +0000 (06:17 +0300)]
bpo-33475: Fix and improve converting annotations to strings. (GH-6774)

6 years agoReplace _PyGC_REFS macros with higher level macros (GH-6852)
INADA Naoki [Thu, 17 May 2018 02:07:21 +0000 (11:07 +0900)]
Replace _PyGC_REFS macros with higher level macros (GH-6852)

Only gcmodule.c uses _PyGC_REFS* macros now.
This makes easy to read GC code.

6 years agobpo-33522: Enable CI builds on Visual Studio Team Services (#6865)
Steve Dower [Wed, 16 May 2018 21:50:29 +0000 (17:50 -0400)]
bpo-33522: Enable CI builds on Visual Studio Team Services (#6865)

6 years agobpo-32216: Update dataclasses documentation (#6913)
Barry Warsaw [Wed, 16 May 2018 19:50:07 +0000 (15:50 -0400)]
bpo-32216: Update dataclasses documentation (#6913)

6 years agobpo-32604: Improve subinterpreter tests. (#6914)
Eric Snow [Wed, 16 May 2018 19:04:57 +0000 (15:04 -0400)]
bpo-32604: Improve subinterpreter tests. (#6914)

Add more tests for subinterpreters. This patch also fixes a few small defects in the channel implementation.

6 years agoRemove an unneeded call into OpenSSL (GH-6887)
Alex Gaynor [Wed, 16 May 2018 17:02:06 +0000 (13:02 -0400)]
Remove an unneeded call into OpenSSL (GH-6887)

6 years agoFix ClassVar as string fails when getting type hints (GH-6824)
Nina Zakharenko [Wed, 16 May 2018 16:27:03 +0000 (12:27 -0400)]
Fix ClassVar as string fails when getting type hints (GH-6824)

6 years agobpo-28167: Remove platform.linux_distribution (GH-6871)
Petr Viktorin [Wed, 16 May 2018 15:51:18 +0000 (11:51 -0400)]
bpo-28167: Remove platform.linux_distribution (GH-6871)

* test_ssl: Remove skip_if_broken_ubuntu_ssl

We no longer support OpenSSL 0.9.8.15.15.

* bpo-28167: Remove platform.linux_distribution

6 years agobpo-24318: Rewrite the README PGO section. (#6863)
Gregory P. Smith [Wed, 16 May 2018 15:34:47 +0000 (10:34 -0500)]
bpo-24318: Rewrite the README PGO section. (#6863)

* bpo-24318: Rewrite the README PGO section.

Merged from a phone on an airplane. :)

6 years agobpo-33536: Validate make_dataclass() field names. (GH-6906)
Eric V. Smith [Wed, 16 May 2018 15:31:29 +0000 (11:31 -0400)]
bpo-33536: Validate make_dataclass() field names. (GH-6906)

6 years agobpo-21475: Support the Sitemap extension in robotparser (GH-6883)
Christopher Beacham [Wed, 16 May 2018 14:52:07 +0000 (07:52 -0700)]
bpo-21475: Support the Sitemap extension in robotparser (GH-6883)

6 years agoMinor tweaks to dataclasses docs. (GH-6903)
Eric V. Smith [Wed, 16 May 2018 13:29:05 +0000 (09:29 -0400)]
Minor tweaks to dataclasses docs. (GH-6903)

6 years agobpo-33534: Remove unneeded test. (GH-6897)
Eric V. Smith [Wed, 16 May 2018 11:24:00 +0000 (07:24 -0400)]
bpo-33534: Remove unneeded test. (GH-6897)

This condition as already tested before this code is called.

6 years agoReflow dataclasses comments (GH-6893)
Eric V. Smith [Wed, 16 May 2018 09:14:53 +0000 (05:14 -0400)]
Reflow dataclasses comments (GH-6893)

To be more consistent with other code (and so people stop hassling me!), reflow the dataclasses comments to not use a single space indentation when continuing a paragraph of text.

6 years agobpo-32216: Add documentation for dataclasses (GH-6886)
Eric V. Smith [Wed, 16 May 2018 08:20:43 +0000 (04:20 -0400)]
bpo-32216: Add documentation for dataclasses (GH-6886)

This is an initial version that likely requires much polishing. I'm adding it lay out the structure and so we have something to start working from.

6 years agobpo-32384: Skip test when _testcapi isn't available (GH-4940)
Isaiah Peng [Wed, 16 May 2018 08:05:17 +0000 (10:05 +0200)]
bpo-32384: Skip test when _testcapi isn't available (GH-4940)

6 years agocloses bpo-33512: use standard for detecting long double (GH-6847)
Eitan Adler [Wed, 16 May 2018 05:58:09 +0000 (22:58 -0700)]
closes bpo-33512: use standard for detecting long double (GH-6847)

6 years agobpo-33453: Handle string type annotations in dataclasses. (GH-6768)
Eric V. Smith [Wed, 16 May 2018 02:44:27 +0000 (22:44 -0400)]
bpo-33453: Handle string type annotations in dataclasses. (GH-6768)

6 years agobpo-33454: Fix arguments parsing in _xxsubinterpreters.channel_close(). (GH-6747)
Serhiy Storchaka [Tue, 15 May 2018 22:08:09 +0000 (01:08 +0300)]
bpo-33454: Fix arguments parsing in _xxsubinterpreters.channel_close(). (GH-6747)

6 years agobpo-30928: Update idlelib/NEWS.txt to 2018-05-14. (#6873)
Terry Jan Reedy [Tue, 15 May 2018 21:41:57 +0000 (17:41 -0400)]
bpo-30928: Update idlelib/NEWS.txt to 2018-05-14. (#6873)

6 years agobpo-32257: Add ssl.OP_NO_RENEGOTIATION (GH-5904)
Christian Heimes [Tue, 15 May 2018 20:25:40 +0000 (16:25 -0400)]
bpo-32257: Add ssl.OP_NO_RENEGOTIATION (GH-5904)

The ssl module now contains OP_NO_RENEGOTIATION constant, available with
OpenSSL 1.1.0h or 1.1.1.

Note, OpenSSL 1.1.0h hasn't been released yet.

Signed-off-by: Christian Heimes <christian@python.org>
6 years agobpo-33503: Fix the broken pypi link in the source and the documentation (GH-6814)
Stéphane Wirtel [Tue, 15 May 2018 18:58:35 +0000 (20:58 +0200)]
bpo-33503: Fix the broken pypi link in the source and the documentation (GH-6814)

6 years agobpo-33509: Fix _warnings for module_globals=None (#6833)
Victor Stinner [Tue, 15 May 2018 18:42:12 +0000 (20:42 +0200)]
bpo-33509: Fix _warnings for module_globals=None (#6833)

Don't crash on warnings.warn_explicit() if module_globals is not a dict.

6 years agobpo-33465: Use an unlikely to be built-in C extension in a test (#6797)
Barry Warsaw [Tue, 15 May 2018 18:41:13 +0000 (14:41 -0400)]
bpo-33465: Use an unlikely to be built-in C extension in a test (#6797)

6 years agobpo-29706: Test that IDLE colors async/await as keywords. (GH-6846)
Terry Jan Reedy [Tue, 15 May 2018 18:20:38 +0000 (14:20 -0400)]
bpo-29706: Test that IDLE colors async/await as keywords. (GH-6846)

Added to the eye-verified htest, not to the unittests.
Also remove some stray leftover comments.

6 years agobpo-28167: bump platform.linux_distribution removal to 3.8 (GH-6669)
Matthias Bussonnier [Tue, 15 May 2018 15:17:00 +0000 (08:17 -0700)]
bpo-28167: bump platform.linux_distribution removal to 3.8 (GH-6669)

Also bump PendingDeprecationWarning to DeprecationWarning.

6 years agobpo-33517: dataclasses: Add the field type to Field repr (GH-6858)
Eric V. Smith [Tue, 15 May 2018 12:36:21 +0000 (08:36 -0400)]
bpo-33517: dataclasses: Add the field type to Field repr (GH-6858)

6 years agorun autoreconf (GH-6850)
Benjamin Peterson [Tue, 15 May 2018 04:39:22 +0000 (21:39 -0700)]
run autoreconf (GH-6850)

6 years agobpo-33483: more correctly handle finding the C compiler (GH-6780)
Eitan Adler [Tue, 15 May 2018 03:55:41 +0000 (20:55 -0700)]
bpo-33483: more correctly handle finding the C compiler (GH-6780)

Instead of passing configure args such as --without-gcc or --with-icc,
instead prefer to rely on the native way of finding the compiler:
passing CC (or CPP or CXX depending).

This allows configure to find the correct compiler instead of having to
be explicitly told. It also more correctly builds on both macOS and
FreeBSD since the system compiler is used by default (cc)

6 years agoRemove accidentally checked in files. (GH-6835)
Eric V. Smith [Tue, 15 May 2018 01:00:18 +0000 (21:00 -0400)]
Remove accidentally checked in files. (GH-6835)

6 years agobpo-16865: Support arrays >=2GB in ctypes. (GH-3006)
Segev Finer [Mon, 14 May 2018 23:54:29 +0000 (02:54 +0300)]
bpo-16865: Support arrays >=2GB in ctypes. (GH-3006)

6 years agobpo-33497: Add NEWS and ACKS entries. (GH-6838)
Ned Deily [Mon, 14 May 2018 22:15:15 +0000 (18:15 -0400)]
bpo-33497: Add NEWS and ACKS entries. (GH-6838)

6 years agoAdd AsyncContextManager to typing module documentation. (GH-6822)
Travis DePrato [Mon, 14 May 2018 22:14:07 +0000 (18:14 -0400)]
Add AsyncContextManager to typing module documentation. (GH-6822)

6 years agobpo-33497: Add errors param to cgi.parse_multipart and make an encoding in FieldStora...
Amber Brown [Mon, 14 May 2018 22:11:55 +0000 (18:11 -0400)]
bpo-33497: Add errors param to cgi.parse_multipart and make an encoding in FieldStorage use the given errors (GH-6804)

6 years agobpo-33502: dataclass._Dataclassparams repr: use repr of each member. (GH-6812)
Eric V. Smith [Mon, 14 May 2018 21:16:52 +0000 (17:16 -0400)]
bpo-33502: dataclass._Dataclassparams repr: use repr of each member. (GH-6812)

6 years agoFixed an unused variable warning introduced in GH-6800 (GH-6816)
Alex Gaynor [Mon, 14 May 2018 20:48:14 +0000 (16:48 -0400)]
Fixed an unused variable warning introduced in GH-6800 (GH-6816)

6 years agobpo-33443 Fix typo in Python/import.c (GH-6722)
ukwksk [Mon, 14 May 2018 19:10:52 +0000 (04:10 +0900)]
bpo-33443 Fix typo in Python/import.c (GH-6722)

6 years agobpo-32769: Write annotation entry for glossary (GH-6657)
Andrés Delfino [Mon, 14 May 2018 19:04:55 +0000 (16:04 -0300)]
bpo-32769: Write annotation entry for glossary (GH-6657)

https://bugs.python.org/issue32769

6 years agoAdd versionchanged in create_datagram_endpoint doc (#4697)
Romuald Brunet [Mon, 14 May 2018 16:22:00 +0000 (18:22 +0200)]
Add versionchanged in create_datagram_endpoint doc (#4697)

Most of the parameters were added in 3.4.4 (b9bf913ab32), but this
change was not documented

6 years agoRemove `ifdef` check for an OpenSSL version (0.9.6) we don't support (GH-6800)
Alex Gaynor [Mon, 14 May 2018 15:51:45 +0000 (11:51 -0400)]
Remove `ifdef` check for an OpenSSL version (0.9.6) we don't support (GH-6800)

6 years agobpo-33494: Change dataclasses.Fields repr to use the repr of each of its members...
Eric V. Smith [Mon, 14 May 2018 15:37:28 +0000 (11:37 -0400)]
bpo-33494: Change dataclasses.Fields repr to use the repr of each of its members (GH-6798)

6 years agobpo-22069: Update TextIO documentation (GH-6609)
Elena Oat [Mon, 14 May 2018 14:48:01 +0000 (17:48 +0300)]
bpo-22069: Update TextIO documentation (GH-6609)

Clarify that flush is implied when the call to write contains a newline character.

6 years agobpo-32861: urllib.robotparser fix incomplete __str__ methods. (GH-5711)
Michael Lazar [Mon, 14 May 2018 14:10:41 +0000 (10:10 -0400)]
bpo-32861: urllib.robotparser fix incomplete __str__ methods. (GH-5711)

The urllib.robotparser's __str__ representation now includes wildcard
entries and the "Crawl-delay" and "Request-rate" fields. Also removes extra
newlines that were being appended to the end of the string.

6 years agobpo-32601: Let test_expanduser use the same user if no others found. (GH-5246)
Anders Kaseorg [Mon, 14 May 2018 14:00:37 +0000 (10:00 -0400)]
bpo-32601: Let test_expanduser use the same user if no others found. (GH-5246)

This happens in the NixOS build sandbox, for example, where the only
other user is nobody with home directory /.

6 years agobpo-33488: Satisfy markdownlint for the pull request template. (GH-6786)
Eitan Adler [Mon, 14 May 2018 00:55:35 +0000 (17:55 -0700)]
bpo-33488: Satisfy markdownlint for the pull request template. (GH-6786)

./.github/PULL_REQUEST_TEMPLATE.md:8: MD031 Fenced code blocks should be
surrounded by blank lines
./.github/PULL_REQUEST_TEMPLATE.md:10: MD031 Fenced code blocks should
be surrounded by blank lines
./.github/PULL_REQUEST_TEMPLATE.md:19: MD031 Fenced code blocks should
be surrounded by blank lines
./.github/PULL_REQUEST_TEMPLATE.md:21: MD031 Fenced code blocks should
be surrounded by blank lines

6 years agofix error message in ast.c (#6776)
Jelle Zijlstra [Sun, 13 May 2018 21:04:53 +0000 (17:04 -0400)]
fix error message in ast.c (#6776)

small_stmt -> compound_stmt

6 years agobpo-28055: Fix unaligned accesses in siphash24(). (GH-6123)
Rolf Eike Beer [Sun, 13 May 2018 10:57:31 +0000 (12:57 +0200)]
bpo-28055: Fix unaligned accesses in siphash24(). (GH-6123)

The hash implementation casts the input pointer to uint64_t* and directly reads
from this, which may cause unaligned accesses. Use memcpy() instead so this code
will not crash with SIGBUS on sparc.

https://bugs.gentoo.org/show_bug.cgi?id=636400