[issue11376] Solaris/GCC/shared lib problem

2021-02-03 Thread Steve Dower
Steve Dower added the comment: Distutils is now deprecated (see PEP 632) and all tagged issues are being closed. From now until removal, only release blocking issues will be considered for distutils. If this issue does not relate to distutils, please remove the component and reopen it. If

[issue15182] find_library_file() should try to link

2021-02-03 Thread Steve Dower
Steve Dower added the comment: Distutils is now deprecated (see PEP 632) and all tagged issues are being closed. From now until removal, only release blocking issues will be considered for distutils. If this issue does not relate to distutils, please remove the component and reopen it. If

[issue11472] upload command fails to read auth information from .pypirc

2021-02-03 Thread Steve Dower
Steve Dower added the comment: Distutils is now deprecated (see PEP 632) and all tagged issues are being closed. From now until removal, only release blocking issues will be considered for distutils. If this issue does not relate to distutils, please remove the component and reopen it. If

[issue2624] swig support in distutils should use the build and temp dirs

2021-02-03 Thread Steve Dower
Steve Dower added the comment: Distutils is now deprecated (see PEP 632) and all tagged issues are being closed. From now until removal, only release blocking issues will be considered for distutils. If this issue does not relate to distutils, please remove the component and reopen it. If

[issue1112955] move_file()'s return value when dry_run=1 unclear

2021-02-03 Thread Steve Dower
Steve Dower added the comment: Distutils is now deprecated (see PEP 632) and all tagged issues are being closed. From now until removal, only release blocking issues will be considered for distutils. If this issue does not relate to distutils, please remove the component and reopen it. If

[issue9995] "setup.py register sdist upload" requires pass to be saved

2021-02-03 Thread Steve Dower
Steve Dower added the comment: Distutils is now deprecated (see PEP 632) and all tagged issues are being closed. From now until removal, only release blocking issues will be considered for distutils. If this issue does not relate to distutils, please remove the component and reopen it. If

[issue6863] Wrong linker command if CXX set to "ccache g++"

2021-02-03 Thread Steve Dower
Steve Dower added the comment: Distutils is now deprecated (see PEP 632) and all tagged issues are being closed. From now until removal, only release blocking issues will be considered for distutils. If this issue does not relate to distutils, please remove the component and reopen it. If

[issue14529] distutils's build_msi command ignores the data_files argument

2021-02-03 Thread Steve Dower
Steve Dower added the comment: Distutils is now deprecated (see PEP 632) and all tagged issues are being closed. From now until removal, only release blocking issues will be considered for distutils. If this issue does not relate to distutils, please remove the component and reopen it. If

[issue41282] Deprecate and remove distutils

2021-02-03 Thread Steve Dower
Steve Dower added the comment: Everyone probably noticed, but I closed all the other distutils-tagged issues (as stated in the PEP), so now this is the only one left. Anything new that is opened that relates to distutils either needs to be a release blocker (very unlikely), or closed and

[issue21821] The function cygwinccompiler.is_cygwingcc leads to FileNotFoundError under Windows 7

2021-02-03 Thread Steve Dower
Steve Dower added the comment: shutil.which is the supported replacement for that function. -- ___ Python tracker <https://bugs.python.org/issue21821> ___ ___

[issue43110] import aiohttp crash closes Python from Windows Installer

2021-02-03 Thread Steve Dower
Steve Dower added the comment: I just installed aiohttp into 3.10.0a5 without issue, though some packages did have to rebuild. I'm very much leaning towards marking this as external, but interested to hear whether Giovanni has done something different that should have w

[issue30915] distutils sometimes assumes wrong C compiler

2021-02-05 Thread Steve Dower
Steve Dower added the comment: Existing distutils bugs are closed under PEP 632. New issues will be considered if they are release blockers, but (by definition) no existing issue meets this bar. -- resolution: -> out of date stage: -> resolved status: open -&g

[issue43127] Unable to install Python 3.9.1 - Windows 10

2021-02-09 Thread Steve Dower
Steve Dower added the comment: Yeah, system policy is not something we can work around. If you can, maybe try installing for all users? (Under customised install options.) You might have to right click the installer and run as an administrator, which sometimes helps get around these

[issue43127] Unable to install Python 3.9.1 - Windows 10

2021-02-09 Thread Steve Dower
Steve Dower added the comment: Oh, you might also be able to install Python from the Microsoft Store more easily - open the Store app and search for it. It's identical, just packaged differently. -- ___ Python tracker <https://bugs.py

[issue43166] Unused letters in Windows-specific pragma optimize

2021-02-09 Thread Steve Dower
Change by Steve Dower : -- keywords: +patch pull_requests: +23286 stage: -> patch review pull_request: https://github.com/python/cpython/pull/24485 ___ Python tracker <https://bugs.python.org/issu

[issue43166] Unused letters in Windows-specific pragma optimize

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

[issue43166] Unused letters in Windows-specific pragma optimize

2021-02-09 Thread Steve Dower
Steve Dower added the comment: New changeset b74396c3167cc780f01309148db02709bc37b432 by Steve Dower in branch 'master': bpo-43166: Disable ceval.c optimisations for Windows debug builds (GH-24485) https://github.com/python/cpython/commit/b74396c3167cc780f01309148db027

[issue43173] Python Windows DLL search paths

2021-02-09 Thread Steve Dower
Steve Dower added the comment: Eryk answered the question sufficiently, here's the link to the add_dll_directory docs: https://docs.python.org/library/os.html#os.add_dll_directory -- resolution: -> not a bug stage: -> resolved status: ope

[issue43156] Python windows installer has a confusing name - add setup to its name

2021-02-09 Thread Steve Dower
Steve Dower added the comment: In principle I agree, but need to spend some time thinking about the compatibility implications. We've already changed the download page for 3.10, so changing the download names as well won't hurt too much - I don't think there's a real nee

[issue43174] Windows: Use /utf-8 compiler flag

2021-02-09 Thread Steve Dower
Steve Dower added the comment: The new property should go into PCbuild/pyproject.props, but otherwise seems like an okay change. It *will* cause any string literals (const char *) to be UTF-8, but they ought to all be ASCII anyway. It shouldn't affect resource files, because those ha

[issue43175] filecmp is not working for UTF-8 BOM file.

2021-02-09 Thread Steve Dower
Steve Dower added the comment: I think you copy-pasted that code snippet incorrectly, because it has mismatched quotes. Can you paste the correct code? Also, please attach both files that are not comparing equal, ideally in a ZIP file (to avoid any modifications in transit), so that we can

[issue43174] Windows: Use /utf-8 compiler flag

2021-02-11 Thread Steve Dower
Steve Dower added the comment: I think so, yeah. We shouldn't have any string literals that are non-ASCII, but if we do then it's almost certainly an improvement for them to be UTF-8. -- ___ Python tracker <https://bugs.python.o

[issue43193] Installer for All users

2021-02-12 Thread Steve Dower
Steve Dower added the comment: I don't think this is resolvable without either being fixed by WiX Toolset or us completely rewriting the installer. And they've already shown very little interest in fixing this. That said, WiX Toolset was eventually funded to fix the MSI hijac

[issue43203] Default value incorrectly read with unittests on Windows & macOS but not Linux

2021-02-12 Thread Steve Dower
Steve Dower added the comment: I'm afraid there's nowhere near enough context in your post for us to look into this. Can you provide some code that you think *should* work but does not? Ideally in a post (as in, it should be that short) or as an

[issue43209] system cannot find the file specified in subprocess.py

2021-02-12 Thread Steve Dower
Steve Dower added the comment: This line won't work on Windows: shell.run("rm -rf .cache".split(), cwd=repository) You should probably use shutil.rmtree(".cache") instead if you want it to be cross platform. -- _

[issue43105] Can't import extension modules resolved via relative paths in sys.path on Windows

2021-02-12 Thread Steve Dower
Change by Steve Dower : -- components: +Windows nosy: +paul.moore, steve.dower, tim.golden, zach.ware ___ Python tracker <https://bugs.python.org/issue43

[issue43105] Can't import extension modules resolved via relative paths in sys.path on Windows

2021-02-15 Thread Steve Dower
Steve Dower added the comment: > since they're allowed, I think importlib at least could try to resolve > relative paths in a copy of sys.path before searching. I agree with this fix. They can be resolved for each new import, if we think that's an important behaviour to

[issue43115] locale.getlocale fails if locale is set

2021-02-17 Thread Steve Dower
Steve Dower added the comment: Is this the same as the other issue where get_locale is normalising the result according to some particular glibc logic and isn't at all portable? -- ___ Python tracker <https://bugs.python.org/is

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

2021-02-19 Thread Steve Dower
Steve Dower added the comment: Looks like someone increased the size of locals in the ceval functions. If any new buffers have been added recently, moving the processing into a helper function or using a single buffer instead of allocating them in separate if/case blocks can help reduce it

[issue41837] Upgrade installers to OpenSSL 1.1.1i

2021-02-19 Thread Steve Dower
Steve Dower added the comment: Looks like we missed Christian's last message... Have OpenSSL made an updated release? If this issue is as bad as the short description above sounds, I expect they would have. It's possible to rebuild with the patch, but easier if it's a

[issue30480] samefile and sameopenfile fail for WebDAV mapped drives

2021-02-19 Thread Steve Dower
Steve Dower added the comment: Same as issue33935, but since the newer issue has proposed solutions on it already, I'm preferring to keep that one open. -- resolution: -> duplicate stage: test needed -> resolved status: open -> closed

[issue42405] Add distutils mvsccompiler support for Windows ARM64 build

2021-02-19 Thread Steve Dower
Steve Dower added the comment: Closed due to PEP 632 (distutils is now deprecated). Changes to support this should go into setuptools or another build backend. I'm already trying to get some resources together to help these other projects build/test on ARM64, so that should help. If so

[issue42338] Enable Debug Build For Python Native Modules in Windows, with Visual Studio Toolchain

2021-02-19 Thread Steve Dower
Steve Dower added the comment: That's the best solution. Alternatively, you can install the debug binaries of CPython using the option in the installer, recompile 3rd party packages from source, and use true debug builds that way. Unfortunately, there's not much we can do about

[issue42027] /passive run of Windows installer fail silently on Win7

2021-02-19 Thread Steve Dower
Steve Dower added the comment: Probably an easy fix, if someone has a Win7 machine around to test on (which I don't these days). There are some UI level comparisons in the bootstrapper C++ file under Tools/msi that probably need fixing. Not urgent. Won't be long until Win10 is th

[issue42825] Build libraries with "/OPT:REF" linker optimization on Windows

2021-02-19 Thread Steve Dower
Steve Dower added the comment: New changeset b4af629f4d4868ef74ee298d66259fae78c7fd89 by Austin Lamb in branch 'master': bpo-42825: Enable /OPT:REF (GH-24098) https://github.com/python/cpython/commit/b4af629f4d4868ef74ee298d66259f

[issue42825] Build libraries with "/OPT:REF" linker optimization on Windows

2021-02-19 Thread Steve Dower
Steve Dower added the comment: The ping was enough. Thanks! -- assignee: -> steve.dower resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker <https://bugs.python

[issue43298] Windows build cannot detect missing Windows SDK

2021-02-22 Thread Steve Dower
Steve Dower added the comment: This should mean that you haven't got the Windows SDK installed, though it might mean that you've got a *newer* WinSDK where they've changed the registration format. But more likely you deselected it when installing C++ support through Visual

[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

[issue40903] Segfault in new PEG parser

2020-06-07 Thread Steve Stagg
New submission from Steve Stagg : The input `p=p=` causes python 3.10 to crash. I bisected the change, and the behavior appears to have been introduced by 16ab07063cb564c1937714bd39d6915172f005b5 (bpo-40334: Correctly identify invalid target in assignment errors (GH-20076) ) Steps to

[issue40904] Segfault from new PEG parser handling yield withing f-strings

2020-06-07 Thread Steve Stagg
New submission from Steve Stagg : The following command causes python to segfault: $ echo "f'{yield}'" | python/bin/python3 Bisect tracked this down to: c5fc15685202cda73f7c3f5c6f299b0945f58508 (bpo-40334: PEP 617 implementation: New PEG parser for CPython (GH-19503)) T

[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

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