[issue35596] Fatal Python error: initfsencoding: unable to load the file system codec zipimport.ZipImportError: can't find module 'encodings'

2019-01-07 Thread Steve Dower
Change by Steve Dower : -- pull_requests: +10953, 10954, 10955 stage: test needed -> patch review ___ Python tracker <https://bugs.python.org/issue35596> ___ _

[issue35374] Windows doc build does not find autodetected hhc.exe

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

[issue35683] Enable manylinux1 builds on Pipelines

2019-01-07 Thread Steve Dower
New submission from Steve Dower : Azure Pipelines can now support container jobs: https://docs.microsoft.com/en-us/azure/devops/pipelines/process/container-phases?view=vsts&tabs=yaml I experimented with enabling a manylinux1 build a while back, which should now be able to use identical s

[issue35596] Fatal Python error: initfsencoding: unable to load the file system codec zipimport.ZipImportError: can't find module 'encodings'

2019-01-08 Thread Steve Dower
Steve Dower added the comment: New changeset 872bd2b57ce8e4ea7a54acb3934222c0e4e7276b by Steve Dower in branch 'master': bpo-35596: Use unchecked PYCs for the embeddable distro to avoid zipimport restrictions (GH-11465) https://github.com/python/cpyt

[issue35596] Fatal Python error: initfsencoding: unable to load the file system codec zipimport.ZipImportError: can't find module 'encodings'

2019-01-08 Thread Steve Dower
Steve Dower added the comment: This is now resolved, and only through modifying the build scripts. Which means I can take the existing build and republish a fixed embeddable package without needing a new release. Unless Ned would prefer a complete release

[issue35596] Fatal Python error: initfsencoding: unable to load the file system codec zipimport.ZipImportError: can't find module 'encodings'

2019-01-08 Thread Steve Dower
Steve Dower added the comment: I know how to purge the CDN cache, so that's not an issue. And there's no good reason to leave the old one up. Perhaps we can just add a note to the download page and I'll post on a couple of lists? This is basically a product recall, and th

[issue35596] Fatal Python error: initfsencoding: unable to load the file system codec zipimport.ZipImportError: can't find module 'encodings'

2019-01-08 Thread Steve Dower
Steve Dower added the comment: I can add a .post1 into the version number in the zip file? Still want to take the old one down though, and if anyone is using any sort of script to get this file then it'll be just as annoying for the link to be broken as getting a broken dow

[issue35596] Fatal Python error: initfsencoding: unable to load the file system codec zipimport.ZipImportError: can't find module 'encodings'

2019-01-08 Thread Steve Dower
Steve Dower added the comment: I can add ".post1" to the version number in the file name, but I'd still want to take down the broken one. And anyone who's generating the download URL will get a broken link, which IMO is just as bad as a broken download w

[issue35687] The unittest module diff is missing/forgetting/not putting newline before + and ? for some inputs

2019-01-08 Thread Steve Dower
Steve Dower added the comment: This doesn't appear to be Windows-specific or related to our test suite, so I updated the tags and added the unittest experts. -- nosy: +ezio.melotti, michael.foord, rbcollins ___ Python tracker &

[issue35687] The unittest module diff is missing/forgetting/not putting newline before + and ? for some inputs

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

[issue35596] Fatal Python error: initfsencoding: unable to load the file system codec zipimport.ZipImportError: can't find module 'encodings'

2019-01-08 Thread Steve Dower
Steve Dower added the comment: Agreed. My plan is to just replace the precompiled ZIP file of the standard library in the embeddable package with one with PYCs missing the "check source" bit that the old zipimport rejects. It's as simple as a 1 line change in a supporti

[issue35596] Fatal Python error: initfsencoding: unable to load the file system codec zipimport.ZipImportError: can't find module 'encodings'

2019-01-08 Thread Steve Dower
Steve Dower added the comment: I've updated the files and sent Ned the info needed to confirm and update the download page. -- ___ Python tracker <https://bugs.python.org/is

[issue35699] distutils cannot find Build Tools 2017 since 3.7.2

2019-01-09 Thread Steve Dower
Steve Dower added the comment: Excellent catch! Are you interested in creating a PR? Also, I don't recall whether we are handling multiple installs or not, but if we are not I would rather explicitly list the products that may include compilers than using "*" (since there

[issue35661] Store the venv prompt in pyvenv.cfg

2019-01-09 Thread Steve Dower
Steve Dower added the comment: Adding my comment from the PR review: Dealing with leading/trailing whitespace could get interesting here. All the other values can be trimmed at both ends, while this one (currently) must have one space removed from the start. Perhaps we should insert the

[issue35593] Register standard browser: Chrome

2019-01-09 Thread Steve Dower
Steve Dower added the comment: The patch won't work on my machine - "chrome[.exe]" is not on my PATH: >>> import shutil >>> shutil.which("chrome") >>> import webbrowser >>> webbrowser.register("chrome", N

[issue35593] Register standard browser: Chrome

2019-01-09 Thread Steve Dower
Steve Dower added the comment: The "8232_1.patch" patch on #8232 implements a registry-based lookup (including for Chrome) that will be far more reliable than the current process's environment. So it's not a direct duplicate, but the proposed fix will resolve

[issue34855] batch file variables

2019-01-09 Thread Steve Dower
Steve Dower added the comment: New changeset 6aedfa6b9ac324587f64133c23757a66a8f355bb by Steve Dower (antektek) in branch 'master': bpo-34855: Fix EXTERNALS_DIR build variable for Windows (GH-11177) https://github.com/python/cpython/commit/6aedfa6b9ac324587f64133c23757a

[issue35683] Enable manylinux1 builds on Pipelines for CI testing

2019-01-09 Thread Steve Dower
Change by Steve Dower : -- keywords: +patch pull_requests: +11010 stage: -> patch review ___ Python tracker <https://bugs.python.org/issue35683> ___ ___ Py

[issue35683] Enable manylinux1 builds on Pipelines for CI testing

2019-01-09 Thread Steve Dower
Change by Steve Dower : -- keywords: +patch, patch pull_requests: +11010, 11011 stage: -> patch review ___ Python tracker <https://bugs.python.org/issu

[issue35683] Enable manylinux1 builds on Pipelines for CI testing

2019-01-09 Thread Steve Dower
Change by Steve Dower : -- keywords: +patch, patch, patch pull_requests: +11010, 11011, 11012 stage: -> patch review ___ Python tracker <https://bugs.python.org/issu

[issue35693] test_httpservers fails

2019-01-09 Thread Steve Dower
Steve Dower added the comment: The tests mostly fail in the PGO run because they are highly sensitive to the source tree layout. We've never fixed them because they aren't that important to the PGO run - failure cases help with training - and the real tests pass fine under

[issue34855] batch file variables

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

[issue35661] Store the venv prompt in pyvenv.cfg

2019-01-10 Thread Steve Dower
Steve Dower added the comment: Your tests actually went the other way. This one puts a trailing space after the prompt and expected it to be there in the file, but also ensured that exactly one space was added at the start. self.assertEqual(context.prompt, '(My p

[issue35693] test_httpservers fails

2019-01-10 Thread Steve Dower
Steve Dower added the comment: Defining new training sets for PGO would be a new job (that you could volunteer to do if you like). The test suite is convenient because when you clone our GitHub repository, it's already there. Another training suite would have to be installed somehow as

[issue35693] test_httpservers fails

2019-01-10 Thread Steve Dower
Steve Dower added the comment: > It is true that I worry about failing tests during PGO training because they > stop me from compiling Python -with- PGO. They shouldn't prevent you from compiling with PGO... even if they cause Python to crash, you should be able to compile still

[issue35661] Store the venv prompt in pyvenv.cfg

2019-01-15 Thread Steve Dower
Steve Dower added the comment: One other aspect of this may be the confusion that ensues when changing the setting doesn't change the prompt when you activate it. It would be possible (though not necessarily trivial) to update the activate scripts to read the prompt from the file, tho

[issue35739] Enable verbose of tests during PGO build on amd64 platforms

2019-01-15 Thread Steve Dower
Steve Dower added the comment: You can provide this new default as a command line option when invoking the script (--pgo-job, IIRC), which should satisfy the occasional need to do this. I would rather keep the default quieter so that the build does not take as long (though I guess there is

[issue35688] "pip install --user numpy" fails on Python from the Windows Store

2019-01-15 Thread Steve Dower
Steve Dower added the comment: I posted on the numpy thread: Most likely the DLL is failing to load, which the importer returns as "not found" (as it falls back on other search mechanisms and doesn't retain the error). I suggested loading it directly with ctypes to see if t

[issue35692] pathlib.Path.exists() on non-existent drive raises WinError instead of returning False

2019-01-15 Thread Steve Dower
Steve Dower added the comment: In issue 22759 there was some logic applied for which errors to forward rather than hide. I'm inclined to agree that this one should be hidden, but it may have to be done by checking the winerror field rather than the exception type, since

[issue35662] Windows #define _PY_EMULATED_WIN_CV 0 bug

2019-01-15 Thread Steve Dower
Steve Dower added the comment: It's broken, but unused. And the entire section needs fixing before it can be used, which necessitates fixing this function. So issue 29871 covers this sufficiently (though I'll post a link back to this one for the added context on this partic

[issue29871] Enable optimized locks on Windows

2019-01-15 Thread Steve Dower
Steve Dower added the comment: On issue 35562 Jeff posted a deeper analysis of the issue in TIMEDWAIT. That will need fixing along with the other regressions before we can enable these. -- nosy: +je...@livedata.com ___ Python tracker <ht

[issue29515] socket module missing IPPROTO_IPV6, IPPROTO_IPV4 on Windows

2019-01-15 Thread Steve Dower
Steve Dower added the comment: No progress, but I like the extra defines idea best (directly in socketmodule.c, not in a public header file). That's the easiest way to close the gap between (apparently) real constants used on Windows and the preprocessor defines (apparently) used else

[issue35306] OSError [WinError 123] when testing if pathlib.Path('*') (asterisks) exists

2019-01-15 Thread Steve Dower
Steve Dower added the comment: Pathlib doesn't necessarily directly follow os on its error handling - adding Antoine for comment. Passing strict=False to resolve() should be able to handle an invalid name like that. If not, I propose that we change it so that it does. --

[issue35688] "pip install --user numpy" fails on Python from the Windows Store

2019-01-15 Thread Steve Dower
Steve Dower added the comment: > use AddDllDirectory, (which is as accessable as os.environ['PATH'] but is not > considered a security risk so far) The parenthical is incorrect. The user-specified DLL search directory is separate from PATH, and both appear in the default

[issue35683] Enable manylinux1 builds on Pipelines for CI testing

2019-01-17 Thread Steve Dower
Steve Dower added the comment: I have made the changes I suggested (though correctly...), but ultimately we need to create our own Docker image suitable for running these tests. So for now, I'm proposing in my PR to make most of the change, as well as a few other Pipelines/test-re

[issue35699] distutils cannot find Build Tools 2017 since 3.7.2

2019-01-19 Thread Steve Dower
Steve Dower added the comment: Reminder to myself (or permission for anyone else) to merge this. My phone won't let me actually click the github merge button, unfortunately, but this seems good to go. -- ___ Python tracker &

[issue35699] distutils cannot find Build Tools 2017 since 3.7.2

2019-01-21 Thread Steve Dower
Steve Dower added the comment: There is one buildbot (https://buildbot.python.org/all/#builders/40/builds/1524) that started randomly failing unrelated tests with this change - usually one of zipapp, pkgutil, or zipimport. I don't have any idea what the relationship here is, unles

[issue35797] concurrent.futures.ProcessPoolExecutor does not work in venv on Windows

2019-01-21 Thread Steve Dower
Steve Dower added the comment: Good catch! I'm surprised we don't have any tests for this, but I guess we don't really create any virtual environments in our test suite. A shame nobody hit it during RC. I don't actually know the best fix for this. The venv python.exe sc

[issue35797] concurrent.futures.ProcessPoolExecutor does not work in venv on Windows

2019-01-21 Thread Steve Dower
Steve Dower added the comment: You can't create symlinks on Windows without additional user permissions, and the old method of copying most of the binaries was slow and made DLL hell worse, as well as simply not working with the Windows Store model that does not let random executables

[issue35797] concurrent.futures.ProcessPoolExecutor does not work in venv on Windows

2019-01-21 Thread Steve Dower
Steve Dower added the comment: > We need a way to allow multiprocessing to spawn the real python.exe instead > of the launcher executable that's set as sys.executable. Got to a computer and had just reached the same conclusion. Given the environment is inherited, it&#

[issue35797] concurrent.futures.ProcessPoolExecutor does not work in venv on Windows

2019-01-21 Thread Steve Dower
Steve Dower added the comment: The first idea makes sense, but because of how we've already architected things (and the direction we're trying to rearchitect things) it isn't really that feasible. The second idea could be good. It isn't that hard to make globally named

[issue35797] concurrent.futures.ProcessPoolExecutor does not work in venv on Windows

2019-01-21 Thread Steve Dower
Steve Dower added the comment: > So I think "breaking if environment variables are not inherited" is a less > severe failure mode than this issue is. ISTR that having sys.executable point to a path outside of sys.prefix breaks the site module in some way, so that would m

[issue35797] concurrent.futures.ProcessPoolExecutor does not work in venv on Windows

2019-01-21 Thread Steve Dower
Steve Dower added the comment: > I would prefer a -X command-line option, such as "VIRTUAL_ENV". > multiprocessing could propagate this option to worker processes. Right, so would I, but it needs to be propagated basically everywhere (unless "everywhere" all defe

[issue35804] v3.6.8 _ctypes win32 compiled with pgo crash

2019-01-22 Thread Steve Dower
Steve Dower added the comment: We already compile 32-bit CPython without PGO on Windows, so I don't think there's anything to do here apart from record the issue. It's very likely that 3.8 will finally get an updated libffi, which should deal with this completely (or f

[issue35683] Enable manylinux1 builds on Pipelines for CI testing

2019-01-22 Thread Steve Dower
Steve Dower added the comment: New changeset 28f6cb34f602b9796987904a607dceaf2e4a9e78 by Steve Dower in branch 'master': bpo-35683: Improve Azure Pipelines steps (GH-11493) https://github.com/python/cpython/commit/28f6cb34f602b9796987904a607dce

[issue35683] Enable manylinux1 builds on Pipelines for CI testing

2019-01-22 Thread Steve Dower
Change by Steve Dower : -- pull_requests: +11438 ___ Python tracker <https://bugs.python.org/issue35683> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue35683] Enable manylinux1 builds on Pipelines for CI testing

2019-01-22 Thread Steve Dower
Change by Steve Dower : -- pull_requests: +11438, 11439 ___ Python tracker <https://bugs.python.org/issue35683> ___ ___ Python-bugs-list mailing list Unsub

[issue35683] Enable manylinux1 builds on Pipelines for CI testing

2019-01-22 Thread Steve Dower
Change by Steve Dower : -- pull_requests: +11438, 11439, 11440 ___ Python tracker <https://bugs.python.org/issue35683> ___ ___ Python-bugs-list mailing list Unsub

[issue35804] v3.6.8 _ctypes win32 compiled with pgo crash

2019-01-22 Thread Steve Dower
Change by Steve Dower : -- resolution: -> out of date stage: -> resolved status: open -> closed ___ Python tracker <https://bugs.python.org/issue35804> ___ ___

[issue35795] test_pkgutil test_zipapp fail in AMD64 Windows7 SP1 3.x and AMD64 Windows7 SP1 3.7 buildbots

2019-01-22 Thread Steve Dower
Steve Dower added the comment: I recently added (and even more recently fixed) the "--tempdir" option for libregrtest, so that can be used to specify a temporary location for *most* tests. Some still ignore that setting (notably distutils), but it's a starting point. I a

[issue35683] Enable manylinux1 builds on Pipelines for CI testing

2019-01-22 Thread Steve Dower
Steve Dower added the comment: New changeset 128efcade63480b5860a6d045a41ba4abf5eea2f by Steve Dower in branch '3.7': bpo-35683: Improve Azure Pipelines steps (GH-11493) https://github.com/python/cpython/commit/128efcade63480b5860a6d045a41ba

[issue35683] Enable manylinux1 builds on Pipelines for CI testing

2019-01-22 Thread Steve Dower
Steve Dower added the comment: As mentioned above, those changes are other improvements that were worth taking, and about half of the required manylinux1 changes. But we probably need to maintain our own manylinux image for building/running CPython tests, if we want to do it. The existing

[issue35797] concurrent.futures.ProcessPoolExecutor does not work in venv on Windows

2019-01-22 Thread Steve Dower
Steve Dower added the comment: > How about making the py[w].exe launcher unset __PYVENV_LAUNCHER__ whenever it > runs a registered version explicitly? I think this is a good idea, though it can be unset unconditionally. If we're in a virtual environment, then it will run the i

[issue35811] py.exe should unset the __PYVENV_LAUNCHER__ environment variable

2019-01-23 Thread Steve Dower
Steve Dower added the comment: FWIW, a symlink should be able to launch the Store Python - the problem with the old approach was it never tried to launch the original Python, but only load it's DLLs which won't work (maybe there's a way to enable the app context, but t

[issue35811] py.exe should unset the __PYVENV_LAUNCHER__ environment variable

2019-01-24 Thread Steve Dower
Steve Dower added the comment: It might be worth adding a summary of that to the porting notes, but I think the actual impact will be minimal. Launching processes by relative path has been a bad decision for long enough now that I'd expect it to be rare, and the Scripts directory l

[issue35811] py.exe should unset the __PYVENV_LAUNCHER__ environment variable

2019-01-24 Thread Steve Dower
Steve Dower added the comment: I think that snippet may have to change to accommodate the multiprocessing issue, where we need to stop replacing sys.executable with the venv launcher and have it point to the base python.exe (and then anyone launching sys.executable needs to preserve

[issue35797] concurrent.futures.ProcessPoolExecutor does not work in venv on Windows

2019-01-25 Thread Steve Dower
Change by Steve Dower : -- keywords: +patch pull_requests: +11497 stage: test needed -> patch review ___ Python tracker <https://bugs.python.org/issu

[issue35797] concurrent.futures.ProcessPoolExecutor does not work in venv on Windows

2019-01-25 Thread Steve Dower
Change by Steve Dower : -- keywords: +patch, patch pull_requests: +11497, 11498 stage: test needed -> patch review ___ Python tracker <https://bugs.python.org/issu

[issue35797] concurrent.futures.ProcessPoolExecutor does not work in venv on Windows

2019-01-25 Thread Steve Dower
Change by Steve Dower : -- keywords: +patch, patch, patch pull_requests: +11497, 11498, 11499 stage: test needed -> patch review ___ Python tracker <https://bugs.python.org/issu

[issue35811] py.exe should unset the __PYVENV_LAUNCHER__ environment variable

2019-01-25 Thread Steve Dower
Change by Steve Dower : -- keywords: +patch pull_requests: +11500 stage: test needed -> patch review ___ Python tracker <https://bugs.python.org/issu

[issue35811] py.exe should unset the __PYVENV_LAUNCHER__ environment variable

2019-01-25 Thread Steve Dower
Change by Steve Dower : -- keywords: +patch, patch pull_requests: +11500, 11501 stage: test needed -> patch review ___ Python tracker <https://bugs.python.org/issu

[issue35811] py.exe should unset the __PYVENV_LAUNCHER__ environment variable

2019-01-25 Thread Steve Dower
Change by Steve Dower : -- keywords: +patch, patch, patch pull_requests: +11500, 11501, 11502 stage: test needed -> patch review ___ Python tracker <https://bugs.python.org/issu

[issue35811] py.exe should unset the __PYVENV_LAUNCHER__ environment variable

2019-01-25 Thread Steve Dower
Steve Dower added the comment: New changeset adad9e68013aac166c84ffe4e23f3a5464f41840 by Steve Dower in branch 'master': bpo-35811: Avoid propagating venv settings when launching via py.exe (GH-11677) https://github.com/python/cpython/commit/adad9e68013aac166c84ffe4e23f3a

[issue35797] concurrent.futures.ProcessPoolExecutor does not work in venv on Windows

2019-01-25 Thread Steve Dower
Steve Dower added the comment: New changeset 4e02f8f8b4baab63f927cfd87b401200ba2969e9 by Steve Dower in branch 'master': bpo-35797: Fix default executable used by the multiprocessing module (GH-11676) https://github.com/python/cpython/commit/4e02f8f8b4baab63f927cfd87b4012

[issue35797] concurrent.futures.ProcessPoolExecutor does not work in venv on Windows

2019-01-25 Thread Steve Dower
Steve Dower added the comment: I realised while doing the fix that changing sys.executable to point to the "real" python.exe would break scenarios that involve generating scripts. All of those have been relying on sys.executable launching the venv, which would break if we change

[issue35797] concurrent.futures.ProcessPoolExecutor does not work in venv on Windows

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

[issue35811] py.exe should unset the __PYVENV_LAUNCHER__ environment variable

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

[issue35832] Installation error

2019-01-26 Thread Steve Dower
Steve Dower added the comment: You should have a set of log files in your %TEMP% directory. Their names will start with Python and end in .log. If you could collect these into a zip file and post them here, that would be very helpful

[issue35832] Installation error

2019-01-27 Thread Steve Dower
Steve Dower added the comment: Thanks. You should have some more log files - I'm particularly interested in the one with "3.7.2" and "core_JustForMe" in the filename, as that is the one that failed. Also, did you notice that you have 64-bit 3.7.0 and 32-bit 3.7.2?

[issue35854] EnvBuilder and venv symlinks do not work on Windows on 3.7.2

2019-01-29 Thread Steve Dower
New submission from Steve Dower : The change to pull the redirector executables as part of scripts was... perhaps too clever. There exists code out there that uses EnvBuilder to create environments _without_ copying scripts, which now results in an environment that does not include

[issue35854] EnvBuilder and venv symlinks do not work on Windows on 3.7.2

2019-01-29 Thread Steve Dower
Steve Dower added the comment: Actually, it seems like venv symlinks are so far from working that they haven't worked (on Windows) since 3.5 or possibly earlier. I'm just going to make that option ignored and mark it as such i

[issue35854] EnvBuilder and venv symlinks do not work on Windows on 3.7.2

2019-01-29 Thread Steve Dower
Change by Steve Dower : -- keywords: +patch, patch pull_requests: +11548, 11549 stage: -> patch review ___ Python tracker <https://bugs.python.org/issu

[issue35854] EnvBuilder and venv symlinks do not work on Windows on 3.7.2

2019-01-29 Thread Steve Dower
Change by Steve Dower : -- keywords: +patch pull_requests: +11548 stage: -> patch review ___ Python tracker <https://bugs.python.org/issue35854> ___ ___ Py

[issue35854] EnvBuilder and venv symlinks do not work on Windows on 3.7.2

2019-01-29 Thread Steve Dower
Change by Steve Dower : -- keywords: +patch, patch, patch pull_requests: +11548, 11549, 11550 stage: -> patch review ___ Python tracker <https://bugs.python.org/issu

[issue35854] EnvBuilder and venv symlinks do not work on Windows on 3.7.2

2019-01-30 Thread Steve Dower
Steve Dower added the comment: No, removing it was accidental. But when I tried it myself with a few regular installs of 3.5 and later, none of them updated sys.path correctly, and all of them resolved the links in the loader (or perhaps the shell?). I hadn't activated the environment

[issue35854] EnvBuilder and venv symlinks do not work on Windows on 3.7.2

2019-01-30 Thread Steve Dower
Steve Dower added the comment: Okay, testing more thoroughly on 3.5, symlinks are fine from the console but not via Explorer. Personally, I dislike that double-clicking python.exe is different from running it from the command line, but so be it. I'll add a note to the docs that

[issue35854] EnvBuilder and venv symlinks do not work on Windows on 3.7.2

2019-01-30 Thread Steve Dower
Steve Dower added the comment: New changeset a1f9a3332bd4767e47013ea787022f06b6dbcbbd by Steve Dower in branch 'master': bpo-35854: Fix EnvBuilder and --symlinks in venv on Windows (GH-11700) https://github.com/python/cpython/commit/a1f9a3332bd4767e47013ea787022f

[issue32560] [EASY C] inherit the py launcher's STARTUPINFO

2019-02-02 Thread Steve Dower
Steve Dower added the comment: Hi Shiva, sorry for not noticing your PR earlier. I have one question for Eryk, who may be able to answer more easily than I can: do we need to initialize cbSize before calling GetStartupInfoW()? The docs[1] don't seem to suggest it, and I can't l

[issue33895] LoadLibraryExW called with GIL held can cause deadlock

2019-02-02 Thread Steve Dower
Steve Dower added the comment: Sorry for the delay on this. I've approved the PR and restarted the CI systems to make sure it's all okay. I agree that many of these cases no longer have to dynamically load the functions, but that should be fixed separately. -- versions

[issue33316] Windows: PyThread_release_lock always fails

2019-02-02 Thread Steve Dower
Steve Dower added the comment: New changeset 05e922136a3286893bd489a8f2ecfa0dba4da368 by Steve Dower (native-api) in branch 'master': bpo-33316: PyThread_release_lock always fails (GH-6541) https://github.com/python/cpython/commit/05e922136a3286893bd489a8f2ecfa

[issue33316] Windows: PyThread_release_lock always fails

2019-02-02 Thread Steve Dower
Change by Steve Dower : -- stage: patch review -> backport needed versions: -Python 3.6 ___ Python tracker <https://bugs.python.org/issue33316> ___ ___ Py

[issue1104] msilib.SummaryInfo.GetProperty() truncates the string by one character

2019-02-02 Thread Steve Dower
Steve Dower added the comment: I resolved some conflicts and will merge this once CI completes. If the backport to 2.7 isn't automatic then it may wait until someone else comes in to do it. -- assignee: loewis -> steve.dower versions: +Python 3.7, Python 3.8 -Python 3.4, Py

[issue35862] Change the environment for a new process

2019-02-02 Thread Steve Dower
Steve Dower added the comment: Among other things, the version of the C runtime you were using on that old system probably has its own set of bugs that have since been resolved. Thanks for reporting the issue, though! -- resolution: -> fixed stage: patch review -> resolved

[issue1104] msilib.SummaryInfo.GetProperty() truncates the string by one character

2019-02-02 Thread Steve Dower
Steve Dower added the comment: New changeset 2de576e16d42ce43698d384d0dd46ba6cf165424 by Steve Dower (Tzu-ping Chung) in branch 'master': bpo-1104: msilib.SummaryInfo.GetProperty() truncates the string by one character (GH-4517) https://github.com/python/cpyt

[issue1104] msilib.SummaryInfo.GetProperty() truncates the string by one character

2019-02-02 Thread Steve Dower
Steve Dower added the comment: As expected, the 2.7 backport needs more work. Leaving this open for anyone who wants to handle it. I'll happily click merge for you if CI passes. -- stage: patch review -> backport needed ___ Python tracker

[issue33316] Windows: PyThread_release_lock always fails

2019-02-02 Thread Steve Dower
Change by Steve Dower : -- assignee: -> steve.dower resolution: -> fixed stage: backport needed -> resolved status: open -> closed ___ Python tracker <https://bugs.python

[issue33895] LoadLibraryExW called with GIL held can cause deadlock

2019-02-02 Thread Steve Dower
Steve Dower added the comment: New changeset 4860f01ac0f07cdc8fc0cc27c33f5a64e5cfec9f by Steve Dower (Tony Roberts) in branch 'master': bpo-33895: Relase GIL while calling functions that acquire Windows loader lock (GH-7789) https://github.com/python/cpyt

[issue33895] LoadLibraryExW called with GIL held can cause deadlock

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

[issue32560] [EASY C] inherit the py launcher's STARTUPINFO

2019-02-02 Thread Steve Dower
Steve Dower added the comment: Great, thanks. I'll go ahead and merge. -- ___ Python tracker <https://bugs.python.org/issue32560> ___ ___ Python-bugs-list m

[issue32560] [EASY C] inherit the py launcher's STARTUPINFO

2019-02-02 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

[issue29734] os.stat handle leak

2019-02-02 Thread Steve Dower
Steve Dower added the comment: New changeset b82bfac4369c0429e562a834b3752e66c4821eab by Steve Dower (Mark Becwar) in branch 'master': bpo-29734: nt._getfinalpathname handle leak (GH-740) https://github.com/python/cpython/commit/b82bfac4369c0429e562a834b3752e

[issue29734] os.stat handle leak

2019-02-02 Thread Steve Dower
Steve Dower added the comment: We certainly shouldn't be calling CloseHandle on a parameter like this anyway, so the change looks good to me. However, I notice that we don't necessarily preserve GetLastError() throughout here, so perhaps we ought to consider changing the re

[issue29734] os.stat handle leak

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

[issue34691] _contextvars missing in xmaster branch Windows build?

2019-02-02 Thread Steve Dower
Change by Steve Dower : -- keywords: +patch pull_requests: +11654 stage: -> patch review ___ Python tracker <https://bugs.python.org/issue34691> ___ ___ Py

[issue34691] _contextvars missing in xmaster branch Windows build?

2019-02-02 Thread Steve Dower
Change by Steve Dower : -- keywords: +patch, patch pull_requests: +11654, 11655 stage: -> patch review ___ Python tracker <https://bugs.python.org/issu

[issue34691] _contextvars missing in xmaster branch Windows build?

2019-02-02 Thread Steve Dower
Change by Steve Dower : -- keywords: +patch, patch, patch pull_requests: +11654, 11655, 11656 stage: -> patch review ___ Python tracker <https://bugs.python.org/issu

[issue34691] _contextvars missing in xmaster branch Windows build?

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

[issue34691] _contextvars missing in xmaster branch Windows build?

2019-02-02 Thread Steve Dower
Steve Dower added the comment: New changeset 4c70d9f79c9b371990c8e054ccde53f7ff15946b by Steve Dower in branch 'master': bpo-34691: Compile _contextvars module into main Python library (GH-11741) https://github.com/python/cpython/commit/4c70d9f79c9b371990c8e054ccde53

[issue35872] Creating venv from venv no longer works in 3.7.2

2019-02-02 Thread Steve Dower
Steve Dower added the comment: This scenario should work, as running the other venv's redirector will update the variable. The nearly identical report in issue35873 is apparently launching "default" Python, but presumably without clearing the variable. Since I can't tell

[issue35299] LGHT0091: Duplicate symbol 'File:include_pyconfig.h' found

2019-02-02 Thread Steve Dower
Change by Steve Dower : -- keywords: +patch pull_requests: +11664 stage: -> patch review ___ Python tracker <https://bugs.python.org/issue35299> ___ ___ Py

<    26   27   28   29   30   31   32   33   34   35   >