[issue41490] Update bundled pip to 20.2.1 and setuptools to 49.2.1

2020-10-19 Thread Steve Dower
Steve Dower added the comment: I did some bad things in git and so I had to recreate the PR against master, but the importlib.resources tests still fail. Seems like the ensurepip/venv tests are fine though? Did something change in pip/certifi between 20.2.1 and 20.2.3? I still consider the

[issue38320] Clarify unittest expectedFailure behaviour in the documentation

2020-10-19 Thread Steve Dower
Steve Dower added the comment: New changeset fa8748271a61177e9bf609921fa464cc6990478b by Irit Katriel in branch 'master': bpo-38320: Clarify that expectedFailure is satisfied by either failure or error of the test. (GH-22740) https://github.com/python/cpyt

[issue41845] Promote PyObject_GenericGetDict to the stable API

2020-10-19 Thread Steve Dower
Steve Dower added the comment: Unfortunately, fixing this won't make the builds work in previous versions, so it can't be backported. We also need to update the version check in the PR - I left a comment for it. -- nosy: +steve.dower versions: -Python 3.8,

[issue41784] Promote PyUnicode_AsUTF8AndSize to be available with the limited API (PEP 384)

2020-10-19 Thread Steve Dower
Steve Dower added the comment: Agreed that there's no way we can make Py_buffer part of the limited ABI. I just looked over the PR and it's missing a What's New entry (e.g. https://docs.python.org/3/whatsnew/3.9.html#c-api-changes). Other than that, looks fine to me.

[issue39825] EXT_SUFFIX inconsistent between sysconfig and distutils.sysconfig (Windows)

2020-10-19 Thread Steve Dower
Steve Dower added the comment: Agreed, this should be updated. 3.7 is out of scope, I'm afraid, but 3.8 onwards should be fine. -- versions: +Python 3.10 -Python 3.7 ___ Python tracker <https://bugs.python.org/is

[issue41292] Dead link in Windows FAQ

2020-10-19 Thread Steve Dower
Steve Dower added the comment: New changeset 33242a9328cb3912f02819d2d092bf89681000b2 by Michel Samia in branch 'master': bpo-41292: Fixes dead link to cx_freeze from Windows FAQ (GH-21463) https://github.com/python/cpython/commit/33242a9328cb3912f02819d2d092bf89681000b2 -

[issue41292] Dead link in Windows FAQ

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

[issue16396] Importing ctypes.wintypes on Linux gives a ValueError instead of an ImportError

2020-10-19 Thread Steve Dower
Steve Dower added the comment: New changeset 5456e78f4593edc277ab72fb9a9db1ebae7d4c2d by Jason R. Coombs in branch 'master': bpo-16396: Allow wintypes to be imported on non-Windows systems. (GH-21394) https://github.com/python/cpython/commit/5456e78f4593edc277ab72fb9a9db1

[issue16396] Importing ctypes.wintypes on Linux gives a ValueError instead of an ImportError

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

[issue41217] Obsolete note for default asyncio event loop on Windows

2020-10-19 Thread Steve Dower
Steve Dower added the comment: New changeset 4dfb190a33a1deac60306f15d52d2fe11fb93464 by Zackery Spytz in branch 'master': bpo-41217: Fix incorrect note in the asyncio.create_subprocess_shell() docs (GH-21360) https://github.com/python/cpython/commit/4dfb190a33a1deac60306f15d52d2f

[issue41217] Obsolete note for default asyncio event loop on Windows

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

[issue41784] Promote PyUnicode_AsUTF8AndSize to be available with the limited API (PEP 384)

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

[issue41784] Promote PyUnicode_AsUTF8AndSize to be available with the limited API (PEP 384)

2020-10-19 Thread Steve Dower
Steve Dower added the comment: New changeset 3a8fdb28794b2f19f6c8464378fb8b46bce1f5f4 by Alex Gaynor in branch 'master': bpo-41784: make PyUnicode_AsUTF8AndSize part of the limited API (GH-22252) https://github.com/python/cpython/commit/3a8fdb28794b2f19f6c8464378fb8b

[issue40901] It's not clear what "interface name" means in socket if_nameindex/if_nametoindex/if_indextoname on Windows

2020-10-19 Thread Steve Dower
Steve Dower added the comment: New changeset f85658a09878c658ae0e0590bfa30e4ce51c9a04 by Jakub Stasiak in branch 'master': bpo-40901: Describe what "interface name" means on Windows (GH-20694) https://github.com/python/cpython/commit/f85658a09878c658ae0e

[issue40901] It's not clear what "interface name" means in socket if_nameindex/if_nametoindex/if_indextoname on Windows

2020-10-19 Thread Steve Dower
Steve Dower added the comment: Very helpful contribution! Thank your -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker <https://bugs.python.or

[issue41845] Promote PyObject_GenericGetDict to the stable API

2020-10-19 Thread Steve Dower
Steve Dower added the comment: New changeset 1438c2ac773e87d1f9c97fc22f2346e16bf48773 by Zackery Spytz in branch 'master': bpo-41845: Move PyObject_GenericGetDict() back into the limited API (GH22646) https://github.com/python/cpython/commit/1438c2ac773e87d1f9c97fc22f2346

[issue41845] Promote PyObject_GenericGetDict to the stable API

2020-10-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

[issue38324] [Windows] test_locale and test__locale failures on Windows

2020-10-19 Thread Steve Dower
Steve Dower added the comment: I just took a look at the PR and I think it's good, but if anyone else wants to have a look before I merge it (probably not today), please do. -- ___ Python tracker <https://bugs.python.org/is

[issue38324] [Windows] test__locale fails on Windows local machines

2020-10-20 Thread Steve Dower
Steve Dower added the comment: New changeset f2312037e3a974d26ed3e23884f94c6af111a27a by TIGirardi in branch 'master': bpo-38324: Fix test__locale.py Windows failures (GH-20529) https://github.com/python/cpython/commit/f2312037e3a974d26ed3e23884f94c

[issue38324] [Windows] test__locale fails on Windows local machines

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

[issue30612] Unusual Windows registry path syntax

2020-10-20 Thread Steve Dower
Steve Dower added the comment: New changeset ff1ae3dd334faa2006394c2318db385cdc42030a by Zackery Spytz in branch 'master': bpo-30612: Tweak Windows registry path syntax in the docs (GH-20281) https://github.com/python/cpython/commit/ff1ae3dd334faa2006394c2318db38

[issue30612] Unusual Windows registry path syntax

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

[issue38439] Python needs higher resolution app/menu icons

2020-10-20 Thread Steve Dower
Change by Steve Dower : -- pull_requests: +21773 pull_request: https://github.com/python/cpython/pull/22817 ___ Python tracker <https://bugs.python.org/issue38

[issue38439] Python needs higher resolution app/menu icons

2020-10-20 Thread Steve Dower
Steve Dower added the comment: New changeset faddc7449d07e883b8ad8bb95dd68ce6dbdc06e8 by Miro Hrončok in branch 'master': bpo-38439: Add 256px IDLE icon to the .ico, drop gifs from it (GH-19648) https://github.com/python/cpython/commit/faddc7449d07e883b8ad8bb95dd68c

[issue38439] Python needs higher resolution app/menu icons

2020-10-20 Thread Steve Dower
Steve Dower added the comment: New changeset 6d883fbe14751b58d9ed2fd708322613d8931035 by Steve Dower in branch 'master': bpo-38439: Update the Windows Store package's icons for IDLE. Artwork by Andrew Clover (GH-22817) https://github.com/python

[issue38439] Python needs higher resolution app/menu icons

2020-10-21 Thread Steve Dower
Steve Dower added the comment: This seems complete to me, but feel free to reopen if it is not. -- resolution: -> fixed stage: patch review -> resolved status: open -> closed versions: +Python 3.10 -Python 3.7 ___ Python tracke

[issue40747] sysconfig.get_config_var("py_version_nodot") should return 3_10

2020-10-21 Thread Steve Dower
Change by Steve Dower : -- nosy: +steve.dower nosy_count: 4.0 -> 5.0 pull_requests: +21801 pull_request: https://github.com/python/cpython/pull/22858 ___ Python tracker <https://bugs.python.org/issu

[issue25655] Python errors related to failures loading DLL's lack information

2020-10-22 Thread Steve Dower
Steve Dower added the comment: New changeset b6f2fc90409e291822166d74ce7402e0ef4dba91 by Philippe Ombredanne in branch 'master': bpo-25655: Improve Win DLL loading failures doc (GH-22372) https://github.com/python/cpython/commit/b6f2fc90409e291822166d74ce7402

[issue25655] Python errors related to failures loading DLL's lack information

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

[issue25655] Python errors related to failures loading DLL's lack information

2020-10-22 Thread Steve Dower
Steve Dower added the comment: > Steve, the PR that you pushed has the wrong error and error message. Ah whoops. I'll reopen and hopefully someone can fix it up. > The advice to use dumpbin is fine and works well in simple cases. It's only meant as a starting point. It

[issue25655] Python errors related to failures loading DLL's lack information

2020-10-22 Thread Steve Dower
Change by Steve Dower : -- versions: +Python 3.8, Python 3.9 ___ Python tracker <https://bugs.python.org/issue25655> ___ ___ Python-bugs-list mailing list Unsub

[issue42120] Depreciated MACRO of copysign for MSVC

2020-10-22 Thread Steve Dower
Steve Dower added the comment: Sounds good, but I don't think we can backport it. It's not _our_ public API, but it's still going to impact compiling modules. Also, looking at the docs link above, copysign() is for floats and _copysign() is for doubles, which means it's

[issue40592] `Shutil.which` incosistent with windows's `where`

2020-10-23 Thread Steve Dower
Steve Dower added the comment: New changeset da6f098188c9825f10ae60db8987056b3a54c2e8 by Christopher Marchfelder in branch 'master': bpo-40592: shutil.which will not return None anymore if ; is the last char in PATHEXT (GH-20088) https://github.com/python/cpyt

[issue40592] `Shutil.which` incosistent with windows's `where`

2020-10-23 Thread Steve Dower
Steve Dower added the comment: Thanks for the contribution! Looking forward to your next one :) -- nosy: -miss-islington resolution: -> fixed stage: patch review -> resolved status: open -> closed versions: +Python 3.10, Python 3.8, P

[issue42074] setup error on windows

2020-10-23 Thread Steve Dower
Steve Dower added the comment: Thanks for finding the error code, Terry. CaptainMitsumoto, firstly sorry for the frustration. We try to make it work reliably everywhere, but there are so many variables when it comes to installation that weird things always come up. As an alternative, you

[issue42142] FAIL tkinter ttk LabeledScale test_resize, and more

2020-10-26 Thread Steve Dower
Steve Dower added the comment: I'm as familiar as anyone else that I'll be able to find, but I've really got no way to explain why the window isn't becoming visible. Is it possible that it's trying to default to the process's nShowCmd value instead of a const

[issue42192] Python Windows .exe Installer ignores /TargetDir if there is an existing installation

2020-10-29 Thread Steve Dower
Steve Dower added the comment: Unfortunately, this is deliberate, or at least deliberate enough to not consider it a bug. The installer from python.org is intended to only support a single install per-machine. In general, if you simply copy the installation folder to a new location it

[issue42196] Python Windows Installation Error 0x800705aa

2020-10-30 Thread Steve Dower
Steve Dower added the comment: That python.exe stub being there may be the reason it doesn't appear to do anything. If you aren't fully up to date on preview builds (which is likely), then running it with any arguments will silently exit. If you run it just as "python.exe&qu

[issue42192] Python Windows .exe Installer ignores /TargetDir if there is an existing installation

2020-10-30 Thread Steve Dower
Steve Dower added the comment: So for a manually managed install, your best bet is to just copy the install directory somewhere else (and then maybe remove the original? Up to you). That will break the MSI tracking that lets us do reliable upgrades and repairs, but shouldn't break P

[issue42228] Activate.ps1 clears PYTHONHOME

2020-11-02 Thread Steve Dower
Steve Dower added the comment: If `\Lib\os.py` exists, then you shouldn't need either a registry entry or environment variable. This sounds the same as the approach used on GitHub Actions and Azure Pipelines, and also through the packages at https://www.nuget.org/packages/python.

[issue42228] Activate.ps1 clears PYTHONHOME

2020-11-02 Thread Steve Dower
Steve Dower added the comment: > I've worked around it so far by just ignoring `Activate.ps1` completely and > setting up PATH, PYTHONHOME, and PYTHONPATH instead This sounds like the right approach. Though if you're genuinely embedding Python in your application you shou

[issue42252] Embeddable Python indicates that it uses PYTHONPATH

2020-11-03 Thread Steve Dower
Steve Dower added the comment: Updating the documentation link on the download page is being discussed as we speak. > One possible use-case is to package it along with another program to use the > interpreter. This is the primary use case. If you're doing something else with

[issue42252] Embeddable Python indicates that it uses PYTHONPATH

2020-11-04 Thread Steve Dower
Steve Dower added the comment: > I'd been expecting this was commonly used as the way to give access to > python3X.dll. Yeah, both. The idea is to delete the files you don't want - so if you don't need python.exe, just don't include it. Same goes for some o

[issue42267] Python 3.9 broken installer

2020-11-05 Thread Steve Dower
Steve Dower added the comment: You need to use the installer to remove Python, as you have likely not cleaned up all of the registration. I suggest searching in Start for "Apps & Features" and finding Python in the list, and either choosing to Modify and then Repair it, or Un

[issue42267] Python 3.9 broken installer

2020-11-05 Thread Steve Dower
Steve Dower added the comment: As an alternative, you could install Python through the Microsoft Store. This version comes with a "Reset" button (also through Apps & Features) that will remove any packages you've installed into it and bring it back to a clean state very

[issue42267] Python 3.9 broken installer

2020-11-05 Thread Steve Dower
Steve Dower added the comment: The store version should be available everywhere as "python.exe", "python3.exe" and "python3.9.exe" already, but if not then search Start for "Manage app execution aliases" to enable it. The MSI should be able to

[issue42278] Remove usage of tempfile.mktemp in stdlib

2020-11-08 Thread Steve Dower
Steve Dower added the comment: Yeah, once tests are excluded and the (deprecated or nearly deprecated) distutils and msilib are dropped, the problems are pydoc (which looks non-exploitable) and anywhere we need to generate a named pipe. Both cases where named pipes are being created are as

[issue41712] REDoS in purge

2020-11-09 Thread Steve Dower
Steve Dower added the comment: New changeset 1f73c320e2921605c4963e202f6bdac1ef18f2ce by Yash Shete in branch 'master': bpo-41712: Avoid runaway regex match in upload scripts (GH-23166) https://github.com/python/cpython/commit/1f73c320e2921605c4963e202f6bda

[issue41712] REDoS in purge

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

[issue42321] Limitations of building a static python library on Windows (MSVC)

2020-11-12 Thread Steve Dower
Steve Dower added the comment: > Does a statically built Windows python.exe support C extension modules at all? I've given this some thought in the past, and I suspect the answer is "no" unless you were to also statically link the extension modules into the same exec

[issue42336] Make PCbuild/build.bat build x64 by default

2020-11-12 Thread Steve Dower
New submission from Steve Dower : Now that the 64-bit download is the default on python.org, we should make the build command default to 64-bit as well. This should only affect contributors, so should be non-controversial. But we should add a "-x86" option to the batch fi

[issue42337] Skip building web installers on Windows

2020-11-12 Thread Steve Dower
New submission from Steve Dower : In future releases, we won't be advertising the web-based installers anymore. They never got much use, and the shorter list of downloads will be more beneficial to users than saving 10-20MB worth of bandwidth. The web site change has already been made

[issue42296] Infinite loop uninterruptable on Windows in 3.10

2020-11-12 Thread Steve Dower
Steve Dower added the comment: This looks like the smallest change I can make to fix it: diff --git a/Include/internal/pycore_pystate.h b/Include/internal/pycore_pystate.h index 0cd5550cfd..9ff740b87b 100644 --- a/Include/internal/pycore_pystate.h +++ b/Include/internal/pycore_pystate.h

[issue40754] Test installers before releasing (ModuleNotFoundErrors)

2020-11-13 Thread Steve Dower
Change by Steve Dower : -- keywords: +patch pull_requests: +22168 stage: -> patch review pull_request: https://github.com/python/cpython/pull/23271 ___ Python tracker <https://bugs.python.org/issu

[issue42339] official embedded Python fails to import certain modules

2020-11-13 Thread Steve Dower
Change by Steve Dower : -- keywords: +patch pull_requests: +22167 stage: -> patch review pull_request: https://github.com/python/cpython/pull/23271 ___ Python tracker <https://bugs.python.org/issu

[issue42339] official embedded Python fails to import certain modules

2020-11-13 Thread Steve Dower
Change by Steve Dower : -- pull_requests: -22167 ___ Python tracker <https://bugs.python.org/issue42339> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue40754] Test installers before releasing (ModuleNotFoundErrors)

2020-11-13 Thread Steve Dower
Steve Dower added the comment: New changeset 9b6934230c35e24d8582ea8c58456fa8eab72ae2 by Steve Dower in branch 'master': bpo-40754: Adds _testinternalcapi to Windows installer for test suite (GH-23271) https://github.com/python/cpython/commit/9b6934230c35e24d8582ea8c58456f

[issue42339] official embedded Python fails to import certain modules

2020-11-13 Thread Steve Dower
Steve Dower added the comment: Sorry about the PR mess - copied the wrong issue number down, though I am looking at this one right now. My suspicion is something in the newer vcruntime140_1.dll is to blame - does it work with Python 3.9? You might need to update to KB3118401 [1], though I

[issue40754] Test installers before releasing (ModuleNotFoundErrors)

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

[issue42336] Make PCbuild/build.bat build x64 by default

2020-11-13 Thread Steve Dower
Change by Steve Dower : -- keywords: +patch pull_requests: +22171 stage: -> patch review pull_request: https://github.com/python/cpython/pull/23275 ___ Python tracker <https://bugs.python.org/issu

[issue42336] Make PCbuild/build.bat build x64 by default

2020-11-13 Thread Steve Dower
Steve Dower added the comment: I hope you'll find that PR suitable ambitious :) It would really be nice to have proper Powershell scripts for these, but that would be a more significant rewrite (and probably require changing argument names...). I'm not *that*

[issue38506] Launcher for Windows (py.exe) may rank Python 3.xx (in the future) after 3.x

2020-11-16 Thread Steve Dower
Steve Dower added the comment: We can backport it, but the latest version always wins. I deliberately designed the installer (which has multiple embedded MSIs in it) to make sure this worked, so that earlier versions won't overwrite the launcher (anymore). Besides, this is a purely cos

[issue38506] Launcher for Windows (py.exe) may rank Python 3.xx (in the future) after 3.x

2020-11-16 Thread Steve Dower
Steve Dower added the comment: It's cosmetic in the sense that it *only* affect usability, and not correctness. If it had no impact at all, I'd be calling it "pointless" ;) -- ___ Python tracker <https://bug

[issue42339] official embedded Python fails to import certain modules

2020-11-16 Thread Steve Dower
Change by Steve Dower : -- pull_requests: +22214 pull_request: https://github.com/python/cpython/pull/23322 ___ Python tracker <https://bugs.python.org/issue42

[issue42339] official embedded Python fails to import certain modules

2020-11-16 Thread Steve Dower
Steve Dower added the comment: New changeset fa86614078f1f700f350f98486dddf83587ab69e by Steve Dower in branch '3.8': bpo-42339: Adds note about KB2533623 to embeddable package docs (GH-23322) https://github.com/python/cpython/commit/fa86614078f1f700f350f98486dddf

[issue42339] official embedded Python fails to import certain modules

2020-11-16 Thread Steve Dower
Steve Dower added the comment: I added a note to the 3.8 docs. Pretty sure there's another open issue about improving FormatMessage, and if not, one can be opened. Thanks for the report, Jelle, and for helping us figure it out! -- components: +Documentation resolution: -&g

[issue38506] Launcher for Windows (py.exe) may rank Python 3.xx (in the future) after 3.x

2020-11-16 Thread Steve Dower
Steve Dower added the comment: New changeset f62dad16b8e540486a0a0fed41e723d36986f860 by Zackery Spytz in branch 'master': bpo-38506: Fix the Windows py.exe launcher's misordering of 3.10 (GH-18307) https://github.com/python/cpython/commit/f62dad16b8e540486a0a0fed4

[issue42278] Remove usage of tempfile.mktemp in stdlib

2020-11-16 Thread Steve Dower
Steve Dower added the comment: Just left a blocking review on the PR - I don't want to rely on the shell being able to use an already open file. There's at least one other issue about making NamedTemporaryFile work for this case. Once that is done, this can be ma

[issue38506] Launcher for Windows (py.exe) may rank Python 3.xx (in the future) after 3.x

2020-11-16 Thread Steve Dower
Steve Dower added the comment: Thanks for the patch, Zackery! -- assignee: -> steve.dower resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker <https://bugs.python

[issue42336] Make PCbuild/build.bat build x64 by default

2020-11-16 Thread Steve Dower
Change by Steve Dower : -- pull_requests: +22215 pull_request: https://github.com/python/cpython/pull/23325 ___ Python tracker <https://bugs.python.org/issue42

[issue42120] Depreciated MACRO of copysign for MSVC

2020-11-16 Thread Steve Dower
Change by Steve Dower : -- keywords: +patch pull_requests: +22216 stage: -> patch review pull_request: https://github.com/python/cpython/pull/23326 ___ Python tracker <https://bugs.python.org/issu

[issue42120] Depreciated MACRO of copysign for MSVC

2020-11-16 Thread Steve Dower
Steve Dower added the comment: Turns out a straight delete is fine, as both names are defined in UCRT. I think it's safe to backport as well, since it's only going to affect other people's code poorly (and they'll need to recompile to see any change anyway).

[issue42120] Depreciated MACRO of copysign for MSVC

2020-11-16 Thread Steve Dower
Steve Dower added the comment: New changeset 9cc9e277254023c0ca08e1a9e379fd89475ca9c2 by Steve Dower in branch 'master': bpo-42120: Remove macro defining copysign to _copysign on Windows (GH-23326) https://github.com/python/cpython/commit/9cc9e277254023c0ca08e1a9e379fd

[issue42336] Make PCbuild/build.bat build x64 by default

2020-11-18 Thread Steve Dower
Steve Dower added the comment: New changeset 2156d964a12285280c533af1c96eb273c58451e6 by Steve Dower in branch 'master': bpo-42336: Improve PCbuild batch files (GH-23275) https://github.com/python/cpython/commit/2156d964a12285280c533af1c96eb2

[issue42336] Make PCbuild/build.bat build x64 by default

2020-11-18 Thread Steve Dower
Steve Dower added the comment: New changeset 8b1f4cc4644869812ff7f210a7fcbe872d88846e by Steve Dower in branch '3.8': bpo-42336: Improve PCbuild batch files (GH-23325) https://github.com/python/cpython/commit/8b1f4cc4644869812ff7f210a7fcbe

[issue42336] Make PCbuild/build.bat build x64 by default

2020-11-18 Thread Steve Dower
Change by Steve Dower : -- pull_requests: +22266 pull_request: https://github.com/python/cpython/pull/23373 ___ Python tracker <https://bugs.python.org/issue42

[issue42405] Add distutils mvsccompiler support for Windows ARM64 build

2020-11-19 Thread Steve Dower
Steve Dower added the comment: Firstly, msvc9compiler.py is very deprecated, we don't touch that one at all or use it in distutils. Second, _msvccompiler.py is weakly deprecated (and likely soon fully deprecated), so you'd be better to make the fix in the setuptools project ins

[issue42415] python3.lib in Python3.9.0 Windows distribution does not contain PyObject_CallNoArgs symbol

2020-11-19 Thread Steve Dower
Steve Dower added the comment: Yeah, this will be our fault. Someone is looking into automatically generating the .def file so that this stops happening. Last time we tried that there was a lot of pushback because "too many APIs will become stable", but this time I think we'r

[issue42405] Add distutils mvsccompiler support for Windows ARM64 build

2020-11-19 Thread Steve Dower
Steve Dower added the comment: There is no ARM64 release of Python for Windows right now, so unfortunately this doesn't constitute any kind of bugfix. We don't have a buildbot, and nobody out there has CI, so it's not a supported platform. I get that it's easier to c

[issue42336] Make PCbuild/build.bat build x64 by default

2020-11-20 Thread Steve Dower
Steve Dower added the comment: We also updated the buildbot config to use the new options. -- assignee: -> steve.dower resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker <https://

[issue42120] Depreciated MACRO of copysign for MSVC

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

[issue36945] Add _PyPreConfig.configure_locale: allow to leave LC_CTYPE unchanged when embedding Python

2019-05-17 Thread Steve Dower
Steve Dower added the comment: I think this should be opt-in, not opt-out. Imagine you're an existing application and you want to embed Python. Why would you ever want it to suddenly change your global settings like this? As a general rule, an embedded Python runtime should deal wit

[issue36949] WeakSet.__repr__ and __str__ do not show contents of the set

2019-05-17 Thread Steve Dower
New submission from Steve Dower : This spoils the output of our test suite when there are dangling threads, as the basic "print" doesn't show anything useful. -- messages: 342734 nosy: steve.dower priority: normal severity: normal stage: needs patch status: open

[issue36945] Add _PyPreConfig.configure_locale: allow to leave LC_CTYPE unchanged when embedding Python

2019-05-17 Thread Steve Dower
Steve Dower added the comment: > I have a very good news for you :-) Slowly but steadily, we converge on a > agreement ;-) Yay! :) > I added 2 functions … Nice, these will be helpful. Probably a good thing to try out with some embedders too, to see whether they're intuiti

[issue36945] Add _PyPreConfig.configure_locale: allow to leave LC_CTYPE unchanged when embedding Python

2019-05-17 Thread Steve Dower
Steve Dower added the comment: > * customized Python interpreter: behaves as the "regular Python" For this, why wouldn't we say "start by copying all the code in Programs/python.c"? Is there any reason why that file needs to only be one single call into Py_Mai

[issue36941] Windows build changes for Windows ARM64

2019-05-17 Thread Steve Dower
Steve Dower added the comment: New changeset f96e7fd9240c1ce13f52bd3ba81f58b2511d89c3 by Steve Dower (Paul Monson) in branch 'master': bpo-36941: Windows build changes for Windows ARM64 (GH-13365) https://github.com/python/cpython/commit/f96e7fd9240c1ce13f52bd3ba81f58

[issue36942] Windows code changes for Windows ARM64

2019-05-17 Thread Steve Dower
Steve Dower added the comment: New changeset 3ea702eca17c4ab5209d823fac2463307dde0633 by Steve Dower (Paul Monson) in branch 'master': bpo-36942 Windows build changes for Windows ARM64 (GH-13366) https://github.com/python/cpython/commit/3ea702eca17c4ab5209d823fac2463

[issue36945] Add _PyPreConfig.configure_locale: allow to leave LC_CTYPE unchanged when embedding Python

2019-05-17 Thread Steve Dower
Steve Dower added the comment: > I suggest to move this discussion on the WIP PR of 4th version of my PEP I prefer to keep it on the issue tracker where it doesn't disappear when merged and I get proper notifications. (I want to make the most of getting good notifications of new

[issue35926] Need openssl 1.1.1 support on Windows for ARM and ARM64

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

[issue36792] [Windows] time: crash on formatting time with de_DE locale

2019-05-20 Thread Steve Dower
Steve Dower added the comment: I've received a detailed response from the UCRT team, and there are a few pieces here. * the fact that tzname is cached in ACP is known and will be fixed * the decoding bug is real, but it's due to the experimental UTF-8 support * the experimental UTF

[issue36965] use of STATUS_CONTROL_C_EXIT in Modules/main.c breaks compilation with non MSC compilers

2019-05-20 Thread Steve Dower
Steve Dower added the comment: Is including just "winnt.h" sufficient? It's very hard to tell which Windows headers are "public" vs "internal", but winternl.h is certainly one of the internal ones (according to the big warn

[issue36949] WeakSet.__repr__ and __str__ do not show contents of the set

2019-05-20 Thread Steve Dower
Steve Dower added the comment: New changeset 5ae1c84bcd13b766989fc3f1e1c851e7bd4c1faa by Steve Dower (Batuhan Taşkaya) in branch 'master': bpo-36949: Implement __repr__ on WeakSet (GH-13415) https://github.com/python/cpython/commit/5ae1c84bcd13b766989fc3f1e1c851

[issue36949] WeakSet.__repr__ and __str__ do not show contents of the set

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

[issue36965] use of STATUS_CONTROL_C_EXIT in Modules/main.c breaks compilation with non MSC compilers

2019-05-20 Thread Steve Dower
Steve Dower added the comment: Some people say "windows.h" is the only one you're ever supposed to include, so if that works best, let's go with that :) -- ___ Python tracker <https://bug

[issue36941] Windows build changes for Windows ARM64

2019-05-22 Thread Steve Dower
Steve Dower added the comment: New changeset cfb241bd29a94fd825a317a78322e3cdba0e75a7 by Steve Dower (Paul Monson) in branch 'master': bpo-36941: Project file fixups for Windows ARM64 (GH-13477) https://github.com/python/cpython/commit/cfb241bd29a94fd825a317a78322e3

[issue37007] Implement socket.if_{nametoindex, indextoname} for Windows

2019-05-23 Thread Steve Dower
Steve Dower added the comment: Is it worth also implementing if_nameindex() using (I assume) GetIfTable2Ex [1]? Or maybe just the simpler GetIfTable is sufficient - I'm not sure exactly what semantics Unix if_nameindex() has, whether it includes all logical adapters. [1]:

[issue36842] Implement PEP 578

2019-05-23 Thread Steve Dower
Steve Dower added the comment: New changeset b82e17e626f7b1cd98aada0b1ebb65cb9f8fb184 by Steve Dower in branch 'master': bpo-36842: Implement PEP 578 (GH-12613) https://github.com/python/cpython/commit/b82e17e626f7b1cd98aada0b1ebb65

[issue36842] Implement PEP 578

2019-05-23 Thread Steve Dower
Steve Dower added the comment: test_gdb failed on the Debian PGO buildbot https://buildbot.python.org/all/#builders/47/builds/2854 I'm going to do what I can to investigate, but I may be out of my depth here! -- stage: patch review -> commi

[issue37023] test_gdb failed on AMD64 Debian PGO 3.x

2019-05-23 Thread Steve Dower
Steve Dower added the comment: Is it just expecting builtin_id() to have been inlined? That seems risky. -- nosy: +steve.dower ___ Python tracker <https://bugs.python.org/issue37

[issue37023] test_gdb failed on AMD64 Debian PGO 3.x

2019-05-23 Thread Steve Dower
Steve Dower added the comment: Ah no, it's expecting `builtin_id (self=..., v=...)` but getting `builtin_id ()` instead. -- ___ Python tracker <https://bugs.python.org/is

<    19   20   21   22   23   24   25   26   27   28   >