[issue34725] Py_GetProgramFullPath() odd behaviour in Windows

2018-09-18 Thread Steve Dower
Steve Dower added the comment: (Also, the behavior of Py_GetProgramFullPath is intentional, but we do have another bug somewhere to be able to override it for embedding purposes. sys.executable should be None when it does not contain a suitable path for running the normal Python interpreter

[issue34582] VSTS builds should use jobs, pools, and test results

2018-09-18 Thread Steve Dower
Steve Dower added the comment: New changeset 1a89cb5c479d8e4f467d7f96e1781c7275cefa88 by Steve Dower (Miss Islington (bot)) in branch '3.7': bpo-34582: Adds JUnit XML output for regression tests (GH-9210) https://github.com/python/cpython/commit/1a89cb5c479d8e4f467d7f96e1781c

[issue34582] VSTS builds should use jobs, pools, and test results

2018-09-18 Thread Steve Dower
Steve Dower added the comment: New changeset c9276495fc497898544a38b244b38ff61797f32d by Steve Dower (Miss Islington (bot)) in branch '3.6': bpo-34582: Adds JUnit XML output for regression tests (GH-9210) https://github.com/python/cpython/commit/c9276495fc497898544a38b244b38f

[issue34737] Python upgrade with SYSTEM account uninstalls python

2018-09-19 Thread Steve Dower
Steve Dower added the comment: This looks like something particular to Tcl/Tk, and my best guess from a very quick look at your logs is that there's a malware scanner preventing the files from being deleted for some reason (perhaps it's triggering an extended scan of one of the f

[issue32557] allow shutil.disk_usage to take a file path on Windows also

2018-09-19 Thread Steve Dower
Steve Dower added the comment: (Excuse the GitHub syntax - was about to post it there, but it got long enough to belong here) Regarding the `_dirnameW` discussion, fixing `_dirname` would be ideal, but that is bloating out your PR quite a bit :) The "right" function to us

[issue34694] Dismiss To Avoid Slave/Master wording cause it easier for non English spoken programmers

2018-09-20 Thread Steve Dower
Change by Steve Dower : -- nosy: -steve.dower ___ Python tracker <https://bugs.python.org/issue34694> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue34011] Default preference not given to venv DLL's

2018-09-20 Thread Steve Dower
Steve Dower added the comment: This change breaks a number of tests when run on a proper installation, since we still need to copy pythonXY.dll or else python.exe refuses to start. Since I'm fixing these tests today, I'll also fix this issue. -- assignee: ->

[issue26119] Windows Installer can sometimes silently fail pip stage

2018-09-20 Thread Steve Dower
Change by Steve Dower : -- resolution: -> out of date stage: -> resolved status: open -> closed ___ Python tracker <https://bugs.python.org/issue26119> ___ ___

[issue34011] Default preference not given to venv DLL's

2018-09-20 Thread Steve Dower
Change by Steve Dower : -- pull_requests: +8872 ___ Python tracker <https://bugs.python.org/issue34011> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue34737] Python upgrade with SYSTEM account uninstalls python

2018-09-20 Thread Steve Dower
Steve Dower added the comment: Looking closer at the logs, it's the usual problem of not being able to upgrade a per-user install into an all-users install. If you look at the logs closely, it's *uninstalling* the Just for Me install, not installing it. The best option in this

[issue34011] Default preference not given to venv DLL's

2018-09-20 Thread Steve Dower
Steve Dower added the comment: New changeset f14c28f39766855420dd58d209da4ad847f3030e by Steve Dower in branch 'master': bpo-34011: Fixes missing venv files and other tests (GH-9458) https://github.com/python/cpython/commit/f14c28f39766855420dd58d209da4a

[issue34011] Default preference not given to venv DLL's

2018-09-20 Thread Steve Dower
Steve Dower added the comment: I agree with this only applying to 3.8 - removing the copied files on earlier versions seems like an unnecessary risk to compatibility. -- resolution: -> fixed stage: patch review -> resolved status: open -> closed versions: -Python 3.6, P

[issue34759] Possible regression in ssl module in 3.7.1 and master

2018-09-20 Thread Steve Dower
Steve Dower added the comment: It should just be gathering SSL error codes before acquiring the GIL, which could switch thread and then get the wrong code. Of course, it's possible it is in the backport. How easily can you test against master? (I'm AFK, so can't easily do any

[issue34267] find_python.bat doesn't find installed Python 3.7

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

[issue33782] VSTS Windows-PR: internal error

2018-09-21 Thread Steve Dower
Change by Steve Dower : -- resolution: -> fixed stage: -> resolved status: open -> closed ___ Python tracker <https://bugs.python.org/issue33782> ___

[issue34725] Py_GetProgramFullPath() odd behaviour in Windows

2018-09-21 Thread Steve Dower
Steve Dower added the comment: I meant returning the full name of the process is intentional. But you're right that overriding it should actually override it. I found the prior bug at issue33180, but I'm closing it in favour of this one. I don't have fully fleshed out seman

[issue33180] Flag for unusable sys.executable

2018-09-21 Thread Steve Dower
Steve Dower added the comment: Closing in favour of issue34725 -- resolution: -> not a bug stage: -> resolved status: open -> closed ___ Python tracker <https://bugs.python.or

[issue32282] When using a Windows XP compatible toolset, `socketmodule.c` fails to build

2018-09-21 Thread Steve Dower
Steve Dower added the comment: I'm going to just close this without fixing 3.5. If there's demand, we can consider it, but at this stage it's so easy for people to migrate to 3.6 or later that I'm sure that's already been done. -- resolution: ->

[issue32556] support bytes paths in nt _getdiskusage, _getvolumepathname, and _getfinalpathname

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

[issue33016] nt._getfinalpathname may use uninitialized memory

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

[issue32533] SSLSocket read/write thread-unsafety

2018-09-21 Thread Steve Dower
Steve Dower added the comment: Fixed, with a fix for the regression coming in issue34759 -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker <https://bugs.python.or

[issue33091] ssl.SSLError: Invalid error code (_ssl.c:2217)

2018-09-21 Thread Steve Dower
Change by Steve Dower : -- resolution: -> duplicate stage: -> resolved status: open -> closed superseder: -> SSLSocket read/write thread-unsafety ___ Python tracker <https://bugs.python

[issue21983] segfault in ctypes.cast

2018-09-21 Thread Steve Dower
Steve Dower added the comment: Still needs a backport to 2.7 -- ___ Python tracker <https://bugs.python.org/issue21983> ___ ___ Python-bugs-list mailin

[issue34582] VSTS builds should use jobs, pools, and test results

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

[issue34582] VSTS builds should use jobs, pools, and test results

2018-09-24 Thread Steve Dower
Steve Dower added the comment: New changeset 57675090b0fe7d6c7d72e56384dc2ff6798f1723 by Steve Dower in branch 'master': bpo-34582: Update syntax of Azure Pipelines builds (GH-9521) https://github.com/python/cpython/commit/57675090b0fe7d6c7d72e56384dc2f

[issue34582] VSTS builds should use jobs, pools, and test results

2018-09-24 Thread Steve Dower
Change by Steve Dower : -- pull_requests: +8934 ___ Python tracker <https://bugs.python.org/issue34582> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue34582] VSTS builds should use jobs, pools, and test results

2018-09-24 Thread Steve Dower
Change by Steve Dower : -- pull_requests: +8935 ___ Python tracker <https://bugs.python.org/issue34582> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue34582] VSTS builds should use jobs, pools, and test results

2018-09-24 Thread Steve Dower
Steve Dower added the comment: New changeset 657fdf2eba617ade49052de91cafeb373b652077 by Steve Dower (Miss Islington (bot)) in branch '3.7': bpo-34582: Update syntax of Azure Pipelines builds (GH-9521) https://github.com/python/cpython/commit/657fdf2eba617ade49052de91cafeb

[issue34582] VSTS builds should use jobs, pools, and test results

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

[issue32557] allow shutil.disk_usage to take a file path on Windows also

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

[issue31405] shutil.which doesn't find files without PATHEXT extension on Windows

2018-09-26 Thread Steve Dower
Steve Dower added the comment: It certainly doesn't match "which" semantics, but given the F_OK and X_OK flags I can see cases where it ought not to. I'm not sure it does what it implies for those either though. I can see uses for "find files according to 'whic

[issue34833] [CI] Azure Pipeline: Initialize Agent failed

2018-09-29 Thread Steve Dower
Steve Dower added the comment: I'll pass it along in case someone is collecting statistics on the team, but unless it's consistently broken for us (e.g. as apt-get was recently) there's not much value in opening a bug. Transient failures occur, ultimately, and nobody needs e

[issue34725] Py_GetProgramFullPath() odd behaviour in Windows

2018-10-03 Thread Steve Dower
Steve Dower added the comment: I don't think anything has been agreed upon. Currently, the launched program name is used for some things other than setting sys.executable, and I believe it should continue to be used for those. But there are also needs for overriding sys.executable

[issue34725] Py_GetProgramFullPath() odd behaviour in Windows

2018-10-04 Thread Steve Dower
Steve Dower added the comment: Reading the docs, I'm pretty sure we need a new Py_SetProgramFullPath() function. Py_SetProgramName explicitly is only providing a hint to figure out the file containing the executable, and I really want this to make my new launcher feasible:

[issue34725] Py_GetProgramFullPath() odd behaviour in Windows

2018-10-05 Thread Steve Dower
Change by Steve Dower : -- nosy: +eric.snow, ncoghlan ___ Python tracker <https://bugs.python.org/issue34725> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue34902] Azure pipelines PR build fails with "Unexpected vmImage 'vs2017-win2017'"

2018-10-05 Thread Steve Dower
Steve Dower added the comment: I'll get it. -- assignee: -> steve.dower versions: +Python 3.6, Python 3.7 ___ Python tracker <https://bugs.python.org

[issue34902] Azure pipelines PR build fails with "Unexpected vmImage 'vs2017-win2017'"

2018-10-05 Thread Steve Dower
Change by Steve Dower : -- keywords: +patch pull_requests: +9102 stage: -> patch review ___ Python tracker <https://bugs.python.org/issue34902> ___ ___ Py

[issue34902] Azure pipelines PR build fails with "Unexpected vmImage 'vs2017-win2017'"

2018-10-05 Thread Steve Dower
Steve Dower added the comment: New changeset 4313a293dae579f3406aa94508ff3803a79b0344 by Steve Dower in branch 'master': bpo-34902: Fixes VM image for Azure Pipelines build (GH-9719) https://github.com/python/cpython/commit/4313a293dae579f3406aa94508ff38

[issue34902] Azure pipelines PR build fails with "Unexpected vmImage 'vs2017-win2017'"

2018-10-05 Thread Steve Dower
Steve Dower added the comment: I didn't hear any public announcement, so perhaps not. I'll ask the team. -- ___ Python tracker <https://bugs.python.o

[issue34902] Azure pipelines PR build fails with "Unexpected vmImage 'vs2017-win2017'"

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

[issue34902] Azure pipelines PR build fails with "Unexpected vmImage 'vs2017-win2017'"

2018-10-05 Thread Steve Dower
Steve Dower added the comment: Sounds like what happened is they *fixed* the error message when you use an invalid VMname. Previously it was falling back to the default, which happened to be the one we thought we were asking for. I've asked for a more public feed of impactful change

[issue34870] Core dump when Python VSCode debugger is attached

2018-10-05 Thread Steve Dower
Steve Dower added the comment: Perhaps surprisingly, Brett is :) This is best reported at https://github.com/Microsoft/ptvsd, so I'd suggest just taking it over there. If it turns out to be a Python issue, we'll bring it back. -- nosy: +br

[issue32174] nonASCII punctuation characters can not display in python363.chm.

2018-10-06 Thread Steve Dower
Steve Dower added the comment: Until someone creates and enables a Sphinx extension/option to only generate ASCII output, it will remain. Volunteers are welcome -- ___ Python tracker <https://bugs.python.org/issue32

[issue34725] Py_GetProgramFullPath() odd behaviour in Windows

2018-10-08 Thread Steve Dower
Steve Dower added the comment: > Py_SetProgramName() should be a relative or absolute path that can be used to > set sys.executable and other values appropriately. Key point here is *can be*, but it doesn't have to be. Given it has fallbacks all the way to "python"

[issue32174] nonASCII punctuation characters can not display in python363.chm.

2018-10-08 Thread Steve Dower
Steve Dower added the comment: New changeset 6261ae9b01fb8429b779169f8de37ff567c144e8 by Steve Dower (animalize) in branch 'master': bpo-32174: Let .chm document display non-ASCII characters properly (GH-9758) https://github.com/python/cpython/commit/6261ae9b01fb8429b779169f8de37f

[issue32174] nonASCII punctuation characters can not display in python363.chm.

2018-10-08 Thread Steve Dower
Steve Dower added the comment: Thanks, that looks perfect! -- ___ Python tracker <https://bugs.python.org/issue32174> ___ ___ Python-bugs-list mailing list Unsub

[issue32174] nonASCII punctuation characters can not display in python363.chm.

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

[issue34725] Py_GetProgramFullPath() odd behaviour in Windows

2018-10-09 Thread Steve Dower
Steve Dower added the comment: We'll need to bring in venv specialists to check whether using it outside of Py_Main() is valid. Or perhaps you could explain what you are actually trying to do? I don't believe it is necessary when you are calling Py_SetPath yourself, and only t

[issue34932] Add macOS TCP_KEEPALIVE to available socket options

2018-10-13 Thread Steve Dower
Steve Dower added the comment: Yes, looks like TCP_KEEPIDLE is only available from 1709, so it should get the same handling as the TCP_KEEPCNT. If TCP_KEEPALIVE is just a synonym, then it applies for both. -- ___ Python tracker <ht

[issue34945] regression with ./python -m test and pdb

2018-10-13 Thread Steve Dower
Steve Dower added the comment: Thanks for spotting this! There's no "rationale" for hiding the output - what happened is I streamlined the test suite to always capture output, instead of some tests deciding whether they ought to capture it or not (and some doing incredibly we

[issue34725] Py_GetProgramFullPath() odd behaviour in Windows

2018-10-13 Thread Steve Dower
Steve Dower added the comment: I meant why are you using an embedded application with a virtual environment? What sort of application do you have that requires users to configure a virtual environment, rather than providing its own set of libraries? The embedding scenarios I'm awa

[issue34977] Release Windows Store app containing Python

2018-10-13 Thread Steve Dower
New submission from Steve Dower : The Windows Store can now install unrestricted apps, which means we can provide the Python interpreter in there. Advantages: * far more reliable installation * can have specific executables on PATH * automatic updates * other apps can act as extensions (with

[issue34725] Py_GetProgramFullPath() odd behaviour in Windows

2018-10-13 Thread Steve Dower
Change by Steve Dower : -- keywords: +patch pull_requests: +9229 stage: -> patch review ___ Python tracker <https://bugs.python.org/issue34725> ___ ___ Py

[issue34725] Py_GetProgramFullPath() odd behaviour in Windows

2018-10-13 Thread Steve Dower
Change by Steve Dower : -- pull_requests: +9230 ___ Python tracker <https://bugs.python.org/issue34725> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue34725] Py_GetProgramFullPath() odd behaviour in Windows

2018-10-13 Thread Steve Dower
Change by Steve Dower : -- versions: +Python 3.8 -Python 3.6 ___ Python tracker <https://bugs.python.org/issue34725> ___ ___ Python-bugs-list mailing list Unsub

[issue34972] json dump silently converts int keys to string

2018-10-13 Thread Steve Dower
Steve Dower added the comment: Agreed with Eric. json.dump needs to produce valid JSON, which requires keys to be strings. Try using pickle if you need to preserve full Python semantics. -- nosy: +steve.dower resolution: -> not a bug stage: -> resolved status: open -&g

[issue34981] Unable to install Python from web-based installer and executable installer

2018-10-15 Thread Steve Dower
Steve Dower added the comment: When you run the installer, it should create log files in your %TEMP% directory. Could you find and attach those here please? There's a chance it is detecting that your system is unsupported. If you are still using Windows Vista, ensure you have installe

[issue34980] KillPython target doesn't detect 64-bit processes

2018-10-15 Thread Steve Dower
Steve Dower added the comment: I haven't looked at the logs, but there shouldn't be any problem with 33-bit/64-bit here. Windows doesn't separate processes like that. Perhaps we have builds with slightly different names (casing?) that are failing

[issue34725] Py_GetProgramFullPath() odd behaviour in Windows

2018-10-19 Thread Steve Dower
Steve Dower added the comment: I requested Victor review on my PR, but if anyone else is able to please feel free. -- ___ Python tracker <https://bugs.python.org/issue34

[issue34977] Release Windows Store app containing Python

2018-10-20 Thread Steve Dower
Steve Dower added the comment: I'm 99% sure that with issue34725 I'll be able to make "pip --user" the default when using this install, as well as making the commands globally available (i.e. "python[3[.8]]", "pip[3[.8]]&q

[issue34977] Release Windows Store app containing Python

2018-10-20 Thread Steve Dower
Steve Dower added the comment: (And I'll deal with that 1% at the PyPA sprints next weekend. We are due for a new pip insertion anyway, so I guess that'll come for 3.7.2.) -- ___ Python tracker <https://bugs.python.o

[issue34562] cannot install versions 3.6.5+ on Windows

2018-10-20 Thread Steve Dower
Steve Dower added the comment: Make sure your system is fully up to date and you have rebooted before/after installing Python. That error means that system files are not installed correctly, which either means you are suffering corruption or you have pending installations waiting for a

[issue35037] PYLONG_BITS_IN_DIGIT differs between MinGW and MSVC

2018-10-21 Thread Steve Dower
Steve Dower added the comment: That variable should be inferred somewhere, either in PC/pyconfig.h or pyport.h. If there's a way to also infer it on 64-bit MinGW then we would consider a patch for that. -- ___ Python tracker &

[issue34980] KillPython target doesn't detect 64-bit processes

2018-10-22 Thread Steve Dower
Steve Dower added the comment: Sorry for missing the PR. One little tweak for consistency, but otherwise it looks fine. -- ___ Python tracker <https://bugs.python.org/issue34

[issue34980] KillPython target doesn't detect 64-bit processes

2018-10-23 Thread Steve Dower
Steve Dower added the comment: New changeset fa5329424f4206630c34f75629fa78738db647f0 by Steve Dower (Jeremy Kloth) in branch 'master': bpo-34980: P/Invoke QueryFullProcessImageName to get process names (GH-9901) https://github.com/python/cpyt

[issue33015] Fix function cast warning in thread_pthread.h

2018-10-23 Thread Steve Dower
Steve Dower added the comment: Unfortunately, this isn't really a safe cast, as we're going from void to non-void return value. On x86 with current calling conventions, this is okay, since the return value is in a register that does not change or require cleanup by the caller.

[issue34980] KillPython target doesn't detect 64-bit processes

2018-10-23 Thread Steve Dower
Steve Dower added the comment: Jeremy - feel free to close this when you're happy with the buildbot results. -- stage: patch review -> commit review ___ Python tracker <https://bugs.python.org

[issue31047] Windows: os.path.isabs(os.path.abspath(" ")) == False

2018-10-23 Thread Steve Dower
Steve Dower added the comment: Agreed, it no longer matches os.normpath()'s declared behavior by not trimming the end separator. It's obviously too late for the current release (I'd hope Django is one of the projects running tests against RC's, but I guess not :( ), but

[issue35058] Unable to Install Python on Windows

2018-10-24 Thread Steve Dower
Steve Dower added the comment: In your %TEMP% directory there will be some log files starting with "Python". Could you find and attach them to this bug so we can take a look? Also, could you provide the link to the download you us

[issue35058] Unable to Install Python on Windows

2018-10-24 Thread Steve Dower
Steve Dower added the comment: That's unfortunate that you can't find the log files. Without them, there's nothing we can do to help. Can you try running the installer again? On the last (error) page there should be a link to the main log file. -- versions: +Python

[issue31047] Windows: os.path.isabs(os.path.abspath(" ")) == False

2018-10-25 Thread Steve Dower
Steve Dower added the comment: New changeset d03b7757811ae51277f8ed399a9a0fd78dfd3425 by Steve Dower (Tim Graham) in branch 'master': bpo-31047: Fix ntpath.abspath to trim ending separator (GH-10082) https://github.com/python/cpython/commit/d03b7757811ae51277f8ed399a9a0f

[issue35067] Use vswhere instead of _distutils_findvs

2018-10-25 Thread Steve Dower
New submission from Steve Dower : We have much simpler needs for distutils that don't require the more complex build/dependencies we currently have. We should remove the extra native module and just shell out to vswhere.exe, which is always included in the VS installer in a known loc

[issue35067] Use vswhere instead of _distutils_findvs

2018-10-25 Thread Steve Dower
Change by Steve Dower : -- keywords: +patch pull_requests: +9428 stage: needs patch -> patch review ___ Python tracker <https://bugs.python.org/issu

[issue31047] Windows: os.path.isabs(os.path.abspath(" ")) == False

2018-10-25 Thread Steve Dower
Change by Steve Dower : -- pull_requests: +9429 ___ Python tracker <https://bugs.python.org/issue31047> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue31047] Windows: os.path.isabs(os.path.abspath(" ")) == False

2018-10-25 Thread Steve Dower
Change by Steve Dower : -- pull_requests: +9430 ___ Python tracker <https://bugs.python.org/issue31047> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue31047] Windows: os.path.isabs(os.path.abspath(" ")) == False

2018-10-25 Thread Steve Dower
Steve Dower added the comment: New changeset a7ffb663953bc84452af1e5f4089359d54e226b5 by Steve Dower in branch '3.7': [3.7] bpo-31047: Fix ntpath.abspath to trim ending separator (GH-10082) https://github.com/python/cpython/commit/a7ffb663953bc84452af1e5f408935

[issue31047] Windows: os.path.isabs(os.path.abspath(" ")) == False

2018-10-25 Thread Steve Dower
Steve Dower added the comment: New changeset 4aa1fda7069642c21c1ee570c4ba2a657e5e by Steve Dower in branch '3.6': bpo-31047: Fix ntpath.abspath to trim ending separator (GH-10082) https://github.com/python/cpython/commit/4aa1fda7069642c21c1ee570c4ba44

[issue31047] Windows: os.path.isabs(os.path.abspath(" ")) == False

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

[issue35067] Use vswhere instead of _distutils_findvs

2018-10-27 Thread Steve Dower
Steve Dower added the comment: New changeset 53125a53f483db0af76249b6af6efcdc200eb421 by Steve Dower in branch 'master': bpo-35067: Remove _distutils_findvs and use vswhere.exe instead. (GH-10095) https://github.com/python/cpython/commit/53125a53f483db0af76249b6af6efc

[issue35067] Use vswhere instead of _distutils_findvs

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

[issue30410] Documentation for sys.stdout encoding does not reflect the new Windows behavior in Python 3.6+

2018-10-29 Thread Steve Dower
Steve Dower added the comment: Please do! -- versions: +Python 3.8 ___ Python tracker <https://bugs.python.org/issue30410> ___ ___ Python-bugs-list mailin

[issue34977] Release Windows Store app containing Python

2018-10-30 Thread Steve Dower
Change by Steve Dower : -- keywords: +patch pull_requests: +9559 stage: -> patch review ___ Python tracker <https://bugs.python.org/issue34977> ___ ___ Py

[issue35058] Unable to Install Python on Windows

2018-11-01 Thread Steve Dower
Steve Dower added the comment: I don't know what is on your syllabus, but you might have more luck with Anaconda or WinPython than Python 2.7 or 3.4 (which is how far back you'd have to go to get a different installer). -- ___ Pyth

[issue35131] Cannot access to customized paths within .pth file

2018-11-02 Thread Steve Dower
Steve Dower added the comment: I'll mark this easy as well, since adding that handler is straightforward. Unless someone knows a reason we shouldn't do that either. -- keywords: +easy versions: +Python 3.7, Python 3.8 ___ Python track

[issue35131] Cannot access to customized paths within .pth file

2018-11-02 Thread Steve Dower
Steve Dower added the comment: Can you save your file in gbk encoding? That will be an immediate fix. I don't know that we can/should change the encoding we read without checking with everyone who writes out .pth files. (+Jason as a start here, but I suspect there are more tools that

[issue35157] Missing pyconfig.h when building from source and pgo flag is enabled

2018-11-05 Thread Steve Dower
Steve Dower added the comment: Those are just the distutils tests failing, which probably means the extra environment variables or paths involved in the PGO profiling run are confusing the logic for detecting when it is running in a source tree. We should fix it, but it won't affect e

[issue35156] Consider revising documentation on Python Builds from source

2018-11-05 Thread Steve Dower
Steve Dower added the comment: Most people building Python from the devguide are doing it for contributions, so I'd be very hesitant to change the default recommendations. But we should highlight how to make a working installable build (including the extra dependencies) and the c

[issue35157] Missing pyconfig.h when building from source and pgo flag is enabled

2018-11-05 Thread Steve Dower
Steve Dower added the comment: How much have you edited the error messages you are posting? Those two build commands shouldn't be next to each other (the tests should be in between), so perhaps something is wrong in that script? Or maybe you trimmed the output before pasti

[issue35156] Consider revising documentation on Python Builds from source

2018-11-05 Thread Steve Dower
Steve Dower added the comment: If you're able, you might be the best person to do some of those updates right now :) The rest of us will have to set aside time to get back up to speed on some of the details, and while we'll likely have to do that to review changes anyway, at le

[issue32409] venv activate.bat is UTF-8 encoded but uses current console codepage

2018-11-08 Thread Steve Dower
Steve Dower added the comment: That error is a bug in the test, but it only shows up on an error path anyway. Without removing the extra None we don't get to see the actual error output. I can't look into this over the next week or two, but a quick glance at the original PR looks

[issue35203] Windows Installer Ignores Launcher Installer Options Where The Python Launcher Is Already Present

2018-11-11 Thread Steve Dower
Steve Dower added the comment: Does it actually try to upgrade the launcher? This is a case that was deliberately designed and tested before release, though it's possible that there's some mix of versions that is new. The box is checked to indicate that the launcher will be instal

[issue35140] encoding problem: coding:gbk cause syntaxError

2018-11-11 Thread Steve Dower
Steve Dower added the comment: Yes, seems like we should be opening the file in binary mode, though I haven't tried it. The CRT's interpretation of text mode really isn't compatible with Python's own interpretation of text mode, and chaining them ma

[issue34725] Py_GetProgramFullPath() odd behaviour in Windows

2018-11-17 Thread Steve Dower
Steve Dower added the comment: New changeset e851049e0e045b5e0f9d5c6b8a64d7f6b8ecc9c7 by Steve Dower in branch '3.7': bpo-34725: Adds _Py_SetProgramFullPath so embedders may override sys.executable (GH-9861) https://github.com/python/cpython/commit/e851049e0e045b5e0f9d5c6b8a64d7

[issue34725] Py_GetProgramFullPath() odd behaviour in Windows

2018-11-17 Thread Steve Dower
Steve Dower added the comment: New changeset 177a41a07b7d13c70d068ea0962f07e625ae171e by Steve Dower in branch 'master': bpo-34725: Adds _Py_SetProgramFullPath so embedders may override sys.executable (GH-9860) https://github.com/python/cpyt

[issue34725] Py_GetProgramFullPath() odd behaviour in Windows

2018-11-17 Thread Steve Dower
Steve Dower added the comment: The next releases of 3.7 and 3.8 will include _Py_SetProgramFullPath() functions for embedders to set the eventual value of sys.executable before calling Py_Initialize(). It's undocumented and not guaranteed stable (and indeed, it looks like Victor is al

[issue35244] Allow to setup Clang as default compiler for modules build

2018-11-19 Thread Steve Dower
Steve Dower added the comment: You might consider adding this support to setuptools rather than CPython. The distutils module is basically closed to non-essential enhancements like this, and will eventually be deprecated for public use (which means totally unused on Windows and only used to

[issue8987] Distutils doesn't quote Windows command lines properly

2018-11-19 Thread Steve Dower
Steve Dower added the comment: There's been progress in terms of setuptools eventually adopting distutils, so that looks likely and we're basically planning on it. Adding this as an enhancement to setuptools is going to be a better approach than adding it to distutils in

[issue35268] Windows asyncio reading continously stdin and stdout Stockfish

2018-11-19 Thread Steve Dower
Steve Dower added the comment: Are you awaiting those calls (and the write())? I can't tell at first glance whether you need to, but it seems like missing await there would cause your problem. -- ___ Python tracker <https://bugs.py

[issue30082] hide command prompt when using subprocess.Popen with shell=False on Windows

2018-11-19 Thread Steve Dower
Steve Dower added the comment: Looks like it's available. It will be a new subprocess option to not create a new window. The underlying issue is that some applications always request a console, and if your own application doesn't have one then Windows will create it. Normally you

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

2018-11-19 Thread Steve Dower
Steve Dower added the comment: I still think the best option is a command line flag like "--open-in-homedir" that causes Idle to do a chdir to the user's documents folder. This way we can put a static option in the start menu item in the installer and not worry about the lim

<    36   37   38   39   40   41   42   43   44   45   >