Title: fix test_complex for Windows arm64
Type: compile error Stage: resolved
Components: Windows Versions: Python 3.9, Python 3.8
Status: closed Resolution:
Dependencies: Superseder:
Assigned To: Nosy List: Paul Monson, mark.dickinson, miss-islington, paul.moore, steve.dower, tim.golden, zach.ware
Priority: normal Keywords: patch

Created on 2019-06-11 17:19 by Paul Monson, last changed 2019-06-27 20:37 by Paul Monson. This issue is now closed.

Pull Requests
URL Status Linked Edit
PR 13983 merged Paul Monson, 2019-06-11 17:26
PR 14024 merged miss-islington, 2019-06-12 18:09
Messages (3)
msg345254 - (view) Author: Paul Monson (Paul Monson) * Date: 2019-06-11 17:19
There is a compiler optimization error on Windows ARM64 that causes test_truediv (test.test_complex.ComplexTest) to fail with ZeroDivisionError: complex division by zero.

Adding a pragma optimize around the affected function fixes the issue.  I am also submitting a report to the compiler team
msg345396 - (view) Author: Steve Dower (steve.dower) * (Python committer) Date: 2019-06-12 18:09
New changeset ff6bb0aa95259413f359d42410526ff0b4dccfb7 by Steve Dower (Paul Monson) in branch 'master':
bpo-37236: pragma optimize off for _Py_c_quot on Windows arm64 (GH-13983)
msg345400 - (view) Author: miss-islington (miss-islington) Date: 2019-06-12 18:27
New changeset f72886a066ba7d3a3aa077cfc3cad2ca0b2cdbf6 by Miss Islington (bot) in branch '3.8':
bpo-37236: pragma optimize off for _Py_c_quot on Windows arm64 (GH-13983)
Date User Action Args
2019-06-27 20:37:15Paul Monsonsetstatus: open -> closed
stage: patch review -> resolved
2019-06-12 18:27:20miss-islingtonsetnosy: + miss-islington
messages: + msg345400
2019-06-12 18:09:06miss-islingtonsetpull_requests: + pull_request13890
2019-06-12 18:09:06steve.dowersetmessages: + msg345396
2019-06-11 18:16:35mark.dickinsonsetnosy: + mark.dickinson
2019-06-11 17:26:41Paul Monsonsetkeywords: + patch
stage: patch review
pull_requests: + pull_request13847
2019-06-11 17:19:02Paul Monsoncreate