[issue43261] Python 3.9 repair on Windows do not recover pip module

2021-02-22 Thread Steve Dower
Steve Dower added the comment: Assuming you installed pip using the installer, repair should bring it back. Do you still have installer logs? They would be in %TEMP% and start with "python". We'll need at least the main log and the pip log, but if you want to just zip them al

[issue43261] Python 3.9 repair on Windows do not recover pip module

2021-02-23 Thread Steve Dower
Steve Dower added the comment: Thanks! Interestingly, it seems like it ought to have re-run, but decided not to. I wonder if there's been some change to how Windows Installer deals with using registry keys to control custom actions? Unfortunately, MSI is an incredibly complicated inst

[issue42800] Traceback objects allow accessing frame objects without triggering audit hooks

2021-02-23 Thread Steve Dower
Steve Dower added the comment: Thanks for the ping. I'll try and check in later this week to finish it up. -- ___ Python tracker <https://bugs.python.org/is

[issue43298] Windows build cannot detect missing Windows SDK

2021-02-23 Thread Steve Dower
Steve Dower added the comment: > I did not have the latest installed which is Win10SDK_10.0.18362, therefore > it did trigger that original error in msg387518. Did you have any other version installed? It should include one by default, which is why we don't mention it i

[issue43312] Interface to select preferred "user" or "home" sysconfig scheme for an environment

2021-02-24 Thread Steve Dower
Steve Dower added the comment: This seems like a good change to me. Making sure that the implementation is easily patchable sounds like a good plan, though I don't have any specific suggestions on what would be best. -- nosy: +steve.

[issue26111] On Windows, os.scandir will keep a handle on the directory until the iterator is exhausted

2021-02-25 Thread Steve Dower
Steve Dower added the comment: > FYI, in Windows 10, deleting files and directories now tries a POSIX delete Yeah, FWIW, I haven't been able to get clear guidance on what I can/cannot publicly announce we've done in this space. But since you've found it I guess I ca

[issue29399] python3.dll export forwarders not resolved in all situations due to missing python3?.dll dependency and DLL search path behavior

2021-02-25 Thread Steve Dower
Steve Dower added the comment: I'm not sure we ever meant for LoadLibrary("python3.dll") to actively load the concrete python3X.dll. The APIs are the same, so you can (should) LoadLibrary the one that you want. It's when you use static imports in extensions that it

[issue29399] python3.dll export forwarders not resolved in all situations due to missing python3?.dll dependency and DLL search path behavior

2021-02-25 Thread Steve Dower
Steve Dower added the comment: Yeah, but in that scenario, it is just as good to LoadLibrary("python39.dll") and use it as if it was LoadLibrary("python3.dll") because the interaction model is identical. The only reason to load python3.dll explicitly is if you are not

[issue43263] threading module unable to run

2021-02-25 Thread Steve Dower
Steve Dower added the comment: Sorry, I can't help. My employer has strict rules about reviewing GPL code like that in your linked repository. I'd suggest checking your thread management in native code. Each new thread created in Python will create a new native thread, and t

[issue43271] AMD64 Windows10 3.x crash with Windows fatal exception: stack overflow

2021-03-02 Thread Steve Dower
Steve Dower added the comment: We already have a separate recursion limit for debug builds on Windows, so it's probably best all around to reduce that (if it's only recursion tests that are failing). That way, we won't forget to fix up debugging later if/when we

[issue43271] AMD64 Windows10 3.x crash with Windows fatal exception: stack overflow

2021-03-02 Thread Steve Dower
Steve Dower added the comment: Hmm, yeah, it seems like the debug-specific definition has gone. Wonder when that happened. In that case, go ahead and revert, but I'd suggest doing it by just removing the new Py_DEBUG condition rather than undoing all the changes. Should be nothing

[issue43284] Wrong windows build post version 2004

2021-03-02 Thread Steve Dower
Steve Dower added the comment: So somehow Windows made a rebuild *without* having to touch kernel32.dll, which is fairly impressive. That version number comes from kernel32.dll, because there's no good way to get the build number via an API and also avoid compatibility settings lying

[issue43364] Add shortcut to enable UTF-8 mode in start menu.

2021-03-02 Thread Steve Dower
Steve Dower added the comment: For modifying an environment variable, please clone the entire path MSI and use an Environment element to update it. Should be a little simpler than that one, because it's a constant. I'm always very hesitant to modify system-wide (or user-wide) set

[issue43284] Wrong windows build post version 2004

2021-03-02 Thread Steve Dower
Steve Dower added the comment: The reason to avoid the GetVersion API is that certain automatic compatibility modes will lie about what the version number is, and people complained that it was wrong (kind of like this complaint ;) ). Reading the version from a system DLL bypasses that risk

[issue43364] Add shortcut to enable UTF-8 mode in start menu.

2021-03-04 Thread Steve Dower
Steve Dower added the comment: Maybe as a global setting, the better thing to copy is the button at the end of installation that offers to change the long path policy? That would give a bit more room that a checkbox to explain what is being set and what the implications are, which will help

[issue42405] Add distutils mvsccompiler support for Windows ARM64 build

2021-03-04 Thread Steve Dower
Steve Dower added the comment: Jason, this issue and the associated PR are out of date and should not be merged. The PR also only affects completely unused code, so it has no value whatsoever being in CPython. I don't really care too much about the unused code, but I will *insist* o

[issue43438] [doc] sys.addaudithook() documentation should be more explicit on its limitations

2021-03-08 Thread Steve Dower
Steve Dower added the comment: To clarify my position on this (as the PEP author): * audit hooks added *after* initialization (including via the Python API) are not intended for security, but for logging/debugging, and so bypasses are not considered security issues * audit hooks added

[issue43440] Enable rtree support in SQLite

2021-03-08 Thread Steve Dower
New submission from Steve Dower : I heard [1] that rtree support would be very useful in SQLite. We should see whether enabling it is safe/easy/cheap and then do it. 1: https://twitter.com/Jamieallencook/status/1368221499794976775?s=20 -- components: Build, Library (Lib), Windows

[issue43440] Enable rtree support in SQLite

2021-03-08 Thread Steve Dower
Change by Steve Dower : -- nosy: +ghaering ___ Python tracker <https://bugs.python.org/issue43440> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue43439] [security] Add audit events on GC functions giving access to all Python objects

2021-03-08 Thread Steve Dower
Steve Dower added the comment: Thanks, Pablo! Nice patch. This can be backported, btw. New audit events are allowed to be added in minor releases (they just cannot be changed). -- versions: +Python 3.8, Python 3.9 ___ Python tracker <ht

[issue43440] Enable rtree support in SQLite

2021-03-09 Thread Steve Dower
Steve Dower added the comment: New changeset 31818e98d3b845d815e9caf2a3d330341bdc1b33 by Erlend Egeberg Aasland in branch 'master': bpo-43440 : Enable SQLite R*Tree support for windows builds (GH-24797) https://github.com/python/cpython/commit/31818e98d3b845d815e9caf2a3d330

[issue43440] Enable rtree support in SQLite

2021-03-09 Thread Steve Dower
Steve Dower added the comment: Perfect, thanks! Callbacks are a bigger ask, but I don't have any fundamental opposition to them. Probably worth opening a new issue, as it'll affect all platforms (I assume). And yeah, the setup.py in the CPython repo doesn't impact any of the

[issue39631] Fix file association MIME type on Windows

2020-05-19 Thread Steve Dower
Steve Dower added the comment: New changeset 8c862e51248c5ebfec787badec88eb58c9267e1e by Zackery Spytz in branch 'master': bpo-39631: Fix file association MIME type in the Windows installer (GH-20205) https://github.com/python/cpython/commit/8c862e51248c5ebfec787badec88eb

[issue40677] IO_REPARSE_TAG_APPEXECLINK is not defined in old Windows SDK

2020-05-19 Thread Steve Dower
Steve Dower added the comment: New changeset 711f9e180a48baba62301735b7f1a58ef0d0e93a by Minmin Gong in branch 'master': bpo-40677: Define IO_REPARSE_TAG_APPEXECLINK explicitly (GH-20206) https://github.com/python/cpython/commit/711f9e180a48baba62301735b7f1a5

[issue39631] Fix file association MIME type on Windows

2020-05-19 Thread Steve Dower
Steve Dower added the comment: Actually, now that I've gone and hit merge, I've changed my mind about the NEWS entry. I'll add it. -- ___ Python tracker <https://bugs.pyt

[issue40677] IO_REPARSE_TAG_APPEXECLINK is not defined in old Windows SDK

2020-05-19 Thread Steve Dower
Steve Dower added the comment: Thanks! -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker <https://bugs.python.or

[issue40667] [Windows] Add global python and python3 commands

2020-05-19 Thread Steve Dower
Change by Steve Dower : -- keywords: +patch pull_requests: +19517 stage: -> patch review pull_request: https://github.com/python/cpython/pull/20226 ___ Python tracker <https://bugs.python.org/issu

[issue39631] Fix file association MIME type on Windows

2020-05-19 Thread Steve Dower
Change by Steve Dower : -- pull_requests: +19518 pull_request: https://github.com/python/cpython/pull/20227 ___ Python tracker <https://bugs.python.org/issue39

[issue40687] Windows py.exe launcher interacts badly with Windows store python.exe shim

2020-05-19 Thread Steve Dower
Steve Dower added the comment: If someone remembers where the other "shebangs on Windows don't make sense" issue is, I think we can close this one in favour of that. Though it's also an important point for issue40667 - if "python.exe" becomes the launcher,

[issue40667] [Windows] Add global python and python3 commands

2020-05-19 Thread Steve Dower
Steve Dower added the comment: > To avoid this, process() can set a flag based on the image name that prevents > calling maybe_handle_shebang(). Or the other solution, which is stop treating "usr/bin/env" as "search PATH" - I'm sure there's another iss

[issue39631] Fix file association MIME type on Windows

2020-05-19 Thread Steve Dower
Steve Dower added the comment: New changeset 92327a9913150f5bb55b2727a2c5d50f9b7b6e55 by Steve Dower in branch 'master': bpo-39631: Adds NEWS entry (GH-20227) https://github.com/python/cpython/commit/92327a9913150f5bb55b2727a2c5d5

[issue39631] Fix file association MIME type on Windows

2020-05-19 Thread Steve Dower
Change by Steve Dower : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker <https://bugs.python.or

[issue40740] Missing api-ms-win-core-path-l1-1.0.dll for python-3.9.0b1-amd64.exe Under Win7

2020-05-25 Thread Steve Dower
Steve Dower added the comment: Sorry, Windows 7 is no longer supported in Python 3.9. You'll need to update, ideally to Windows 10, but if you want to stay on Windows 8.1 then I believe that one's supported until Python 3.10. -- resolution: -> not a bug stage: ->

[issue32280] Expose `_PyRuntime` through a section name

2020-05-25 Thread Steve Dower
Steve Dower added the comment: It looks fine to me, but we probably want to clearly document it as unsupported/likely to change between releases/etc., especially since it's relying on an assumption that we want to change (one static runtime per pr

[issue23082] pathlib relative_to() can give confusing error message

2020-05-25 Thread Steve Dower
Change by Steve Dower : -- nosy: -miss-islington resolution: -> fixed stage: patch review -> resolved status: open -> closed versions: +Python 3.10 -Python 3.8 ___ Python tracker <https://bugs.python.or

[issue23082] pathlib relative_to() can give confusing error message

2020-05-25 Thread Steve Dower
Steve Dower added the comment: New changeset 448325369ff73011d34d6c3a493014fe3ead8843 by Rotuna in branch 'master': bpo-23082: Better error message for PurePath.relative_to() from pathlib (GH-19611) https://github.com/python/cpython/commit/448325369ff73011d34d6c3a493014

[issue40654] shutil.copyfile mutates symlink for absolute path

2020-05-25 Thread Steve Dower
Steve Dower added the comment: I think we can safely say this is by design (I know Jason got his backport working). > Understood. However, this statement assumes the "correct path" is the most > precise path to resolve the target. If you instead define "correct pat

[issue40654] shutil.copyfile mutates symlink for absolute path

2020-05-26 Thread Steve Dower
Steve Dower added the comment: > how could one write the `cmd.exe` `dir` command using Python? I haven't checked, but if the dir command resolves the entire symlink chain rather than one step at a time, you'd use realpath (though that seems unlikely, tbh). Failing that, yo

[issue40667] [Windows] Add global python and python3 commands

2020-05-27 Thread Steve Dower
Steve Dower added the comment: After thinking this through some more, I don't think this solves the problem, but only changes it. And we're better off leaving things as they are than just moving them around. -- resolution: -> rejected stage: patch review -> resol

[issue40741] Upgrade to SQLite v3.32.1 in Windows and macOS builds

2020-05-29 Thread Steve Dower
Steve Dower added the comment: I've checked and merged the cpython-source-deps update. (For everyone's info, I downloaded the sources myself and checked hashes/etc. as per normal, even though I eventually merged the PR and tagged i

[issue37380] subprocess.Popen._cleanup() "The handle is invalid" error when some old process is gone

2020-05-29 Thread Steve Dower
Steve Dower added the comment: > import subprocess > subprocess._cleanup = lambda: None -- ___ Python tracker <https://bugs.python.org/issue37380> ___ ___

[issue40754] Test installers before releasing (ModuleNotFoundErrors)

2020-05-30 Thread Steve Dower
Steve Dower added the comment: There are non-binding CI tests run with Github Actions (post-merge) that test from a layout, and last I checked they were all passing. Nobody is really monitoring it but me though, as it isn't a buildbot. The Windows installer also runs pip and IDLE

[issue40831] Wrong statement that bytes paths are deprecated under Windows regarding MAX_PATH docs

2020-05-31 Thread Steve Dower
Steve Dower added the comment: That's correct, though I thought PEP 528 and 529 applied earlier than that? Around 3.6, I thought. Feel free to make a doc update though. That reference is definitely out of date. -- ___ Python tracker &

[issue40831] Wrong statement that bytes paths are deprecated under Windows regarding MAX_PATH docs

2020-06-01 Thread Steve Dower
Steve Dower added the comment: Python now decodes bytes back into a str when used as a path, so the behaviour is identical. Someone else might feel comfortable doing the patch, I didn't mean to imply that you had to. Only that it is a valid fix and won't be a was

[issue40831] Wrong statement that bytes paths are deprecated under Windows regarding MAX_PATH docs

2020-06-01 Thread Steve Dower
Steve Dower added the comment: New changeset c897bbdb284c3780ef6cec8a3870935a6bb7 by Zackery Spytz in branch 'master': bpo-40831: Remove an incorrect statement in the Windows docs (GH-20570) https://github.com/python/cpython/commit/c897bbdb284c3780ef6cec8a38

[issue40831] Wrong statement that bytes paths are deprecated under Windows regarding MAX_PATH docs

2020-06-01 Thread Steve Dower
Change by Steve Dower : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker <https://bugs.python.or

[issue35228] Index search in CHM help crashes viewer

2020-06-01 Thread Steve Dower
Steve Dower added the comment: Can anyone confirm that you've got an active code page of something other than 1252 ("standard" US English)? I'm not able to reproduce this easily, and I wonder if it's because of that setting. Easiest way to check is in

[issue35228] Index search in CHM help crashes viewer

2020-06-02 Thread Steve Dower
Steve Dower added the comment: > Let's promote ePub and PDF instead. Find a good viewer we can bundle with the installer with equivalent search/index functionality and we can consider it. More realistically, including the docs as unbundled HTML files and relying on the default br

[issue40861] On Windows, liblzma is always built without optimization

2020-06-08 Thread Steve Dower
Change by Steve Dower : -- keywords: +patch pull_requests: +19934 stage: -> patch review pull_request: https://github.com/python/cpython/pull/20724 ___ Python tracker <https://bugs.python.org/issu

[issue40861] On Windows, liblzma is always built without optimization

2020-06-08 Thread Steve Dower
Change by Steve Dower : -- assignee: -> steve.dower ___ Python tracker <https://bugs.python.org/issue40861> ___ ___ Python-bugs-list mailing list Unsubscrib

[issue35228] Index search in CHM help crashes viewer

2020-06-08 Thread Steve Dower
Steve Dower added the comment: We either need someone to contribute a fix to sphinxcontrib\htmlhelp\templates\project.hhp (bearing in mind that this *must* be optional, as it breaks search), or write code to patch the generated file between generation and use (which is probably hard). And

[issue40861] On Windows, liblzma is always built without optimization

2020-06-08 Thread Steve Dower
Steve Dower added the comment: New changeset 3a3a30c5a4622e18be9f7e4a239dc9e0d7c8054c by Steve Dower in branch 'master': bpo-40861: Enable optimizations when building liblzma (GH-20724) https://github.com/python/cpython/commit/3a3a30c5a4622e18be9f7e4a239dc9

[issue40861] On Windows, liblzma is always built without optimization

2020-06-08 Thread Steve Dower
Change by Steve Dower : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker <https://bugs.python.or

[issue40912] _PyOS_SigintEvent is never closed on Windows

2020-06-08 Thread Steve Dower
New submission from Steve Dower : Currently, it's just stored as global state in signalmodule.c and forgotten about. It probably needs to become module state, and the signal module needs better initialization/shutdown. -- components: Windows messages: 371036 nosy: eric

[issue40913] time.sleep ignores errors on Windows

2020-06-08 Thread Steve Dower
New submission from Steve Dower : In time.sleep on Windows, if the WaitForSingleObject call fails, the call returns success. It essentially looks like the timeout was 0. Errors should be highly unlikely, as the event object is leaked (see issue40912), but if they _do_ occur, we should raise

[issue40924] Recent importlib change breaks most recent certifi == 2020.4.5.2

2020-06-09 Thread Steve Dower
Steve Dower added the comment: That was a *big* patch to importlib.resources... And newly defined and standardised protocols? That seems like a lot to bring in without having gone through a PEP anyway, despite the minor bug that has drawn attention to it. I don't think backports shou

[issue40906] Unable to import module due to python unable to resolve dependecies

2020-06-10 Thread Steve Dower
Steve Dower added the comment: add_dll_directory can be safely used within your library, so if you have any .py files that will be imported first (such as your package __init__.py), you can add it then. The safest way is to use something like: with os.add_dll_directory(THE_DIR): import

[issue29633] MSI installer does not pass values as SecureProperty from UI

2020-06-11 Thread Steve Dower
Steve Dower added the comment: We can close it. bdist_msi isn't recommended for any reason, and cx_Freeze isn't ours. -- resolution: -> out of date stage: -> resolved status: open -> closed ___ Python tracker <https://bugs

[issue40948] Better identify Windows installer as installer only, not runner

2020-06-11 Thread Steve Dower
Steve Dower added the comment: The current "using" doc page is way too in-depth, but I'm actually okay with the idea of having a "Did you mean to launch Python? Press 'Start' and type 'Python' to find it" message on the Modify page of the instal

[issue38905] venv python reports wrong sys.executable in a subprocess on Windows

2020-06-12 Thread Steve Dower
Steve Dower added the comment: Thanks for confirming that reality aligns with the documentation. > when doing the same and passing `shell=True` to the POpen() call, there is no > such initial folder in the lookup Correct, because a fully qualified path to cmd.exe is used, and cmd

[issue40164] Upgrade Windows and macOS installer builds to OpenSSL 1.1.1g

2020-06-12 Thread Steve Dower
Steve Dower added the comment: Yeah, I'll get onto it now. -- ___ Python tracker <https://bugs.python.org/issue40164> ___ ___ Python-bugs-list mailing list

[issue40164] Upgrade Windows and macOS installer builds to OpenSSL 1.1.1g

2020-06-12 Thread Steve Dower
Steve Dower added the comment: Thanks. Your PR will start to work once I've done the updated build, so don't worry about the failure right now. OpenSSL updates require build manager involvement, so it's blocked on me :) -- ___

[issue40913] time.sleep ignores errors on Windows

2020-06-12 Thread Steve Dower
Steve Dower added the comment: ... equally happy without an explicit test in anything that's only prerelease right now. -- ___ Python tracker <https://bugs.python.org/is

[issue40913] time.sleep ignores errors on Windows

2020-06-12 Thread Steve Dower
Steve Dower added the comment: You could test this by getting the event and CloseHandle-ing it. A function to do this could be added to _testcapimodule. It'd have to run in its own process, but we have (a few) helpers around for this. Given the concerns, I don't think we should c

[issue40164] Upgrade Windows and macOS installer builds to OpenSSL 1.1.1g

2020-06-12 Thread Steve Dower
Steve Dower added the comment: Okay, new sources and build are up, so I retriggered the PR. If it's all good, I'll merge and backport. -- ___ Python tracker <https://bugs.python.o

[issue40164] Upgrade Windows and macOS installer builds to OpenSSL 1.1.1g

2020-06-12 Thread Steve Dower
Steve Dower added the comment: New changeset 80d827c3cb041ae72b9b0572981c50bdd1fe2cab by Srinivas Reddy Thatiparthy (శ్రీనివాస్ రెడ్డి తాటిపర్తి) in branch 'master': bpo-40164: Update Windows OpenSSL to 1.1.1g (GH-20834) https://github.com/python/cpyt

[issue40164] Upgrade Windows and macOS installer builds to OpenSSL 1.1.1g

2020-06-12 Thread Steve Dower
Change by Steve Dower : -- pull_requests: +20034 pull_request: https://github.com/python/cpython/pull/20841 ___ Python tracker <https://bugs.python.org/issue40

[issue40164] Upgrade Windows and macOS installer builds to OpenSSL 1.1.1g

2020-06-12 Thread Steve Dower
Change by Steve Dower : -- pull_requests: +20033 pull_request: https://github.com/python/cpython/pull/20840 ___ Python tracker <https://bugs.python.org/issue40

[issue40913] time.sleep ignores errors on Windows

2020-06-12 Thread Steve Dower
Steve Dower added the comment: > If WaitForSingleObjectEx fails, do you think the system error code should be > raised as an OSError? It's invalid (and unfixable) internal state, so perhaps SystemError makes the most sense? There's no point catching it in most cases. Or sin

[issue40164] Upgrade Windows and macOS installer builds to OpenSSL 1.1.1g

2020-06-12 Thread Steve Dower
Steve Dower added the comment: New changeset 7e57c367d65f3d0219978b465dc00da15ae3724c by Steve Dower in branch '3.8': bpo-40164: Update Windows OpenSSL to 1.1.1g (GH-20834) https://github.com/python/cpython/commit/7e57c367d65f3d0219978b465dc00d

[issue40164] Upgrade Windows and macOS installer builds to OpenSSL 1.1.1g

2020-06-12 Thread Steve Dower
Steve Dower added the comment: New changeset 617af99312ca36ad5a08db764858caf11c92a2c0 by Steve Dower in branch '3.7': bpo-40164: Update Windows OpenSSL to 1.1.1g (GH-20834) https://github.com/python/cpython/commit/617af99312ca36ad5a08db764858ca

[issue40164] Upgrade Windows and macOS installer builds to OpenSSL 1.1.1g

2020-06-12 Thread Steve Dower
Change by Steve Dower : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker <https://bugs.python.or

[issue40740] Missing api-ms-win-core-path-l1-1.0.dll for python-3.9.0b1-amd64.exe Under Win7

2020-06-15 Thread Steve Dower
Steve Dower added the comment: Łukasz can add a note to the release page, I believe. -- nosy: +lukasz.langa ___ Python tracker <https://bugs.python.org/issue40

[issue40893] tkinter integrate TkDND support

2020-06-15 Thread Steve Dower
Steve Dower added the comment: Is there any reason for TkDND to be optional apart from the rest of Tkinter? If not, your installer changes are probably fine, but why not combine the two and just treat it as part of the Tcl/Tk build? (Primarily for Windows, I'd guess. Not sure how t

[issue37369] Issue with pip in venv on Powershell in Windows

2020-06-17 Thread Steve Dower
Steve Dower added the comment: Hi Miika Please create a new issue. It would also be helpful if you gave us some idea of what your username looks like, even if you change it a bit to hide it from the internet. The most common cause of this error is spaces or non-ASCII characters in your

[issue41039] Simplify python3.dll build

2020-06-22 Thread Steve Dower
Steve Dower added the comment: Thanks for the change. It looks good, though I would like to have a NEWS entry for this so that people can find that we made a deliberate change to this DLL. I'd also like to do some manual testing to make sure that we aren't going to break any ob

[issue41054] Simplify resource compilation on Windows

2020-06-22 Thread Steve Dower
Steve Dower added the comment: Looks good. Let's rename PYTHON_DLL_NAME to ORIGINAL_FILENAME, since it took me 10 minutes to figure out that that's how it's used... We'll backport this one to 3.9 before RC. No NEWS file required. -- v

[issue41070] Simplify pyshellext.dll build

2020-06-22 Thread Steve Dower
Steve Dower added the comment: Looks good, but I'll want to manually test this, as it's not covered by automated tests. (If you happen to know how to test drag-drop of multiple files and non-MBCS filenames in Explorer, would love to have some tests, but given the low churn on t

[issue39699] Some CIs silence potentially useful output from make

2020-06-23 Thread Steve Dower
Steve Dower added the comment: New changeset 6eab52ffadb2836adb59d0578c84d247f05e19b1 by Ammar Askar in branch '3.8': bpo-39699: Remove accidentally committed test change (GH-21089) https://github.com/python/cpython/commit/6eab52ffadb2836adb59d0578c84d2

[issue41072] Python 3.8.3 passively introduced open source software contains CVE vulnerability

2020-06-23 Thread Steve Dower
Steve Dower added the comment: It depends on your application. Almost all of these are exposed directly, so you will be vulnerable if your application uses them in the way described by the CVE. I'm not familiar enough with the vulnerabilities in question to tell you for sure, and I

[issue41089] Filters and other issues in Visual Studio projects

2020-06-23 Thread Steve Dower
Steve Dower added the comment: New changeset fe2a48c605d98ac02ab2b9593cb87ce364aeae2d by Nikita Nemkin in branch 'master': bpo-41089: Filters and other issues in Visual Studio projects (GH-21070) https://github.com/python/cpython/commit/fe2a48c605d98ac02ab2b9593cb87c

[issue41089] Filters and other issues in Visual Studio projects

2020-06-23 Thread Steve Dower
Change by Steve Dower : -- pull_requests: +20256 pull_request: https://github.com/python/cpython/pull/21090 ___ Python tracker <https://bugs.python.org/issue41

[issue41089] Filters and other issues in Visual Studio projects

2020-06-23 Thread Steve Dower
Change by Steve Dower : -- assignee: -> steve.dower resolution: -> fixed stage: patch review -> resolved status: open -> closed versions: +Python 3.9 ___ Python tracker <https://bugs.python

[issue41089] Filters and other issues in Visual Studio projects

2020-06-23 Thread Steve Dower
Steve Dower added the comment: Thanks! -- ___ Python tracker <https://bugs.python.org/issue41089> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue41054] Simplify resource compilation on Windows

2020-06-23 Thread Steve Dower
Steve Dower added the comment: New changeset 4efc3360c9a83d5891f27ed67b4f0ab7275d2ab4 by Nikita Nemkin in branch 'master': bpo-41054: Simplify resource compilation on Windows (GH-21004) https://github.com/python/cpython/commit/4efc3360c9a83d5891f27ed67b4f0a

[issue41089] Filters and other issues in Visual Studio projects

2020-06-23 Thread Steve Dower
Steve Dower added the comment: New changeset 47cd931a61146793faa44e01516bf07b0c23380c by Steve Dower in branch '3.9': bpo-41089: Filters and other issues in Visual Studio projects (GH-21070) https://github.com/python/cpython/commit/47cd931a61146793faa44e01516bf0

[issue41039] Simplify python3.dll build

2020-06-23 Thread Steve Dower
Steve Dower added the comment: New changeset 2c6e4e91c5a4d3f25908108f4ed32aba936df70c by Nikita Nemkin in branch 'master': bpo-41039: Simplify python3.dll build (GH-20989) https://github.com/python/cpython/commit/2c6e4e91c5a4d3f25908108f4ed32a

[issue41054] Simplify resource compilation on Windows

2020-06-23 Thread Steve Dower
Steve Dower added the comment: Thanks! -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker <https://bugs.python.or

[issue41039] Simplify python3.dll build

2020-06-23 Thread Steve Dower
Steve Dower added the comment: Thanks! -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker <https://bugs.python.or

[issue41094] Audit does not work with non-ASCII data on non-UTF-8 locale

2020-06-23 Thread Steve Dower
Steve Dower added the comment: SGTM. Thanks for the PR! -- ___ Python tracker <https://bugs.python.org/issue41094> ___ ___ Python-bugs-list mailing list Unsub

[issue41070] Simplify pyshellext.dll build

2020-06-23 Thread Steve Dower
Steve Dower added the comment: New changeset bbf36e8903f8e86dcad8131c818e122537c30f9e by Nikita Nemkin in branch 'master': bpo-41070: Simplify pyshellext.dll build (GH-21037) https://github.com/python/cpython/commit/bbf36e8903f8e86dcad8131c818e12

[issue41070] Simplify pyshellext.dll build

2020-06-23 Thread Steve Dower
Steve Dower added the comment: Thanks! -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker <https://bugs.python.or

[issue41038] VersionInfo string is corrupted when building on Windows with DBCS or UTF-8 locale

2020-06-24 Thread Steve Dower
Steve Dower added the comment: New changeset 33b79b11b891adea5a916df8e3779505b37aabe7 by Nikita Nemkin in branch 'master': bpo-41038: Fix non-ASCII string corruption in Win32 resource files (GH-20985) https://github.com/python/cpython/commit/33b79b11b891adea5a916df8e37795

[issue41038] VersionInfo string is corrupted when building on Windows with DBCS or UTF-8 locale

2020-06-24 Thread Steve Dower
Change by Steve Dower : -- assignee: -> steve.dower resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker <https://bugs.python

[issue41106] os.scandir() Windows bug dir_entry.stat() not works on file during writing.

2020-06-24 Thread Steve Dower
Steve Dower added the comment: I'm going to have to spend more time to analyse this (later), but it seems like Windows deciding not to update the directory's data structures (containing the st_mtime retrieved by scandir) as long as the file is still open. I suspect the answe

[issue41106] os.scandir() Windows bug dir_entry.stat() not works on file during writing.

2020-06-24 Thread Steve Dower
Steve Dower added the comment: Does it make the most sense for us to make .flush() also do an implicit .fsync() (when it's actually a file object)? -- ___ Python tracker <https://bugs.python.org/is

[issue41106] os.scandir() Windows bug dir_entry.stat() not works on file during writing.

2020-06-25 Thread Steve Dower
Steve Dower added the comment: Okay, so it sounds like there's a class of files where we can't rely on the FindFileData having the right values. But we get enough information to be able just suppress the caching behaviour for those, right? Basically, my criteria for fixing t

[issue41106] os.scandir() Windows bug dir_entry.stat() not works on file during writing.

2020-06-26 Thread Steve Dower
Steve Dower added the comment: > We're faced with the choice between either always calling the real lstat, or > just documenting that files with hard links will have stale information if > the file was updated using another link. That's an easy choice: we document it.

[issue41106] os.scandir() Windows bug dir_entry.stat() not works on file during writing.

2020-06-26 Thread Steve Dower
Steve Dower added the comment: Those are all good ideas, but using os.stat(d) instead of d.stat() is shorter, more reliable, more compatible, and already works. There's no middle ground where DirEntry can be faster, because it's already using that middle ground. All the discussi

[issue29778] _Py_CheckPython3 uses uninitialized dllpath when embedder sets module path with Py_SetPath

2020-06-29 Thread Steve Dower
Steve Dower added the comment: > I understand that LoadLibraryExW() must not be attempted if _Py_dll_path is > empty, or if Py_GetPrefix() is empty. Am I right? More likely those should never be empty. Perhaps sys.prefix is optional, but the DLL path is the current executing modul

<    16   17   18   19   20   21   22   23   24   25   >