[issue30450] Pull Windows dependencies from GitHub rather than svn.python.org

2017-07-17 Thread Steve Dower
Steve Dower added the comment: The buildbots have already successfully built, so I'm declaring this and issue30916 resolved. -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker <http:

[issue30450] Pull Windows dependencies from GitHub rather than svn.python.org

2017-07-17 Thread Steve Dower
Steve Dower added the comment: > use the preexisting convention of the HOST_PYTHON envvar that was used prior > to the recent merged PRs Is that an actual convention? I didn't see any other references, so I figured Zach had

[issue30450] Pull Windows dependencies from GitHub rather than svn.python.org

2017-07-17 Thread Steve Dower
Steve Dower added the comment: Hmm... looks like there's another way to fail I didn't account for that goes down a different path in the batch file. I'll try being less clever. -- ___ Python tracker <http://bugs.pyt

[issue30450] Pull Windows dependencies from GitHub rather than svn.python.org

2017-07-17 Thread Steve Dower
Changes by Steve Dower : -- pull_requests: +2804 ___ Python tracker <http://bugs.python.org/issue30450> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue30450] Pull Windows dependencies from GitHub rather than svn.python.org

2017-07-17 Thread Steve Dower
Changes by Steve Dower : -- assignee: zach.ware -> steve.dower resolution: fixed -> stage: resolved -> commit review status: closed -> open ___ Python tracker <http://bugs.python

[issue30450] Pull Windows dependencies from GitHub rather than svn.python.org

2017-07-17 Thread Steve Dower
Steve Dower added the comment: Yeouch, it's been causing AppVeyor builds to get stuck, and then they time out after an hour. Luckily mine is up next in a minute or so, so I'll try to merge quickly and avoid anyone else getting held up. I also restored HOST_PYTHON in the PR, as a fa

[issue30450] Pull Windows dependencies from GitHub rather than svn.python.org

2017-07-17 Thread Steve Dower
Steve Dower added the comment: Ah, there's also a nuget.org outage affecting AppVeyor (but not me because I'm in Italy and so connecting to the EU mirror automatically) - https://appveyor.statuspage.io/ When that recovers it should be fine again. The workaround for those without py

[issue30450] Pull Windows dependencies from GitHub rather than svn.python.org

2017-07-18 Thread Steve Dower
Steve Dower added the comment: New changeset 5feda33a35d9413e2073411b848dc49d94c57497 by Steve Dower in branch 'master': bpo-30450: Fix logic for retrying nuget.exe download (#2744) https://github.com/python/cpython/commit/5feda33a35d9413e2073411b848dc4

[issue30540] regrtest: add --matchfile option

2017-07-18 Thread Steve Dower
Changes by Steve Dower : -- pull_requests: +2809 ___ Python tracker <http://bugs.python.org/issue30540> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue30450] Pull Windows dependencies from GitHub rather than svn.python.org

2017-07-18 Thread Steve Dower
Steve Dower added the comment: Zach - did this get backported to 2.7 or 3.5? It doesn't look like it. -- stage: commit review -> backport needed ___ Python tracker <http://bugs.python.org

[issue30450] Pull Windows dependencies from GitHub rather than svn.python.org

2017-07-18 Thread Steve Dower
Changes by Steve Dower : -- pull_requests: +2810 ___ Python tracker <http://bugs.python.org/issue30450> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue30540] regrtest: add --matchfile option

2017-07-18 Thread Steve Dower
Changes by Steve Dower : -- pull_requests: -2809 ___ Python tracker <http://bugs.python.org/issue30540> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue30450] Pull Windows dependencies from GitHub rather than svn.python.org

2017-07-19 Thread Steve Dower
Steve Dower added the comment: New changeset e99d3a52a50b3f836fb9fb88f317aacddd494858 by Steve Dower in branch '3.6': [3.6] bpo-30450: Improved logic for obtaining dependencies (#2751) https://github.com/python/cpython/commit/e99d3a52a50b3f836fb9fb88f317aa

[issue30222] make_zip.py had a bug when setting up full 64 bit distribution.

2017-07-22 Thread Steve Dower
Steve Dower added the comment: I have a separate PR out that fixes this one, just waiting on Zach to review (but since it only touches the more obscure release files, it's rare for anyone but me to have an opinion). The script is supposed to take the build path rather than the archite

[issue30986] Add --include-py argument to Tools/msi/make_zip.py

2017-07-22 Thread Steve Dower
Steve Dower added the comment: The nuget package doesn't suffer from this - why not? Should you have been using the full layout rather than the embedding layout? -- ___ Python tracker <http://bugs.python.org/is

[issue30222] make_zip.py had a bug when setting up full 64 bit distribution.

2017-07-22 Thread Steve Dower
Steve Dower added the comment: That's the PR I meant (on phone today, so navigating gh is out). If you look through history you'll see it's mostly a revert of a revert, at least for that script. -- ___ Python tracker <http

[issue30721] Show expected input for right shift operator usage in custom "print" error message

2017-07-25 Thread Steve Dower
Steve Dower added the comment: The "op_slot == 96" looks suspicious - how is this value actually supposed to be calculated? -- ___ Python tracker <http://bugs.python.o

[issue9566] Compilation warnings under x64 Windows

2017-07-26 Thread Steve Dower
Steve Dower added the comment: New changeset e7bc7aac3d4a7d92aa5913006b0198820882ca59 by Steve Dower (Segev Finer) in branch 'master': bpo-9566: Fix a warning in Python/getargs.c (#2890) https://github.com/python/cpython/commit/e7bc7aac3d4a7d92aa5913006b0198

[issue30916] Pre-build OpenSSL and Tcl/Tk for Windows

2017-07-26 Thread Steve Dower
Changes by Steve Dower : -- pull_requests: -2894 ___ Python tracker <http://bugs.python.org/issue30916> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue30916] Pre-build OpenSSL and Tcl/Tk for Windows

2017-07-26 Thread Steve Dower
Steve Dower added the comment: That buildbot has recovered with other changes, so I'm closing this. -- resolution: -> fixed stage: commit review -> resolved status: open -> closed ___ Python tracker <http://bugs.pyth

[issue9566] Compilation warnings under x64 Windows

2017-07-26 Thread Steve Dower
Steve Dower added the comment: New changeset 679b566622ec811c5e5d580f6a538f7a43006e05 by Steve Dower (Segev Finer) in branch 'master': bpo-9566: Fix some Windows x64 compiler warnings (#2492) https://github.com/python/cpython/commit/679b566622ec811c5e5d580f6a538f

[issue9566] Compilation warnings under x64 Windows

2017-07-26 Thread Steve Dower
Steve Dower added the comment: New changeset 5cff6379797967faabbb834a9eb154c3f0839489 by Steve Dower (Segev Finer) in branch 'master': bpo-9566: Fixed _ssl module warnings (#2495) https://github.com/python/cpython/commit/5cff6379797967faabbb834a9eb154

[issue9566] Compilation warnings under x64 Windows

2017-07-26 Thread Steve Dower
Steve Dower added the comment: New changeset a80e985c493d2ab9df0832c99d9ddb798d2e66cf by Steve Dower (Segev Finer) in branch 'master': bpo-9566: Change HANDLE argument parsing to unsigned in msvcrtmodule.c (#2904) https://github.com/python/cpyt

[issue30222] make_zip.py had a bug when setting up full 64 bit distribution.

2017-07-27 Thread Steve Dower
Changes by Steve Dower : -- resolution: -> not a bug stage: -> resolved status: open -> closed ___ Python tracker <http://bugs.python.org/issue30222> ___ ___

[issue31054] Python 2.7.8 Release does not update the system Path variable

2017-07-28 Thread Steve Dower
Steve Dower added the comment: Correct. This is already in newer installers. -- resolution: -> out of date stage: -> resolved status: open -> closed ___ Python tracker <http://bugs.python.or

[issue31056] Import Module Not Working According To Documentation Python 3.6.2

2017-07-28 Thread Steve Dower
Steve Dower added the comment: The embeddable ZIP is not an "install" - it's a tool for including in your own application. Run the actual installer and try again, or use the package on nuget.org if you need to achieve zero system impact (which it sounds like you don't

[issue31074] Startup failure if executable is a \\?\ path on Windows

2017-07-29 Thread Steve Dower
Steve Dower added the comment: Sounds like the right fix. We should increase the maximum path length though, since 3.6 and later can work with much longer paths on Win10 through normal APIs and without prefix. -- ___ Python tracker <h

[issue31077] Windows Installer Version

2017-07-29 Thread Steve Dower
Steve Dower added the comment: Please file separate bugs for each of your concerns, and ensure Python 3.6/3.7 and 2.7 are separate as these are fundamentally different installers and will have different bugs. Other versions will not be changed at this point. -- resolution

[issue31103] Windows Installer Product Version 3.6.2150.0 Offset By 0.0.150.0

2017-08-02 Thread Steve Dower
Steve Dower added the comment: Can you link to those guidelines please? Microsoft release plenty of software with version numbers over 256. Also, since people already rely on the current scheme, we'd need a very compelling reason to break them. I don't believe you've mad

[issue31103] Windows Installer Product Version 3.6.2150.0 Offset By 0.0.150.0

2017-08-03 Thread Steve Dower
Steve Dower added the comment: There's an existing bug for the registration going to the wrong place. It requires changes to the Wix toolset to resolve. No need to conflate it with this issue. As far as I can tell, the problem here is just the version string displayed in Program

[issue31100] unable to open python on Windows

2017-08-05 Thread Steve Dower
Steve Dower added the comment: This probably means that your system failed to install the C Runtime, but not badly enough that it actually reported an error. First try rebooting, and if that doesn't work then search for the VisualC++ 2015 Redistributable installer and run

[issue31103] Windows Installer Product Version 3.6.2150.0 Offset By 0.0.150.0

2017-08-05 Thread Steve Dower
Steve Dower added the comment: This issue is about A. B has a separate issue. C will not be changed. Please don't bother bringing them up again here, it's just a distraction. -- components: +Installation priority: normal -> low type: behavior -> enhancement versi

[issue31103] Windows Installer Product does not include micro version in display name

2017-08-05 Thread Steve Dower
Changes by Steve Dower : -- title: Windows Installer Product Version 3.6.2150.0 Offset By 0.0.150.0 -> Windows Installer Product does not include micro version in display name ___ Python tracker <http://bugs.python.org/issu

[issue30450] Pull Windows dependencies from GitHub rather than svn.python.org

2017-08-06 Thread Steve Dower
Steve Dower added the comment: The prebuilt binaries have not, and the OpenSSL change has functional implications and should not be (unless someone wants to make the security justification, but right now I think it's a theoretical rather than an actual benefit). The TclTk build could be

[issue31148] Can we get an MSI installer for something past 3.4.4?

2017-08-08 Thread Steve Dower
Steve Dower added the comment: Looking at your log, you clearly have some sort of configuration blocking installers or else corruption somewhere on your system. There really isn't enough information available for me to be able to tell. Perhaps you have a virus scanner running that is blo

[issue31148] Can we get an MSI installer for something past 3.4.4?

2017-08-08 Thread Steve Dower
Changes by Steve Dower : -- type: crash -> behavior ___ Python tracker <http://bugs.python.org/issue31148> ___ ___ Python-bugs-list mailing list Unsubscrib

[issue31148] Can we get an MSI installer for something past 3.4.4?

2017-08-10 Thread Steve Dower
Steve Dower added the comment: Okay, if that's the way you want to go. Be aware that the old MSI code is gone though, so rebuilding it will not be trivial. Though if you do, there are a few people who would find it more convenient, so you may be able to enlist help maintaining it (we d

[issue31172] Py_Main() is totally broken on Visual Studio 2017

2017-08-10 Thread Steve Dower
Steve Dower added the comment: Your final file layout needs to match any of our standard ones. On my phone now so I'm not going to write them all out (will do it later if you need), but you need to put your .exe in the same location as the python.exe for the runtime you're using (o

[issue31143] lib2to3 requires source files for fixes

2017-08-10 Thread Steve Dower
Steve Dower added the comment: It also breaks .zip file distribution, which I'm fairly sure we do explicitly support by virtue of having "python36.zip" in sys.path by default. And the ".pyc-only in a zip file" distribution is *totally* busted :) (and also offici

[issue31148] Can we get an MSI installer for something past 3.4.4?

2017-08-10 Thread Steve Dower
Steve Dower added the comment: > when we changed installers was that when we also fixed the > security/permissions problems with the install dir Yes, but the permissions issue here isn't the install directory - it is probably the TEMP directory or some other system restriction. It&

[issue31143] lib2to3 requires source files for fixes

2017-08-11 Thread Steve Dower
Steve Dower added the comment: Perhaps the more important question is whether 2to3 really needs to dynamically generate a list of fixers or if that should have been stopped due to YAGNI. There are only a few modules in the stdlib, and it doesn't seem to support proper namespace package

[issue31148] Can we get an MSI installer for something past 3.4.4?

2017-08-14 Thread Steve Dower
Steve Dower added the comment: The general requirements of an installer are: * runs without any preinstalled prerequisites * does not install anything permanent until the user says so (Visual Studio breaks this rule :( ) * installs all required prerequisites * install on all supported operating

[issue25144] 3.5 Win install fails with "TARGETDIR"

2017-08-15 Thread Steve Dower
Steve Dower added the comment: Yu Zhigang - can you post your install logs from the failed install? You'll notice in my last message I said that I added some extra logging. However, it sounds like you have a certain system option set that essentially breaks paths passed between non-admi

[issue30747] _Py_atomic_* not actually atomic on Windows with MSVC

2017-08-15 Thread Steve Dower
Steve Dower added the comment: This commit added *a lot* of warnings - http://buildbot.python.org/all/builders/AMD64%20Windows10%203.x/builds/1056 Most are of the form: warning C4133: 'function': incompatible types - from 'volatile uintptr_t *' to 'volatile int

[issue31148] Can we get an MSI installer for something past 3.4.4?

2017-08-15 Thread Steve Dower
Steve Dower added the comment: Burn bundles are part of Wix, but it's the part you don't like :) If you just want a single MSI, you won't want a bundle. But you will have to leave out nearly half of the features I listed because they simply are not poss

[issue31210] Can not import site from sys.prefix containing DELIM

2017-08-16 Thread Steve Dower
Steve Dower added the comment: We don't. Semicolons are not valid path characters, so you can't have them in a single path (unless you're deliberately trying to break your entire machine...) -- ___ Python tracker <http://bugs.pyt

[issue25166] Windows AllUsers installation places uninstaller in user profile

2017-08-16 Thread Steve Dower
Steve Dower added the comment: There are no more binary installers for 3.5, so updating the target versions. I have some ideas about how to do this and will hopefully get time at the dev sprints to try them out. -- stage: -> needs patch type: -> behavior versions: +Pyth

[issue31148] Can we get an MSI installer for something past 3.4.4?

2017-08-17 Thread Steve Dower
Steve Dower added the comment: The idea interests me from a theoretical point of view, but then I did my PhD in that field. I don't believe it's a practical solution, if only because you would need to manually generate the result in order to validate before releasing, and that&

[issue31260] [2.7] Enhance PC/VS9.0/ project to produce python.bat, as PCbuild/

2017-08-22 Thread Steve Dower
Changes by Steve Dower : -- nosy: -steve.dower ___ Python tracker <http://bugs.python.org/issue31260> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue29741] BytesIO methods don't accept integer types, while StringIO counterparts do

2017-08-24 Thread Steve Dower
Steve Dower added the comment: New changeset de50360ac2fec81dbf733f6c3c739b39a8822a39 by Steve Dower (Oren Milman) in branch 'master': bpo-29741: Update some methods in the _pyio module to also accept integer types. Patch by Oren Milman. (#560) https://github.com/python/cpyt

[issue29741] BytesIO methods don't accept integer types, while StringIO counterparts do

2017-08-26 Thread Steve Dower
Changes by Steve Dower : -- resolution: -> fixed stage: -> resolved status: open -> closed ___ Python tracker <http://bugs.python.org/issue29741> ___

[issue31318] On Windows importlib.util.find_spec("re") results in AttributeError: module 'importlib' has no attribute 'util'

2017-08-31 Thread Steve Dower
Steve Dower added the comment: util is a submodule of importlib, and so it should always be imported before using it. Other platforms may import it for various other reasons, but that is not part of the API. You should fix it by typing (note that the first line is different from yours

[issue31172] Py_Main() is totally broken on Visual Studio 2017

2017-09-04 Thread Steve Dower
Changes by Steve Dower : -- resolution: -> not a bug stage: -> resolved status: open -> closed ___ Python tracker <http://bugs.python.org/issue31172> ___ ___

[issue31340] Use VS 2017 compiler for build

2017-09-04 Thread Steve Dower
New submission from Steve Dower: The newer MSVC (v141) is available and reliable, and theoretically binary compatible with v140. This means we can update both Python 3.6 and 3.7 to build with it. Testing for this should include: * pythoncore with v141 and remainder with v140 * Python with

[issue31340] Use VS 2017 compiler for build

2017-09-04 Thread Steve Dower
Changes by Steve Dower : -- pull_requests: +3339 ___ Python tracker <http://bugs.python.org/issue31340> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue31349] Embedded initialization ignores Py_SetProgramName()

2017-09-05 Thread Steve Dower
Steve Dower added the comment: You're right, though I disagree with the fix as that would cause the process filename to be ignored. A correct fix would check whether the name has been set explicitly and if so, either use it as-is (if absolute) or get the actual name and use its dire

[issue31349] Embedded initialization ignores Py_SetProgramName()

2017-09-05 Thread Steve Dower
Steve Dower added the comment: People are working on PEP 432 this week at the sprints, so yeah, it's likely. -- ___ Python tracker <http://bugs.python.org/is

[issue31340] Use VS 2017 compiler for build

2017-09-06 Thread Steve Dower
Steve Dower added the comment: New changeset 5fcd5e64eec9ed67613b8fe7356fb8288151ceba by Steve Dower in branch 'master': bpo-31340: Change to building with MSVC v141 (included with Visual Studio 2017) (#3311) https://github.com/python/cpython/commit/5fcd5e64eec9ed67613b8fe7356fb8

[issue31340] Use VS 2017 compiler for build

2017-09-06 Thread Steve Dower
Changes by Steve Dower : -- pull_requests: +3393 ___ Python tracker <http://bugs.python.org/issue31340> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue31340] Use VS 2017 compiler for build

2017-09-06 Thread Steve Dower
Changes by Steve Dower : -- stage: needs patch -> backport needed ___ Python tracker <http://bugs.python.org/issue31340> ___ ___ Python-bugs-list mai

[issue31340] Use VS 2017 compiler for build

2017-09-06 Thread Steve Dower
Steve Dower added the comment: New changeset fd645ec6f5696e841e6d49075f9fd81e54e74d91 by Steve Dower in branch '3.6': [3.6] bpo-31340: Change to building with MSVC v141 (included with Visual Studio 2017) (GH-3311) (#3386) https://github.com/python/cpyt

[issue31340] Use VS 2017 compiler for build

2017-09-06 Thread Steve Dower
Steve Dower added the comment: Note that this should not change anything for 3.6, but enables using VS 2017 to build. If you only have VS 2015 then it will use that, and I've enabled AppVeyor for both to make sure we keep it that way. 3.7 will also build with either, but there isn'

[issue31381] Unable to read the project file "pythoncore.vcxproj".

2017-09-07 Thread Steve Dower
Steve Dower added the comment: I already have a fix in a pending PR for this. Don't have the number handy, but will link it later today. -- assignee: -> steve.dower stage: -> patch review type: -> compile error ___ Python

[issue30389] distutils._msvccompiler cannot find VS 2017

2017-09-07 Thread Steve Dower
Steve Dower added the comment: New changeset 05f01d85257d0f3409c7335aaf0bf6a6da7eecb7 by Steve Dower in branch 'master': bpo-30389 Adds detection of VS 2017 to distutils._msvccompiler (#1632) https://github.com/python/cpython/commit/05f01d85257d0f3409c7335aaf0bf6

[issue30389] distutils._msvccompiler cannot find VS 2017

2017-09-07 Thread Steve Dower
Changes by Steve Dower : -- pull_requests: +3422 ___ Python tracker <https://bugs.python.org/issue30389> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue30389] distutils._msvccompiler cannot find VS 2017

2017-09-07 Thread Steve Dower
Steve Dower added the comment: New changeset 76006f285a7e146484d9296597d1d0ace778f992 by Steve Dower in branch '3.6': [3.6] bpo-30389 Adds detection of VS 2017 to distutils._msvccompiler GH-1632 (#3425) https://github.com/python/cpython/commit/76006f285a7e146484d9296597d1d0

[issue31392] Upgrade installers to OpenSSL 1.1.0f

2017-09-07 Thread Steve Dower
Changes by Steve Dower : -- keywords: +patch pull_requests: +3448 stage: -> patch review ___ Python tracker <https://bugs.python.org/issue31392> ___ ___ Py

[issue31392] Upgrade installers to OpenSSL 1.1.0f

2017-09-07 Thread Steve Dower
New submission from Steve Dower: As per usual -- assignee: christian.heimes components: SSL, Windows, macOS messages: 301673 nosy: christian.heimes, ned.deily, paul.moore, ronaldoussoren, steve.dower, tim.golden, zach.ware priority: normal severity: normal status: open title: Upgrade

[issue31400] SSL module returns incorrect error codes on Windows

2017-09-08 Thread Steve Dower
New submission from Steve Dower: Because we wait so long between errors occurring and being reported, information about the Windows error code (WSAGetLastError) has already been lost. We should capture all the info sooner. -- assignee: steve.dower components: SSL messages: 301733

[issue31400] SSL module returns incorrect error codes on Windows

2017-09-08 Thread Steve Dower
Changes by Steve Dower : -- keywords: +patch pull_requests: +3455 ___ Python tracker <https://bugs.python.org/issue31400> ___ ___ Python-bugs-list mailin

[issue31400] SSL module returns incorrect error codes on Windows

2017-09-08 Thread Steve Dower
Changes by Steve Dower : -- stage: patch review -> backport needed ___ Python tracker <https://bugs.python.org/issue31400> ___ ___ Python-bugs-list mai

[issue31392] Upgrade installers to OpenSSL 1.1.0f

2017-09-09 Thread Steve Dower
Steve Dower added the comment: New changeset b84bcc48ae31c385fe480c08c05d95212ef7fcdc by Steve Dower in branch 'master': bpo-31392: Update SSL build for 1.1.0 (#3448) https://github.com/python/cpython/commit/b84bcc48ae31c385fe480c08c05d95

[issue30389] distutils._msvccompiler cannot find VS 2017

2017-09-11 Thread Steve Dower
Steve Dower added the comment: I fixed the ref leak during the sprints but forgot to tag this issue in the PR. -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker <https://bugs.python.or

[issue31413] Support importing anything in ._pth files.

2017-09-11 Thread Steve Dower
Steve Dower added the comment: This is by design. You should not be using the ._pth file for anything other than initializing sys.path. If you want to run code at startup, consider using sitecustomize.py or a regular .pth file, all of which will be imported when you include "import site

[issue31427] Proposed addition to Windows FAQ

2017-09-12 Thread Steve Dower
Steve Dower added the comment: This is a problem with 3.5 and later running on Windows 8.1 or earlier without all Windows Updates being installed. It can happen for two reasons: * not using the official installer (most common) * random failure in the official installer (rare) Installing

[issue31440] wrong default module search path in help message

2017-09-18 Thread Steve Dower
Steve Dower added the comment: I don't have time right this second to write it all up, but I did so in the past at https://docs.python.org/3/using/windows.html#finding-modules Hopefully the answer you need is somewhere in that. Module search paths are complicated (but eric.snow is goi

[issue31523] Windows build file fixes

2017-09-19 Thread Steve Dower
New submission from Steve Dower: This is basically a note to myself to go and fix these things when I have time (before 3.7a2): * split upload steps so we can fail on real failures * fail immediately if gpg2 step fails * purge and retry if download fails -- assignee: steve.dower

[issue31523] Windows build file fixes

2017-09-19 Thread Steve Dower
Steve Dower added the comment: Also: * build releases to versioned subdirectories of Py_IntDir when it is set -- ___ Python tracker <https://bugs.python.org/issue31

[issue31546] PyOS_InputHook is not called when waiting for input() in Windows

2017-09-21 Thread Steve Dower
Steve Dower added the comment: You're right, we're missing this section of code: if (PyOS_InputHook != NULL) (void)(PyOS_InputHook)(); Since we just call it and ignore anything it does, it should be safe enough to add it immediately before the ReadConsoleW call (

[issue31546] PyOS_InputHook is not called when waiting for input() in Windows

2017-09-21 Thread Steve Dower
Steve Dower added the comment: (Belongs inside Parser/myreadline.c in the _PyOS_WindowsConsoleReadline function) -- ___ Python tracker <https://bugs.python.org/issue31

[issue31534] python 3.6.2 installation failed 0x80070002 error

2017-09-22 Thread Steve Dower
Steve Dower added the comment: If you look in your %TEMP% directory, there should be more log files near the one you attached (most of the filename will be the same). Could you zip them up and attach all of them here? I think there's some information in one of the others that I'll n

[issue22121] IDLE should start with HOME as the initial working directory

2018-11-19 Thread Steve Dower
Steve Dower added the comment: AFAICT, the best logic is this: if os.path.normcase(os.getcwd()) == os.path.normcase(sys.prefix): os.chdir(get_default_location(sys.platform)) The only complexity is likely to be that "Documents" is localized on Windows, and SHGetFolderPathW [1

[issue34532] Windows launcher exits with error after listing available versions

2018-11-20 Thread Steve Dower
Steve Dower added the comment: New changeset c8fe9ccf7bfbcf9a2cb48e3b6abacf6ec0e5e58d by Steve Dower (Brendan Gerrity) in branch 'master': bpo-34532: Fixed exit code for py.exe list versions arg (GH-9039) https://github.com/python/cpython/commit/c8fe9ccf7bfbcf9a2cb48e3b6abacf

[issue34532] Windows launcher exits with error after listing available versions

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

[issue34977] Release Windows Store app containing Python

2018-11-20 Thread Steve Dower
Steve Dower added the comment: For people watching the bug, this is ready for review. Most of the change is adding a "layout" script (roughly the equivalent of "make install" for Windows, but with more flexibility to generate different structures, precompile stuff, e

[issue35292] Make SimpleHTTPRequestHandler load mimetypes lazily

2018-11-21 Thread Steve Dower
New submission from Steve Dower : Importing http.server triggers mimetypes.init(), which can be fairly expensive on Windows (and potentially other platforms?) due to having to enumerate a lot of registry keys. Instead, SimpleHTTPRequestHandler.extensions_map can be a dict with just its

[issue35292] Make SimpleHTTPRequestHandler load mimetypes lazily

2018-11-23 Thread Steve Dower
Steve Dower added the comment: You're welcome to it - I deliberately left it for someone else to work on, though I'm happy to review and merge. The visible change of making this lazy is that if someone reads from the dict, it'll be missing system-specified content types (

[issue34977] Release Windows Store app containing Python

2018-11-23 Thread Steve Dower
Change by Steve Dower : -- pull_requests: +9932 ___ Python tracker <https://bugs.python.org/issue34977> ___ ___ Python-bugs-list mailing list Unsubscribe:

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

2018-11-23 Thread Steve Dower
Steve Dower added the comment: I'm going to declare that this is a bug in distutils not correctly setting INCLUDE and LIB values when building in a source directory. When this is fixed, there will be no need to copy pyconfig.h anywhere, and the installer build will be fine. (And it s

[issue31512] Add non-elevated symlink support for dev mode Windows 10

2018-11-23 Thread Steve Dower
Steve Dower added the comment: Thanks for the ping (I don't see GitHub notifications - I get 1000s per day and it's not feasible to read them). I left one more comment on the PR, but then it's good to go! -- ___ Python

[issue35059] Convert Py_INCREF() and PyObject_INIT() to inlined functions

2018-11-23 Thread Steve Dower
Steve Dower added the comment: Could we have used function overloading to handle the different types? Rather than reintroducing the macro for the sake of the cast? -- nosy: +steve.dower ___ Python tracker <https://bugs.python.org/issue35

[issue34977] Release Windows Store app containing Python

2018-11-23 Thread Steve Dower
Steve Dower added the comment: If anyone would like to try this out early, here's some instructions for a build I just made. Enable sideloading apps on your machine (see https://docs.microsoft.com/en-us/windows/uwp/get-started/enable-your-device-for-development - may already be

[issue35059] Convert Py_INCREF() and PyObject_INIT() to inlined functions

2018-11-23 Thread Steve Dower
Steve Dower added the comment: Ah, you're right, it's only C++. My bad. -- ___ Python tracker <https://bugs.python.org/issue35059> ___ ___ Python-b

[issue34977] Release Windows Store app containing Python

2018-11-26 Thread Steve Dower
Steve Dower added the comment: For my own reference, some issues I found installing this package on a clean machine: * requires Developer Mode (until I get the sccd file signed - just sideloading is not sufficient) * requires vcruntime140.dll to be included in the package (workaround is to

[issue34977] Release Windows Store app containing Python

2018-11-26 Thread Steve Dower
Steve Dower added the comment: For my own reference, some issues I found installing this package on a clean machine: * requires Developer Mode (until I get the sccd file signed - just sideloading is not sufficient) * requires vcruntime140.dll to be included in the package (workaround is to

[issue34977] Release Windows Store app containing Python

2018-11-26 Thread Steve Dower
Change by Steve Dower : -- Removed message: https://bugs.python.org/msg330453 ___ Python tracker <https://bugs.python.org/issue34977> ___ ___ Python-bugs-list m

[issue34855] batch file variables

2018-11-27 Thread Steve Dower
Steve Dower added the comment: Yep, good catch. That should be EXTERNALS_DIR in PCbuild/find_python.bat. -- components: +Windows keywords: +easy nosy: +paul.moore, steve.dower, tim.golden, zach.ware versions: +Python 3.6, Python 3.7 ___ Python

[issue34977] Release Windows Store app containing Python

2018-11-28 Thread Steve Dower
Steve Dower added the comment: Updated testing instructions - this one should work with just sideloading permissions I think. iwr "https://dev.azure.com/Python/8e426817-76c0-4b99-ba9e-a48a1e4bd5db/_apis/build/builds/34760/artifacts?artifactName=appx&api-version=5.0-preview.5&

[issue35433] Correctly detect installed SDK versions

2018-12-06 Thread Steve Dower
Steve Dower added the comment: Looks good to me. I can't apply tags from my phone, apparently, so someone else will have to merge and mark the backport versions. -- ___ Python tracker <https://bugs.python.org/is

[issue34977] Release Windows Store app containing Python

2018-12-06 Thread Steve Dower
Steve Dower added the comment: New changeset 468a15aaf9206448a744fc5eab3fc21f51966aad by Steve Dower in branch 'master': bpo-34977: Add Windows App Store package (GH-10245) https://github.com/python/cpython/commit/468a15aaf9206448a744fc5eab3fc2

<    24   25   26   27   28   29   30   31   32   33   >