[issue29241] sys._enablelegacywindowsfsencoding() don't apply to os.fsencode and os.fsdecode

2018-02-19 Thread Steve Dower
Steve Dower added the comment: I took another look at this and it's still unclear whether it's worth the performance loss. Perhaps moving fsencode and fsdecode (almost) entirely into C would be a better approach? That shouldn't send us backwards at all, and all they really do

[issue32840] Must install python 3.6.3 when 3.6.4 already installed

2018-02-19 Thread Steve Dower
Steve Dower added the comment: We confirmed offline that it's not a bug. -- resolution: -> not a bug stage: -> resolved status: open -> closed ___ Python tracker <https://bugs.pyth

[issue32764] Popen doesn't work on Windows when args is a list

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

[issue32764] Popen doesn't work on Windows when args is a list

2018-02-19 Thread Steve Dower
Steve Dower added the comment: Turns out this is a trivial typo in the test, so I stole the issue from Greg and pushed a PR. -- assignee: gregory.p.smith -> steve.dower ___ Python tracker <https://bugs.python.org/issu

[issue32878] Document value of st_ino on Windows

2018-02-19 Thread Steve Dower
Change by Steve Dower : -- keywords: +patch pull_requests: +5542 stage: -> patch review ___ Python tracker <https://bugs.python.org/issue32878> ___ ___ Python-

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

2018-02-19 Thread Steve Dower
Change by Steve Dower : -- stage: needs patch -> patch review ___ Python tracker <https://bugs.python.org/issue32556> ___ ___ Python-bugs-list mailing list Un

[issue32764] Popen doesn't work on Windows when args is a list

2018-02-19 Thread Steve Dower
Steve Dower added the comment: Sounds good to me -- resolution: -> duplicate stage: patch review -> resolved status: open -> closed superseder: -> Windows: subprocess debug assertion on failure to execute the process ___ Python tra

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

2018-02-19 Thread Steve Dower
Steve Dower added the comment: New changeset 6240917b773b52f8883387b9e3a5f327a4372068 by Steve Dower in branch 'master': bpo-32409: Ensures activate.bat can handle Unicode contents (GH-5757) https://github.com/python/cpython/commit/6240917b773b52f8883387b9e3a5f3

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

2018-02-19 Thread Steve Dower
Steve Dower added the comment: New changeset a3d6c1b23b8a49b5003fdbd115d3598fe3d4c4bf by Steve Dower (Miss Islington (bot)) in branch '3.7': bpo-32409: Ensures activate.bat can handle Unicode contents (GH-5765) https://github.com/python/cpython/commit/a3d6c1b23b8a49b5003fdbd115d359

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

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

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

2018-02-19 Thread Steve Dower
Steve Dower added the comment: New changeset 8e149ff481acbb3889c825b8bf7b10aa191f09a7 by Steve Dower (Miss Islington (bot)) in branch '3.6': bpo-32409: Ensures activate.bat can handle Unicode contents (GH-5766) https://github.com/python/cpython/commit/8e149ff481acbb3889c825b8bf7b10

[issue32881] pycapsule:PyObject * is NULL pointer

2018-02-20 Thread Steve Dower
Steve Dower added the comment: What is the definition of FUNCTION_CALL_MODE? And if it is anything other than "stdcall", change "ctypes.windll" to "ctypes.cdll" and try again. You should also consider posting this to python-list, as it is almost certainly a

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

2018-02-22 Thread Steve Dower
Steve Dower added the comment: New changeset 23ad6d0d1a7a6145a01494f4f3913a63d1f0250c by Steve Dower in branch 'master': bpo-32556: nt._getfinalpathname, nt._getvolumepathname and nt._getdiskusage now correctly convert from bytes. (GH-5761) https://github.com/python/cpyt

[issue32457] Windows Python cannot handle an early PATH entry containing ".." and python.exe

2018-02-22 Thread Steve Dower
Steve Dower added the comment: New changeset 48e8c82fc63d2ddcddce8aa637a892839b551619 by Steve Dower in branch 'master': bpo-32457: Improves handling of denormalized executable path when launching Python (GH-5756) https://github.com/python/cpyt

[issue32901] Update Windows 3.7/8 builds to tcl/tk 8.6.8

2018-02-22 Thread Steve Dower
Steve Dower added the comment: Yay, more work... (btw Zach, nothing stopping you from putting the sources up for me :) I just need to hit the buttons to make the build.) -- ___ Python tracker <https://bugs.python.org/issue32

[issue32457] Windows Python cannot handle an early PATH entry containing ".." and python.exe

2018-02-22 Thread Steve Dower
Change by Steve Dower : -- pull_requests: +5594 ___ Python tracker <https://bugs.python.org/issue32457> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue32901] Update 3.7 and 3.8 Windows and macOS installer builds to tcl/tk 8.6.8

2018-02-22 Thread Steve Dower
Steve Dower added the comment: I'm already most of the way through doing the sources this time - just running into ssh/GitHub troubles getting them online. -- ___ Python tracker <https://bugs.python.org/is

[issue32901] Update 3.7 and 3.8 Windows and macOS installer builds to tcl/tk 8.6.8

2018-02-22 Thread Steve Dower
Steve Dower added the comment: Still working on this - X11 and the WinSDK aren't playing nicely together. I might need a special build configuration to build this, or to submit fixes (and apply patches) to Tk. -- ___ Python tracker &

[issue32457] Windows Python cannot handle an early PATH entry containing ".." and python.exe

2018-02-22 Thread Steve Dower
Steve Dower added the comment: New changeset 1d3c518c5ecbd78478738f068f4f035f81f035f9 by Steve Dower in branch '3.6': bpo-32457: Improves handling of denormalized executable path when launching Python (GH-5756) (#5818) https://github.com/python/cpyt

[issue32901] Update 3.7 and 3.8 Windows and macOS installer builds to tcl/tk 8.6.8

2018-02-22 Thread Steve Dower
Change by Steve Dower : -- keywords: +patch pull_requests: +5600 stage: -> patch review ___ Python tracker <https://bugs.python.org/issue32901> ___ ___ Python-

[issue32901] Update 3.7 and 3.8 Windows and macOS installer builds to tcl/tk 8.6.8

2018-02-23 Thread Steve Dower
Steve Dower added the comment: The sources are just the original sources, so they could be useful on other platforms too. The build on cpython-bin-deps is obviously only useful on Windows. -- ___ Python tracker <https://bugs.python.org/issue32

[issue32901] Update 3.7 and 3.8 Windows and macOS installer builds to tcl/tk 8.6.8

2018-02-23 Thread Steve Dower
Steve Dower added the comment: New changeset efa6c762268d68985f3012234f62ea9e5ced8b7c by Steve Dower in branch 'master': bpo-32901: Update Tcl and Tk versions to 8.6.8 (GH-5823) https://github.com/python/cpython/commit/efa6c762268d68985f3012234f62ea

[issue32901] Update 3.7 and 3.8 Windows and macOS installer builds to tcl/tk 8.6.8

2018-02-23 Thread Steve Dower
Steve Dower added the comment: Windows is complete - leaving this open for Ned to resolve when the Mac installers are done. -- ___ Python tracker <https://bugs.python.org/issue32

[issue32928] _findvs failing on Windows 10 (Release build only)

2018-02-23 Thread Steve Dower
Steve Dower added the comment: You mean build? Or use? Can you share build logs? -- ___ Python tracker <https://bugs.python.org/issue32928> ___ ___ Python-bug

[issue32928] _findvs failing on Windows 10 (Release build only)

2018-02-24 Thread Steve Dower
Steve Dower added the comment: If you think it should be working, go ahead and use the Report a Problem tool in VS to let the team know about the PowerShell module. There might be a case that isn't handled properly in their code that they can fix (obviously they don't know/care

[issue32394] socket lib beahavior change in 3.6.4

2018-02-26 Thread Steve Dower
Steve Dower added the comment: New changeset 19e7d48ce89422091f9af93038b9fee075d46e9e by Steve Dower (animalize) in branch 'master': bpo-32394: Remove some TCP options on old version Windows. (GH-5523) https://github.com/python/cpython/commit/19e7d48ce89422091f9af93038b9fe

[issue32394] socket lib beahavior change in 3.6.4

2018-02-26 Thread Steve Dower
Steve Dower added the comment: New changeset 1278c21f5234477aab21531773d65ca7ebd1b81f by Steve Dower (animalize) in branch '3.6': [3.6] bpo-32394: Remove some TCP options on older version Windows. (GH-5585) https://github.com/python/cpython/commit/1278c21f5234477aab21531773d65c

[issue32394] socket lib beahavior change in 3.6.4

2018-02-26 Thread Steve Dower
Steve Dower added the comment: Agreed. I've merged these (and Miss Islington should get the 3.7 backport when CI completes) -- resolution: -> fixed stage: patch review -> backport needed ___ Python tracker <https://bugs.python.

[issue32394] socket lib beahavior change in 3.6.4

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

[issue32966] Python 3.6.4 - 0x80070643 - Fatal Error during installation

2018-02-27 Thread Steve Dower
Steve Dower added the comment: Make sure all your Windows updates are installed, reboot if necessary, and try again. I believe this is the error that occurs when another installation is ongoing, and Windows Update is about the only tool likely to be installing something without telling you

[issue32730] Allow py launcher to launch other registered Pythons

2018-03-03 Thread Steve Dower
Steve Dower added the comment: Since I took the time to do a brain dump of my thinking here, feel free to review/contribute to https://github.com/zooba/PyLauncher/wiki Note that the code in that repo doesn't match the wiki page, and while I think it's good code I do now think it&#

[issue32921] .pth files cannot contain folders with utf-8 names

2018-03-05 Thread Steve Dower
Steve Dower added the comment: Yes, it'll have significant side effects. The default file encoding on Windows is your configured code page (1252, in your case), and there's no good way around that default. The easiest immediate fix is to re-encode that file yourself. Perhaps wha

[issue33001] Buffer overflow vulnerability in os.symlink on Windows

2018-03-05 Thread Steve Dower
New submission from Steve Dower : On February 27th, 2018, the Python Security Response team was notified of a buffer overflow issue in the os.symlink() method on Windows. The issue affects all versions of Python between 3.2 and 3.6.4, including the 3.7 beta releases. It will be patched for

[issue33001] Buffer overflow vulnerability in os.symlink on Windows

2018-03-05 Thread Steve Dower
Change by Steve Dower : -- keywords: +patch pull_requests: +5756 stage: -> patch review ___ Python tracker <https://bugs.python.org/issue33001> ___ ___ Python-

[issue33001] Buffer overflow vulnerability in os.symlink on Windows

2018-03-05 Thread Steve Dower
Change by Steve Dower : -- pull_requests: +5757 ___ Python tracker <https://bugs.python.org/issue33001> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue33001] Buffer overflow vulnerability in os.symlink on Windows

2018-03-05 Thread Steve Dower
Change by Steve Dower : -- pull_requests: +5758 ___ Python tracker <https://bugs.python.org/issue33001> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue33001] Buffer overflow vulnerability in os.symlink on Windows

2018-03-05 Thread Steve Dower
Change by Steve Dower : -- pull_requests: +5759 ___ Python tracker <https://bugs.python.org/issue33001> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue33001] Buffer overflow vulnerability in os.symlink on Windows

2018-03-05 Thread Steve Dower
Steve Dower added the comment: New changeset 6921e73e33edc3c61bc2d78ed558eaa22a89a564 by Steve Dower in branch 'master': bpo-33001: Prevent buffer overrun in os.symlink (GH-5989) https://github.com/python/cpython/commit/6921e73e33edc3c61bc2d78ed558ea

[issue33001] Buffer overflow vulnerability in os.symlink on Windows

2018-03-05 Thread Steve Dower
Steve Dower added the comment: New changeset baa45079466eda1f5636a6d13f3a60c2c00fdcd3 by Steve Dower in branch '3.6': [3.6] bpo-33001: Prevent buffer overrun in os.symlink (GH-5989) (GH-5990) https://github.com/python/cpython/commit/baa45079466eda1f5636a6d13f3a60

[issue33001] Buffer overflow vulnerability in os.symlink on Windows

2018-03-05 Thread Steve Dower
Steve Dower added the comment: Patches are merged, except for the ones that belong to @Larry. Thanks again Alexey for the final round of feedback! -- nosy: +larry ___ Python tracker <https://bugs.python.org/issue33

[issue33011] Embedded 3.6.4 distribution does not add script parent as sys.path[0]

2018-03-06 Thread Steve Dower
Steve Dower added the comment: This is the intentional design of the embedded distribution. You need to update the ._pth file to include the directories that have files that are part of your app - it's not meant for running random scripts, that's the job of the normal distribu

[issue31349] Embedded initialization ignores Py_SetProgramName()

2018-03-06 Thread Steve Dower
Steve Dower added the comment: I just hit this myself (and embarrassingly, I recently touched this code everyone and forgot to fix this). Hopefully I get a chance to get to it, but patches are certainly welcome and I'll happily aim to get them into 3.6 onwards. -- versions: +P

[issue31349] Embedded initialization ignores Py_SetProgramName()

2018-03-06 Thread Steve Dower
Steve Dower added the comment: (That said, I didn't try again 3.7, so it may already be fixed there. But since we're still fixing problems with 3.6, we should do that one too.) -- ___ Python tracker <https://bugs.python.o

[issue33001] Buffer overflow vulnerability in os.symlink on Windows (CVE-2018-1000117)

2018-03-06 Thread Steve Dower
Steve Dower added the comment: FYI, the CVE number for this issue is CVE-2018-1000117. -- title: Buffer overflow vulnerability in os.symlink on Windows -> Buffer overflow vulnerability in os.symlink on Windows (CVE-2018-1000117) ___ Python trac

[issue33001] Buffer overflow vulnerability in os.symlink on Windows (CVE-2018-1000117)

2018-03-07 Thread Steve Dower
Steve Dower added the comment: Thanks, Victor! -- ___ Python tracker <https://bugs.python.org/issue33001> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue33016] nt._getfinalpathname may use uninitialized memory

2018-03-08 Thread Steve Dower
Steve Dower added the comment: New changeset 3b20d3454e8082e07dba93617793de5dc9237828 by Steve Dower (Alexey Izbyshev) in branch 'master': bpo-33016: Fix potential use of uninitialized memory in nt._getfinalpathname (#6010) https://github.com/python/cpyt

[issue33016] nt._getfinalpathname may use uninitialized memory

2018-03-08 Thread Steve Dower
Change by Steve Dower : -- pull_requests: +5795 ___ Python tracker <https://bugs.python.org/issue33016> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue28113] Remove Py_CreateSymbolicLinkW

2018-03-08 Thread Steve Dower
Steve Dower added the comment: We should look at merging this, though we need a few things to be done first (anyone can jump in and do these, doesn't have to be Eryk): * patch needs to be converted to a GitHub PR * we should use unique names within %TEMP% to avoid conflicts between

[issue33030] GetLastError() may be overwritten by Py_END_ALLOW_THREADS

2018-03-08 Thread Steve Dower
New submission from Steve Dower : Most Win32 API calls are made within Py_BEGIN_ALLOW_THREADS blocks, as they do not access Python objects and so we can release the GIL. However, in general, error handling occurs after the Py_END_ALLOW_THREADS line. Due to the design of the Win32 API, the

[issue33030] GetLastError() may be overwritten by Py_END_ALLOW_THREADS

2018-03-08 Thread Steve Dower
Steve Dower added the comment: > GetLastError() docs officially scare us I believe this is a case where the docs were updated from intended/correct behavior to actual behavior, which happens from time to time and is never clearly marked. As I say, they are _supposed_ to leave the er

[issue33030] GetLastError() may be overwritten by Py_END_ALLOW_THREADS

2018-03-08 Thread Steve Dower
Steve Dower added the comment: > Before take_gil() knows whether it has to do any work I thought we had a check for when the GIL was not even initialized, but that doesn't seem to exist in master any more. Preserving GetLastError() at the same place we do errno is probably sufficient

[issue33016] nt._getfinalpathname may use uninitialized memory

2018-03-08 Thread Steve Dower
Steve Dower added the comment: New changeset 32efcd13069a89abf007373274ee1bc0909d1996 by Steve Dower in branch '3.6': bpo-33016: Fix potential use of uninitialized memory in nt._getfinalpathname (GH-6032) https://github.com/python/cpython/commit/32efcd13069a89abf007373274ee1b

[issue33016] nt._getfinalpathname may use uninitialized memory

2018-03-08 Thread Steve Dower
Steve Dower added the comment: Leaving this open for commit review (and buildbots) for a little while, but then I'll close it if we're all good. -- assignee: -> steve.dower stage: patch review -> commit review ___ Python

[issue25345] Unable to install Python 3.5 on Windows 10

2018-03-13 Thread Steve Dower
Steve Dower added the comment: Arran - I think yours is a different issue. There should be some other log files near the one you shared that I'll need to see to find what's going wrong. Can you zip up all the Python ones and attach

[issue33056] LEaking files in concurrent.futures.process

2018-03-13 Thread Steve Dower
Steve Dower added the comment: Andrew - you can search for some module names in the nosy list to add the designated people for them. The components list doesn't include all of them (perhaps it should?). -- ___ Python tracker &

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

2018-03-13 Thread Steve Dower
Steve Dower added the comment: We should probably prefer to force ASCII with explicit escapes (ideally named escapes, rather than codepoints). I'm not sure how to make Sphinx/docutils do that, but presumably it could be our own extension that handles the problematic characters people a

[issue25345] Unable to install Python 3.5 on Windows 10

2018-03-19 Thread Steve Dower
Steve Dower added the comment: Arran - I think you have something else going wrong with your machine. There is nothing we do to cause multiple installs to start at the same time, and if rebooting does not help then I have to assume you have some permanently corrupt state. Have you installed

[issue33105] os.isfile returns false on Windows when file path is longer than 260 characters

2018-03-19 Thread Steve Dower
Steve Dower added the comment: Given basically every other file operation on Windows XP will also break on this file, I don't think it's worth us fixing in 2.7. If it occurs on Python 3.6 on Windows 7, we can consider it. But considering how well known this limitation is (and the w

[issue25345] Unable to install Python 3.5 on Windows 10

2018-03-20 Thread Steve Dower
Steve Dower added the comment: Yeah, very strange that only some MSIs are being affected by this error. They no doubt have something in common. If by clean boot you mean reinstalling Windows, then yes, that fixes most issues, but it is pretty drastic :) I don't actually have any

[issue33125] Windows 10 ARM64 platform support

2018-03-23 Thread Steve Dower
Steve Dower added the comment: I'd like to see this as well, but just to set expectations, it can't be any earlier than 3.8 at this stage (for upstream support), and we need access to some real hardware to regularly run tests on. That said, most of the changes you describe are on

[issue33180] Flag for unusable sys.executable

2018-03-29 Thread Steve Dower
New submission from Steve Dower : If you host Python in another program, it's likely that sys.executable is not pointing to a normal Python interpreter. This can cause libraries such as multiprocessing to fail when they try to launch the interpreter again. Worse, it may have launched

[issue33180] Flag for unusable sys.executable

2018-03-29 Thread Steve Dower
Steve Dower added the comment: Looking at the docs https://docs.python.org/3/library/sys.html#sys.executable maybe we only need to clarify that it's not None only if it provides the normal command line? Then file bugs against all the libraries that don't work when it

[issue30891] importlib: _find_and_load() race condition on sys.modules[name] check

2018-04-03 Thread Steve Dower
Steve Dower added the comment: I recommend and use it without trouble, but then I rarely defer imports to worker threads. Barry may have some ideas, but I think this really shouldn't be difficult to do. importlib is pretty extensible, and it's not difficult to read from a

[issue33258] Unable to install 3.6.5 on Windows Server 2008

2018-04-10 Thread Steve Dower
Steve Dower added the comment: I believe these are both out of support, but the installer should be showing an error still. If you look at recently created files in %TEMP% you may see some logs that will provide more information. The best resolution however is likely to require upgrading

[issue33258] Unable to install 3.6.5 on Windows Server 2008

2018-04-10 Thread Steve Dower
Steve Dower added the comment: I more meant that because of the EOL for that version of Windows, we don't have support at all in that version of Python. So while we try to have helpful failure messages, ultimately we aren't obliged to do anything useful at all, and it sounds like t

[issue33184] Update OpenSSL to 1.1.0h / 1.0.2o

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

[issue33184] Update OpenSSL to 1.1.0h / 1.0.2o

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

[issue33184] Update OpenSSL to 1.1.0h / 1.0.2o

2018-04-13 Thread Steve Dower
Steve Dower added the comment: New changeset b1dc07509f78b354e83f5f4a902f1ff80c7bb05d by Steve Dower in branch 'master': bpo-33184: Update Windows installer to OpenSSL 1.1.0h (GH-6463) https://github.com/python/cpython/commit/b1dc07509f78b354e83f5f4a902f1f

[issue33184] Update OpenSSL to 1.1.0h / 1.0.2o

2018-04-13 Thread Steve Dower
Steve Dower added the comment: New changeset 1672c2fbae6128ee4717e08c4e65a0ab99a02a02 by Steve Dower in branch '3.6': bpo-33184: Update Windows installer to OpenSSL 1.0.2o (GH-6464) https://github.com/python/cpython/commit/1672c2fbae6128ee4717e08c4e65a0

[issue33184] Update OpenSSL to 1.1.0h / 1.0.2o

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

[issue33148] RuntimeError('Event loop is closed') after cancelling getaddrinfo and closing loop

2018-04-14 Thread Steve Dower
Change by Steve Dower : -- keywords: +patch pull_requests: +6173 stage: -> patch review ___ Python tracker <https://bugs.python.org/issue33148> ___ ___ Python-

[issue32185] SSLContext.wrap_socket sends SNI Extension when server_hostname is IP

2018-04-14 Thread Steve Dower
Change by Steve Dower : -- pull_requests: +6174 ___ Python tracker <https://bugs.python.org/issue32185> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue33184] Update OpenSSL to 1.1.0h / 1.0.2o

2018-04-14 Thread Steve Dower
Change by Steve Dower : -- pull_requests: +6175 ___ Python tracker <https://bugs.python.org/issue33184> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue33184] Update OpenSSL to 1.1.0h / 1.0.2o

2018-04-14 Thread Steve Dower
Steve Dower added the comment: The 2.7 backport was merged by Benjamin into his release branch, which is why the PR shows "closed". -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Pyt

[issue19143] Finding the Windows version getting messier (detect windows 8.1?)

2018-04-17 Thread Steve Dower
Steve Dower added the comment: The attached files should work on Python 3.4. Feel free to use them. -- ___ Python tracker <https://bugs.python.org/issue19

[issue33316] PyThread_release_lock always fails

2018-04-23 Thread Steve Dower
Steve Dower added the comment: Looks okay, but I wonder whether the implementation of PyMUTEX_UNLOCK should return something other than zero? What is it meant to return? -- ___ Python tracker <https://bugs.python.org/issue33

[issue33351] Support compiling with clang-cl on Windows

2018-04-29 Thread Steve Dower
Steve Dower added the comment: Feel free to start creating patches so we can get an idea of what the changes would look like. Hopefully it's not that dramatic. Be very careful making performance claims without benchmarks to back it up, and ideally against multiple sets of hardware (MS

[issue32533] SSLSocket read/write thread-unsafety

2018-04-29 Thread Steve Dower
Steve Dower added the comment: We don't have a roadmap, just volunteers. When someone is sufficiently motivated to work on it, it will happen. (You're welcome to try and motivate people with reason, pleading, money and/or abuse, though I don't recommend the last one :) Mon

[issue33015] Fix function cast warning in thread_pthread.h

2018-05-09 Thread Steve Dower
Steve Dower added the comment: Can't we just fix the cast? We shouldn't have to do heap allocations for this. -- nosy: +steve.dower ___ Python tracker <https://bugs.python.o

[issue21983] segfault in ctypes.cast

2018-05-09 Thread Steve Dower
Steve Dower added the comment: New changeset d518d8bc8d5dac1a1270612f424d33e0e5afc2b5 by Steve Dower (Oren Milman) in branch 'master': bpo-21983: Fix a crash in ctypes.cast() when passed a ctypes structured data type (GH-3859) https://github.com/python/cpyt

[issue21983] segfault in ctypes.cast

2018-05-09 Thread Steve Dower
Change by Steve Dower : -- assignee: -> steve.dower stage: patch review -> backport needed versions: +Python 3.8 -Python 3.4 ___ Python tracker <https://bugs.python.org/i

[issue21983] segfault in ctypes.cast

2018-05-09 Thread Steve Dower
Steve Dower added the comment: The backport to 2.7 needs some help. I can't do it on my laptop for the next week, but I'll try to get to it eventually. Feel free to get there first. -- versions: +Python 3.6 ___ Python track

[issue33015] Fix function cast warning in thread_pthread.h

2018-05-11 Thread Steve Dower
Steve Dower added the comment: In this case, we know the behaviour is okay and the warning is wrong. We should suppress the warning around the offending line, rather than adding significant code that may introduce genuine bugs. -- ___ Python

[issue33522] Enable CI builds on Visual Studio Team Services

2018-05-15 Thread Steve Dower
New submission from Steve Dower : We have been provided with https://python.visualstudio.com/cpython and a measure of build machines to help us run continuous integration builds. The benefits are more reliable builds (especially Mac and Windows) and higher parallelism than our current

[issue33015] Fix function cast warning in thread_pthread.h

2018-05-15 Thread Steve Dower
Steve Dower added the comment: Ah okay, fair enough. Knowing that, I'll take another look at the PR. I'd really like to simplify this as much as possible to avoid risk of regression. -- ___ Python tracker <https://bugs.python.o

[issue31569] inconsistent case of PCbuild/ directory

2017-09-25 Thread Steve Dower
Steve Dower added the comment: I'm okay with the PR as it stands, especially the parts that affect GitHub and appveyor, as those are almost certainly using case sensitive comparisons. It's definitely not easier to update the case of a file that is in git, and doing so will very li

[issue31170] Update to expat 2.2.4 (expat: utf8_toUtf8 cannot properly handle exhausting buffer)

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

[issue31569] inconsistent case of PCbuild/ directory

2017-09-25 Thread Steve Dower
Changes by Steve Dower : -- resolution: -> fixed stage: -> resolved status: open -> closed ___ Python tracker <https://bugs.python.org/issue31569> ___

[issue31595] Preferring MSVC 2017 in Python 3.6.x new minor releases

2017-09-26 Thread Steve Dower
Steve Dower added the comment: Let me hop in my time machine and fix that for you: https://github.com/python/cpython/pull/3425 (FWIW, I think it makes *much* more sense for setuptools to fix this by simply forking all of distutils and never looking back. But since we don't live in that

[issue31595] Preferring MSVC 2017 in Python 3.6.x new minor releases

2017-09-26 Thread Steve Dower
Changes by Steve Dower : -- resolution: -> out of date stage: -> resolved status: open -> closed ___ Python tracker <https://bugs.python.org/issue31595> ___ ___

[issue29624] Python 3.5.3 x86 web installer cannot install launcher

2017-09-26 Thread Steve Dower
Changes by Steve Dower : -- resolution: -> fixed stage: test needed -> resolved status: open -> closed ___ Python tracker <https://bugs.python.or

[issue31612] Building 3.6 fails on Windows

2017-09-27 Thread Steve Dower
Steve Dower added the comment: If you install VS 2017 and select the "Python native development" option as described in the dev guide, you get the correct compilers (plural) for Python 3.5 onwards. The build.bat file (specifically, the find_msbuild.bat helper) will choose the corre

[issue31616] Windows installer: Python binaries are user-writable

2017-09-28 Thread Steve Dower
Steve Dower added the comment: Correct, this is expected behavior. If you want your system to be secure *and* to modify default settings, you have to take full responsibility for that. You can't rely on other tools to have secure non-default settings (they should have secure *de

[issue31582] Add _pth breadcrumb to sys.path documentation

2017-09-29 Thread Steve Dower
Steve Dower added the comment: Sounds like a good idea. I hope that sys.path initialization is documented as well for POSIX as it is for Windows, as that will make this a simple "for X, click here; for Y, click here" patch. Otherwise, someone will need to figure out exactly what

[issue31555] Windows pyd slower when not loaded via load_dynamic

2017-09-29 Thread Steve Dower
Steve Dower added the comment: The only difference between your two tests is the install tool, and neither setuptools nor wheel bugs are tracked here. -- resolution: -> third party stage: -> resolved status: open -> closed ___ Pytho

[issue31555] Windows pyd slower when not loaded via load_dynamic

2017-09-30 Thread Steve Dower
Steve Dower added the comment: The difference is on startup in how they generate sys.path entries. Skip the install step and directly run the library in a clean virtual environment, so that no .pth or .egg files are in use. If the difference still occurs, show that it also occurs on a recent

[issue31555] Windows pyd slower when not loaded via load_dynamic

2017-10-01 Thread Steve Dower
Steve Dower added the comment: I don't really care, since you're comparing multiple unsupported technologies, but my guess is that the egg install injects the library much earlier on sys.path, which avoids most of the relatively expensive file s

[issue31662] trivial typos in Tools/msi/uploadrelease.bat

2017-10-02 Thread Steve Dower
Steve Dower added the comment: Thanks. It is indeed trivial, so I'll merge and backport it. -- ___ Python tracker <https://bugs.python.org/issue31662> ___ ___

[issue31662] trivial typos in Tools/msi/uploadrelease.bat

2017-10-02 Thread Steve Dower
Steve Dower added the comment: New changeset efb560eee28b6b2418e1231573ca62574d6dc07b by Steve Dower (Anselm Kruis) in branch 'master': bpo-31662: Fix typos in uploadrelease.bat script https://github.com/python/cpython/commit/efb560eee28b6b2418e1231573ca62

[issue31662] trivial typos in Tools/msi/uploadrelease.bat

2017-10-02 Thread Steve Dower
Change by Steve Dower : -- assignee: -> steve.dower resolution: -> fixed stage: patch review -> backport needed versions: -Python 3.5 ___ Python tracker <https://bugs.python.or

<    32   33   34   35   36   37   38   39   40   41   >