[issue37048] ssl module: QUIC support for HTTP/3

2019-05-25 Thread Jeremy Lainé
Jeremy Lainé added the comment: I have started implementing a QUIC stack in Python [1] so I'll share a couple of thoughts in addition to Christian's two valid points: - SSLSocket is almost certainly not going to be the right entry point. QUIC's interface to TLS is entirely foc

[issue37251] Mocking a MagicMock with a function spec results in an AsyncMock

2019-06-12 Thread Jeremy Cline
New submission from Jeremy Cline : This is related to the new AsyncMock[0] class in Python 3.8b1. A simple reproducer is: from unittest import mock mock_obj = mock.MagicMock() mock_obj.mock_func = mock.MagicMock(spec=lambda x: x) with mock.patch.object(mock_obj, "mock_func")

[issue37313] test_concurrent_futures stopped after 25 hours on AMD64 Windows7 SP1 3.7

2019-06-17 Thread Jeremy Kloth
Jeremy Kloth added the comment: The test run was stopped by me terminating the stuck processes on the buildbot worker itself. This happens approximately once a month or so. As of late, its been stuck in test_concurrent_futures, but it can get stuck in any test that uses multiprocessing

[issue37386] [EASY] test_io: test_large_file_ops() failed on AMD64 Windows7 SP1 3.x with: [Errno 28] No space left on device

2019-06-24 Thread Jeremy Kloth
Change by Jeremy Kloth : -- nosy: +jkloth ___ Python tracker <https://bugs.python.org/issue37386> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue37387] test_compileall fails randomly on Windows when tests are run in parallel

2019-06-24 Thread Jeremy Kloth
Change by Jeremy Kloth : -- nosy: +jkloth ___ Python tracker <https://bugs.python.org/issue37387> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue37531] Fix regrtest timeout for subprocesses: regrtest -jN --timeout=SECONDS

2019-07-29 Thread Jeremy Kloth
Change by Jeremy Kloth : -- nosy: +jkloth ___ Python tracker <https://bugs.python.org/issue37531> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue37734] Registry keys for Windows Store package have wrong executable

2019-07-31 Thread Jeremy Kloth
Change by Jeremy Kloth : -- nosy: +jkloth ___ Python tracker <https://bugs.python.org/issue37734> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue30687] build.bat should locate msbuild.exe rather than vcvarsall.bat

2017-06-17 Thread Jeremy Kloth
Changes by Jeremy Kloth : -- nosy: +jkloth ___ Python tracker <http://bugs.python.org/issue30687> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue30263] regrtest: log the system load?

2017-06-17 Thread Jeremy Kloth
Changes by Jeremy Kloth : -- nosy: +jkloth ___ Python tracker <http://bugs.python.org/issue30263> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue30263] regrtest: log the system load?

2017-06-19 Thread Jeremy Kloth
Jeremy Kloth added the comment: I've implemented a getloadavg() equivalent using Windows performance counters that could be used to display the load in regrtest, as it happens, before finding this issue. It is implemented in C (although it *can* be done in only Python). It has the iden

[issue30339] test_multiprocessing_main_handling: "RuntimeError: Timed out waiting for results" on x86 Windows7 3.x

2017-06-19 Thread Jeremy Kloth
Jeremy Kloth added the comment: Following up as the last run on my 3.5 buildslave: http://buildbot.python.org/all/builders/AMD64%20Windows7%20SP1%203.5/builds/198 had the timeout again. It is running at a 50% success rate with the only fault being warnings/errors due to this test

[issue30368] [2.7] OpenSSL compilation fails on AMD64 Windows7 SP1 VS9.0 2.7

2017-06-19 Thread Jeremy Kloth
Jeremy Kloth added the comment: This is ready to be merged, pending any comments from Zach. -- ___ Python tracker <http://bugs.python.org/issue30368> ___ ___ Pytho

[issue30263] regrtest: log the system load?

2017-06-19 Thread Jeremy Kloth
Jeremy Kloth added the comment: Pushed utility to github: https://github.com/jkloth/loadavg It is currently just a command-line utility PoC. The routines of interest would be CalculateLoadReg and the loop in wmain(). -- ___ Python tracker <h

[issue30263] regrtest: log the system load?

2017-06-19 Thread Jeremy Kloth
Jeremy Kloth added the comment: On Mon, Jun 19, 2017 at 6:24 AM, STINNER Victor wrote: > > STINNER Victor added the comment: > >> Pushed utility to github: https://github.com/jkloth/loadavg > > Hum, I see two implementations: > > * LOADAVG_USE_REG: use the

[issue30263] regrtest: log the system load?

2017-06-19 Thread Jeremy Kloth
Jeremy Kloth added the comment: Race conditions, not so much, but definitely helps with random timeout errors ;) -- ___ Python tracker <http://bugs.python.org/issue30

[issue29591] Various security vulnerabilities in bundled expat (CVE-2016-0718 and CVE-2016-4472)

2017-06-21 Thread Jeremy Kloth
Changes by Jeremy Kloth : -- pull_requests: +2355 ___ Python tracker <http://bugs.python.org/issue29591> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue29591] Various security vulnerabilities in bundled expat (CVE-2016-0718 and CVE-2016-4472)

2017-06-21 Thread Jeremy Kloth
Jeremy Kloth added the comment: Added pull_request2355 to address issues from upgrading to Expat 2.2.0 on Windows 2.7 -- nosy: +jkloth ___ Python tracker <http://bugs.python.org/issue29

[issue30694] Update embedded copy of expat to 2.2.1

2017-06-21 Thread Jeremy Kloth
Jeremy Kloth added the comment: Re buildbot failure: see PR on issue29591 It's not a problem with Expat, but with our project files. -- nosy: +jkloth ___ Python tracker <http://bugs.python.org/is

[issue30368] [2.7] OpenSSL compilation fails on AMD64 Windows7 SP1 VS9.0 2.7

2017-06-21 Thread Jeremy Kloth
Jeremy Kloth added the comment: Added PR to issue29591 to address issue building Expat. In short, the project files were not updated along with the copy of Expat. I cannot reproduce the GUI build problem. I would need to see the build logs to attempt to resolve

[issue29591] expat 2.2.0: Various security vulnerabilities in bundled expat (CVE-2016-0718 and CVE-2016-4472)

2017-06-21 Thread Jeremy Kloth
Jeremy Kloth added the comment: Just a note with the PR, the changes to PCbuild\pyexpat.vcxproj and PCbuild\_elementtree.vcxproj should probably be merged forward as well. On Wed, Jun 21, 2017 at 1:14 PM, STINNER Victor wrote: > > STINNER Victor added the comment: > > >

[issue30860] Consolidate stateful C globals under a single struct.

2017-07-06 Thread Jeremy Kloth
Changes by Jeremy Kloth : -- nosy: +jkloth ___ Python tracker <http://bugs.python.org/issue30860> ___ ___ Python-bugs-list mailing list Unsubscribe:

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

2017-07-17 Thread Jeremy Kloth
Jeremy Kloth added the comment: Or, use the preexisting convention of the HOST_PYTHON envvar that was used prior to the recent merged PRs -- nosy: +jkloth ___ Python tracker <http://bugs.python.org/issue30

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

2017-07-17 Thread Jeremy Kloth
Jeremy Kloth added the comment: > In this case, the Powershell dependency fails on Windows 7 since it does not > have the Invoke-WebRequest command (unless you've been installing all your > updates). Just to note, PowerShell must be updated *manually* (at least on Win7). Plu

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

2017-07-17 Thread Jeremy Kloth
Jeremy Kloth added the comment: > Is that an actual convention? I didn't see any other references, so I figured > Zach had made it up. It has existed in the Windows build files since 2.5, when x64 supported was initially added by MvL. -- nosy: +j

[issue31113] Stack overflow with large program

2017-08-06 Thread Jeremy Kloth
Jeremy Kloth added the comment: Using master to debug, the (first) offending part of the generated file is the get_match_iter() function. The problem is not that there is too much nesting, rather it is simply the fact of too many if's period. Simple testing at the command prompt (

[issue31113] Stack overflow with large program

2017-08-07 Thread Jeremy Kloth
Jeremy Kloth added the comment: The PR resolved the stack overflow in dfs(), however it now fails in the stackdepth() routine (technically, the stackdepth_walk() helper). -- ___ Python tracker <http://bugs.python.org/issue31

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

2017-08-26 Thread Jeremy Kloth
Changes by Jeremy Kloth : -- nosy: +jkloth ___ Python tracker <http://bugs.python.org/issue31260> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue31340] Use VS 2017 compiler for build

2017-09-04 Thread Jeremy Kloth
Changes by Jeremy Kloth : -- nosy: +jkloth ___ Python tracker <http://bugs.python.org/issue31340> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue31371] Remove deprecated tkinter.tix module in 3.7

2017-09-06 Thread Jeremy Kloth
Changes by Jeremy Kloth : -- nosy: +jkloth ___ Python tracker <http://bugs.python.org/issue31371> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue31499] ElementTree crash with new expat

2017-09-17 Thread Jeremy Kloth
Changes by Jeremy Kloth : -- nosy: +jkloth ___ Python tracker <https://bugs.python.org/issue31499> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue35134] Add a new Include/unstable/ subdirectory for the "unstable" API

2018-11-22 Thread Jeremy Kloth
Jeremy Kloth added the comment: As a heavy user of the non-limited Python C API, I would like to offer my suggestions for consideration. (I'm not allowed to post in discourse) First off, to me, 'unstable' comes off quite negative, i.e. risky or erratic. Brett's sugg

[issue35420] how to migrate a c-extension module to one that supports subinerpreters?

2018-12-05 Thread Jeremy Kloth
Change by Jeremy Kloth : -- nosy: +jkloth ___ Python tracker <https://bugs.python.org/issue35420> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue35433] Correctly detect installed SDK versions

2018-12-06 Thread Jeremy Kloth
New submission from Jeremy Kloth : In the process of eliminating compiler warnings on my buildbot, I needed to update VS2015 to the latest toolset (VS2015 Update 3). This in turn now causes an error due about not having the required version of Windows SDK installed. It seems that the

[issue35433] Correctly detect installed SDK versions

2018-12-06 Thread Jeremy Kloth
Change by Jeremy Kloth : -- keywords: +patch pull_requests: +10243 stage: -> patch review ___ Python tracker <https://bugs.python.org/issue35433> ___ ___ Py

[issue9566] Compilation warnings under x64 Windows

2018-12-06 Thread Jeremy Kloth
Change by Jeremy Kloth : -- pull_requests: +10244 ___ Python tracker <https://bugs.python.org/issue9566> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue9566] Compilation warnings under x64 Windows

2018-12-06 Thread Jeremy Kloth
Change by Jeremy Kloth : -- pull_requests: +10245 ___ Python tracker <https://bugs.python.org/issue9566> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue9566] Compilation warnings under x64 Windows

2018-12-06 Thread Jeremy Kloth
Change by Jeremy Kloth : -- nosy: +jkloth ___ Python tracker <https://bugs.python.org/issue9566> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue9566] Compilation warnings under x64 Windows

2018-12-06 Thread Jeremy Kloth
Jeremy Kloth added the comment: I've added two PRs (GH-11010 and GH-11011) along with bpo-35433 that should get 3.x warning free (finally!) on 64-bit Windows. -- ___ Python tracker <https://bugs.python.org/i

[issue35433] Correctly detect installed SDK versions

2018-12-06 Thread Jeremy Kloth
Jeremy Kloth added the comment: Also, my buildbot *should* fail until this change is merged. -- ___ Python tracker <https://bugs.python.org/issue35433> ___ ___

[issue35433] Correctly detect installed SDK versions

2018-12-06 Thread Jeremy Kloth
Change by Jeremy Kloth : -- nosy: +vstinner ___ Python tracker <https://bugs.python.org/issue35433> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue32805] Possible integer overflow when call PyDTrace_GC_DONE()

2018-12-06 Thread Jeremy Kloth
Change by Jeremy Kloth : -- keywords: +patch pull_requests: +10247 stage: -> patch review ___ Python tracker <https://bugs.python.org/issue32805> ___ ___ Py

[issue35433] Correctly detect installed SDK versions

2018-12-07 Thread Jeremy Kloth
Jeremy Kloth added the comment: Sorry Victor, I should have added more context when I nosy'ed you to this issue. Since you seem to be the "buildbot keeper" as of late, I wanted to give you a pointer to the reason for my failing buildbot. Which, as I surmised, is failing com

[issue35433] Correctly detect installed SDK versions

2018-12-07 Thread Jeremy Kloth
Jeremy Kloth added the comment: > Is it a warning or an error? What is the warning/error message? What is your > buildbot? It is a compiler error as you point out below (with message). By buildbot is: https://buildbot.python.org/all/#/workers/12 > Right now, it seems like on

[issue35433] Correctly detect installed SDK versions

2018-12-08 Thread Jeremy Kloth
Jeremy Kloth added the comment: Not to be impatient or anything, but this change is keeping my buildbot from being useful. Would it be possible for someone to merge as it has already been approved (msg331263). -- ___ Python tracker <ht

[issue35433] Correctly detect installed SDK versions

2018-12-09 Thread Jeremy Kloth
Jeremy Kloth added the comment: Sorry for the delay, but I wanted to get an environment that still had an older VS2015 install to test against. VS2015 prior to Update 3 use a different heuristic to determine the SDK version for building. I've made the following changes: - version che

[issue35433] Correctly detect installed SDK versions

2018-12-09 Thread Jeremy Kloth
Change by Jeremy Kloth : -- pull_requests: +10294 ___ Python tracker <https://bugs.python.org/issue35433> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue35433] Correctly detect installed SDK versions

2018-12-09 Thread Jeremy Kloth
Jeremy Kloth added the comment: I've added a PR for 3.6 using a different methodology for finding the available SDK. Without some change, my buildbot will continue to stay in the red (for 3.6). It does not the the highest SDK currently (previously?) listed the hard-coded list. It ha

[issue34977] Release Windows Store app containing Python

2018-12-10 Thread Jeremy Kloth
Jeremy Kloth added the comment: See also bpo-35450: venv module doesn't create a copy of python binary by default -- nosy: +jkloth ___ Python tracker <https://bugs.python.org/is

[issue35433] Correctly detect installed SDK versions

2018-12-10 Thread Jeremy Kloth
Jeremy Kloth added the comment: A quick look at the good build log does indicate that the 8.1 SDK was being used (vars UseWindows81SDK=true and WindowsTargetPlatformVersion=8.1) which is the default behavior for VS2015 if a matching (from python.props) Win10SDK cannot be found. It seems

[issue35433] Correctly detect installed SDK versions

2018-12-10 Thread Jeremy Kloth
Jeremy Kloth added the comment: I forgot to mention that the presence of UseWindows81SDK in the build log indicates that the Build Tools are at most at version 1.2 (included with VS2015 Update 1) which should still work (it's what I tested against), but the difference may be the stand

[issue35433] Correctly detect installed SDK versions

2018-12-10 Thread Jeremy Kloth
Jeremy Kloth added the comment: Well, if VS2015 is installed, the simplest way to have the required SDK(s) is to go to Control Panel -> Uninstall -> Microsoft Visual Studio (Community) 2015 Click Modify. Expand "Windows and Web Development" Expand "Universal Windows

[issue35433] Correctly detect installed SDK versions

2018-12-10 Thread Jeremy Kloth
Jeremy Kloth added the comment: > Oh, it's not the installation itself, I'm just wondering if allowing a newer > version is ok too? The original PR (included in 3.7, 3.x) uses the latest discovered SDK, but Steve stated that that logic broke the Pipelines build, so I rework

[issue35433] Correctly detect installed SDK versions

2018-12-11 Thread Jeremy Kloth
Jeremy Kloth added the comment: All the Windows 3.6 windows buildbots are happy! Thanks to all! -- status: open -> closed ___ Python tracker <https://bugs.python.org/issu

[issue23057] [Windows] asyncio: support signal handlers on Windows (feature request)

2018-12-30 Thread Jeremy Kloth
Jeremy Kloth added the comment: GH-11274 desperately needs to be addressed! The 2 Windows 7 buildbots have been failing on 3.x since the merge of GH-11135 on 12-18. Either that or the commit b5c8cfa needs to be reverted. Being the holiday season and all I can see the extra time needed for

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

2019-01-21 Thread Jeremy Kloth
Jeremy Kloth added the comment: This is an old, but recurring issue with Windows and directory tree removal: see issue15496 Basically, for stable (Windows) buildbots, directory tree removal needs to go through support.rmtree, not any of the stdlib methods for doing so. In a nutshell, the

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

2019-01-21 Thread Jeremy Kloth
Jeremy Kloth added the comment: Also of note, a largish temporary directory (16K+ entries) seemed to be causing a slowdown in the cleanup of the tests, thus triggering the failures. A quick purge later and the tests seem to run to completion. Although the tests are currently passing, they

[issue36010] Please provide a .zip Windows release of Python that is not crippled/for embedding only

2019-02-16 Thread Jeremy Kloth
Jeremy Kloth added the comment: For a "tool-style" installation of Python, see the 'PCBuild\find_python.bat' script in the Python source tree, specifically the nuget section. Ultimately, it is just: > nuget install pythonx86 -ExcludeVersion -OutputDirectory "some

[issue36010] Please provide a .zip Windows release of Python that is not crippled/for embedding only

2019-02-16 Thread Jeremy Kloth
Jeremy Kloth added the comment: On Sat, Feb 16, 2019 at 8:32 AM jt wrote: > Is nuget a standard windows utility? No, but if your script can download a zip of Python, it could download the nuget executable. > What happens if that process is interrupted? Same as interrupting an

[issue36010] Please provide a .zip Windows release of Python that is not crippled/for embedding only

2019-02-16 Thread Jeremy Kloth
Jeremy Kloth added the comment: > Why do I need to fetch another tool just to fetch Python? Well, you still need a tool to fetch the zip and you need another tool to unzip it. If not, how are you bootstrapping your script for those uses? > If this is the final decision then I recomm

[issue36010] Please provide a .zip Windows release of Python that is not crippled/for embedding only

2019-02-18 Thread Jeremy Kloth
Jeremy Kloth added the comment: Thank you for your testing of the venv and pip workflows. At this point, I believe that all that remains would be for Steve Dower to incorporate the `IncludeVEnv=true` parameter into the nupkg build process. I personally do not see a problem with including

[issue36085] Enable better DLL resolution

2019-02-22 Thread Jeremy Kloth
Change by Jeremy Kloth : -- nosy: +jkloth ___ Python tracker <https://bugs.python.org/issue36085> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue30017] zlib

2017-04-07 Thread Jeremy Heiner
New submission from Jeremy Heiner: I had some statements inside a `with` statement to write data to an entry in a ZipFile. It worked great. I added a second `with` statement containing almost exactly the same statements. That still worked great. I refactored those common statements into a

[issue30017] zlib.error: Error -2 while flushing: inconsistent stream state

2017-04-07 Thread Jeremy Heiner
Changes by Jeremy Heiner : -- title: zlib -> zlib.error: Error -2 while flushing: inconsistent stream state ___ Python tracker <http://bugs.python.org/issu

[issue30265] test.support.unlink() should fail or emit a warning on WindowsError: [Error 32] The process cannot access the file ...

2017-05-04 Thread Jeremy Kloth
Jeremy Kloth added the comment: Looking at test.support, the only errors that I can see being ignored by unlink() is FileNotFoundError and NotADirectoryError (line 399). The only bare OSError except clause is on line 359, but for an lstat() call. -- nosy: +jkloth

[issue30273] The coverage job is broken: distutils build_ext fails on None

2017-05-04 Thread Jeremy Kloth
Jeremy Kloth added the comment: The change to sysconfig *may* be a regression wrt bpo-15366. I'm not in the position to be able to check this possibility, ATM, but it is possible that other things have also changed since this was commited 5 years ago. -- nosy: +j

[issue30273] The coverage job is broken: distutils build_ext fails on None

2017-05-09 Thread Jeremy Kloth
Jeremy Kloth added the comment: PR1515 addresses the issue from bpo-15366 (venv from Python compiled with builddir != srcdir). It seems that the original fix from bpo-15366 no longer worked. This addresses that. -- ___ Python tracker <h

[issue30273] The coverage job is broken: distutils build_ext fails on None

2017-05-09 Thread Jeremy Kloth
Jeremy Kloth added the comment: Yeah, sorry, I was working (fighting ;) with the new GitHub workflow while you updated the status. -- ___ Python tracker <http://bugs.python.org/issue30

[issue30318] test_distutils is too verbose on Windows

2017-05-09 Thread Jeremy Kloth
Changes by Jeremy Kloth : -- nosy: +jkloth ___ Python tracker <http://bugs.python.org/issue30318> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue30334] [Windows] support.rmtree() should retry on WindowsError: [Error 32] The process cannot access the file because it is being used by another process

2017-05-10 Thread Jeremy Kloth
Jeremy Kloth added the comment: See http://bugs.python.org/issue15526 -- ___ Python tracker <http://bugs.python.org/issue30334> ___ ___ Python-bugs-list mailin

[issue30350] devguide suggests to use VS 2008 to build Python 2.7, but VS 2008 is no more supported?

2017-05-12 Thread Jeremy Kloth
Jeremy Kloth added the comment: A few things... First to Victor's comments on the devguide. The following sentence after the one quoted states: "To use the build files in the PCbuild directory you will also need Visual Studio 2010" In short, you need *both* VS2008 and VS2010

[issue29570] Windows Buildbot 2.7 is broken

2017-05-14 Thread Jeremy Kloth
Jeremy Kloth added the comment: All builders have been reset and pass, with the exception of the VS9 one which is a different problem. -- ___ Python tracker <http://bugs.python.org/issue29

[issue30350] devguide suggests to use VS 2008 to build Python 2.7, but VS 2008 is no more supported?

2017-05-14 Thread Jeremy Kloth
Jeremy Kloth added the comment: Now that my buildbot is back online, there is one unresolved issue pertaining to using VS9.0 only for building. That is building without Perl. It was a supported feature prior to backporting the MSBuild toolchain. With recent OpenSSL releases, without Perl

[issue30350] devguide suggests to use VS 2008 to build Python 2.7, but VS 2008 is no more supported?

2017-05-15 Thread Jeremy Kloth
Jeremy Kloth added the comment: > Wait? Why not suggesting to use this recent VS 2015 if it's > supported? In theory it is supported, yes. However, it is not compatible with previous C runtimes. Meaning things like memory allocation (malloc) and file pointers (FILE *) wouldn

[issue30371] test_long_lines() fails randomly on AMD64 Windows7 SP1 3.x

2017-05-15 Thread Jeremy Kloth
Changes by Jeremy Kloth : -- nosy: +jkloth ___ Python tracker <http://bugs.python.org/issue30371> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue30371] test_long_lines() fails randomly on AMD64 Windows7 SP1 3.x

2017-05-16 Thread Jeremy Kloth
Jeremy Kloth added the comment: Watch this space, but I'm pretty sure that it is (was) bad memory. It passes memtest86+ but I had issues with these kits in other machines. I swapped out the stick I believe that had the stuck bit. Unfortunately, it is a wait and see solution, as th

[issue30371] test_long_lines() fails randomly on AMD64 Windows7 SP1 3.x

2017-05-16 Thread Jeremy Kloth
Jeremy Kloth added the comment: My thinking is that in normal running, the in-use memory is below the bad bit. It is due to that test using such a large chunk of memory that it pushes the data into the bad area. I would wager that if largemem tests were run, the would error as well

[issue30371] test_long_lines() fails randomly on AMD64 Windows7 SP1 3.x

2017-05-16 Thread Jeremy Kloth
Jeremy Kloth added the comment: That's the real problem, I'm not *sure* it's the memory, but it does have the symptoms. And that is why my buildbot was down earlier, I was attempting to determine the bad stick and replace it. I'm just hoping I changed the right one. T

[issue30339] test_multiprocessing_main_handling: "RuntimeError: Timed out waiting for results" on x86 Windows7 3.x

2017-05-17 Thread Jeremy Kloth
Changes by Jeremy Kloth : -- nosy: +jkloth ___ Python tracker <http://bugs.python.org/issue30339> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue30460] file opened for updating cannot write after read

2017-05-24 Thread Jeremy Kloth
New submission from Jeremy Kloth: Attempting to append to an existing file fails with no error set: >>> import os, tempfile >>> fd, fn = tempfile.mkstemp() >>> os.write(fd, 'some text') 9 >>> os.close(fd) >>> with open(fn, 'r+') a

[issue30368] [2.7] OpenSSL compilation fails on AMD64 Windows7 SP1 VS9.0 2.7

2017-05-24 Thread Jeremy Kloth
Changes by Jeremy Kloth : -- pull_requests: +1888 ___ Python tracker <http://bugs.python.org/issue30368> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue30368] [2.7] OpenSSL compilation fails on AMD64 Windows7 SP1 VS9.0 2.7

2017-05-24 Thread Jeremy Kloth
Jeremy Kloth added the comment: Submitted PR-1805 that should restore perl-less building. Also some open issues as noted in the PR. -- ___ Python tracker <http://bugs.python.org/issue30

[issue30368] [2.7] OpenSSL compilation fails on AMD64 Windows7 SP1 VS9.0 2.7

2017-05-24 Thread Jeremy Kloth
Jeremy Kloth added the comment: On my VM, ssltests pass, but both the Perl and non-Perl segfault in test_ssl (and many others). My VM has just VS2008 installed, does VS2010 come with an updated SDK? -- ___ Python tracker <http://bugs.python.

[issue30368] [2.7] OpenSSL compilation fails on AMD64 Windows7 SP1 VS9.0 2.7

2017-05-24 Thread Jeremy Kloth
Jeremy Kloth added the comment: OK, testing with the 7.1 SDK installed changes the crashes around, but something is really amiss. I'd like to do more testing, but it will need to wait until morning here. -- ___ Python tracker

[issue30368] [2.7] OpenSSL compilation fails on AMD64 Windows7 SP1 VS9.0 2.7

2017-05-25 Thread Jeremy Kloth
Jeremy Kloth added the comment: Updated PR. It seems that in my testing back and forth, some build artifacts were affecting my outcomes. That's what I get for cutting corners... Per Zach's comment, I've changed to VS project files to use the prepare_ssl.py include direc

[issue30460] file opened for updating cannot write after read

2017-05-25 Thread Jeremy Kloth
Jeremy Kloth added the comment: It seems to me that it is a quite simple fix: --- a/Objects/fileobject.c +++ b/Objects/fileobject.c @@ -1110,7 +1110,7 @@ file_read(PyFileObject *f, PyObject *args) -clearerr(f->f_fp); +if (ferror(f->f_fp)) clearerr(f->f_fp);

[issue30476] Add _GenerateCRCTable() to zipfile.py to pre-compute CRC Table

2017-05-26 Thread Jeremy Kloth
Jeremy Kloth added the comment: See bpo-10030 (and pr #550). It removed that function in favor of the current approach. Also, that current code does not generate *every* time, but just once. Note that the computed value is stored in a global cache. -- nosy: +jkloth

[issue30339] test_multiprocessing_main_handling: "RuntimeError: Timed out waiting for results" on x86 Windows7 3.x

2017-06-06 Thread Jeremy Kloth
Changes by Jeremy Kloth : -- pull_requests: +2044 ___ Python tracker <http://bugs.python.org/issue30339> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue30339] test_multiprocessing_main_handling: "RuntimeError: Timed out waiting for results" on x86 Windows7 3.x

2017-06-06 Thread Jeremy Kloth
Jeremy Kloth added the comment: Added PR1978 that resolves this issue on my buildbot at least. Note that it is against 3.5 as that is the branch that has the issue, it seems. I'm guessing improvements in startup time on newer Pythons is why it doesn't occu

[issue30368] [2.7] OpenSSL compilation fails on AMD64 Windows7 SP1 VS9.0 2.7

2017-06-06 Thread Jeremy Kloth
Jeremy Kloth added the comment: Just a status check, as I would like to see my buildbot go green again. (This along with the PR on issue30339). -- ___ Python tracker <http://bugs.python.org/issue30

[issue30345] test_gdb fails on Python 3.6 when built with LTO+PGO

2017-06-07 Thread Jeremy Kloth
Jeremy Kloth added the comment: It seems that commit (https://github.com/python/cpython/commit/c52572319cbd50adff85050a54122c25239a516d) changed the parameter name in the definition of _PyCFunction_FastCallDict(). I believe that changing 'func_obj' to just 'func' should f

[issue36241] MD5 checksum is not valid for v2.7.16 "Windows x86-64 MSI installer"

2019-03-08 Thread Jeremy Kloth
Jeremy Kloth added the comment: When I visit the provided link, I also see what OP describes. Is it a caching/location issue? I'm in US-Colorado. -- nosy: +jkloth ___ Python tracker <https://bugs.python.org/is

[issue36216] urlsplit does not handle NFKC normalization

2019-03-09 Thread Jeremy Kloth
Jeremy Kloth added the comment: A missed print statement in the 2.7 patch is causing the tests to fail. Line 647 of Lib/test/test_urlparse.py -- nosy: +jkloth ___ Python tracker <https://bugs.python.org/issue36

[issue36216] urlsplit does not handle NFKC normalization

2019-03-11 Thread Jeremy Kloth
Jeremy Kloth added the comment: > > How does that cause tests to fail? Is it going to stderr? Or just causing > an error. > It is causing an "unexpected output error". When the test is re-run at the end, it is run in verbose mode so the extra output is ignored and thu

[issue34788] ipaddress module fails on rfc4007 scoped IPv6 addresses

2019-04-11 Thread Jeremy McMillan
Jeremy McMillan added the comment: I think the code in SaltStack to handle scoped IPv6 addresses is mature, so please look at these examples. https://github.com/saltstack/salt/blob/2085cb1078f187adf82a0cf19b39d350ff1bbd50/salt/_compat.py#L125

[issue36792] zipfile.writestr causes a Python crash on Windows if the locale is set

2019-05-05 Thread Jeremy Kloth
Jeremy Kloth added the comment: Related to issue bpo-36319 -- nosy: +jkloth ___ Python tracker <https://bugs.python.org/issue36792> ___ ___ Python-bugs-list m

[issue36792] zipfile.writestr causes a Python crash on Windows if the locale is set

2019-05-06 Thread Jeremy Kloth
Jeremy Kloth added the comment: So does that mean that simply doing: import locale, time locale.setlocale(locale.LC_ALL, 'de_DE') time.localtime(time.time()) is enough to trigger the heap corruption? If yes, then what is the output of: import locale, time locale.setlocale(loc

[issue36792] [Windows] time: crash on formatting time with de_DE locale

2019-05-06 Thread Jeremy Kloth
Jeremy Kloth added the comment: Ok, now let's try it using the C runtime directly: import ctypes, struct libc = ctypes.cdll.msvcrt buf = ctypes.create_string_buffer(1024) tm = struct.pack('9i', 2019, 5, 6, 9, 50, 4, 0, 126, 1) print('count:', libc.strftime(buf, 1024,

[issue36792] [Windows] time: crash on formatting time with de_DE locale

2019-05-06 Thread Jeremy Kloth
Jeremy Kloth added the comment: Oops, I forgot to add in my snippet, the setlocale() call prior to calling the C strftime() function. So an updated test: import locale locale.setlocale(locale.LC_ALL, 'de_DE') import ctypes, struct libc = ctypes.cdll.msvcrt buf = ctypes.create_str

[issue10653] test_time test_strptime fails on windows

2019-05-06 Thread Jeremy Kloth
Change by Jeremy Kloth : -- nosy: +jkloth ___ Python tracker <https://bugs.python.org/issue10653> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue36792] [Windows] time: crash on formatting time with de_DE locale

2019-05-06 Thread Jeremy Kloth
Jeremy Kloth added the comment: Thanks for the reminder Eryk Sun. This means the test needs to be run yet one more time :) import ctypes, locale, struct crt_time = ctypes.CDLL('api-ms-win-crt-time-l1-1-0', use_errno=True) locale.setlocale(locale.LC_ALL, &#

<    1   2   3   4   5   6   >