Transparent label background?

2024-02-28 Thread Steve GS via Python-list
My window is to have a label over an image. How do I place a label that has a transparent background so as to not have the square of the label look so obnoxious? SGA -- https://mail.python.org/mailman/listinfo/python-list

RE: Problem resizing a window and button placement

2024-02-26 Thread Steve GS via Python-list
at be done? SGA -Original Message- From: Python-list On Behalf Of Thomas Passin via Python-list Sent: Monday, February 26, 2024 8:34 AM To: python-list@python.org Subject: Re: Problem resizing a window and button placement On 2/26/2024 6:02 AM, Steve GS via Python-list wrote: > Althou

RE: RE: Problem resizing a window and button placement

2024-02-26 Thread Steve GS via Python-list
"15 Ww Inside1 = <"+str(Ww)+">") #Ww2 = int(Ww) * 2 # fails print("17 WwZ Inside2 = <"+str(WwZ)+">") root.mainloop() Ww2 = int(Ww) * 2 #Works but only after the program stops print("21 Ww Outside2 = <"+str(WwZ)+">") # C

RE: Problem resizing a window and button placement

2024-02-26 Thread Steve GS via Python-list
, February 25, 2024 5:55 PM To: python-list@python.org Subject: Re: Problem resizing a window and button placement On 2/25/2024 4:19 PM, Steve GS via Python-list wrote: > SOLUTION FOUND! > > The fix was to write the code that uses the width value and to place it into the function itself

RE: Problem resizing a window and button placement

2024-02-26 Thread Steve GS via Python-list
org Subject: Re: Problem resizing a window and button placement On 2024-02-25 21:19, Steve GS via Python-list wrote: > SOLUTION FOUND! > > The fix was to write the code that uses the width value and to place it into the function itself. > Kluge? Maybe

RE: RE: Problem resizing a window and button placement

2024-02-25 Thread Steve GS via Python-list
how this help[s. As a curio, it would be interesting to see how to use the value of a variable, created in the function used here, and make it available to the code outside the function. SGA -Original Message- From: Alan Gauld Sent: Sunday, February 25, 2024 12:44 PM To: Steve GS ;

RE: Problem resizing a window and button placement

2024-02-24 Thread Steve GS via Python-list
So, how do I use the width value in my code? SGA -Original Message- From: Python-list On Behalf Of MRAB via Python-list Sent: Saturday, February 24, 2024 10:36 PM To: python-list@python.org Subject: Re: Problem resizing a window and button placement On 2024-02-25 02:51, Steve GS wrote

RE: Problem resizing a window and button placement

2024-02-24 Thread Steve GS via Python-list
a window and button placement On 2/24/2024 9:51 PM, Steve GS via Python-list wrote: First of all, please make sure that the formatting is readable and especially the indentation. This is Python, after all. Do not use tabs; use 3 or 4 spaces instead of each tab. > import tkinter as tk > >

RE: Problem resizing a window and button placement

2024-02-24 Thread Steve GS via Python-list
t("WwOutside = <" + str(Ww) + ">") #NameError: name 'Ww' is not defined root.mainloop() SGA -Original Message- From: Python-list On Behalf Of MRAB via Python-list Sent: Saturday, February 24, 2024 7:49 PM To: python-list@python.org Subject: Re: Problem resizing a window and

RE: Problem resizing a window and button placement

2024-02-24 Thread Steve GS via Python-list
via Python-list Sent: Saturday, February 24, 2024 8:40 AM To: python-list@python.org Subject: Re: Problem resizing a window and button placement On 2/24/2024 3:20 AM, Steve GS via Python-list wrote: > Yes, I ran that elegantly > simple code. The print > statement reports the X, Y, > H

RE: Problem resizing a window and button placement

2024-02-24 Thread Steve GS via Python-list
to use the variable Vwidth outside the sub routine. It is acting as if Vwidth is not global but I added that. It is reported that Vwidth is not defined when I try to use it in my code. So close.. SGA -Original Message- From: Barry Sent: Saturday, February 24, 2024 3:04 AM To: Steve GS

RE: Problem resizing a window and button placement

2024-02-23 Thread Steve GS via Python-list
How do I extract the values from args? SGA -Original Message- From: Python-list On Behalf Of MRAB via Python-list Sent: Friday, February 23, 2024 9:27 PM To: python-list@python.org Subject: Re: Problem resizing a window and button placement On 2024-02-24 01:14, Steve GS via Python-list

Problem resizing a window and button placement

2024-02-23 Thread Steve GS via Python-list
Python, Tkinter: How do I determine if a window has been resized? I want to locate buttons vertically along the right border and need to know the new width. The buttons are to move with the change of location of the right-side border. SGA --

RE: IDLE editor suggestion.

2023-12-12 Thread Steve GS via Python-list
Does anything from the Visual Studio family of software have a pull down menu that lists previous searches so that I don’t have to enter them every time? SGA -Original Message- From: Friedrich Romstedt Sent: Tuesday, December 12, 2023 12:52 PM To: Steve GS Cc: python-list@python.org

IDLE editor suggestion.

2023-12-12 Thread Steve GS via Python-list
Maybe this already exists but I have never seen it in any editor that I have used. It would be nice to have a pull-down text box that lists all of the searches I have used during this session. It would make editing a lot easier if I could select the previous searches rather than having to enter

RE: A problem with str VS int.

2023-12-12 Thread Steve GS via Python-list
. This is now more of a curiosity as I did use the integer comparisons. SGA -Original Message- From: Python-list On Behalf Of dn via Python-list Sent: Sunday, December 10, 2023 12:53 AM To: python-list@python.org Subject: Re: A problem with str VS int. On 10/12/23 15:42, Steve GS via Python-list

A problem with str VS int.

2023-12-09 Thread Steve GS via Python-list
t;Enter valid sensor test strip Reading.") I converted the variable to int along with the if statement comparison and it works as expected. See if it fails for you... Steve -- https://mail.python.org/mailman/listinfo/python-list

Subtracting dates to get hours and minutes

2022-12-11 Thread Steve GS
How do I subtract two time/dates and calculate the hours and minutes between? Steve -- https://mail.python.org/mailman/listinfo/python-list

RE: Automatic Gain Control in Python?

2022-06-06 Thread Steve GS
Yes, it is real-time play back of a pre-recorded presentation. A juke box does the same thing. It plays records. You didn't put your quarter in to expect the band to play your piece live, did you? Same here, I am pulling in the programs and playing them for an audience. All I want to do is have

RE: Automatic Gain Control in Python?

2022-05-31 Thread Steve GS
-list On Behalf Of MRAB Sent: Tuesday, May 31, 2022 9:47 PM To: python-list@python.org Subject: Re: Automatic Gain Control in Python? On 2022-06-01 02:03, Steve GS wrote: [snip] > Maybe you do not understand smart speakers. That is exactly what they do. > You tell them what podcast/broadcast t

RE: Automatic Gain Control in Python?

2022-05-31 Thread Steve GS
>Even easier, the few NPR podcasts I just checked now have RSS feeds of their episodes (as expected). It seems it would be much easier to just download the latest episode based on the XML file, normalize, send it to play, done. How can that possibly be easier? I am playing the podcast and

RE: Automatic Gain Control in Python?

2022-05-29 Thread Steve GS
wish for more wishes. Me: I wish I could. From: Benjamin Schollnick Sent: Sunday, May 29, 2022 11:18 AM To: Steve GS Cc: Richard Damon ; Python Subject: Re: Automatic Gain Control in Python? Okay, you are capturing the audio stream as a digital file somewhere, correct? Why not just

RE: Automatic Gain Control in Python?

2022-05-29 Thread Steve GS
is actually legitimate. Yes, I have been through that. It is totally legal to record NPR broadcasts for replay as long as they are not retained for than a month or for multiple replays. Your suggestion to download and play a podcast or broadcast is legal only for live replay. My want to record them

RE: Automatic Gain Control in Python?

2022-05-28 Thread Steve GS
ith orange?” “No, it doesn’t..” -Original Message- From: Richard Damon On Behalf Of Richard Damon Sent: Saturday, May 28, 2022 11:37 PM To: Steve GS Subject: Re: Automatic Gain Control in Python? On 5/28/22 8:17 PM, Steve GS wrote: > "My first thought is you are solving the wrong p

RE: Automatic Gain Control in Python?

2022-05-28 Thread Steve GS
ct: Re: Automatic Gain Control in Python? On 2022-05-29 01:17, Steve GS wrote: > "My first thought is you are solving the wrong problem. What seems a > better option would be to get your code to actually connect up to the > podcast and just download the audio directly, rather than trying

RE: Automatic Gain Control in Python?

2022-05-28 Thread Steve GS
hes. Me: I wish I could. -Original Message- From: Python-list On Behalf Of Richard Damon Sent: Saturday, May 28, 2022 6:53 PM To: python-list@python.org Subject: Re: Automatic Gain Control in Python? On 5/28/22 5:29 PM, Steve GS wrote: > I have an extensive Excel/VBA program that

Automatic Gain Control in Python?

2022-05-28 Thread Steve GS
I have an extensive Excel/VBA program that hourly calls and plays podcasts through a "smart" speaker. The output of the speaker feeds into another computer that records the m\audio using Audacity. It has become obvious that NPR does not regulate volumes for podcasts and broadcasts nor are

[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 co

[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.or

[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

[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/issue47

[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

[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/issue47

[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

[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

[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/issue47

[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-

[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/issu

[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> ___ ___ Pytho

[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:

[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

[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

[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

[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 mailin

[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

[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

[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

[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

[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

[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

[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

[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.or

[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

[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.or

[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

[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

[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/issue47

[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/issue46

[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/issue46

[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/issu

[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.

[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

[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

[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

[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://bug

[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/issue47

[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/issue47

[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

[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

[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 ___ Pytho

[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

[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/issu

[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

[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/i

[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

[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 inst

[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 -&g

[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/issu

[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

[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

[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

[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

[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/issu

[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.

[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

[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/issu

[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

[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 comforta

[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

[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

[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

[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.or

[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.or

[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

[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

[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

[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

[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/issu

[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

[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 fragil

  1   2   3   4   5   6   7   8   9   10   >