[issue45116] Performance regression 3.10b1: inlining issue in the big _PyEval_EvalFrameDefault() function with Visual Studio (MSC)

2022-04-08 Thread Steve Dower


Steve Dower  added the comment:

> __assume(0) should be replaced with other function, inside the eval 
> switch-case or in the inlined paths of callees. This is critical with PGO.

Out of interest, have you done other experiments confirming this? The reference 
linked is talking about compiler throughput (i.e. how long it takes to 
compile), and while it hints that using __assume(0) may interfere with other 
optimisations, that isn't supported with any detail or analysis in the post.

--

___
Python tracker 
<https://bugs.python.org/issue45116>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue47103] Copy pgort140.dll when building for PGO

2022-04-08 Thread Steve Dower


Change by Steve Dower :


--
resolution:  -> fixed
stage: patch review -> resolved
status: open -> closed

___
Python tracker 
<https://bugs.python.org/issue47103>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue47103] Copy pgort140.dll when building for PGO

2022-04-07 Thread Steve Dower


Steve Dower  added the comment:


New changeset 80c115385c01f456cdc6550543cf2112ae7a8161 by Steve Dower in branch 
'3.9':
bpo-47103: Copy pgort140.dll into output directory when building PGInstrument 
on Windows (GH-32083)
https://github.com/python/cpython/commit/80c115385c01f456cdc6550543cf2112ae7a8161


--

___
Python tracker 
<https://bugs.python.org/issue47103>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue47103] Copy pgort140.dll when building for PGO

2022-04-07 Thread Steve Dower


Change by Steve Dower :


--
pull_requests: +30432
pull_request: https://github.com/python/cpython/pull/32407

___
Python tracker 
<https://bugs.python.org/issue47103>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue47103] Copy pgort140.dll when building for PGO

2022-04-07 Thread Steve Dower


Steve Dower  added the comment:


New changeset b0ec17b6d9e0fb61081b6d15a1b2a14b607851b7 by Steve Dower in branch 
'3.10':
bpo-47103: Copy pgort140.dll into output directory when building PGInstrument 
on Windows (GH-32083)
https://github.com/python/cpython/commit/b0ec17b6d9e0fb61081b6d15a1b2a14b607851b7


--

___
Python tracker 
<https://bugs.python.org/issue47103>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue47103] Copy pgort140.dll when building for PGO

2022-04-06 Thread Steve Dower


Steve Dower  added the comment:

Backport is blocked on issue47104 (or a randomly successful CI run, which seems 
to occur occasionally).

--
versions: +Python 3.10, Python 3.9

___
Python tracker 
<https://bugs.python.org/issue47103>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue47239] Python Launcher for Windows (`py -0`) no longer shows star ("*") for default version

2022-04-06 Thread Steve Dower


Change by Steve Dower :


--
assignee:  -> steve.dower
resolution:  -> fixed
stage: patch review -> resolved
status: open -> closed

___
Python tracker 
<https://bugs.python.org/issue47239>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue47239] Python Launcher for Windows (`py -0`) no longer shows star ("*") for default version

2022-04-06 Thread Steve Dower


Steve Dower  added the comment:


New changeset 2390b2236d4b6ea96217478221d6f7d4b4f344f8 by Steve Dower in branch 
'main':
bpo-47239: Fixes py.exe output when run in a virtual environment. (GH-32364)
https://github.com/python/cpython/commit/2390b2236d4b6ea96217478221d6f7d4b4f344f8


--

___
Python tracker 
<https://bugs.python.org/issue47239>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue47103] Copy pgort140.dll when building for PGO

2022-04-06 Thread Steve Dower


Change by Steve Dower :


--
pull_requests: +30413
pull_request: https://github.com/python/cpython/pull/32366

___
Python tracker 
<https://bugs.python.org/issue47103>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue47239] Python Launcher for Windows (`py -0`) no longer shows star ("*") for default version

2022-04-06 Thread Steve Dower


Steve Dower  added the comment:

PR posted, and here's some sample output with the change:

C:\> py.exe --list
  *   Active venv
 -V:3.11  Python 3.11 (Store)
 -V:3.10  Python 3.10 (Store)
 -V:3.10-32   Python 3.10 (32-bit)
 -V:3.9   Python 3.9 (64-bit)
 -V:3.9-32Python 3.9 (32-bit)
 -V:3.8   Python 3.8 (64-bit)
 -V:3.7   Python 3.7 (64-bit)
 -V:ContinuumAnalytics/Anaconda38-64 Anaconda 2021.05
 -V:ContinuumAnalytics/Anaconda37-64 Anaconda py37_4.8.3

C:\> py.exe --list-paths
  *   C:\Temp\env310\Scripts\python_d.exe
 -V:3.11  
C:\Users\steve\AppData\Local\Microsoft\WindowsApps\PythonSoftwareFoundation.Python.3.11_3847v3x7pw1km\python.exe
 -V:3.10  
C:\Users\steve\AppData\Local\Microsoft\WindowsApps\PythonSoftwareFoundation.Python.3.10_3847v3x7pw1km\python.exe
 -V:3.10-32   
C:\Users\steve\AppData\Local\Programs\Python\Python310-32\python.exe
 -V:3.9   
C:\Users\steve\AppData\Local\Programs\Python\Python39\python.exe
 -V:3.9-32    
C:\Users\steve\AppData\Local\Programs\Python\Python39-32\python.exe
 -V:3.8   C:\Python38\python.exe
 -V:3.7   C:\Python37\python.exe
 -V:ContinuumAnalytics/Anaconda38-64 C:\Users\steve\Anaconda3\python.exe
 -V:ContinuumAnalytics/Anaconda37-64 C:\Users\steve\Miniconda3\python.exe

--

___
Python tracker 
<https://bugs.python.org/issue47239>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue47239] Python Launcher for Windows (`py -0`) no longer shows star ("*") for default version

2022-04-06 Thread Steve Dower


Change by Steve Dower :


--
keywords: +patch
pull_requests: +30411
stage:  -> patch review
pull_request: https://github.com/python/cpython/pull/32364

___
Python tracker 
<https://bugs.python.org/issue47239>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue47239] Python Launcher for Windows (`py -0`) no longer shows star ("*") for default version

2022-04-06 Thread Steve Dower


Steve Dower  added the comment:

It's fine here. It affects the same part of the code.

--

___
Python tracker 
<https://bugs.python.org/issue47239>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue47239] Python Launcher for Windows (`py -0`) no longer shows star ("*") for default version

2022-04-06 Thread Steve Dower


Steve Dower  added the comment:

Good catch, thanks!

--

___
Python tracker 
<https://bugs.python.org/issue47239>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue47103] Copy pgort140.dll when building for PGO

2022-04-06 Thread Steve Dower


Steve Dower  added the comment:


New changeset 074da788028c1f1e867dc81698efdcdc263f2288 by Steve Dower in branch 
'main':
bpo-47103: Copy pgort140.dll into output directory when building PGInstrument 
on Windows (GH-32083)
https://github.com/python/cpython/commit/074da788028c1f1e867dc81698efdcdc263f2288


--

___
Python tracker 
<https://bugs.python.org/issue47103>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue47230] New compiler warnings with latest zlib

2022-04-05 Thread Steve Dower


Steve Dower  added the comment:


New changeset a4c7752f3e00b75fd1e4603458b8c77a9fa3d4cb by Jeremy Kloth in 
branch '3.9':
bpo-47230: Silence compiler warnings on Windows from zlib 1.2.12 (GH-32337)
https://github.com/python/cpython/commit/a4c7752f3e00b75fd1e4603458b8c77a9fa3d4cb


--

___
Python tracker 
<https://bugs.python.org/issue47230>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue47230] New compiler warnings with latest zlib

2022-04-05 Thread Steve Dower


Steve Dower  added the comment:


New changeset 8bce3cb16df5b8ac06ac6b2cae177dd221780b2f by Jeremy Kloth in 
branch '3.10':
bpo-47230: Silence compiler warnings on Windows from zlib 1.2.12 (GH-32337)
https://github.com/python/cpython/commit/8bce3cb16df5b8ac06ac6b2cae177dd221780b2f


--

___
Python tracker 
<https://bugs.python.org/issue47230>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue47230] New compiler warnings with latest zlib

2022-04-05 Thread Steve Dower


Steve Dower  added the comment:

Do we need to backport this?

--

___
Python tracker 
<https://bugs.python.org/issue47230>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue47230] New compiler warnings with latest zlib

2022-04-05 Thread Steve Dower


Steve Dower  added the comment:


New changeset 944f09adfcc59f54432ac2947cf95f3465d90e1e by Jeremy Kloth in 
branch 'main':
bpo-47230: Silence compiler warnings on Windows from zlib 1.2.12 (GH-32337)
https://github.com/python/cpython/commit/944f09adfcc59f54432ac2947cf95f3465d90e1e


--

___
Python tracker 
<https://bugs.python.org/issue47230>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue47203] ImportError: DLL load failed while importing binascii: %1 is not a valid Win32 application.

2022-04-05 Thread Steve Dower


Steve Dower  added the comment:

> There is something fundamentally wrong with the way modules built into the 
> interpreter DLL (python3x.dll) are loaded if anything in sys.path or the 
> system PATH can cause an import to fail.

Probably there was also shadowing involved, since the built-in module doesn't 
try to load anything else. Would be nice to know for sure (@Matthew) to make 
sure we don't have some other issue here, but you're right, I don't see any way 
for this to happen without other causes.

--

___
Python tracker 
<https://bugs.python.org/issue47203>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue47203] ImportError: DLL load failed while importing binascii: %1 is not a valid Win32 application.

2022-04-04 Thread Steve Dower


Steve Dower  added the comment:

It could also be something on your PATH interfering, as that particular 
ImportError could be pretty deep in the load chain.

If none of the built-in options narrow it down enough, try 
https://pypi.org/project/dlltracer/ as well. Its output takes a bit of 
interpretation, but it'll definitely get us closer.

--

___
Python tracker 
<https://bugs.python.org/issue47203>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue47192] sys._getframe audit event has frame as argument in 3.8-3.10

2022-04-02 Thread Steve Dower


Steve Dower  added the comment:

This should be fixed in the docs and also in 3.11. Now that we've shipped 
releases that include the frame, we should keep doing it.

If it's impossible to get a frame object in 3.11 (because it would deoptimize 
all the work that's been done there), it should pass None. Changing the value 
of the argument is fine, but changing the schema is not.

--
versions: +Python 3.11

___
Python tracker 
<https://bugs.python.org/issue47192>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue47194] Upgrade to zlib v1.2.12 in CPython binary releases

2022-04-02 Thread Steve Dower


Steve Dower  added the comment:


New changeset 6066739ff7794e54c98c08b953a699cbc961cd28 by Zachary Ware in 
branch 'main':
bpo-47194: Update zlib to v1.2.12 on Windows to resolve CVE-2018-25032 
(GH-32241)
https://github.com/python/cpython/commit/6066739ff7794e54c98c08b953a699cbc961cd28


--

___
Python tracker 
<https://bugs.python.org/issue47194>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue46907] Update Windows and MacOS installer to SQLite 3.38.2

2022-03-31 Thread Steve Dower


Steve Dower  added the comment:

Done. Feel free to push directly to the repo, and bear in mind that changes may 
be reflected in any version build at any point, which is why we use tags 
(ahem... mostly... we've gotten it wrong before). Fourth field of the version 
number is our private one, so it gets incremented if we need to patch or 
re-release something, rather than changing the tag, unless we really do want to 
force change the tag.

Feel free to reach out if you have any questions. Otherwise, SQLite updates are 
all yours :)

--

___
Python tracker 
<https://bugs.python.org/issue46907>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue46907] Update Windows and MacOS installer to SQLite 3.38.2

2022-03-31 Thread Steve Dower


Steve Dower  added the comment:

Erlend - would you be up for write permissions on the cpython-source-deps repo 
so you can push the SQLite updates yourself.

As I've mentioned before, merging PRs into that repo isn't any easier than 
doing it directly (since you also need to check file hashes and add a tag), but 
doing it yourself is easier than waiting on me or Zach.

--

___
Python tracker 
<https://bugs.python.org/issue46907>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue47173] test_launcher fails on win-arm64 buildbot

2022-03-30 Thread Steve Dower


Change by Steve Dower :


--
resolution:  -> fixed
stage: needs patch -> resolved
status: open -> closed

___
Python tracker 
<https://bugs.python.org/issue47173>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue47173] test_launcher fails on win-arm64 buildbot

2022-03-30 Thread Steve Dower


Steve Dower  added the comment:

Looks like that probably fixed it. Will let the buildbot run again to be sure:

https://buildbot.python.org/all/#/builders/729/builds/1191
https://buildbot.python.org/all/#/builders/730/builds/4322

--

___
Python tracker 
<https://bugs.python.org/issue47173>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue47171] Enable py.exe install in Windows ARM64 installer

2022-03-30 Thread Steve Dower


Change by Steve Dower :


--
resolution:  -> fixed
stage: patch review -> resolved
status: open -> closed

___
Python tracker 
<https://bugs.python.org/issue47171>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue46566] Support -3.11-arm64 in py.exe launcher

2022-03-30 Thread Steve Dower


Steve Dower  added the comment:


New changeset f3d5715492195fd2532fc1a5d73be07923cdf2e1 by Steve Dower in branch 
'main':
bpo-46566: Make test_launcher more robust to a variety of installs (GH-32204)
https://github.com/python/cpython/commit/f3d5715492195fd2532fc1a5d73be07923cdf2e1


--

___
Python tracker 
<https://bugs.python.org/issue46566>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue47171] Enable py.exe install in Windows ARM64 installer

2022-03-30 Thread Steve Dower


Steve Dower  added the comment:


New changeset 2ab609dd614045f3b112ede0b0883339de784f2a by Steve Dower in branch 
'main':
bpo-47171: Enable installing the py.exe launcher on Windows ARM64 (GH-32203)
https://github.com/python/cpython/commit/2ab609dd614045f3b112ede0b0883339de784f2a


--

___
Python tracker 
<https://bugs.python.org/issue47171>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue47173] test_launcher fails on win-arm64 buildbot

2022-03-30 Thread Steve Dower


Steve Dower  added the comment:

The fix in PR 32204 also clears out VIRTUAL_ENV, so that may be enough. It's 
running on buildbots to see whether it helps.

--

___
Python tracker 
<https://bugs.python.org/issue47173>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue46566] Support -3.11-arm64 in py.exe launcher

2022-03-30 Thread Steve Dower


Change by Steve Dower :


--
pull_requests: +30279
pull_request: https://github.com/python/cpython/pull/32204

___
Python tracker 
<https://bugs.python.org/issue46566>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue46775] [Windows] OSError should unconditionally call winerror_to_errno

2022-03-30 Thread Steve Dower


Steve Dower  added the comment:

I'm still not convinced we should backport. Has anyone looked through to see 
whether this will actually affect any high valued error codes today?

--

___
Python tracker 
<https://bugs.python.org/issue46775>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue47171] Enable py.exe install in Windows ARM64 installer

2022-03-30 Thread Steve Dower


Change by Steve Dower :


--
keywords: +patch
pull_requests: +30278
stage:  -> patch review
pull_request: https://github.com/python/cpython/pull/32203

___
Python tracker 
<https://bugs.python.org/issue47171>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue47173] test_launcher fails on win-arm64 buildbot

2022-03-30 Thread Steve Dower


Steve Dower  added the comment:

Oh, I wonder if the VIRTUAL_ENV environment variable is interfering with search 
(as it's meant to, but the tests weren't written expecting to be run inside a 
venv).

--

___
Python tracker 
<https://bugs.python.org/issue47173>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue47173] test_launcher fails on win-arm64 buildbot

2022-03-30 Thread Steve Dower


New submission from Steve Dower :

Test failures: https://buildbot.python.org/all/#/builders/730/builds/4307

==
FAIL: test_filter_to_company (test.test_launcher.TestLauncher)
--
Traceback (most recent call last):
  File 
"C:\Workspace\buildarea\3.x.linaro-win-arm64.nondebug\build\Lib\test\test_launcher.py",
 line 311, in test_filter_to_company
self.assertEqual("X.Y.exe", data["LaunchCommand"])
^^
AssertionError: 'X.Y.exe' != 
'C:\\Workspace\\buildarea\\venv_310\\Scripts\\python.exe'
- X.Y.exe
+ C:\Workspace\buildarea\venv_310\Scripts\python.exe
==
FAIL: test_py_default (test.test_launcher.TestLauncher)
--
Traceback (most recent call last):
  File 
"C:\Workspace\buildarea\3.x.linaro-win-arm64.nondebug\build\Lib\test\test_launcher.py",
 line 370, in test_py_default
self.assertEqual("PythonTestSuite", data["SearchInfo.company"])
^^^
AssertionError: 'PythonTestSuite' != '(null)'
- PythonTestSuite
+ (null)
==
FAIL: test_py_shebang (test.test_launcher.TestLauncher)
--
Traceback (most recent call last):
  File 
"C:\Workspace\buildarea\3.x.linaro-win-arm64.nondebug\build\Lib\test\test_launcher.py",
 line 392, in test_py_shebang
self.assertEqual("PythonTestSuite", data["SearchInfo.company"])
^^^
AssertionError: 'PythonTestSuite' != '(null)'
- PythonTestSuite
+ (null)

--
components: Windows
messages: 416389
nosy: paul.moore, steve.dower, tim.golden, zach.ware
priority: normal
severity: normal
stage: needs patch
status: open
title: test_launcher fails on win-arm64 buildbot
type: behavior
versions: Python 3.11

___
Python tracker 
<https://bugs.python.org/issue47173>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue46775] [Windows] OSError should unconditionally call winerror_to_errno

2022-03-30 Thread Steve Dower


Steve Dower  added the comment:


New changeset d0c67ea0645b7ad37b867c167882a346a24de641 by Dong-hee Na in branch 
'main':
bpo-46775: OSError should call winerror_to_errno unconditionally on Windows 
(GH-32179)
https://github.com/python/cpython/commit/d0c67ea0645b7ad37b867c167882a346a24de641


--

___
Python tracker 
<https://bugs.python.org/issue46775>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue47171] Enable py.exe install in Windows ARM64 installer

2022-03-30 Thread Steve Dower


New submission from Steve Dower :

Currently the launcher is not installed by the installer. We need to reenable 
it.

--
assignee: steve.dower
components: Windows
messages: 416385
nosy: paul.moore, steve.dower, tim.golden, zach.ware
priority: normal
severity: normal
status: open
title: Enable py.exe install in Windows ARM64 installer
versions: Python 3.11

___
Python tracker 
<https://bugs.python.org/issue47171>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue47170] py launcher on windows opens new terminal window when parsing python script with shebang

2022-03-30 Thread Steve Dower


Steve Dower  added the comment:

Are you saying this happens when you run "py.exe my-script.py"? Or only when 
you run "my-script.py" (without the py.exe)?

--

___
Python tracker 
<https://bugs.python.org/issue47170>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue47138] Pin Jinja2 to fix docs build

2022-03-29 Thread Steve Dower


Change by Steve Dower :


--
pull_requests: +30260
pull_request: https://github.com/python/cpython/pull/32183

___
Python tracker 
<https://bugs.python.org/issue47138>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue47138] Pin Jinja2 to fix docs build

2022-03-29 Thread Steve Dower


Change by Steve Dower :


--
pull_requests: +30259
pull_request: https://github.com/python/cpython/pull/32182

___
Python tracker 
<https://bugs.python.org/issue47138>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue46775] [Windows] OSError should unconditionally call winerror_to_errno

2022-03-29 Thread Steve Dower


Steve Dower  added the comment:

Is this okay to backport? Correcting more winerror values means we'll get more 
subclasses raised instead of OSError (though only for obscure cases, which 
probably also aren't mapped, so I guess it's possible to prove that none will 
actually change right now).

--

___
Python tracker 
<https://bugs.python.org/issue46775>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue47138] Pin Jinja2 to fix docs build

2022-03-28 Thread Steve Dower


Steve Dower  added the comment:


New changeset 0dfabf9b4a58b835b61fc3d17784d4746f677e56 by Steve Dower in branch 
'3.10':
bpo-47138: Ensure Windows docs build uses the same pinned version as other 
platforms (GH-32161)
https://github.com/python/cpython/commit/0dfabf9b4a58b835b61fc3d17784d4746f677e56


--

___
Python tracker 
<https://bugs.python.org/issue47138>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue46566] Support -3.11-arm64 in py.exe launcher

2022-03-28 Thread Steve Dower


Steve Dower  added the comment:

It's in! Any new issues probably won't be found until the next release, so I'll 
close this and we can open new bugs.

--
resolution:  -> fixed
stage: patch review -> resolved
status: open -> closed

___
Python tracker 
<https://bugs.python.org/issue46566>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue46566] Support -3.11-arm64 in py.exe launcher

2022-03-28 Thread Steve Dower


Steve Dower  added the comment:


New changeset bad86a621af61f383b9f06fe4a08f66245df99e2 by Steve Dower in branch 
'main':
bpo-46566: Add new py.exe launcher implementation (GH-32062)
https://github.com/python/cpython/commit/bad86a621af61f383b9f06fe4a08f66245df99e2


--

___
Python tracker 
<https://bugs.python.org/issue46566>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue47138] Pin Jinja2 to fix docs build

2022-03-28 Thread Steve Dower


Change by Steve Dower :


--
pull_requests: +30241
stage: resolved -> patch review
pull_request: https://github.com/python/cpython/pull/32163

___
Python tracker 
<https://bugs.python.org/issue47138>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue47138] Pin Jinja2 to fix docs build

2022-03-28 Thread Steve Dower


Steve Dower  added the comment:


New changeset 295114dcd32b3aad5453e5e15e9e1befa0e5ca01 by Steve Dower in branch 
'main':
bpo-47138: Ensure Windows docs build uses the same pinned version as other 
platforms (GH-32161)
https://github.com/python/cpython/commit/295114dcd32b3aad5453e5e15e9e1befa0e5ca01


--

___
Python tracker 
<https://bugs.python.org/issue47138>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue47138] Pin Jinja2 to fix docs build

2022-03-28 Thread Steve Dower


Change by Steve Dower :


--
nosy: +steve.dower
nosy_count: 4.0 -> 5.0
pull_requests: +30239
status: pending -> open
pull_request: https://github.com/python/cpython/pull/32161

___
Python tracker 
<https://bugs.python.org/issue47138>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue47125] Explore hashlib use of the Windows Crypto API NG

2022-03-28 Thread Steve Dower


Steve Dower  added the comment:

Did a basic test (with timeit and a work-internal library I already have) and 
the native functionality is *slightly* faster than OpenSSL.

But I think it's worthwhile anyway, to help reduce our dependency on OpenSSL.

--

___
Python tracker 
<https://bugs.python.org/issue47125>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue46566] Support -3.11-arm64 in py.exe launcher

2022-03-25 Thread Steve Dower


Steve Dower  added the comment:

I think this PR is "ready enough" to get in for broader testing, but in case 
anyone wants to try it first, I've attached a build from my own machine.

You may need Programs & Features to remove any existing "Python Launcher" 
before installing this MSI, and you will need to do that to remove this later 
on, but it should otherwise behave identically to a per-user installed launcher.

--
Added file: https://bugs.python.org/file50701/launcher.msi

___
Python tracker 
<https://bugs.python.org/issue46566>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue47107] Navigation bar in python3103.chm is broken

2022-03-24 Thread Steve Dower


Steve Dower  added the comment:

Thanks for the report. This is a duplicate of issue47051 (and also no longer 
applies to 3.11 because we've removed the CHM file completely and now ship all 
the HTML files).

--
resolution:  -> duplicate
stage:  -> resolved
status: open -> closed
superseder:  -> Windows v3.10.3 .chm file (in python310\doc) page headings are 
messed up and spread out over several lines. Also the font has changed from the 
former san serif font to a smaller and harder to read serif font.
versions: +Python 3.10 -Python 3.11

___
Python tracker 
<https://bugs.python.org/issue47107>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue47103] Copy pgort140.dll when building for PGO

2022-03-23 Thread Steve Dower


Change by Steve Dower :


--
keywords: +patch
pull_requests: +30170
stage: needs patch -> patch review
pull_request: https://github.com/python/cpython/pull/32083

___
Python tracker 
<https://bugs.python.org/issue47103>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue47103] Copy pgort140.dll when building for PGO

2022-03-23 Thread Steve Dower


New submission from Steve Dower :

Rather than trying to set up PATH properly, we should just copy pgort140.dll 
into the build directory when building instrumented version.

This becomes more important for those (i.e. me) building and then manually 
running the profile stage on a different machine.

--
assignee: steve.dower
components: Build, Windows
messages: 415905
nosy: paul.moore, steve.dower, tim.golden, zach.ware
priority: normal
severity: normal
stage: needs patch
status: open
title: Copy pgort140.dll when building for PGO
type: enhancement
versions: Python 3.11

___
Python tracker 
<https://bugs.python.org/issue47103>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue31582] Add _pth breadcrumb to sys.path documentation

2022-03-23 Thread Steve Dower


Steve Dower  added the comment:


New changeset c62b944dfc98911a5050389fa6ac753e283fee1f by Russel Webber in 
branch 'main':
bpo-31582: Created a new documentation section describing sys.path 
initialization (GH-31082)
https://github.com/python/cpython/commit/c62b944dfc98911a5050389fa6ac753e283fee1f


--

___
Python tracker 
<https://bugs.python.org/issue31582>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue47086] Include HTML docs with Windows installer instead of CHM

2022-03-23 Thread Steve Dower


Steve Dower  added the comment:


New changeset fe010605f87f988ef1053e372d1c3898d2633d96 by Steve Dower in branch 
'main':
bpo-47086: Remove dead link to old CHM documentation (GH-32075)
https://github.com/python/cpython/commit/fe010605f87f988ef1053e372d1c3898d2633d96


--

___
Python tracker 
<https://bugs.python.org/issue47086>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue47100] Help text for Store Python shows "null" under usage

2022-03-23 Thread Steve Dower


New submission from Steve Dower :

C:\> python3.11 -h 
usage: (null) [option] ... [-c cmd | -m mod | file | -] [arg] ...  
Options and arguments (and corresponding environment variables):   
...

Should not show "(null)" there

--
components: Windows
messages: 415869
nosy: paul.moore, steve.dower, tim.golden, zach.ware
priority: normal
severity: normal
status: open
title: Help text for Store Python shows "null" under usage
type: behavior
versions: Python 3.10, Python 3.11, Python 3.9

___
Python tracker 
<https://bugs.python.org/issue47100>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue47086] Include HTML docs with Windows installer instead of CHM

2022-03-23 Thread Steve Dower


Change by Steve Dower :


--
pull_requests: +30163
stage: commit review -> patch review
pull_request: https://github.com/python/cpython/pull/32075

___
Python tracker 
<https://bugs.python.org/issue47086>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue47086] Include HTML docs with Windows installer instead of CHM

2022-03-23 Thread Steve Dower


Steve Dower  added the comment:

This should work for you (luckily, this is about the simplest possible case):

import sys
import winreg

def get_help():
KEY = rf"Software\Python\PythonCore\{sys.winver}\Help\Main Python 
Documentation"
try:
return winreg.QueryValue(winreg.HKEY_CURRENT_USER, KEY)
except FileNotFoundError:
pass
try:
return winreg.QueryValue(winreg.HKEY_LOCAL_MACHINE, KEY)
except FileNotFoundError:
pass
return 
f"https://docs.python.org/{sys.version_info.major}.{sys.version_info.minor}/";

--

___
Python tracker 
<https://bugs.python.org/issue47086>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue46566] Support -3.11-arm64 in py.exe launcher

2022-03-22 Thread Steve Dower


Steve Dower  added the comment:

Posted my WIP as a draft PR. I'm still adding docs, tests and ironing out minor 
issues, but the core functionality is there (as well as some added bonuses). 
Feel free to review, and importantly to mark anywhere you'd like more 
explanatory comments.

Currently the main known issue is that the "-3-32" (and now-deprecated "-3-64") 
arguments are not supported. But they will be! There are also likely to be a 
range of shebang templates that need better handling, and I'll go through the 
open issues to see what ought to be fixed there compared to today's version.

--

___
Python tracker 
<https://bugs.python.org/issue46566>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue46566] Support -3.11-arm64 in py.exe launcher

2022-03-22 Thread Steve Dower


Change by Steve Dower :


--
keywords: +patch
pull_requests: +30152
stage: needs patch -> patch review
pull_request: https://github.com/python/cpython/pull/32062

___
Python tracker 
<https://bugs.python.org/issue46566>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue43166] Unused letters in Windows-specific pragma optimize

2022-03-22 Thread Steve Dower


Steve Dower  added the comment:


New changeset cd05d0a423d97be69f9de4650f68f89e99ad68d1 by neonene in branch 
'main':
bpo-43166: Disable ceval.c optimizations for Windows debug builds (GH-32023)
https://github.com/python/cpython/commit/cd05d0a423d97be69f9de4650f68f89e99ad68d1


--

___
Python tracker 
<https://bugs.python.org/issue43166>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue47086] Include HTML docs with Windows installer instead of CHM

2022-03-22 Thread Steve Dower


Steve Dower  added the comment:

> Do you have any thoughts about distributing the docs in ePub format?

If Windows includes a reader for all supported versions, and it's easy 
to build, sure. But I don't think the first bit is true.

Most people are going to be fairly comfortable with their default 
browser, and many are going to greatly prefer it. I think loose HTML 
files is a good option from every POV other than being a large number of 
loose files.

--

___
Python tracker 
<https://bugs.python.org/issue47086>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue47086] Include HTML docs with Windows installer instead of CHM

2022-03-22 Thread Steve Dower


Steve Dower  added the comment:

The key is defined at 
https://github.com/python/cpython/blob/main/Tools/msi/doc/doc.wxs#L17 and is 
not set for a Store install at all. But we don't include the docs in that 
either - go straight to the web.

--

___
Python tracker 
<https://bugs.python.org/issue47086>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue47086] Include HTML docs with Windows installer instead of CHM

2022-03-22 Thread Steve Dower


Steve Dower  added the comment:

For the registry key, reading the default value from key 
"HKCU\Software\Python\PythonCore\{sys.winver}\Help\Main Python Documentation" 
(or HKLM - no need to worry about the Wow6432Node bit here) and passing it to 
os.startfile() will work for all active releases.

If the key is missing, so are the local docs, so falling back to the web docs 
is a fine option.

--

___
Python tracker 
<https://bugs.python.org/issue47086>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue47086] Include HTML docs with Windows installer instead of CHM

2022-03-22 Thread Steve Dower


Steve Dower  added the comment:

Good call on IDLE, I didn't even think to check there (there is a registry key 
that points at the documentation if it was installed, which would be the best 
approach for IDLE to use).

The makefiles don't urgently need to remove those references. If people still 
want to build it, they're welcome to [try]. It gives people with their own 
build processes a chance to adapt - we can remove it all later.

--

___
Python tracker 
<https://bugs.python.org/issue47086>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue46788] regrtest fails to start on missing performance counter names

2022-03-22 Thread Steve Dower


Steve Dower  added the comment:

Backports have been merged

--
resolution:  -> fixed
stage: backport needed -> resolved
status: open -> closed

___
Python tracker 
<https://bugs.python.org/issue46788>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue44336] Windows buildbots hang after fatal exit

2022-03-22 Thread Steve Dower


Steve Dower  added the comment:

Thanks!

--
resolution:  -> fixed
stage: patch review -> resolved
status: open -> closed

___
Python tracker 
<https://bugs.python.org/issue44336>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue44336] Windows buildbots hang after fatal exit

2022-03-22 Thread Steve Dower


Steve Dower  added the comment:


New changeset 8db7610d1a7b1f90631bac26261338f27bd20727 by Jeremy Kloth in 
branch '3.9':
bpo-44336: Prevent tests hanging on child process handles on Windows (GH-26578)
https://github.com/python/cpython/commit/8db7610d1a7b1f90631bac26261338f27bd20727


--

___
Python tracker 
<https://bugs.python.org/issue44336>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue44336] Windows buildbots hang after fatal exit

2022-03-22 Thread Steve Dower


Steve Dower  added the comment:


New changeset 8146e6b636905d9872140c990d93308ac20d13f0 by Jeremy Kloth in 
branch '3.10':
bpo-44336: Prevent tests hanging on child process handles on Windows (GH-26578)
https://github.com/python/cpython/commit/8146e6b636905d9872140c990d93308ac20d13f0


--

___
Python tracker 
<https://bugs.python.org/issue44336>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue47086] Include HTML docs with Windows installer instead of CHM

2022-03-21 Thread Steve Dower


Steve Dower  added the comment:

Leaving this open and assigned to myself for a couple of days to deal with any 
other fallout. In particular, I wasn't able to test the (minor) changes to the 
publishing steps (e.g. GPG signing), so will have to wait for the next release 
to see what works/doesn't there.

--
assignee:  -> steve.dower
stage: patch review -> commit review

___
Python tracker 
<https://bugs.python.org/issue47086>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue47086] Include HTML docs with Windows installer instead of CHM

2022-03-21 Thread Steve Dower


Steve Dower  added the comment:


New changeset 3751b6b030b4a3b88959b4f3c4ef2e58d325e497 by Steve Dower in branch 
'main':
bpo-47086: Remove .chm from Windows installer and add HTML docs (GH-32038)
https://github.com/python/cpython/commit/3751b6b030b4a3b88959b4f3c4ef2e58d325e497


--

___
Python tracker 
<https://bugs.python.org/issue47086>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue46788] regrtest fails to start on missing performance counter names

2022-03-21 Thread Steve Dower


Steve Dower  added the comment:

Jeremy - backports need to be done manually. Can I leave that with you and just 
ping me on here when you're ready for a merge?

--
stage:  -> backport needed

___
Python tracker 
<https://bugs.python.org/issue46788>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue44336] Windows buildbots hang after fatal exit

2022-03-21 Thread Steve Dower


Steve Dower  added the comment:


New changeset 19058b9f6271338bcc46b7d30fe79a83990cc35c by Jeremy Kloth in 
branch 'main':
bpo-44336: Prevent tests hanging on child process handles on Windows (GH-26578)
https://github.com/python/cpython/commit/19058b9f6271338bcc46b7d30fe79a83990cc35c


--

___
Python tracker 
<https://bugs.python.org/issue44336>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue46788] regrtest fails to start on missing performance counter names

2022-03-21 Thread Steve Dower


Steve Dower  added the comment:

"So close" being some months ago ;)

I need to retrigger address sanitiser so that it passes before merging, but 
after that, I'll merge (and hopefully the backport is clean).

Copying Eryk Sun's comment here for posterity:

This would be less fragile and more useful in general if support were added to 
_winapi for PdhOpenQueryW(), PdhAddEnglishCounterW(), PdhCollectQueryData(), 
PdhCollectQueryDataEx(), PdhGetFormattedCounterValue(), and PdhCloseQuery(). 
The English counter name is "\System\Processor Queue Length" -- no need to 
worry about localized names, hard-coded values, or hard-coded struct sizes and 
offsets.

--

___
Python tracker 
<https://bugs.python.org/issue46788>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue47051] Windows v3.10.3 .chm file (in python310\doc) page headings are messed up and spread out over several lines. Also the font has changed from the former san serif font to a smaller and harde

2022-03-21 Thread Steve Dower


Steve Dower  added the comment:

Doesn't seem to be any relevant changes in the repo between v3.10.2 and 
v3.10.3, and the theme hasn't changed. Obviously the HTMLHelp tools haven't 
changed in a decade or so, and the only difference in the build logs looks like 
less errors in the later one (apparently index terms didn't get fixed up 
properly in 3.10.2).

So other than running the build again and hoping (which we'll likely be doing 
later this week anyway), doesn't seem to be anything that can be fixed here.

--

___
Python tracker 
<https://bugs.python.org/issue47051>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue47086] Include HTML docs with Windows installer instead of CHM

2022-03-21 Thread Steve Dower


Change by Steve Dower :


--
keywords: +patch
pull_requests: +30128
stage: needs patch -> patch review
pull_request: https://github.com/python/cpython/pull/32038

___
Python tracker 
<https://bugs.python.org/issue47086>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue46788] regrtest fails to start on missing performance counter names

2022-03-21 Thread Steve Dower


Steve Dower  added the comment:

You're closer to this stuff than I am, so if you say it works for your 
scenarios and it doesn't break the existing ones, I'll merge it.

Do we need to backport to 3.8 at this point?

--

___
Python tracker 
<https://bugs.python.org/issue46788>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue32592] Drop support of Windows Vista and Windows 7

2022-03-21 Thread Steve Dower


Change by Steve Dower :


--
resolution:  -> fixed
stage: patch review -> resolved
status: open -> closed

___
Python tracker 
<https://bugs.python.org/issue32592>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue47086] Include HTML docs with Windows installer instead of CHM

2022-03-21 Thread Steve Dower


New submission from Steve Dower :

CHM is getting too hard to handle (see e.g. issue47051 for the latest issue), 
so let's just bite the bullet and ship the HTML docs instead.

--
components: Windows
messages: 415701
nosy: paul.moore, steve.dower, tim.golden, zach.ware
priority: normal
severity: normal
stage: needs patch
status: open
title: Include HTML docs with Windows installer instead of CHM
type: enhancement
versions: Python 3.11

___
Python tracker 
<https://bugs.python.org/issue47086>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue47051] Windows v3.10.3 .chm file (in python310\doc) page headings are messed up and spread out over several lines. Also the font has changed from the former san serif font to a smaller and harde

2022-03-21 Thread Steve Dower


New submission from Steve Dower :

I guess for 3.11 we should just switch to loose HTML files and using the 
default browser, rather than fighting with dead CHM tools.

No idea what may have caused this. Has anyone tried analysing the file for 
unsupported JavaScript or something? I think that's what caused it last time. 
Maybe Sphinx got an update and is using unsupported CSS?

--

___
Python tracker 
<https://bugs.python.org/issue47051>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue47037] Build problems on Windows

2022-03-21 Thread Steve Dower


Change by Steve Dower :


--
resolution:  -> fixed
stage: patch review -> resolved
status: open -> closed

___
Python tracker 
<https://bugs.python.org/issue47037>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue47037] Build problems on Windows

2022-03-18 Thread Steve Dower


Steve Dower  added the comment:


New changeset d0a91bd277d1122b41d59e8022b596e3b3ae24fe by Steve Dower in branch 
'main':
bpo-47037: Test debug builds on Windows in CI so that native assertions are 
noticed sooner (GH-31965)
https://github.com/python/cpython/commit/d0a91bd277d1122b41d59e8022b596e3b3ae24fe


--

___
Python tracker 
<https://bugs.python.org/issue47037>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue47037] Build problems on Windows

2022-03-18 Thread Steve Dower


Steve Dower  added the comment:


New changeset d190a9351be577a534a84fd1899f02a9f50f7276 by Christian Heimes in 
branch 'main':
bpo-47037: Don't test for strftime('%4Y') on Windows (GH-31945)
https://github.com/python/cpython/commit/d190a9351be577a534a84fd1899f02a9f50f7276


--

___
Python tracker 
<https://bugs.python.org/issue47037>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue47050] Cannot install Python 3.10.3 on Windows

2022-03-17 Thread Steve Dower


Steve Dower  added the comment:

Okay, that kind of makes sense.

If you try to uninstall 3.10.3 (either through Programs & Features, or through 
the installer), how far can you get? Hopefully far enough that one of the 
3.10.2 options will work, or possibly for a new 3.10.3 install to succeed.

Unfortunately, once an install gets corrupted like this, it gets real hard to 
clean things up. The next option is to find a tool that will remove MSI 
metadata from your system so you can just delete the installs that way, clean 
up the files manually, and start fresh. But there's no nice recovery here, I'm 
afraid.

--

___
Python tracker 
<https://bugs.python.org/issue47050>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue47050] Cannot install Python 3.10.3 on Windows

2022-03-17 Thread Steve Dower


Steve Dower  added the comment:

Looks like you may have "cleaned up" your package cache at some point, which 
means you can't uninstall the old version anymore.

Try getting the 3.10.2 installer and running it directly. If it's the right 
one, you'll get Modify/Repair/Uninstall options, and those should work. (At 
worst, "Repair" will work and then it should be uninstallable.)

--

___
Python tracker 
<https://bugs.python.org/issue47050>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue47037] Build problems on Windows

2022-03-17 Thread Steve Dower


Change by Steve Dower :


--
pull_requests: +30054
pull_request: https://github.com/python/cpython/pull/31965

___
Python tracker 
<https://bugs.python.org/issue47037>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue47037] Build problems on Windows

2022-03-17 Thread Steve Dower


Steve Dower  added the comment:

I think this is also a good enough reason to switch the GitHub CI back to a 
debug build, rather than release, so that assert failures are caught before 
they get merged. This is not the first time it's happened.

--

___
Python tracker 
<https://bugs.python.org/issue47037>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue47037] Build problems on Windows

2022-03-16 Thread Steve Dower


Steve Dower  added the comment:

This sounds more like recent installation changes on your machine. Have 
you updated Visual Studio or something like that? Perhaps the debug UCRT 
has gone missing.

I'm not aware of any recent compilation changes that would cause this.

--

___
Python tracker 
<https://bugs.python.org/issue47037>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue46948] [CVE-2022-26488] Escalation of privilege via Windows Installer

2022-03-16 Thread Steve Dower


Change by Steve Dower :


--
resolution:  -> fixed
stage: patch review -> resolved
status: open -> closed

___
Python tracker 
<https://bugs.python.org/issue46948>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue47032] CI does not detect launcher installer build failure

2022-03-16 Thread Steve Dower


Change by Steve Dower :


--
resolution:  -> fixed
stage: patch review -> resolved
status: open -> closed

___
Python tracker 
<https://bugs.python.org/issue47032>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue46890] getpath problems with framework build

2022-03-16 Thread Steve Dower


Steve Dower  added the comment:

> I just noticed the same. Is this intentional?

Honestly, no idea. I just copied how it was designed before, and had 
nothing to do with the original venv implementation.

At a guess, I think virtualenv did everything with a patched site.py, so 
when it was absorbed as venv it was retained. Changing this to calculate 
more in getpath.py was a goal of the rewrite, it just wasn't one that I 
wanted to do at the same time as the conversion, and am not particularly 
motivated to do myself anyway (when I hack install layouts, I don't use 
venvs at all ;) )

--

___
Python tracker 
<https://bugs.python.org/issue46890>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue47032] CI does not detect launcher installer build failure

2022-03-15 Thread Steve Dower


Change by Steve Dower :


--
pull_requests: +30018
pull_request: https://github.com/python/cpython/pull/31927

___
Python tracker 
<https://bugs.python.org/issue47032>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue47032] CI does not detect launcher installer build failure

2022-03-15 Thread Steve Dower


Change by Steve Dower :


--
pull_requests: +30017
pull_request: https://github.com/python/cpython/pull/31926

___
Python tracker 
<https://bugs.python.org/issue47032>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue47032] CI does not detect launcher installer build failure

2022-03-15 Thread Steve Dower


Steve Dower  added the comment:


New changeset 7c776521418676c074a483266339d31c950f516e by Steve Dower in branch 
'main':
bpo-47032: Ensure Windows install builds fail correctly with a non-zero exit 
code when part of the build fails (GH-31921)
https://github.com/python/cpython/commit/7c776521418676c074a483266339d31c950f516e


--

___
Python tracker 
<https://bugs.python.org/issue47032>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue46948] [CVE-2022-26488] Escalation of privilege via Windows Installer

2022-03-15 Thread Steve Dower


Steve Dower  added the comment:


New changeset 708812085355c92f32e547d1f1d1f29aefbbc27e by Steve Dower in branch 
'main':
bpo-46948: Fix launcher installer build failure due to first part of fix 
(GH-31920)
https://github.com/python/cpython/commit/708812085355c92f32e547d1f1d1f29aefbbc27e


--

___
Python tracker 
<https://bugs.python.org/issue46948>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue47032] CI does not detect launcher installer build failure

2022-03-15 Thread Steve Dower


Change by Steve Dower :


--
keywords: +patch
pull_requests: +30012
stage: needs patch -> patch review
pull_request: https://github.com/python/cpython/pull/31921

___
Python tracker 
<https://bugs.python.org/issue47032>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue47032] CI does not detect launcher installer build failure

2022-03-15 Thread Steve Dower


New submission from Steve Dower :

When changes are made under the Tools/msi directory, extra tests are run in 
GitHub Actions to build the installer.

Apparently, these tests do not fail when the launcher installer fails to build. 
They need to.

--
assignee: steve.dower
messages: 415308
nosy: steve.dower
priority: normal
severity: normal
stage: needs patch
status: open
title: CI does not detect launcher installer build failure
versions: Python 3.10, Python 3.11, Python 3.9

___
Python tracker 
<https://bugs.python.org/issue47032>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue46948] [CVE-2022-26488] Escalation of privilege via Windows Installer

2022-03-15 Thread Steve Dower


Change by Steve Dower :


--
pull_requests: +30011
stage: needs patch -> patch review
pull_request: https://github.com/python/cpython/pull/31920

___
Python tracker 
<https://bugs.python.org/issue46948>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue46948] [CVE-2022-26488] Escalation of privilege via Windows Installer

2022-03-15 Thread Steve Dower


Steve Dower  added the comment:

The fix for this regressed the installer for the py.exe launcher, which breaks 
our release builds.

I'm patching it now. It's going under the same issue number because it will be 
needed for anyone applying this patch directly and then building the installer 
themselves.

--
resolution: fixed -> 
stage: resolved -> needs patch
status: closed -> open

___
Python tracker 
<https://bugs.python.org/issue46948>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue46907] Update Windows and MacOS installer to SQLite 3.38.1

2022-03-15 Thread Steve Dower


Steve Dower  added the comment:

Was there any reason/need to backport this?

--

___
Python tracker 
<https://bugs.python.org/issue46907>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue46907] Update Windows and MacOS installer to SQLite 3.38.1

2022-03-15 Thread Steve Dower


Steve Dower  added the comment:


New changeset a8c728b8b742fd8ca5a225f79d99014794b8fdf3 by Mariusz Felisiak in 
branch 'main':
bpo-46907: Update Windows installer to SQLite 3.38.1. (GH-31655)
https://github.com/python/cpython/commit/a8c728b8b742fd8ca5a225f79d99014794b8fdf3


--

___
Python tracker 
<https://bugs.python.org/issue46907>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



  1   2   3   4   5   6   7   8   9   10   >