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

2021-03-29 Thread Steve Dower
Steve Dower added the comment: > "__pypackages__" doesn't seem like a drop-in replacement for virtual > environments. Right, it's not. But if enough people adapt their workflows to use [something like] it rather than relying on having a local copy of python.exe in

[issue43652] Upgrade Windows tcl/tk to 8.6.11

2021-03-29 Thread Steve Dower
Steve Dower added the comment: I also need to pull the Tcl and Tk sources into our cpython-source-deps repository, run a signed build, and put the binaries into the cpython-bin-deps repository. I'll get that started tonight, but probably won't finish it until

[issue43652] Upgrade Windows tcl/tk to 8.6.11

2021-03-29 Thread Steve Dower
Steve Dower added the comment: Turns out I did get it done, so you should be able to update the references you find in the PCbuild directory and get a build. -- ___ Python tracker <https://bugs.python.org/issue43

[issue33125] Windows 10 ARM64 platform support

2021-03-30 Thread Steve Dower
Steve Dower added the comment: Our builds are fine, so there's no need for an issue on our side. The decision to release is based on the ecosystem catching up. If you're able to help projects like setuptools, pip, and the core parts of the data science stack (which will need the

[issue19124] os.execv executes in background on Windows

2021-03-30 Thread Steve Dower
Steve Dower added the comment: > emulating exec() is probably good enough for most cases, especially if code > expects to work in Windows. I think good-enough emulation is fine, but we should update the docs to clarify that non-Unix platforms may create a subprocess with a new PI

[issue37945] [Windows] test_locale.TestMiscellaneous.test_getsetlocale_issue1813() fails

2021-03-30 Thread Steve Dower
Steve Dower added the comment: This is now holding up some security releases (due to a couple of CVEs). Can we get the test skipped or fixed asap, please? -- nosy: +lukasz.langa, ned.deily priority: normal -> release blocker ___ Python trac

[issue43567] regen.vcxproj cannot regenerate some necessary files

2021-03-31 Thread Steve Dower
Change by Steve Dower : -- keywords: +patch pull_requests: +23866 stage: needs patch -> patch review pull_request: https://github.com/python/cpython/pull/25120 ___ Python tracker <https://bugs.python.org/issu

[issue43567] regen.vcxproj cannot regenerate some necessary files

2021-03-31 Thread Steve Dower
Steve Dower added the comment: I've attached my PR that streamlines this, it should be good (as in, reliable/fast) to do the regen on every build, but the "build.bat --regen" command is retained to force it. -- ___ Python

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

2021-03-31 Thread Steve Dower
Change by Steve Dower : -- keywords: +patch pull_requests: +23867 stage: -> patch review pull_request: https://github.com/python/cpython/pull/25121 ___ Python tracker <https://bugs.python.org/issu

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

2021-03-31 Thread Steve Dower
Steve Dower added the comment: Added one possible change as a PR, but will need the importlib folk to weigh in on whether it's the best place. I also need to write a test (and possibly fix any tests that currently check that relative paths are _not_ resolved... letting CI handle that f

[issue42380] Build windows binaries with MS VS2019 16.8+ / MSVC 19.28+

2021-04-02 Thread Steve Dower
Steve Dower added the comment: Closing this as not a bug, since the toolchain used to build CPython itself has no impact on the toolchain that extensions can use. If your build tool is not detecting newer versions of MSVC, you'll need to file that against whichever backend you are

[issue36384] ipaddress Should not reject IPv4 addresses with leading zeroes as ambiguously octal

2021-04-03 Thread Steve Dower
Steve Dower added the comment: (Copied from my comment on the PR, following the one where I said this was ready to go.) Withdrawing the readiness - @ambv and I would prefer to see this behind a flag (probably "strict" parsing), on by default for 3.10, and maybe on by defaul

[issue43745] ssl.OPENSSL_VERSION still reporting 1.1.1i on windows 3.8.9/3.9.4

2021-04-06 Thread Steve Dower
Steve Dower added the comment: No, I think I was holding git wrong (and built 1.1.1i again instead of 1.1.1k). Guess we get to do more releases... -- nosy: +lukasz.langa priority: normal -> release blocker ___ Python tracker <

[issue43745] ssl.OPENSSL_VERSION still reporting 1.1.1i on windows 3.8.9/3.9.4

2021-04-06 Thread Steve Dower
Steve Dower added the comment: > No more holiday releases, please. The RMs and release team need their > vacation. I agree, can you ask OpenSSL to stop releasing fixes? (or alternatively, can you convince everyone to let us switch to the native TLS stack on Windows where the upstream

[issue43725] Create a release branch ABI stability regression test

2021-04-06 Thread Steve Dower
Steve Dower added the comment: Anything is better than nothing, from my POV. Let's get it running, tweak it, and if it doesn't work for us then take it down. -- ___ Python tracker <https://bugs.python.o

[issue43745] ssl.OPENSSL_VERSION still reporting 1.1.1i on windows 3.8.9/3.9.4

2021-04-06 Thread Steve Dower
Change by Steve Dower : -- keywords: +patch pull_requests: +23951 stage: -> patch review pull_request: https://github.com/python/cpython/pull/25213 ___ Python tracker <https://bugs.python.org/issu

[issue43745] ssl.OPENSSL_VERSION still reporting 1.1.1i on windows 3.8.9/3.9.4

2021-04-06 Thread Steve Dower
Steve Dower added the comment: It is, but I wouldn't hold up an alpha or beta release because of this. -- versions: +Python 3.10 ___ Python tracker <https://bugs.python.org/is

[issue43725] Create a release branch ABI stability regression test

2021-04-06 Thread Steve Dower
Steve Dower added the comment: I assume it's only doing source analysis, so we can probably force those flags on for the check? Or run multiple checks with the options, but without having to switch platform. Even under MS_WINDOWS, I hope we're not using declarations from the Windo

[issue43745] ssl.OPENSSL_VERSION still reporting 1.1.1i on windows 3.8.9/3.9.4

2021-04-06 Thread Steve Dower
Steve Dower added the comment: New changeset 354b015c176b10ee7e2218ba4f3bbc9455cb893f by Steve Dower in branch 'master': bpo-43745: Actually updates Windows release to OpenSSL 1.1.1k. (GH-25213) https://github.com/python/cpython/commit/354b015c176b10ee7e2218ba4f3bbc

[issue43745] ssl.OPENSSL_VERSION still reporting 1.1.1i on windows 3.8.9/3.9.4

2021-04-06 Thread Steve Dower
Steve Dower added the comment: Y we cnn I think we may regret it, but happy to go with it if you'd prefer. FWIW, the code change isn't necessary if you do a totally clean rebuild. However, most builders do not do totally clean rebuilds, so the code change en

[issue43745] ssl.OPENSSL_VERSION still reporting 1.1.1i on windows 3.8.9/3.9.4

2021-04-06 Thread Steve Dower
Change by Steve Dower : -- pull_requests: +23952 pull_request: https://github.com/python/cpython/pull/25214 ___ Python tracker <https://bugs.python.org/issue43

[issue36384] ipaddress Should not reject IPv4 addresses with leading zeroes as ambiguously octal

2021-04-06 Thread Steve Dower
Steve Dower added the comment: The important quote from the linked issue seems to be: > Our new separator= parameter does not allow one to achieve the previous > behavior if mixing and matching & And ; was intended to be allowed, as it is > a single separator rather than a set

[issue43745] ssl.OPENSSL_VERSION still reporting 1.1.1i on windows 3.8.9/3.9.4

2021-04-06 Thread Steve Dower
Steve Dower added the comment: New changeset 611aa39142f156508945ac312724474c493a6691 by Steve Dower in branch '3.9': bpo-43745: Actually updates Windows release to OpenSSL 1.1.1k. (GH-25213) https://github.com/python/cpython/commit/611aa39142f156508945ac31272447

[issue43745] ssl.OPENSSL_VERSION still reporting 1.1.1i on windows 3.8.9/3.9.4

2021-04-06 Thread Steve Dower
Steve Dower added the comment: A new 3.9.4 and 3.8.9 release is available for download from python.org. The Nuget and Windows Store packages will have to remain as the original versions, since those do not allow us to overwrite with the same version number. -- resolution: -> fi

[issue36384] ipaddress Should not reject IPv4 addresses with leading zeroes as ambiguously octal

2021-04-06 Thread Steve Dower
Steve Dower added the comment: > I don't think that adding a parameter for opt-in for security is a good > approach. I meant to have it set by default on 3.10, when we do not have to worry about breaking users. If it takes years for users to get to 3.10, we should reevaluate o

[issue43745] ssl.OPENSSL_VERSION still reporting 1.1.1i on windows 3.8.9/3.9.4

2021-04-06 Thread Steve Dower
Steve Dower added the comment: > Are you able to also update the embeddable packages please? They've been updated, it's just the CDN hasn't purged those files. I need to add those files to the script. It should show up within 24 hours, if I don't start do

[issue37609] support "UNC" device paths in ntpath.splitdrive

2021-04-06 Thread Steve Dower
Steve Dower added the comment: Once issue43105 is merged, I've got a fairly simple implementation for this using the (new) nt._path_splitroot native method, as well as improved tests that cover both the native and emulated calculations. -- assignee: -> steve.dower versions:

[issue43567] regen.vcxproj cannot regenerate some necessary files

2021-04-06 Thread Steve Dower
Steve Dower added the comment: New changeset 748283819043c60b1cb272c2cc9ab5b457afb03a by Steve Dower in branch 'master': bpo-43567: Improved generated code refresh on Windows (GH-25120) https://github.com/python/cpython/commit/748283819043c60b1cb272c2cc9ab5

[issue43567] regen.vcxproj cannot regenerate some necessary files

2021-04-06 Thread Steve Dower
Steve Dower added the comment: We're updating all files now, and doing it automatically on build (or manually with --regen). -- assignee: -> steve.dower resolution: -> fixed stage: patch review -> resolved status: open -> closed _

[issue39924] pathlib handles missing `os.link`, `os.symlink` and `os.readlink` inconsistently

2021-04-06 Thread Steve Dower
Steve Dower added the comment: New changeset b57e045320d1d2a70eab236b7d31a3ebb75037c3 by Barney Gale in branch 'master': bpo-39924: handle missing os functions more consistently in pathlib (GH-19220) https://github.com/python/cpython/commit/b57e045320d1d2a70eab236b7d31a3

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

2021-04-06 Thread Steve Dower
Steve Dower added the comment: New changeset 04732ca993fa077a8b9640cc77fb2f152339585a by Steve Dower in branch 'master': bpo-43105: Importlib now resolves relative paths when creating module spec objects from file locations (GH-25121) https://github.com/python/cpyt

[issue39895] `pathlib.Path.touch()` calls `os.close()` without using accessor

2021-04-06 Thread Steve Dower
Steve Dower added the comment: New changeset 986da8effcd2e9e9334ae016928ef795fb93c373 by Barney Gale in branch 'master': bpo-39895: Move `pathlib.Path.touch()` implementation into the path accessor. (GH-18838) https://github.com/python/cpython/commit/986da8effcd2e9e9334ae016928ef7

[issue40038] pathlib: remove partial support for preserving accessor when modifying a path

2021-04-06 Thread Steve Dower
Steve Dower added the comment: New changeset 2219187cab6bca009c42b63b2f4c30b5b10c916d by Barney Gale in branch 'master': bpo-40038: pathlib: remove partial support for preserving accessor when modifying a path (GH-19342) https://github.com/python/cpyt

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

2021-04-06 Thread Steve Dower
Change by Steve Dower : -- pull_requests: +23975 pull_request: https://github.com/python/cpython/pull/25237 ___ Python tracker <https://bugs.python.org/issue43

[issue43756] About updating audit events when function gains new arguments

2021-04-06 Thread Steve Dower
Steve Dower added the comment: Solution 1 is definitely out, as PyArg_ParseTuple is a very valid way to implement hooks but won't handle longer tuples. For Solution 2, we already have some events that use a slash to indicate "extra" information, so depending on contex

[issue40038] pathlib: remove partial support for preserving accessor when modifying a path

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

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

2021-04-07 Thread Steve Dower
Steve Dower added the comment: New changeset 0af99b44edf559305def22b2d68be685ce50d7f6 by Steve Dower in branch '3.9': bpo-43105: Importlib now resolves relative paths when creating module spec objects from file locations (GH-25121) https://github.com/python/cpyt

[issue39895] `pathlib.Path.touch()` calls `os.close()` without using accessor

2021-04-07 Thread Steve Dower
Change by Steve Dower : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed versions: +Python 3.10 -Python 3.9 ___ Python tracker <https://bugs.python.or

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

2021-04-07 Thread Steve Dower
Steve Dower added the comment: Just needs the 3.8 backport - will get to that later tonight. -- stage: patch review -> backport needed ___ Python tracker <https://bugs.python.org/issu

[issue43756] About updating audit events when function gains new arguments

2021-04-07 Thread Steve Dower
Steve Dower added the comment: To remove an event, it needs to be deprecated as any public facing feature would be deprecated. I'm not sure how we'd go about publicising it though. There's currently no way to raise a warning, so it'd just have to be very clearly adverti

[issue39906] pathlib.Path: add `follow_symlinks` argument to `stat()` and `chmod()`

2021-04-07 Thread Steve Dower
Steve Dower added the comment: New changeset abf964942f97f6489360a75fd57b5e4f41c75f57 by Barney Gale in branch 'master': bpo-39906: Add follow_symlinks parameter to pathlib.Path.stat() and chmod() (GH-18864) https://github.com/python/cpython/commit/abf964942f97f6489360a75fd57b5e

[issue39906] pathlib.Path: add `follow_symlinks` argument to `stat()` and `chmod()`

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

[issue42999] `pathlib.Path.link_to()` documentation is misleading

2021-04-07 Thread Steve Dower
Steve Dower added the comment: New changeset 8aac1bea2eeac25a49f8912b67aacbedf9bc7934 by Barney Gale in branch 'master': bpo-42999: Expand and clarify pathlib.Path.link_to() documentation. (GH-24294) https://github.com/python/cpython/commit/8aac1bea2eeac25a49f8912b67aacb

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

2021-04-07 Thread Steve Dower
Steve Dower added the comment: The 3.8 backport is much more complicated, as we don't have access to the PathSkipRoot function there. So we can't use the native function. There's probably another way to implement the fix for 3.8, but I'm leaving that for another day. F

[issue42999] `pathlib.Path.link_to()` documentation is misleading

2021-04-07 Thread Steve Dower
Change by Steve Dower : -- pull_requests: +23993 pull_request: https://github.com/python/cpython/pull/25257 ___ Python tracker <https://bugs.python.org/issue42

[issue39659] pathlib calls `os.getcwd()` without using accessor

2021-04-07 Thread Steve Dower
Steve Dower added the comment: New changeset b05440c52b9814dbd47f679d47367e87855bd7b5 by Barney Gale in branch 'master': bpo-39659: Route calls from pathlib.Path to os.getcwd() via the path accessor (GH-18834) https://github.com/python/cpython/commit/b05440c52b9814dbd47f679d47367e

[issue39899] `pathlib.Path.expanduser()` does not call `os.path.expanduser()`

2021-04-07 Thread Steve Dower
Steve Dower added the comment: I think this is worth unifying, but I'm concerned about making expanduser() return the original path on Windows - "~name" is a valid filename/relative path, and so code that does mkdir(expanduser("~nonuser/dir")) could create garbage

[issue42999] `pathlib.Path.link_to()` documentation is misleading

2021-04-07 Thread Steve Dower
Steve Dower added the comment: New changeset 34f93002bac980176a670ce2a4038c3be84effed by Steve Dower in branch '3.9': bpo-42999: Expand and clarify pathlib.Path.link_to() documentation. (GH-24294) https://github.com/python/cpython/commit/34f93002bac980176a670ce2a4038c

[issue42999] `pathlib.Path.link_to()` documentation is misleading

2021-04-07 Thread Steve Dower
Change by Steve Dower : -- pull_requests: +23994 pull_request: https://github.com/python/cpython/pull/25258 ___ Python tracker <https://bugs.python.org/issue42

[issue42999] `pathlib.Path.link_to()` documentation is misleading

2021-04-07 Thread Steve Dower
Steve Dower added the comment: New changeset 9f578734624d1c0172220556ca97898730144172 by Steve Dower in branch '3.8': bpo-42999: Expand and clarify pathlib.Path.link_to() documentation. (GH-24294) https://github.com/python/cpython/commit/9f578734624d1c0172220556ca9789

[issue39899] `pathlib.Path.expanduser()` does not call `os.path.expanduser()`

2021-04-07 Thread Steve Dower
Steve Dower added the comment: > Firstly, `os.path.expanduser()` is already documented to return the path > unchanged if the home directory can't be resolved: Ah, too bad. Doesn't prevent us from changing it, but hopefully it means that everyone using it is already checkin

[issue39659] pathlib calls `os.getcwd()` without using accessor

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

[issue42999] `pathlib.Path.link_to()` documentation is misleading

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

[issue37609] support "UNC" device paths in ntpath.splitdrive

2021-04-07 Thread Steve Dower
Change by Steve Dower : -- pull_requests: +23997 pull_request: https://github.com/python/cpython/pull/25261 ___ Python tracker <https://bugs.python.org/issue37

[issue39899] `pathlib.Path.expanduser()` does not call `os.path.expanduser()`

2021-04-07 Thread Steve Dower
Steve Dower added the comment: New changeset 3f3d82b84823eb28abeedf317bbe107bbe7f6492 by Barney Gale in branch 'master': bpo-39899: os.path.expanduser(): don't guess other Windows users' home directories if the basename of the current user's home directory doesn

[issue39899] `pathlib.Path.expanduser()` does not call `os.path.expanduser()`

2021-04-07 Thread Steve Dower
Change by Steve Dower : -- resolution: -> fixed status: open -> closed ___ Python tracker <https://bugs.python.org/issue39899> ___ ___ Python-bugs-list

[issue43745] ssl.OPENSSL_VERSION still reporting 1.1.1i on windows 3.8.9/3.9.4

2021-04-08 Thread Steve Dower
Steve Dower added the comment: I just purged the CDN again and it seems to be fine now. -- ___ Python tracker <https://bugs.python.org/issue43745> ___ ___ Pytho

[issue37609] support "UNC" device paths in ntpath.splitdrive

2021-04-09 Thread Steve Dower
Change by Steve Dower : -- assignee: steve.dower -> ___ Python tracker <https://bugs.python.org/issue37609> ___ ___ Python-bugs-list mailing list Unsubscrib

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

2021-04-09 Thread Steve Dower
Change by Steve Dower : -- pull_requests: +24053 stage: backport needed -> patch review pull_request: https://github.com/python/cpython/pull/25318 ___ Python tracker <https://bugs.python.org/issu

[issue43725] Create a release branch ABI stability regression test

2021-04-09 Thread Steve Dower
Steve Dower added the comment: I got a false positive on my PR at https://github.com/python/cpython/pull/25318/checks?check_run_id=2308871807 1 Changed variable: [C]'const unsigned char[45154] const _Py_M__importlib_bootstrap_external' was changed to 'const unsigned ch

[issue40107] pathlib: make `_Accessor.open()` return a file object and not a file descriptor

2021-04-09 Thread Steve Dower
Steve Dower added the comment: New changeset 11c3bd3f6d06649484b81a659c7bf02d6632e607 by Barney Gale in branch 'master': bpo-40107: Switch to using io.open() for pathlib.Path.open() (GH-25240) https://github.com/python/cpython/commit/11c3bd3f6d06649484b81a659c7bf02d6632e607 -

[issue39899] `pathlib.Path.expanduser()` does not call `os.path.expanduser()`

2021-04-09 Thread Steve Dower
Steve Dower added the comment: New changeset ba1db571987c65672d9c06789e9852313ed2412a by Barney Gale in branch 'master': bpo-39899: Don't double-check directory name if we're requesting the current user's home directory in ntpath.expanduser() (GH-25277) https://

[issue40107] pathlib: make `_Accessor.open()` return a file object and not a file descriptor

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

[issue39899] `pathlib.Path.expanduser()` does not call `os.path.expanduser()`

2021-04-09 Thread Steve Dower
Change by Steve Dower : -- stage: patch review -> resolved status: open -> closed ___ Python tracker <https://bugs.python.org/issue39899> ___ ___ Pyth

[issue43725] Create a release branch ABI stability regression test

2021-04-09 Thread Steve Dower
Steve Dower added the comment: Oh wow, that's terrible... yet another good reason not to export data values. But yeah, filtering on the name prefix should be fine. These aren't meant to be publicly accessible anyway. -- ___ Python track

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

2021-04-09 Thread Steve Dower
Steve Dower added the comment: New changeset eed7686e9fe22a3eb5e1a1fc7d27c27fca070bd1 by Steve Dower in branch '3.8': bpo-43105: Importlib now resolves relative paths when creating module spec objects from file locations (GH-25121) https://github.com/python/cpyt

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

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

[issue41661] os.path.relpath does not document ValueError on Windows with different drives

2021-04-12 Thread Steve Dower
Steve Dower added the comment: New changeset 67c0b3d89c4da9750fdb43fc66d3924681b22d2e by Zackery Spytz in branch 'master': bpo-41661: Document os.path.relpath() exception on Windows with different drives (GH-25346) https://github.com/python/cpyt

[issue41661] os.path.relpath does not document ValueError on Windows with different drives

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

[issue43492] Upgrade to SQLite 3.35.4 in macOS and Windows

2021-04-12 Thread Steve Dower
Steve Dower added the comment: It's been a busy month for the SQLite team... hope they're doing okay. Let's give this one a few weeks, just in case. -- ___ Python tracker <https://bugs.pyt

[issue14243] tempfile.NamedTemporaryFile not particularly useful on Windows

2021-04-12 Thread Steve Dower
Steve Dower added the comment: O_TEMPORARY is clearly not the right option here, and we should just move the unlink call into __exit__ and attempt it even if close() has been called. Windows's "delete on close" functionality is great, but if you haven't designed for

[issue38748] 32 bit ctypes stdcall callback fails to restore stack pointer

2021-04-16 Thread Steve Dower
Steve Dower added the comment: My previous post still stands. This requires a test and then (hopefully) a fix in ctypes or (potentially) a fix upstream in libffi. -- ___ Python tracker <https://bugs.python.org/issue38

[issue38748] 32 bit ctypes stdcall callback fails to restore stack pointer

2021-04-19 Thread Steve Dower
Steve Dower added the comment: Even better, one that doesn't crash but safely returns a value that can be checked. (IIRC, we have a test that does this to ensure that structs smaller than 9 bytes are passed on the stack.) Half C/half Python is fine - the C bits would go into _ctypes_t

[issue43866] Installation files of the Python

2021-04-19 Thread Steve Dower
Steve Dower added the comment: Yeah, it's a known limitation of the installer technology we're using. issue25166 is the same issue, so we'll track it there. -- resolution: -> duplicate stage: -> resolved status: open -> closed superseder: -> Windows A

[issue40432] Pegen regenerate project for Windows not working

2021-04-19 Thread Steve Dower
Steve Dower added the comment: That'll be a change to PCbuild/find_python.bat that needs to be backported then. It probably defaults to 3.7 in all branches right now, but since 3.9 is out we can update them all to that (it downloads on demand if nece

[issue43284] sys.getwindowsversion().platform_version is incorrect

2021-04-19 Thread Steve Dower
Steve Dower added the comment: Python is a volunteer built project, so someone will need to volunteer to write the fix. Until there is a volunteer, there is no plan. (One of the core devs might volunteer, but there's no guarantee of that.) If we're going to launch cmd.exe, I&#

[issue43284] sys.getwindowsversion().platform_version is incorrect

2021-04-19 Thread Steve Dower
Steve Dower added the comment: > In that case, would you want to deprecate > sys.getwindowsversion().platform_version? Yeah, but I'm not so concerned about raising a warning on use. Just in the docs will be fine. We should also add a mention that it is extracting the value fro

[issue43284] sys.getwindowsversion().platform_version is incorrect

2021-04-20 Thread Steve Dower
Steve Dower added the comment: Opening a PR against the master branch would be ideal. (Make sure you forked from that branch too, or you may see lots of irrelevant changes, which will make it impossible to review.) -- ___ Python tracker <ht

[issue43902] ssl module: add getter for SSL_CTX* and SSL*

2021-04-21 Thread Steve Dower
Steve Dower added the comment: Could we have the address exposed in a way that can only be passed back into ctypes? Or alternatively, doesn't function if ctypes is missing? I don't like offering ways to get real memory addresses, especially for interesting objects. At the same t

[issue43902] ssl module: add getter for SSL_CTX* and SSL*

2021-04-21 Thread Steve Dower
Steve Dower added the comment: There's a working POC out there for modifying tuple elements that relies on the fact that id() returns real memory addresses, so I don't see it as a harmless thing. Also, Rust is only worrying about code that's put into its compiler, wherea

[issue43472] [security][subinterpreters] Add auditing hooks to subinterpreter module

2021-04-21 Thread Steve Dower
Steve Dower added the comment: I'll need Eric to confirm, but I think the best thing to do here is to not release the thread state in _xxsubinterpreters.interp_create, but let _Py_NewInterpreter() do it. That way the existing event will be raised in interpreter-level hooks, rather than

[issue43472] [security][subinterpreters] Add auditing hooks to subinterpreter module

2021-04-21 Thread Steve Dower
Change by Steve Dower : -- keywords: +patch pull_requests: +24224 stage: -> patch review pull_request: https://github.com/python/cpython/pull/25506 ___ Python tracker <https://bugs.python.org/issu

[issue43472] [security][subinterpreters] Add auditing hooks to subinterpreter module

2021-04-21 Thread Steve Dower
Steve Dower added the comment: New changeset 7b86e47617d81a4b14d929743425f448971e8c86 by Steve Dower in branch 'master': bpo-43472: Ensure PyInterpreterState_New audit events are raised when called through _xxsubinterpreters module (GH-25506) https://github.com/python/cpyt

[issue43472] [security][subinterpreters] Add auditing hooks to subinterpreter module

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

[issue26227] Windows: socket.gethostbyaddr(name) fails for non-ASCII hostname

2021-04-21 Thread Steve Dower
Change by Steve Dower : -- keywords: +patch pull_requests: +24228 stage: needs patch -> patch review pull_request: https://github.com/python/cpython/pull/25510 ___ Python tracker <https://bugs.python.org/issu

[issue26227] Windows: socket.gethostbyaddr(name) fails for non-ASCII hostname

2021-04-21 Thread Steve Dower
Change by Steve Dower : -- assignee: -> steve.dower ___ Python tracker <https://bugs.python.org/issue26227> ___ ___ Python-bugs-list mailing list Unsubscrib

[issue43756] About updating audit events when function gains new arguments

2021-04-21 Thread Steve Dower
Steve Dower added the comment: New changeset a32f8fe7133aad4f3cf8946534e3b79a5f2659da by Saiyang Gou in branch 'master': bpo-43756: Add new audit event for new arguments added to glob.glob (GH-25239) https://github.com/python/cpython/commit/a32f8fe7133aad4f3cf8946534e3b7

[issue26227] Windows: socket.gethostbyaddr(name) fails for non-ASCII hostname

2021-04-21 Thread Steve Dower
Steve Dower added the comment: New changeset dc516ef8395d15da0ab225eb0dceb2e0581f51ca by Steve Dower in branch 'master': bpo-26227: Fixes decoding of host names on Windows from ANSI instead of UTF-8 (GH-25510) https://github.com/python/cpython/commit/dc516ef8395d15da0ab225eb0dceb2

[issue26227] Windows: socket.gethostbyaddr(name) fails for non-ASCII hostname

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

[issue43756] About updating audit events when function gains new arguments

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

[issue43284] sys.getwindowsversion().platform_version is incorrect

2021-04-22 Thread Steve Dower
Steve Dower added the comment: New changeset 2a3f4899c63806439e5bcea0c30f7e6a6295a763 by Shreyan Avigyan in branch 'master': bpo-43284: Update platform.win32_ver to use _syscmd_ver instead of sys.getwindowsversion() (GH-25500) https://github.com/python/cpyt

[issue43284] sys.getwindowsversion().platform_version is incorrect

2021-04-22 Thread Steve Dower
Steve Dower added the comment: Thanks for doing the patch! -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker <https://bugs.python.or

[issue43804] "Building C and C++ Extensions on Windows" docs are very out-of-date

2021-04-22 Thread Steve Dower
Steve Dower added the comment: I agree with Zach's comment on the PR - this topic needs an overhaul. All the information required is going to be out there somewhere, and those of us on this issue can help fill in any gaps, but someone will need to spend a bit of time on research and l

[issue38822] [Windows] Inconsistent os.stat behavior for directory with Access Denied

2021-04-22 Thread Steve Dower
Change by Steve Dower : -- keywords: +patch pull_requests: +24246 stage: -> patch review pull_request: https://github.com/python/cpython/pull/25527 ___ Python tracker <https://bugs.python.org/issu

[issue43915] Add PCbuild/blurb.bat

2021-04-22 Thread Steve Dower
New submission from Steve Dower : I'm sick of writing long commands to invoke blurb, so add a batch file to do it. -- assignee: steve.dower components: Build, Windows messages: 391623 nosy: paul.moore, steve.dower, tim.golden, zach.ware priority: normal severity: normal status:

[issue43915] Add PCbuild/blurb.bat

2021-04-22 Thread Steve Dower
Change by Steve Dower : -- keywords: +patch pull_requests: +24247 stage: -> patch review pull_request: https://github.com/python/cpython/pull/25528 ___ Python tracker <https://bugs.python.org/issu

[issue43915] Add PCbuild/blurb.bat

2021-04-22 Thread Steve Dower
Steve Dower added the comment: Well, it's not so much the long command line, as having to remember which install of Python has blurb in it. This way, it's always the same one (and probably the copy that we installed into externals) --

[issue35306] [Windows] OSError when testing whether pathlib.Path('*') exists

2021-04-22 Thread Steve Dower
Change by Steve Dower : -- pull_requests: +24248 pull_request: https://github.com/python/cpython/pull/25529 ___ Python tracker <https://bugs.python.org/issue35

[issue38822] [Windows] Inconsistent os.stat behavior for directory with Access Denied

2021-04-22 Thread Steve Dower
Steve Dower added the comment: New changeset fe63a401a9b3ca1751b81b5d6ddb2beb7f3675c1 by Steve Dower in branch 'master': bpo-38822: Fixed os.stat failing on inaccessible directories. (GH-25527) https://github.com/python/cpython/commit/fe63a401a9b3ca1751b81b5d6ddb2b

[issue43915] Add PCbuild/blurb.bat

2021-04-22 Thread Steve Dower
Steve Dower added the comment: New changeset a911bd15a19824c92af8e90b63af4a84a9670222 by Steve Dower in branch 'master': bpo-43915: Add PCbuild/blurb.bat to simplify Windows contributors (GH-25528) https://github.com/python/cpython/commit/a911bd15a19824c92af8e90b63af4a

<    3   4   5   6   7   8   9   10   11   12   >