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

2019-05-07 Thread Jeremy Kloth
Jeremy Kloth added the comment: Thanks for your patience with this Charlie, but please try another run this time without the strftime() and mbstowcs() calls. Honest, we are getting closer! -- ___ Python tracker <https://bugs.python.

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

2019-05-07 Thread Jeremy Kloth
Jeremy Kloth added the comment: You can safely execute each line individually (omitting the aforementioned count/value pairs) or depending on how the copy/paste is being done, just paste the script into a text editor (notepad) and comment out those lines. Then copy-paste that modified

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

2019-05-07 Thread Jeremy Kloth
Jeremy Kloth added the comment: Here is another test, this time removing Python from the equation (mostly :) import ctypes, struct crt_locale = ctypes.CDLL('api-ms-win-crt-locale-l1-1-0', use_errno=True) crt_time = ctypes.CDLL('api-ms-win-crt-time-l1-1-0', use_er

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

2019-05-07 Thread Jeremy Kloth
Jeremy Kloth added the comment: Final test, this time, no Python what so ever. I've added a zip containing a simple C program (source and .exe) that performs the same test. The output should be similar to: The current locale is now: C The time zone is: 'Mountain Daylight

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

2019-05-07 Thread Jeremy Kloth
Jeremy Kloth added the comment: Thanks again! I will have some more tests for you to try tomorrow as I am out of time for today. I'm currently of the belief that there is something Python is going to have to do to work around an issue within the CRT, but more testing will prove

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

2019-05-09 Thread Jeremy Kloth
Jeremy Kloth added the comment: I've added another test executable (issue36792-2.zip) which should bring some insight into where things are going wrong. Please run and post the results. -- Added file: https://bugs.python.org/file48324/issue36792-

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

2019-05-11 Thread Jeremy Kloth
Jeremy Kloth added the comment: I have managed to setup a VM that can reproduce the error. Unfortunately, the error (heap corruption) is coming from within the UCRT. Attempting to work around that, I came across another error in the UCRT. Due to these errors in all available UCRT versions

[issue5441] Convenience API for timeit.main

2018-03-14 Thread Jeremy Metz
Jeremy Metz added the comment: Don't understand how #6422 addresses this - would also like to see a more convenient API for timing; at present CLI gives a nice formatted output, and timeit.timeit gives just the raw timing in seconds. Would be easy to implement by simply refactoring

[issue5441] Convenience API for timeit.main

2018-03-14 Thread Jeremy Metz
Jeremy Metz added the comment: More specifically, #6422 also mentions at least in part this functionality, but the main focus there seems to be the autorange function. Propose splitting these two by reopening this use. -- ___ Python tracker

[issue31612] Building 3.6 fails on Windows

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

[issue31611] Tests failures using -u largefile when the disk is full

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

[issue34060] regrtest: log "CPU usage" on Windows

2018-07-14 Thread Jeremy Kloth
Jeremy Kloth added the comment: Also prior conversation: https://bugs.python.org/issue30263#msg296311 -- nosy: +jkloth ___ Python tracker <https://bugs.python.org/issue34

[issue34060] regrtest: log "CPU usage" on Windows

2018-07-15 Thread Jeremy Kloth
Jeremy Kloth added the comment: Not that it matters all that much, but from a terminology standpoint, WMI != PDH != Performance Counters. Performance counters (the objects, not the topic) are provided by DLLs registered in the HKLM\SYSTEM\CurrentControlSet\Services key. Their data is

[issue34060] regrtest: log "CPU usage" on Windows

2018-07-15 Thread Jeremy Kloth
Jeremy Kloth added the comment: Correct. Windows provides the building blocks for implementing getloadavg(), but does not provide an interface that does the averaging. That is deferred to a per application basis. The best that an application can do for that is to use thread pools. You

[issue34060] regrtest: log "CPU usage" on Windows

2018-07-15 Thread Jeremy Kloth
Jeremy Kloth added the comment: The RegisterWaitForSingleObject() function does use the thread pool API: https://docs.microsoft.com/en-us/windows/desktop/ProcThread/thread-pool-api However, PdhCollectQueryDataEx() also creates a user-space thread to handle its work of setting the event

[issue34200] importlib: python -m test test_pkg -m test_7 fails randomly

2018-09-02 Thread Jeremy Kloth
Jeremy Kloth added the comment: Since my buildbot has been infected with this bug, I took some time to hunt it out. It turns out that issue is caused by an internal import triggered by the open() function (at least on Windows). A recent change to the interpreter (commit 9e4994d) changed

[issue34421] Cannot install package with unicode module names on Windows

2018-09-09 Thread Jeremy Kloth
Jeremy Kloth added the comment: The existing re-code solution is being triggered, as the `errors` in this case is 'surrogateescape' with an encoding of 'cp1252'. Here, pip is using subprocess.Popen() to have Python run setup.py. During execution, a filename, 't

[issue34618] Encoding error running in subprocess with captured output

2018-09-09 Thread Jeremy Kloth
New submission from Jeremy Kloth : When running Python via subprocess with captured output an encoding error occurs attempting to output a Unicode filename. The same does not happen when just using spawnl(). Python 3.6.5 (v3.6.5:f59c0932b4, Mar 28 2018, 17:00:18) [MSC v.1900 64 bit (AMD64

[issue34618] Encoding error running in subprocess with captured output

2018-09-09 Thread Jeremy Kloth
Jeremy Kloth added the comment: Related to issue34421 -- ___ Python tracker <https://bugs.python.org/issue34618> ___ ___ Python-bugs-list mailing list Unsub

[issue34421] Cannot install package with unicode module names on Windows

2018-09-09 Thread Jeremy Kloth
Jeremy Kloth added the comment: For pip, in call_subprocess() (given here in rough pseudo-code) is_python = (cmd[0] == sys.executable) kwds = {} if is_python: env['PYTHONIOENCODING'] = 'utf8' kwds['encoding'] = 'utf8' proc = Popen(..., **kwds

[issue34200] importlib: python -m test test_pkg fails semi-randomly

2018-09-12 Thread Jeremy Kloth
Jeremy Kloth added the comment: Did you attempt to use the 3-line change I posted earlier? I stepped through to test line-by-line to find the offending piece of code. And it was indeed the open() call causing the test-tree to be processed prior to it being completed. Thus making the .py

[issue34711] Fix test_httpservers on AIX

2018-09-17 Thread Jeremy Kloth
Jeremy Kloth added the comment: This is also an issue on Windows when the target path resides within a junction, paths outside of a junction respond (err, fail) as expected. https://developercommunity.visualstudio.com/content/problem/272379/createfile-non-error-on-filename-with-trailing

[issue34788] ipaddress module fails on rfc4007 scoped IPv6 addresses

2018-09-24 Thread Jeremy McMillan
New submission from Jeremy McMillan : ipaddress module has no support for scoped IPv6 addresses which prevents the use of ipaddress.ip_address() and ipaddress.IPv6Address() with (always available by default on IPv6 systems) RFC conforming IPv6 link local addresses that specify interface

[issue34788] ipaddress module fails on rfc4007 scoped IPv6 addresses

2018-09-24 Thread Jeremy McMillan
Jeremy McMillan added the comment: subclass workaround implementation example https://github.com/isbm/salt/blob/976fe19d73ca6bf5df375eaa15d77ce4a5a54b7a/salt/_compat.py#L125 -- ___ Python tracker <https://bugs.python.org/issue34

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

2018-10-14 Thread Jeremy Kloth
New submission from Jeremy Kloth : Since the KillPython target has been rewritten as an InlineTask, it can no longer detect 64-bit processes due to MSBuild being 32-bit. This leads to stuck buildbot runs: https://buildbot.python.org/all/#/builders/17/builds/348 A few solutions that I can

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

2018-10-15 Thread Jeremy Kloth
Jeremy Kloth added the comment: My testing shows differently: D:\Public\Devel\cpython\master\PCbuild>set MSBUILD="C:\Program Files (x86)\MSBuild\14.0\Bin\amd64\MSBuild.exe" D:\Public\Devel\cpython\master\PCbuild>build -k -v -t foo Using py -3.6 (found 3.6 with py.exe) F

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

2018-10-15 Thread Jeremy Kloth
Jeremy Kloth added the comment: Alternatively, to test for yourself: 1) build a 64-bit python: > build -e -d -k -v -p x64 2) start the newly built interpreter: > amd64\python_d.exe 3) in a different command prompt (using dummy target to just do the KillPython) > build

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

2018-10-15 Thread Jeremy Kloth
Change by Jeremy Kloth : -- keywords: +patch pull_requests: +9263 stage: -> patch review ___ Python tracker <https://bugs.python.org/issue34980> ___ ___ Py

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

2018-10-22 Thread Jeremy Kloth
Jeremy Kloth added the comment: It seems my buildbot has a stuck process again. The "sticking" occurred in this case due to test_concurrent_futures being hung (for over 38hrs! which is a different issue) and a DSL link reset at the same time. So now, all builds on the master b

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

2018-10-23 Thread Jeremy Kloth
Jeremy Kloth added the comment: The changed succeeded in killing the actively stuck process, so I say its all good! Thanks for the merge. -- resolution: -> fixed stage: commit review -> resolved status: open -> closed ___ Python tracke

[issue18182] xml.dom.createElement() does not take implicit namespaces into account

2013-06-10 Thread Jeremy Kloth
Jeremy Kloth added the comment: This really is not a bug, but more of a (common) misunderstanding of how the mixing of namespace-aware (createElementNS) and namespace-ignorant (createElement) methods work. >From DOM3 Core >[http://www.w3.org/TR/DOM-Level-3-Core/core.html#Name

[issue18211] -Werror=statement-after-declaration problem

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

[issue18221] abspath strips trailing spaces on win32

2013-06-15 Thread Jeremy Gray
New submission from Jeremy Gray: The behavior of os.path.abspath differs between Mac OS X and Windows. It seems like a bug that, on Windows, abspath strips trailing whitespace: Windows: >>> from os.path import abspath >>> abspath('start ') + 'E

[issue18221] abspath strips trailing spaces on win32

2013-06-15 Thread Jeremy Gray
Jeremy Gray added the comment: Maybe this a documentation / run-time warning issue, rather than bug. Trailing spaces in filenames are illegal in Win32; nonetheless they can occur, because there are instructions on how to remove such files: http://support.microsoft.com/kb/320081. So

[issue17206] Py_XDECREF() expands its argument multiple times

2013-06-17 Thread Jeremy Kloth
Jeremy Kloth added the comment: Indeed, after debugging, it is a stack overflow caused by the introduction of the different temporary variables in the Py_XINCREF, Py_XDECREF, and Py_DECREF macros. I've attached an updated patch that reuses the _py_tmp variable for those temporary assign

[issue18255] CPython setup.py problems

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

[issue17883] Fix buildbot testing of Tkinter

2013-06-18 Thread Jeremy Kloth
Jeremy Kloth added the comment: It seems that the changes committed by Ezio are causing the AMD64 Windows buildbot to hang in test_ttk_guionly. A note that this buildbot is running as a service so no desktop is available. The same test however is working (skipped successfully) on the 3.3

[issue17883] Fix buildbot testing of Tkinter

2013-06-18 Thread Jeremy Kloth
Jeremy Kloth added the comment: (Note that the buildbot is 64-bit so the paths need to be tcltk64) The test_ttk_guionly passed successfully *from the command-line*. It is currently hung in that test from the buildbot scheduler *as a service*. I do not know of a simple way to test changes via

[issue17206] Py_XDECREF() expands its argument multiple times

2013-06-24 Thread Jeremy Kloth
Jeremy Kloth added the comment: At least in a debug build, the MSVC 64-bit compiler seems to allocate space for each unique variable declared in the function body. Therefore, by changing the temporary variables to be named identically, the amount of required space is minimized. The

[issue17206] Py_XDECREF() expands its argument multiple times

2013-06-24 Thread Jeremy Kloth
Jeremy Kloth added the comment: Except, in this case, it actually crashes the interpreter. I would hope to think that it isn't common practice to just hide crashers especially when there is a fix available. -- ___ Python tracker

[issue17206] Py_XDECREF() expands its argument multiple times

2013-06-24 Thread Jeremy Kloth
Jeremy Kloth added the comment: FYI, however, the new macro is designed as an internal implementation detail along the lines of the other _Py_* macros. That is, just a tiny piece of a larger function to be used at your own risk. Either way, I've uploaded another version with the do { }

[issue17883] Fix buildbot testing of Tkinter

2013-06-25 Thread Jeremy Kloth
Jeremy Kloth added the comment: Although the solution for test_ttk_guionly of disabling the gui resource is a good quick fix, I'm curious as to why there isn't the same issue (test hangs) when run using 3.3 on the same machine. Note that by running as a service without desktop i

[issue17206] Py_XDECREF() expands its argument multiple times

2013-06-25 Thread Jeremy Kloth
Jeremy Kloth added the comment: I'm unsure as to how to get a stack trace from Visual Studio, but I can assure you that the changes introduced by the change aff41a6421c2 *is* the cause of the failure in test_marshal. In a nutshell, the overflow happens in a recursion on the marhsal.c:r_o

[issue17206] Py_XDECREF() expands its argument multiple times

2013-06-25 Thread Jeremy Kloth
Jeremy Kloth added the comment: Here are some results after a detailed investigation: - in debug, each variable declaration in a block is allocated on the stack - in debug, r_object() uses 1416 bytes of stack - in release, r_object() uses 512 bytes of stack - default stack size is 1MB - stack

[issue17206] Py_XDECREF() expands its argument multiple times

2013-06-26 Thread Jeremy Kloth
Jeremy Kloth added the comment: Here is some additional analysis of recursive functions in the 'pythoncore' MSVC project: Ratio Release Debug Filename:Function Name StackStack --- 1.000 32 32_sre.asm:_validate_in

[issue17206] Py_XDECREF() expands its argument multiple times

2013-07-02 Thread Jeremy Kloth
Jeremy Kloth added the comment: The /STACK:reserve[,commit] linker option uses 'reserve' as the upper limit of bytes to allow the executable to allocate. The optional 'commit' value (default of 4096) is the amount of physical memory allocated as needed. Therefore the

[issue17206] Py_XDECREF() expands its argument multiple times

2013-07-02 Thread Jeremy Kloth
Jeremy Kloth added the comment: I forgot to note that with the increased stack reserve my previous patches to Py_DECREF() and related macros are no longer needed. -- ___ Python tracker <http://bugs.python.org/issue17

[issue15792] Fix compiler options for x64 builds on Windows

2013-07-07 Thread Jeremy Kloth
Jeremy Kloth added the comment: Adding Victor Stinner as he has been quite active in fixing Windows 64-bit issues. -- nosy: +haypo ___ Python tracker <http://bugs.python.org/issue15

[issue18396] test_signal.test_issue9324() fails on buildbot AMD64 Windows7 SP1 3.x

2013-07-07 Thread Jeremy Kloth
Jeremy Kloth added the comment: This error is reproducible by simply passing '-j' to regrtest on any Windows build so it is not Win64-specific. It seems that when run in a subprocess, certain signals have C handlers that cause the return value of getsignal() to return None which,

[issue18407] Fix compiler warnings in pythoncore for Win64

2013-07-08 Thread Jeremy Kloth
New submission from Jeremy Kloth: The attached patch fixes compiler warnings for the pythoncore project when building on 64-bit Windows. Fixes for built-in modules are not included, however. -- files: issue18407.diff keywords: patch messages: 192686 nosy: brian.curtin

[issue18407] Fix compiler warnings in pythoncore for Win64

2013-07-08 Thread Jeremy Kloth
Changes by Jeremy Kloth : -- components: +Build, Windows type: -> compile error versions: +Python 3.4 ___ Python tracker <http://bugs.python.org/issu

[issue18407] Fix compiler warnings in pythoncore for Win64

2013-07-08 Thread Jeremy Kloth
Jeremy Kloth added the comment: Yeah, sorry. This made it in by mistake. It was in the tree just to eliminate warning noise. On Mon, Jul 8, 2013 at 1:20 PM, STINNER Victor wrote: > > STINNER Victor added the comment: > > - /USECL:MS_OPTERON /GS- > %(AdditionalOptions)

[issue18407] Fix compiler warnings in pythoncore for Win64

2013-07-08 Thread Jeremy Kloth
Jeremy Kloth added the comment: The change in grammar.c:addlabel() is correct. The return value is an index into the ll->ll_label array, thus an int. The code could be rewritten to avoid the pointer addition by saving the value of ll->ll_nlabels before it is incremented and return that i

[issue18407] Fix compiler warnings in pythoncore for Win64

2013-07-08 Thread Jeremy Kloth
Jeremy Kloth added the comment: Ugh, sorry for the bad quoting (silly GMail). -- ___ Python tracker <http://bugs.python.org/issue18407> ___ ___ Python-bugs-list m

[issue15792] Fix compiler options for x64 builds on Windows

2013-07-10 Thread Jeremy Kloth
Jeremy Kloth added the comment: Just to note that, as it stands, these wrongly assigned options account for 28 of the 216 warnings (or 13%) currently emitted. This is just one easy step towards a warning-free 64-bit Windows build. It would be nice to get Win64 to be one of the warning-free

[issue18407] Fix compiler warnings in pythoncore for Win64

2013-07-10 Thread Jeremy Kloth
Jeremy Kloth added the comment: Added new patch that removes the duplicate changes from issue #15792 and comments the lone explicit cast. These changes fix 116 of the 216 warnings (54%!) for Win64. Together with issue #15792 brings the remaining count to 72. I am unsure if splitting the

[issue18491] Add "exe wrapper" functionality to Windows launcher

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

[issue18396] test_signal.test_issue9324() fails on buildbot AMD64 Windows7 SP1 3.x

2013-07-29 Thread Jeremy Kloth
Jeremy Kloth added the comment: It do not think that it is a just a Windows issue wrt faulthandler. It is that there are no similar tests for signals on other platforms. getsignal() needs to return *something* for the value of a handler which is not SIG_DFL or SIG_IGN

[issue18396] test_signal.test_issue9324() fails on buildbot AMD64 Windows7 SP1 3.x

2013-07-29 Thread Jeremy Kloth
Jeremy Kloth added the comment: Added nosy list from issue 18523 -- nosy: +brian.curtin, larry, pitrou ___ Python tracker <http://bugs.python.org/issue18

[issue12641] Remove -mno-cygwin from distutils

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

[issue17741] event-driven XML parser

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

[issue18902] Make ET event handling more modular to allow custom targets for the non-blocking parser

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

[issue18987] distutils.utils.get_platform() for 32-bit Python on a 64-bit machine

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

[issue15052] Outdated comments in build_ssl.py

2012-06-12 Thread Jeremy Kloth
New submission from Jeremy Kloth : The comment regarding a Perl installation not being required is no longer true with regards to OpenSSL 1.0+ (at least 1.0.0j and 1.0.1c). A Perl script(s) is used to generate source files within the generated Makefiles. I would suggest to remove the

[issue15052] Outdated comments in build_ssl.py

2012-06-15 Thread Jeremy Kloth
Jeremy Kloth added the comment: I would suggest trying to build OpenSSL (build_ssl.py) *without* Perl installed. On Windows (7,64-bit at least) a dialog box pops up many times asking which program to use to run XXX.pl. This is using the externals from svn.python.org. -- nosy

[issue15080] Cookie library doesn't parse date properly

2012-06-15 Thread Jeremy Gillick
New submission from Jeremy Gillick : The cookie library doesn't seem to support the standard date format (RFC 822) for the expire property while parsing a cookie. For example, in the Python prompt: >>> import Cookie >>> cookie = Cookie.SimpleCookie('bcooki

[issue15080] Cookie library doesn't parse date properly

2012-06-15 Thread Jeremy Gillick
Jeremy Gillick added the comment: I'm using Python 2.6.1 -- ___ Python tracker <http://bugs.python.org/issue15080> ___ ___ Python-bugs-list mailing list

[issue15102] Fix 64-bit building for buildbot scripts

2012-06-18 Thread Jeremy Kloth
New submission from Jeremy Kloth : The buildbot scripts do not work for the 64-bit targets. Firstly, the "/p:UseEnv=True" parameter to msbuild causes the 32-bit only projects (make_buildinfo and make_versioninfo) to fail due to architecture mismatch. The scripts now uncondition

[issue15052] Outdated comments in build_ssl.py

2012-06-18 Thread Jeremy Kloth
Jeremy Kloth added the comment: In addition to the fixes from issue15102, the only way I could get the ssl project to build successfully was to add the Perl installation (C:\Perl\bin) to my PATH. -- ___ Python tracker <http://bugs.python.

[issue15052] Outdated comments in build_ssl.py

2012-06-18 Thread Jeremy Kloth
Jeremy Kloth added the comment: Should I then open another issue just to track that bug? Have you even tried using build_ssl.py *without* Perl? The changes required to get that to work seem fairly extensive. -- ___ Python tracker <h

[issue15052] Outdated comments in build_ssl.py

2012-06-18 Thread Jeremy Kloth
Jeremy Kloth added the comment: OK, I have discovered my issue(s) building OpenSSL. When I first downloaded the openssl-1.0.1c external, the timestamps for the .asm files ended up being older than their corresponding .pl sources therefore triggering the rules in the makefile. I then

[issue15052] Outdated comments in build_ssl.py

2012-06-18 Thread Jeremy Kloth
Jeremy Kloth added the comment: I forgot to add that with the patch the comment wrt Perl is truly correct. -- ___ Python tracker <http://bugs.python.org/issue15

[issue15102] Fix 64-bit building for buildbot scripts

2012-06-18 Thread Jeremy Kloth
Jeremy Kloth added the comment: The unrelated changes do seem to be an issue with the diff generated by Rietveld -- nosy: +jeremy.kloth ___ Python tracker <http://bugs.python.org/issue15

[issue15102] Fix 64-bit building for buildbot scripts

2012-06-18 Thread Jeremy Kloth
Jeremy Kloth added the comment: On Mon, Jun 18, 2012 at 3:27 PM, Antoine Pitrou wrote: > If I understand, the proposed changes are the following: > https://bitbucket.org/jkloth/cpython-buildbot-amd64/changeset/2a20cee18add That seems to be correct, yes. > I'm not a Windows s

[issue15102] Fix 64-bit building for buildbot scripts

2012-06-20 Thread Jeremy Kloth
Jeremy Kloth added the comment: Now that my buildbot is up and building (and failing at that) could these changes be committed? It would get the buildbot to at least start testing changes to Python proper. -- ___ Python tracker <h

[issue15102] Fix 64-bit building for buildbot scripts

2012-06-22 Thread Jeremy Kloth
Changes by Jeremy Kloth : Added file: http://bugs.python.org/file26095/5924b376d15f.diff ___ Python tracker <http://bugs.python.org/issue15102> ___ ___ Python-bugs-list m

[issue15102] Fix 64-bit building for buildbot scripts

2012-06-23 Thread Jeremy Kloth
Jeremy Kloth added the comment: > The patch, as it stands, is clearly incorrect (as has been reviewed and > acknowledged). The most recent patch is correct. > As for the changes to project files and the solution file: none of these > changes should be necessary at all, unless i

[issue15102] Fix 64-bit building for buildbot scripts

2012-06-23 Thread Jeremy Kloth
Jeremy Kloth added the comment: > As for the changes to project files and the solution file: none of these > changes should be necessary at all, unless it's actually the case that the > AMD64-Debug build doesn't work (i.e. neither in the buildbot, nor from the > solu

[issue15102] Fix 64-bit building for buildbot scripts

2012-06-23 Thread Jeremy Kloth
Jeremy Kloth added the comment: > I can believe that there are issues with the batch files. That's why I propose > to look at one issue at a time (but it's not my priority at the moment). That would mean that you do not care that the buildbots are failing. That is exactly the

[issue15102] Fix 64-bit building for buildbot scripts (issue 15102)

2012-06-24 Thread Jeremy Kloth
Jeremy Kloth added the comment: > Hmm, obviously Perl *is* found. That leaves nasm. nasm.exe was installed for myself (hence testing worked). I've now made it available to the buildbot account as well. Note that I have Perl installed but *not* on my PATH (on purpose). The patch sup

[issue15172] SHA1 failures on the 64-bit Windows buildbot

2012-06-25 Thread Jeremy Kloth
Jeremy Kloth added the comment: The OpenSSL (64-bit build) does not pass its own tests, while the 32-bit build from the same source works just fine. Stefan, how did you get your 64-bit build to work? -- ___ Python tracker <http://bugs.python.

[issue15172] SHA1 failures on the 64-bit Windows buildbot

2012-06-25 Thread Jeremy Kloth
Jeremy Kloth added the comment: I've narrowed this down to a CPU capabilities issue with OpenSSL. What CPU are you using? I have a Q9450 (Core2 Quad) If I set OPENSSL_ia32cap to 0 the self tests work. I'm now off to debug OpenSSL CPU

[issue15172] SHA1 failures on the 64-bit Windows buildbot

2012-06-25 Thread Jeremy Kloth
Jeremy Kloth added the comment: Ok, the final verdict on this issue is that nasm is to blame. I had nasm 2.09.02 installed. I upgraded it to version 2.10.01 and magically OpenSSL started working. >From the nasm changelog is seems that the added instruction sets in 2.10 are required

[issue15192] test_bufio failures on Win64 buildbot

2012-06-26 Thread Jeremy Kloth
Jeremy Kloth added the comment: I've changed the malware scanner to disable real-time protection and have disabled scanning of the buildbot directories. Note that I could reproduce intermittent failures when using '-j' of regrtest, but with these changes they n

[issue15197] test_gettext failure on Win64 buildbot

2012-06-26 Thread Jeremy Kloth
Jeremy Kloth added the comment: I've now also turned off indexing for the Buildbot account (and folders). Hopefully this is the last directory walking process interfering with the tests. -- ___ Python tracker <http://bugs.python.org/is

[issue15334] access denied for HKEY_PERFORMANCE_DATA

2012-07-12 Thread Jeremy Kloth
New submission from Jeremy Kloth : The registry key HKEY_PERFORMANCE_DATA is not accessible for non-interactive users (e.g., buildbot as a service). The following patches skip the offending test when the tests unless the they are run from an interactive session. -- components: Tests

[issue15334] access denied for HKEY_PERFORMANCE_DATA

2012-07-12 Thread Jeremy Kloth
Changes by Jeremy Kloth : Added file: http://bugs.python.org/file26369/winreg-3.x.diff ___ Python tracker <http://bugs.python.org/issue15334> ___ ___ Python-bugs-list m

[issue15338] test_UNC_path failure in test_import

2012-07-13 Thread Jeremy Kloth
Jeremy Kloth added the comment: The buildbot service account is a standard user (per the buildbot servce installation directions). When logged on, the user can access the share. Just when logged on as a service is when it cannot. After much searching, I still cannot find any information on

[issue11549] Build-out an AST optimizer, moving some functionality out of the peephole optimizer

2012-07-23 Thread Jeremy Hylton
Changes by Jeremy Hylton : -- nosy: +Jeremy.Hylton ___ Python tracker <http://bugs.python.org/issue11549> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue15431] Cannot build importlib.h on Windows

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

[issue15495] enable type truncation warnings for gcc builds

2012-07-29 Thread Jeremy Kloth
New submission from Jeremy Kloth: It would seem that enabling GCC's type conversion/truncation warnings would be a good thing for Python builds. This would bring GCC builds in line with MSVC builds and reduce the burden on the Windows developers in fixing them. Also, it would bring atte

[issue15496] harden directory removal for tests on Windows

2012-07-29 Thread Jeremy Kloth
New submission from Jeremy Kloth: Currently, removing directories during testing on Windows w/NTFS can causing sporadic failures due to access denied errors. This is caused by other processes getting a handle to the directory itself (change notifications) or a handle to a file within the

[issue15496] harden directory removal for tests on Windows

2012-07-30 Thread Jeremy Kloth
Jeremy Kloth added the comment: > This is a (near) duplicate of issue7443, I think. Partially so it seems. However, my testing with Process Monitor (from sysinterals) shows that most of the access denied errors occur when removing directories. The blind rename-remove dance doesn't w

[issue15495] enable type truncation warnings for gcc builds

2012-07-30 Thread Jeremy Kloth
Jeremy Kloth added the comment: > I'm getting more than thousand warnings: > > $ CFLAGS="-Wconversion -Wno-sign-conversion" ./configure > $ LC_ALL=C make -s -j8 2>&1 | tee log > $ grep Wconversion log | wc -l > 1163 My Win64 buildbot currentlyhas 544 con

[issue15496] harden directory removal for tests on Windows

2012-08-01 Thread Jeremy Kloth
Jeremy Kloth added the comment: I must also add that the proposed solution works well within the test suite as the access denied error can also occur when creating subsequent files, not just removing them. This solution eliminates the need to wrap all creation calls with access denied

[issue15526] regrtest crash on Windows 7 AMD64

2012-08-01 Thread Jeremy Kloth
Jeremy Kloth added the comment: > Well, test_startfile seems to be a common issue on that buildbot. I wouldn't really call it common (twice in the last 30 runs). However I would wager that the PermissionError is being caused by an unknown (without having Process Monitor running when t

[issue15526] regrtest crash on Windows 7 AMD64

2012-08-01 Thread Jeremy Kloth
Jeremy Kloth added the comment: I have just completed an upgrade of the Win64 buildbot slave with a faster hard drive and the issue is now much more pronounced. -- ___ Python tracker <http://bugs.python.org/issue15

[issue15496] harden directory removal for tests on Windows

2012-08-02 Thread Jeremy Kloth
Jeremy Kloth added the comment: > What are those programs exactly? A buildbot should ideally have a lean system > install that does not interfere with the tests running. My development machine has add'l programs, not the buildbot machine. Sorry is there was any confusion. I g

[issue15496] harden directory removal for tests on Windows

2012-08-02 Thread Jeremy Kloth
Jeremy Kloth added the comment: > Tim Golden added the comment: > I'm tentative about using ctypes this just because I don't believe we use it > anywhere else. ctypes is already used later in test_support so I figured it was fine to u

[issue15496] harden directory removal for tests on Windows

2012-08-02 Thread Jeremy Kloth
Jeremy Kloth added the comment: > I wonder why it couldn't use os.listdir to find out whether the directory is > empty, and os.stat to find out whether a specific file or directory still > exists. It is possible to do the same thing with just os.listdir. The use of the Find*

<    1   2   3   4   5   6   >