[issue38892] Audit Hook doc typos and confusion

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

[issue38920] Audit events for unhandled exceptions

2019-11-26 Thread Steve Dower
New submission from Steve Dower : We currently have no audit events for unhandled exceptions. While these can be recorded by sys.excepthook or sys.unraisablehook in Python code, there is no way to intercept them from C code set up before running Python code. There's also no way to co

[issue38920] Audit events for unhandled exceptions

2019-11-26 Thread Steve Dower
Change by Steve Dower : -- keywords: +patch pull_requests: +16874 stage: needs patch -> patch review pull_request: https://github.com/python/cpython/pull/17392 ___ Python tracker <https://bugs.python.org/issu

[issue38920] Audit events for unhandled exceptions

2019-11-26 Thread Steve Dower
Change by Steve Dower : -- assignee: -> steve.dower ___ Python tracker <https://bugs.python.org/issue38920> ___ ___ Python-bugs-list mailing list Unsubscrib

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

2019-11-26 Thread Steve Dower
Steve Dower added the comment: > But then I need two separate workflows based on what is passed in. For py.exe > I need to run it and get sys.executable. But for python.exe I *cannot* use > sys.executable because that’s the base interepeter, not the venv path I want. > And `if Pa

[issue38920] Audit events for unhandled exceptions

2019-11-26 Thread Steve Dower
Change by Steve Dower : -- pull_requests: +16875 pull_request: https://github.com/python/cpython/pull/17393 ___ Python tracker <https://bugs.python.org/issue38

[issue38922] code.replace() does not raise audit event

2019-11-26 Thread Steve Dower
New submission from Steve Dower : Because code.replace() manually creates a new code object (that is, with arbitrary co_code rather than via the compiler), it should raise code.__new__ with its arguments. -- assignee: steve.dower messages: 357529 nosy: steve.dower priority: normal

[issue38920] Audit events for unhandled exceptions

2019-11-26 Thread Steve Dower
Steve Dower added the comment: +Victor in case you'd like to check my changes to the unraisable hook implementation. -- nosy: +vstinner ___ Python tracker <https://bugs.python.org/is

[issue38922] code.replace() does not raise audit event

2019-11-26 Thread Steve Dower
Change by Steve Dower : -- keywords: +patch pull_requests: +16876 stage: -> patch review pull_request: https://github.com/python/cpython/pull/17394 ___ Python tracker <https://bugs.python.org/issu

[issue38922] code.replace() does not raise audit event

2019-11-26 Thread Steve Dower
Steve Dower added the comment: New changeset c7c01ab1e5415b772c68e15f1aba51e520010830 by Steve Dower in branch 'master': bpo-38922: Raise code.__new__ audit event when code object replace() is called (GH-17394) https://github.com/python/cpyt

[issue38922] code.replace() does not raise audit event

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

[issue38920] Audit events for unhandled exceptions

2019-11-28 Thread Steve Dower
Steve Dower added the comment: New changeset b74a6f14b94d36fb72b1344663e81776bf450847 by Steve Dower in branch '3.8': bpo-38920: Add audit hooks for when sys.excepthook and sys.unraisablehook are invoked (GH-17392) https://github.com/python/cpyt

[issue38920] Audit events for unhandled exceptions

2019-11-28 Thread Steve Dower
Steve Dower added the comment: New changeset bea33f5e1db6e4a554919a82894f44568576e979 by Steve Dower in branch 'master': bpo-38920: Add audit hooks for when sys.excepthook and sys.unraisable hooks are invoked (GH-17392) https://github.com/python/cpyt

[issue38920] Audit events for unhandled exceptions

2019-11-28 Thread Steve Dower
Change by Steve Dower : -- stage: patch review -> commit review ___ Python tracker <https://bugs.python.org/issue38920> ___ ___ Python-bugs-list mai

[issue38936] fatal error during installation 0x80070643 during python installation

2019-11-29 Thread Steve Dower
Steve Dower added the comment: It looks like you had a previous install that wasn't cleaned up properly (all the packages are still registered). Any idea what may have caused that? The easiest workaround will be to use Programs and Features to find and repair the previous install (&q

[issue38948] os.path.ismount() returns False for current working drive

2019-12-02 Thread Steve Dower
Steve Dower added the comment: ntpath.ismount() is using a name-only check here, it never tries to resolve the path if splitdrive() returns (anything, one_of("", "/", "\\")) Now it's not clear whether handling "" is intended there, but that&#

[issue28859] os.path.ismount sometimes raises FileNotFoundError on Windows

2019-12-02 Thread Steve Dower
Steve Dower added the comment: Traditionally we handle exceptions in os.path.is* functions and return False. -- keywords: +easy, newcomer friendly stage: -> test needed type: -> behavior versions: +Python 3.8, Python 3.9 ___ Python t

[issue38920] Audit events for unhandled exceptions

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

[issue38957] Cannot compile with libffi from source on Windows

2019-12-02 Thread Steve Dower
Steve Dower added the comment: The intent is that you'd build from source and then copy the binaries into the libffi directory (the *real* intent is that very few people should have to build libffi from source). Can you tell us a bit more about what you were trying to achieve when yo

[issue38974] using tkinter.filedialog.askopenfilename() freezes python 3.8

2019-12-04 Thread Steve Dower
Steve Dower added the comment: Processor type is far less likely than a shell extension. Do you have anything like DropBox/Tortoise???/etc. installed? -- ___ Python tracker <https://bugs.python.org/issue38

[issue38974] using tkinter.filedialog.askopenfilename() freezes python 3.8

2019-12-05 Thread Steve Dower
Steve Dower added the comment: Potentially. I don't have it installed, so I can't test, but I know in the past it added a shell extension that would display overlays over files it controlled. That shell extension will be loaded into most system file picker dialogs, and at various

[issue38974] using tkinter.filedialog.askopenfilename() freezes python 3.8

2019-12-05 Thread Steve Dower
Steve Dower added the comment: Temporarily uninstalling your Dropbox client is the easiest way. -- ___ Python tracker <https://bugs.python.org/issue38

[issue38948] os.path.ismount() returns False for current working drive

2019-12-05 Thread Steve Dower
Steve Dower added the comment: > The main problem that I see here is that, in Windows (not POSIX), > ntpath.ismount fails to verify that a potential mount point is an existing > directory via os.stat and stat.S_ISDIR. ... This would be a breaking change, > but I think it's

[issue33125] Windows 10 ARM64 platform support

2019-12-05 Thread Steve Dower
Change by Steve Dower : -- pull_requests: +16959 stage: commit review -> patch review pull_request: https://github.com/python/cpython/pull/17480 ___ Python tracker <https://bugs.python.org/issu

[issue33125] Windows 10 ARM64 platform support

2019-12-06 Thread Steve Dower
Steve Dower added the comment: New changeset c9f480d2ccda9de46584cabe086f0acfa45f2faf by Steve Dower in branch '3.8': bpo-33125: Add support for building and releasing Windows ARM64 packages (GH-17480) https://github.com/python/cpython/commit/c9f480d2ccda9de46584cabe086f0a

[issue33125] Windows 10 ARM64 platform support

2019-12-06 Thread Steve Dower
Steve Dower added the comment: Closing this as the work we need for support is now added. Whether we start releasing binaries from python.org is a discussion to have on python-dev and with the broader community. Right now, I don't think the ecosystem is ready to add support (mainly be

[issue33125] Windows 10 ARM64 platform support

2019-12-06 Thread Steve Dower
Steve Dower added the comment: This site seems like a pretty good aggregation of news around Windows on ARM64 devices: https://www.windows-arm.com/ Short story is, it's a real thing, but for (what I consider) obvious reasons the OSS developer experience isn't

[issue39007] Add audit hooks to winreg module

2019-12-09 Thread Steve Dower
New submission from Steve Dower : The winreg module should have hooks added. -- assignee: steve.dower components: Windows messages: 358119 nosy: christian.heimes, paul.moore, steve.dower, tim.golden, zach.ware priority: normal severity: normal stage: needs patch status: open title: Add

[issue39008] PySys_Audit should require PY_SSIZE_T_CLEAN

2019-12-09 Thread Steve Dower
New submission from Steve Dower : Currently, calls to PySys_Audit() that use "#" format strings will raise a deprecation warning because Python/sysmodule.c is not PY_SSIZE_T_CLEAN Since PySys_Audit is a new API, we should just define it as always requiring Py_ssize_t. (Discov

[issue39008] PySys_Audit should require PY_SSIZE_T_CLEAN

2019-12-09 Thread Steve Dower
Change by Steve Dower : -- keywords: +patch pull_requests: +17016 stage: needs patch -> patch review pull_request: https://github.com/python/cpython/pull/17540 ___ Python tracker <https://bugs.python.org/issu

[issue39007] Add audit hooks to winreg module

2019-12-09 Thread Steve Dower
Change by Steve Dower : -- keywords: +patch pull_requests: +17017 stage: needs patch -> patch review pull_request: https://github.com/python/cpython/pull/17541 ___ Python tracker <https://bugs.python.org/issu

[issue38989] pip install selects 32 bit wheels for 64 bit python if vcvarsall.bat amd64_x86 in environment

2019-12-09 Thread Steve Dower
Steve Dower added the comment: > maybe you have some relevant context Nothing you haven't figured out yourself. As you say, they're both private functions, and as we investigated adding a "get_target_platform" function, it turned out that nearly all users were expect

[issue39008] PySys_Audit should require PY_SSIZE_T_CLEAN

2019-12-09 Thread Steve Dower
Steve Dower added the comment: New changeset b8cbe74c3498c617f0e73fd0cdc5c07f2c532092 by Steve Dower in branch 'master': bpo-39008: Require Py_ssize_t for PySys_Audit formats rather than raise a deprecation warning (GH-17540) https://github.com/python/cpyt

[issue39008] PySys_Audit should require PY_SSIZE_T_CLEAN

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

[issue39007] Add audit hooks to winreg module

2019-12-09 Thread Steve Dower
Steve Dower added the comment: New changeset ee17e3735634c5fe15a43f897707de8011618627 by Steve Dower in branch 'master': bpo-39007: Add auditing events to functions in winreg (GH-17541) https://github.com/python/cpython/commit/ee17e3735634c5fe15a43f897707de

[issue39007] Add audit hooks to winreg module

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

[issue39012] nuget package published at 3.8.1-c1 instead of rc1

2019-12-09 Thread Steve Dower
New submission from Steve Dower : Should be rc1 -- assignee: steve.dower components: Windows messages: 358163 nosy: paul.moore, steve.dower, tim.golden, zach.ware priority: normal severity: normal stage: needs patch status: open title: nuget package published at 3.8.1-c1 instead of rc1

[issue39012] nuget package published as 3.8.1-c1 instead of rc1

2019-12-10 Thread Steve Dower
Change by Steve Dower : -- title: nuget package published at 3.8.1-c1 instead of rc1 -> nuget package published as 3.8.1-c1 instead of rc1 ___ Python tracker <https://bugs.python.org/issu

[issue39012] nuget package published as 3.8.1-c1 instead of rc1

2019-12-10 Thread Steve Dower
Change by Steve Dower : -- keywords: +patch pull_requests: +17036 stage: needs patch -> patch review pull_request: https://github.com/python/cpython/pull/17564 ___ Python tracker <https://bugs.python.org/issu

[issue39012] nuget package published as 3.8.1-c1 instead of rc1

2019-12-10 Thread Steve Dower
Steve Dower added the comment: New changeset d0802d07d2c864b95480a9b24c7cc050e19189d5 by Steve Dower in branch 'master': bpo-39012: Fix RC version suffix for nuget release files (GH-17564) https://github.com/python/cpython/commit/d0802d07d2c864b95480a9b24c7cc0

[issue39012] nuget package published as 3.8.1-c1 instead of rc1

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

[issue39025] Windows Python Launcher does not update PATH to Scripts directory

2019-12-11 Thread Steve Dower
Steve Dower added the comment: > Moreover, some of these C++ exectuables depends on DLL which are only in the > Scripts directory and it might not work. In this case, perhaps these tools should be in a separate directory? A simple .py script could be added to Scripts that works wi

[issue39025] Windows Python Launcher does not update PATH to Scripts directory

2019-12-11 Thread Steve Dower
Steve Dower added the comment: > Create a pyscript launcher, which would work like py but would take as > command-line the name of the script to run ... This is spelled "py [-x.y] -m [script]", but it's up to the libraries to support it. We can't force them to

[issue38999] Python launcher on Windows does not detect active venv

2019-12-11 Thread Steve Dower
Steve Dower added the comment: > This makes it simple for users to intervene via the PATH (which is the whole > point of /usr/bin/env) and launch whatever they want. That's one point of view, but the other is that the whole point of the shebang line is for users to be able to run

[issue38999] Python launcher on Windows does not detect active venv

2019-12-12 Thread Steve Dower
Steve Dower added the comment: > Do you mean all shebangs, including those with a native file path? I like the idea as a whole, but ultimately end up disliking all the available options (in the context of py.exe, that is). * Unix/virtual shebangs don't work reliably on Windows (a

[issue39041] Support GitHub Actions in CI

2019-12-13 Thread Steve Dower
New submission from Steve Dower : Enable support for GitHub Actions CI to do PR build and test runs. Once stable, we can deprecate Azure Pipelines PR builds. The only regression right now is that test results are not collected in a nice view like AP has. But I think that view is not widely

[issue39041] Support GitHub Actions in CI

2019-12-16 Thread Steve Dower
Steve Dower added the comment: New changeset a76ba362c4d86adf5e7f8254398135d12d7afd25 by Steve Dower in branch 'master': bpo-39041: Add GitHub Actions support (GH-17594) https://github.com/python/cpython/commit/a76ba362c4d86adf5e7f8254398135

[issue39041] Support GitHub Actions in CI

2019-12-16 Thread Steve Dower
Steve Dower added the comment: Have merged the core support. Now that checks are enabled, any updates to the workflow files can be tested in PRs, so that will be much easier. Other things to do: * badges * disable Azure Pipelines for PR builds * ...? What have I missed

[issue39041] Support GitHub Actions in CI

2019-12-16 Thread Steve Dower
Change by Steve Dower : -- keywords: +patch pull_requests: +17097 pull_request: https://github.com/python/cpython/pull/17628 ___ Python tracker <https://bugs.python.org/issue39

[issue39059] Getting incorrect results in rounding procedures

2019-12-16 Thread Steve Dower
Change by Steve Dower : -- nosy: -steve.dower ___ Python tracker <https://bugs.python.org/issue39059> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue39041] Support GitHub Actions in CI

2019-12-16 Thread Steve Dower
Steve Dower added the comment: New changeset 6a263cf1adfc18cdba65c788dd76d35997a89acf by Steve Dower in branch 'master': bpo-39041: Add GitHub Actions badge to README.rst (GH-17628) https://github.com/python/cpython/commit/6a263cf1adfc18cdba65c788dd76d3

[issue39070] Uninstalling 3.8.0 fails but it says it succeeds..

2019-12-17 Thread Steve Dower
Steve Dower added the comment: Hi tuijatuulia In your %TEMP% directory there should be a few sets of log files for Python. Would you be able to zip them up and attach them to this issue? That will help us figure out what hasn't worked fo

[issue36500] Add "regen-*" equivalent projects for Windows builds

2019-12-17 Thread Steve Dower
Steve Dower added the comment: New changeset 9e36589d49c1d6b06c0239fa69e8274d7e89e375 by Steve Dower (Anthony Shaw) in branch 'master': bpo-36500: Add --regen option to PCbuild/build.bat so Windows users can regen grammar, opcodes, tokens and symbols (GH-12654) https://github.

[issue36500] Add "regen-*" equivalent projects for Windows builds

2019-12-17 Thread Steve Dower
Change by Steve Dower : -- pull_requests: +17112 pull_request: https://github.com/python/cpython/pull/17644 ___ Python tracker <https://bugs.python.org/issue36

[issue36500] Add "regen-*" equivalent projects for Windows builds

2019-12-17 Thread Steve Dower
Steve Dower added the comment: Adding just a couple of minor touch-ups in PR 17644, but otherwise thanks Anthony! -- ___ Python tracker <https://bugs.python.org/issue36

[issue36500] Add "regen-*" equivalent projects for Windows builds

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

[issue36500] Add "regen-*" equivalent projects for Windows builds

2019-12-17 Thread Steve Dower
Steve Dower added the comment: New changeset a9d0a6a1b932752873e04714c5dda707729078e4 by Steve Dower in branch 'master': bpo-36500: Simplify PCbuild/build.bat and prevent path separator changing in comments (GH-17644) https://github.com/python/cpyt

[issue39070] Uninstalling 3.8.0 fails but it says it succeeds..

2019-12-18 Thread Steve Dower
Steve Dower added the comment: It will be in your user TEMP directory: C:\Users\\AppData\Local\Temp (or just type "%TEMP%" into the File Explorer address bar and it will take you there) They should all start with "Python" and end with ".log" (or be marked as te

[issue39070] Uninstalling 3.8.0 fails but it says it succeeds..

2019-12-19 Thread Steve Dower
Steve Dower added the comment: The only issue I see in that log is an apparent failure communicating between the unelevated and the elevated components of the uninstaller. But that doesn't seem to have interfered with the rest of the process, so I'm at a bit of a loss. Possi

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

2020-01-03 Thread Steve Dower
Steve Dower added the comment: > It looks like there has been a regression in the fix for this issue. You're right. Care to create a pull request to fix it? -- ___ Python tracker <https://bugs.python.org

[issue39184] Many command execution functions are not raising auditing events

2020-01-03 Thread Steve Dower
Steve Dower added the comment: Agreed, we should add events for all of these. They can go into the next 3.8 release. Ideally, the lowest level operations (typically os module) should raise events. Where it's convenient to also audit operations at a higher level (shutil, subprocess

[issue39182] sys.addaudithook(hook) loops indefinitely on mismatch for hook

2020-01-03 Thread Steve Dower
Steve Dower added the comment: I think this is specific to the interactive prompt. Under normal circumstances, any error in calling the hook at the point where an event is being audited (which is immediate when using interactive mode) needs to propagate. Probably the best way to handle it

[issue39182] sys.addaudithook(hook) loops indefinitely on mismatch for hook

2020-01-04 Thread Steve Dower
Steve Dower added the comment: Right, IDLE doesn't call exec/compile until _after_ the code is submitted, while the regular prompt calls it first and passes stdin as the source file (which then does a buffered read). The loop occurs because the next action after an invalid input is to

[issue38597] C Extension import limit

2020-01-05 Thread Steve Dower
Steve Dower added the comment: I haven't looked into _why_ yet, but the first PYD I grabbed from the GitHub link above has had the CRT statically linked. This is not the default (or it should not be), because when we made it the default this exact issue occurred :) If somehow the de

[issue39041] Support GitHub Actions in CI

2020-01-06 Thread Steve Dower
Steve Dower added the comment: New changeset acf5e5f3f42a3d2985499df82331705edbe717be by Steve Dower (Miss Islington (bot)) in branch '3.7': bpo-39041: Add GitHub Actions support (GH-17594) https://github.com/python/cpython/commit/acf5e5f3f42a3d2985499df8233170

[issue39041] Support GitHub Actions in CI

2020-01-06 Thread Steve Dower
Steve Dower added the comment: New changeset 0048833e1308d39dc9c6489da7872ade0f14486f by Steve Dower (Miss Islington (bot)) in branch '3.8': bpo-39041: Add GitHub Actions support (GH-17594) https://github.com/python/cpython/commit/0048833e1308d39dc9c6489da7872a

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

2020-01-06 Thread Steve Dower
Steve Dower added the comment: New changeset 7b79dc9200a19ecbac667111dffd58e314be02a8 by Steve Dower (Anthony Wee) in branch 'master': bpo-29778: Fix incorrect NULL check in _PyPathConfig_InitDLLPath() (GH-17818) https://github.com/python/cpyt

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

2020-01-06 Thread Steve Dower
Steve Dower added the comment: Thanks, Anthony! And congratulations on becoming a CPython contributor! -- ___ Python tracker <https://bugs.python.org/issue29

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

2020-01-06 Thread Steve Dower
Change by Steve Dower : -- versions: +Python 3.9 ___ Python tracker <https://bugs.python.org/issue29778> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue39041] Support GitHub Actions in CI

2020-01-06 Thread Steve Dower
Change by Steve Dower : -- pull_requests: +17289 pull_request: https://github.com/python/cpython/pull/17873 ___ Python tracker <https://bugs.python.org/issue39

[issue25172] Unix-only crypt should not be present on Windows.

2020-01-06 Thread Steve Dower
Steve Dower added the comment: I started creating an example of improving the skip cases, and ended up just making a PR. It should: * expect a helpful error on Windows * work fine on other platforms with crypt * skip all tests on other platforms without crypt

[issue25172] Unix-only crypt should not be present on Windows.

2020-01-06 Thread Steve Dower
Change by Steve Dower : -- pull_requests: +17297 stage: needs patch -> patch review pull_request: https://github.com/python/cpython/pull/17881 ___ Python tracker <https://bugs.python.org/issu

[issue39243] CDLL __init__ no longer supports name being passed as None when the handle is not None

2020-01-07 Thread Steve Dower
Change by Steve Dower : -- keywords: +easy, newcomer friendly ___ Python tracker <https://bugs.python.org/issue39243> ___ ___ Python-bugs-list mailing list Unsub

[issue39243] CDLL __init__ no longer supports name being passed as None when the handle is not None

2020-01-07 Thread Steve Dower
Steve Dower added the comment: Good catch. We should probably make the line 351 check "if name and ('/' in name ..." like the others in the same function. -- keywords: +3.8regression ___ Python tracker <https://bug

[issue39243] CDLL __init__ no longer supports name being passed as None when the handle is not None

2020-01-07 Thread Steve Dower
Steve Dower added the comment: In that case, we should refactor the init method to check whether handle has been specified earlier, so that it's obvious that the two conditional blocks are never executed in that case. -- ___ Python tr

[issue39251] outdated windows store links in WindowsApps folder

2020-01-07 Thread Steve Dower
Steve Dower added the comment: These links are controlled by Microsoft, and not by us. (Though just to make things confusing, I am the person at Microsoft who can get them updated.) We've been waiting for the ecosystem to be ready. Too many packages have been failing to install on P

[issue39253] Running the test suite with --junit-xml and -R incorrectly reports refleaks

2020-01-08 Thread Steve Dower
Steve Dower added the comment: We can stop using --junit-xml if we want. GitHub Actions doesn't support displaying test results anyway, so once Azure Pipelines is switched off we'll just be reading the console all the time anyway (unless Buildbot has a way of rendering test resu

[issue39243] CDLL __init__ no longer supports name being passed as None when the handle is not None

2020-01-08 Thread Steve Dower
Steve Dower added the comment: > I think it would be cleaner to split out the platform-specific work into a > separate _load_library method SGTM -- ___ Python tracker <https://bugs.python.org/i

[issue39253] Running the test suite with --junit-xml and -R incorrectly reports refleaks

2020-01-08 Thread Steve Dower
Steve Dower added the comment: My guess would be that the reference tracking needs some kind of awareness for logging results. The results are collected as regular Python objects and formatted later, as we need to calculate totals before writing the XML file. I guess keeping those objects

[issue39255] Windows and Unix run-time differences

2020-01-08 Thread Steve Dower
Steve Dower added the comment: Agreed it's not a bug. The best we could do is display a warning that fork is not portable (won't work on macOS anymore either, IIRC) and you should at least verify that spawn behaves the same. --

[issue35292] Make SimpleHTTPRequestHandler load mimetypes lazily

2020-01-08 Thread Steve Dower
Steve Dower added the comment: New changeset 5907e61a8d4da6d0f11bf1062d6d17484560a15e by Steve Dower (An Long) in branch 'master': bpo-35292: Avoid calling mimetypes.init when http.server is imported (GH-17822) https://github.com/python/cpython/commit/5907e61a8d4da6d0f11bf1062d6d17

[issue35292] Make SimpleHTTPRequestHandler load mimetypes lazily

2020-01-08 Thread Steve Dower
Steve Dower added the comment: Thanks for the patch! -- resolution: -> fixed stage: patch review -> resolved status: open -> closed versions: +Python 3.9 -Python 3.8 ___ Python tracker <https://bugs.python.or

[issue39251] outdated windows store links in WindowsApps folder

2020-01-08 Thread Steve Dower
Steve Dower added the comment: For reference, I'm going to wait for protobuf, simplejson and Tornado to provide Python 3.8 wheels before switching the default version. Ideally I'd like markupsafe to have wheels as well, but they have a fallback so it's okay. Everything else

[issue39263] Windows Installer can't select TargetDir in UI?

2020-01-08 Thread Steve Dower
Steve Dower added the comment: You could have chosen the "Customize installation" button (see the screenshot at https://docs.python.org/3.8/using/windows.html#installation-steps). The description says "Choose location and features". -- __

[issue39263] Windows Installer can't select TargetDir in UI?

2020-01-08 Thread Steve Dower
Steve Dower added the comment: You may have already had a previous install that was being upgraded. In that case, you should uninstall the old one and then install it to a new location (or else you may end up with some subtle corruption

[issue25172] Unix-only crypt should not be present on Windows.

2020-01-09 Thread Steve Dower
Steve Dower added the comment: New changeset ed367815eeb9329c48a86a8a7fa3186e27a10f2c by Steve Dower in branch 'master': bpo-25172: Reduce scope of crypt import tests (GH-17881) https://github.com/python/cpython/commit/ed367815eeb9329c48a86a8a7fa318

[issue25172] Unix-only crypt should not be present on Windows.

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

[issue34311] locale.format() and locale.format_string() cast Decimals to float

2020-01-11 Thread Steve Holden
Steve Holden added the comment: Verified. Methododology: 1. Copied test_localise.py from the PR into a master checkout. 2. Added a null locale.localize. 3. Verified that all new tests failed. .. code-block:: Ran 64 tests in 0.023s FAILED (errors=4, skipped=4) (base) blockhead:cpython

[issue39296] Windows register keys

2020-01-11 Thread Steve Dower
Steve Dower added the comment: Have you read PEP 514? Does that help? If not, can you provide specific suggestions in terms of that standard to help us understand what you are suggesting? -- ___ Python tracker <https://bugs.python.org/issue39

[issue39296] Windows register keys

2020-01-13 Thread Steve Dower
Steve Dower added the comment: You should read the version number from the Version or SysVersion values, rather than from the tag. Having -32 in the key name is a compatibility requirement. Without it, if you installed 32-bit and 64-bit versions for the current user (which is now the

[issue39293] Windows 10 64-bit needs reboot

2020-01-13 Thread Steve Dower
Steve Dower added the comment: Can you show some of these errors? Certainly any existing console windows (cmd/PowerShell) will not have their PATH variables updated - that's by design - but there should not be anything else in Python 3.8 that requires a r

[issue39312] Expose placeholder reparse points in Windows

2020-01-14 Thread Steve Dower
Steve Dower added the comment: Given the minimum version requirement, I'd rather this support go into a third-party library. (Seems like a great candidate for a context manager, too.) Recalling our debates about symlinks, I'd have to say that nothing about placeholder files qual

[issue39344] Getting error while importing ssl " import _ssl # if we can't import it, let the error propagate ImportError: DLL load failed while importing _ssl: The specified module could not be found

2020-01-15 Thread Steve Dower
Steve Dower added the comment: More precisely, make sure the libcrypto-1_1.dll and libssl-1_1.dll files are in the same directory as your _ssl.pyd, but _not_ inside your Python38.zip file (zip import does not support native modules, they have to be outside of the zip

[issue39412] Install launcher for all users

2020-01-22 Thread Steve Dower
Change by Steve Dower : -- resolution: -> not a bug stage: -> resolved status: open -> closed ___ Python tracker <https://bugs.python.org/issue39412> ___ ___

[issue39412] Install launcher for all users

2020-01-22 Thread Steve Dower
Steve Dower added the comment: It's also a little bit historical - there was no way to *remove* the Python 3.4 launcher (always in C:\Windows), and it wasn't going to find many 3.5 installs, so we stomp on it. At this stage, it's potentially safe to turn it into a per-

[issue39401] Unsafe dll loading in getpathp.c on Win7

2020-01-22 Thread Steve Dower
Steve Dower added the comment: Agreed, we can just search System32 for this. Thanks for doing the patch! For future reference, and for anyone else reading this, we generally prefer unavoidable DLL hijacking bugs to come to the Python Security Response Team first (secur...@python.org

[issue39450] unittest TestCase shortDescription does not strip whitespace

2020-01-24 Thread Steve C
New submission from Steve C : When running unit tests with the --verbose flag test descriptions are run using the first line of the test case's docstring. If the first character of the docstring is a newline, no description is printed. Examples: Current code expects docstrings to look

[issue39450] unittest TestCase shortDescription does not strip whitespace

2020-01-24 Thread Steve C
Change by Steve C : -- keywords: +patch pull_requests: +17559 stage: -> patch review pull_request: https://github.com/python/cpython/pull/18175 ___ Python tracker <https://bugs.python.org/issu

[issue38883] Path.home() should ignore HOME env var like os.path.expanduser()

2020-01-28 Thread Steve Dower
Steve Dower added the comment: New changeset c45a2aa9e255b5c7c211faa79f6b23895b64ab27 by Steve Dower (Christoph Reiter) in branch 'master': bpo-38883: Don't use POSIX `$HOME` in `pathlib.Path.home/expanduser` on Windows (GH-17961) https://github.com/python

[issue36264] os.path.expanduser should not use HOME on windows

2020-01-28 Thread Steve Dower
Steve Dower added the comment: New changeset c45a2aa9e255b5c7c211faa79f6b23895b64ab27 by Steve Dower (Christoph Reiter) in branch 'master': bpo-38883: Don't use POSIX `$HOME` in `pathlib.Path.home/expanduser` on Windows (GH-17961) https://github.com/python

<    10   11   12   13   14   15   16   17   18   19   >