[Python-Dev] Re: Migration plan for the distutils removal in Python 3.12

2022-05-10 Thread Jeremy Kloth
ools directory. That is where c-analyzer and peg_generator live. The peg_generator tests depend on Tools/peg_generator/pegen/build.py which uses distutils to build multiple extensions to test the grammar generator. -- Jeremy Kloth ___ Python-Dev mailing

[Python-Dev] Re: Are "Batteries Included" still a Good Thing? [was: It's now time to deprecate the stdlib urllib module]

2022-03-30 Thread Jeremy Kloth
scripts/generate_global_objects.py Tools/scripts/generate_opcode_h.py Tools/scripts/ptags.py Tools/scripts/win_add2path.py Tools/ssl/multissltests.py Tools/unicode/Makefile Tools/unicode/makeunicodedata.py abc_bench.py aclocal.m4 configure configure.ac m4/ax_pthread.m4 pyconfig.h.in setup.py test.

[Python-Dev] Re: Defining tiered platform support

2022-03-11 Thread Jeremy Kloth
s supported by Python 3.10? >From the link listed in PEP 11, Windows 8.1 does not leave extended support until Jan 10, 2023. So it seems that 3.10 and 3.11 will need to support Windows 8.1. -- Jeremy Kloth ___ Python-Dev mailing list -- python-

[Python-Dev] Python-checkins mailing list broken?

2020-09-14 Thread Jeremy Kloth
It seems that python-checkins isn't receiving any new commits since the 8th of September. A quick check of the github page shows activity since then, as do the buildbots. Just a heads up. -- Jeremy Kloth ___ Python-Dev mailing list -- pytho

[Python-Dev] Re: [Python-checkins] bpo-9949: Enable symlink traversal for ntpath.realpath (GH-15287)

2019-08-21 Thread Jeremy Kloth
> M Lib/test/test_os.py > M Lib/test/test_shutil.py > M Lib/unittest/test/test_discovery.py > This change seems to have broken the windows buildbots. -- Jeremy Kloth ___ Python-Dev mailing list -- python-dev@python.org To unsubscribe send

Re: [Python-Dev] I reverted "Add Windows App Store package" change

2018-12-07 Thread Jeremy Kloth
or newer Python versions, but I think is build scripts always chose the latest version of the build tools thus making testing with older toolsets impossible. -- Jeremy Kloth ___ Python-Dev mailing list Python-Dev@python.org https://mail.pyth

Re: [Python-Dev] [Python-checkins] bpo-34171: Prevent creating Lib/trace.cover when run the trace module. (GH-8841)

2018-08-27 Thread Jeremy Kloth
ddresses the buildbot failures, at least for master. -- Jeremy Kloth ___ Python-Dev mailing list Python-Dev@python.org https://mail.python.org/mailman/listinfo/python-dev Unsubscribe: https://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com

Re: [Python-Dev] [Python-checkins] bpo-34171: Prevent creating Lib/trace.cover when run the trace module. (GH-8841)

2018-08-25 Thread Jeremy Kloth
On Sat, Aug 25, 2018 at 1:28 AM Serhiy Storchaka wrote: > > https://github.com/python/cpython/commit/c406d5cd74002964a64c3eb7d9e2445a7fd3a03f > commit: c406d5cd74002964a64c3eb7d9e2445a7fd3a03f > branch: master > author: Serhiy Storchaka > committer: GitHub > date: 2018-08-25T10:27:55+03:00 > sum

Re: [Python-Dev] Tests failing on Windows with TESTFN

2018-07-29 Thread Jeremy Kloth
os.replace(new_file.name, self._path) self._file = open(self._path, 'rb+') self._toc = new_toc self._pending = False -- Jeremy Kloth ___ Python-Dev mailing list Python-Dev@python.org https://mail.python.org/mailman

Re: [Python-Dev] Tests failing on Windows with TESTFN

2018-07-29 Thread Jeremy Kloth
ket.gethostname(), - os.getpid())) +return _create_carefully(_create_temporary_name(path)) def _sync_flush(f): """Ensure changes to file f are physically on disk.""" -- Jeremy Kloth __

Re: [Python-Dev] Tests failing on Windows with TESTFN

2018-07-28 Thread Jeremy Kloth
though my particular choice of color would be to add a pair of functions, mkstemp and mkdtemp, to match the style of test.support-wrapped library functions for use in the test harness. -- Jeremy Kloth ___ Python-Dev mailing list Python-Dev@python.

Re: [Python-Dev] Tests failing on Windows with TESTFN

2018-07-28 Thread Jeremy Kloth
is currently happening (and shouldn't be). It is not exactly the easiest of tasks to track the file usage of every test in the test suite. It is certainly easier to replace usages of os.unlink with test.support.unlink within the test suite. -- Jeremy Kloth __

Re: [Python-Dev] Tests failing on Windows with TESTFN

2018-07-28 Thread Jeremy Kloth
o have the entire Windows TEMP in RAM, but just Python's test suite usage is small enough (<6Gb). Another point, some tests require that the temporary filename resides on the same drive as the source directory (discovered in developing the above). This means that, Windows

Re: [Python-Dev] Tests failing on Windows with TESTFN

2018-07-28 Thread Jeremy Kloth
g. The faster the disk and the more loaded the CPU, the more often these can occur, however. > For (2), yes: test.support.unlink is supposed to solve that. But it's > either not doing enough retries etc. or it's missing a trick. If you are not seeing the RuntimeWarnings, t

Re: [Python-Dev] The history of PyXML

2018-05-31 Thread Jeremy Kloth
On Mon, May 28, 2018 at 9:53 PM, Serhiy Storchaka wrote: > 28.05.18 23:11, Jeremy Kloth пише: >> >> On Thu, May 17, 2018 at 6:18 AM, Serhiy Storchaka >> wrote: >>> >>> Does anyone has the full copy of the PyXML repository, with the complete >>

Re: [Python-Dev] The history of PyXML

2018-05-28 Thread Jeremy Kloth
e on SourceForge was > removed. I have found sources of the last PyXML version (0.8.4), but without > history. > > I'm trying to figure out some intentions and fix possible bugs in the xml > package. The history of all commits could help. Here you go! https://g

Re: [Python-Dev] The history of PyXML

2018-05-28 Thread Jeremy Kloth
On Mon, May 28, 2018 at 2:11 PM, Jeremy Kloth wrote: > Here you go! > > https://github.com/jkloth/pyxml I did forget to mention that I was one of the prior maintainers on the PyXML project as well. -- Jeremy Kloth ___ Python-Dev mailing li

Re: [Python-Dev] "make touch" replaced with "make regen-all"

2017-05-09 Thread Jeremy Kloth
a PR that fixes this (previous?) regression and still permits the Makefile changes. > It seems like venv and virtualend have been updated in the meanwhile > to add ${venv}/include to the include directories when building an > extension. Yes, http://bugs.python.org/issue16116 --

Re: [Python-Dev] [Python-checkins] cpython (3.5): remove extra PyErr_Format arguments (closes #28454)

2016-10-17 Thread Jeremy Kloth
Oops, you are right. Silly little comma... -- Jeremy Kloth ___ Python-Dev mailing list Python-Dev@python.org https://mail.python.org/mailman/listinfo/python-dev Unsubscribe: https://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com

Re: [Python-Dev] [Python-checkins] cpython (3.5): remove extra PyErr_Format arguments (closes #28454)

2016-10-17 Thread Jeremy Kloth
goto onError; > } Um, isn't that now an error? There are 2 format sequences, but only 1 argument. -- Jeremy Kloth ___ Python-Dev mailing list Python-Dev@python.org https://mail.python.org/mailman/listinfo/python-dev Unsubscribe: https://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com

Re: [Python-Dev] [Python-checkins] cpython (3.4): - Issue #22966: Fix __pycache__ pyc file name clobber when pyc_compile is

2014-12-02 Thread Jeremy Kloth
;x = 123\n') > +py_compile.compile(weird_path) > +self.assertTrue(os.path.exists(cache_path)) > +self.assertFalse(os.path.exists(pyc_path)) > + > + This test is failing on the Windows buildbots due to the hard-coded path separator. Using `os.pathsep` shoul

[Python-Dev] Buildslave kloth-win64 maintenance

2014-10-31 Thread Jeremy Kloth
ones. -- Jeremy Kloth ___ Python-Dev mailing list Python-Dev@python.org https://mail.python.org/mailman/listinfo/python-dev Unsubscribe: https://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com

[Python-Dev] Fwd: Requesting pronouncement on PEP 463: Exception-catching expressions

2014-03-12 Thread Jeremy Kloth
[resending to list] -- Forwarded message -- From: Jeremy Kloth Date: Wed, Mar 12, 2014 at 10:27 AM Subject: Re: [Python-Dev] Requesting pronouncement on PEP 463: Exception-catching expressions To: Chris Angelico On Wed, Mar 12, 2014 at 10:05 AM, Chris Angelico wrote

Re: [Python-Dev] [Python-checkins] cpython: Close #20053: ignore default pip config settings

2014-02-05 Thread Jeremy Kloth
elf.assertEqual(err, "") AssertionError: 'C:\\Users\\Buildbot\\AppData\\Local\\Temp[57 chars]\r\n' != '' - C:\Users\Buildbot\AppData\Local\Temp\tmpkwelerus\Scripts\python_d.exe: No module named pip -- Jeremy Kloth ___ Python

Re: [Python-Dev] [Python-checkins] cpython: Issue #9566: recv(), recvfrom(), send(), sendall() and sendto() methods

2013-06-24 Thread Jeremy Kloth
On Mon, Jun 24, 2013 at 3:48 PM, victor.stinner wrote: > +#if defined(MS_WIN64) || defined(MS_WINDOWS) This test could be reduced to simply `#ifdef MS_WINDOWS`. See PC\pyconfig.h ___ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/

Re: [Python-Dev] [Python-checkins] cpython: Issue #9566: Fix a compiler warning in tupleiter_setstate() on Windows x64

2013-06-24 Thread Jeremy Kloth
g_AsSssize_t(state) to ensure consistent behavior on all platforms. -- Jeremy Kloth ___ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/python-dev Unsubscribe: http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com

Re: [Python-Dev] [Python-checkins] cpython (3.3): ctypes: AIX needs an explicit #include to get alloca()

2013-06-18 Thread Jeremy Kloth
de This header is not present on Windows, thus breaking all the Windows buildbots. Perhaps it should be wrapped in an AIX-specific #ifdef? -- Jeremy Kloth ___ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/list

Re: [Python-Dev] [Python-checkins] cpython: Use OESeeror instead of os.error (#16720)

2012-12-24 Thread Jeremy Kloth
On Mon, Dec 24, 2012 at 11:00 AM, andrew.svetlov wrote: > http://hg.python.org/cpython/rev/6cfe2982de42 > changeset: 81017:6cfe2982de42 > parent: 81011:a7c9869a5114 > user:Andrew Svetlov > date:Mon Dec 24 19:58:48 2012 +0200 > summary: > Use OESeeror instead of os.error (

Re: [Python-Dev] [Python-checkins] cpython: Issue #15478: Fix test_os on Windows (os.chown is missing)

2012-10-31 Thread Jeremy Kloth
On Tue, Oct 30, 2012 at 6:07 PM, victor.stinner wrote: > http://hg.python.org/cpython/rev/01cc9fb52887 > changeset: 80068:01cc9fb52887 > user:Victor Stinner > date:Wed Oct 31 01:04:10 2012 +0100 > summary: > Issue #15478: Fix test_os on Windows (os.chown is missing) > > files:

Re: [Python-Dev] [Python-checkins] cpython: Issue #15102: find python.exe in OutDir, not SolutionDir.

2012-06-24 Thread Jeremy Kloth
> --- a/PCbuild/pyproject.props > +++ b/PCbuild/pyproject.props > @@ -2,7 +2,7 @@ >   xmlns="http://schemas.microsoft.com/developer/msbuild/2003";> >   >     python33$(PyDebugExt) > -    $(SolutionDir)python$(PyDebugExt).exe > +    $(OutDir)python$(PyDebugExt).exe >     $(OutDir)kill_python$(PyDeb

Re: [Python-Dev] Packaging and binary distributions for Python 3.3

2011-10-16 Thread Jeremy Kloth
On Sunday, October 16, 2011 02:24:58 PM Vinay Sajip wrote: > Jeremy Kloth gmail.com> writes: > > That said, I have been working on a drop-in replacement for the current > > > bdist_wininst executable stub with the following features: > [snip] > > > http://ww

Re: [Python-Dev] Packaging and binary distributions for Python 3.3

2011-10-13 Thread Jeremy Kloth
On Thursday, October 13, 2011 04:02:27 PM Jeremy Kloth wrote: > That said, I have been working on a drop-in replacement for the current > bdist_wininst executable stub with the following features: > - install to 32- or 64-bit Python installations from a single installer; > c

Re: [Python-Dev] Packaging and binary distributions for Python 3.3

2011-10-13 Thread Jeremy Kloth
virtual environments or other non-standard locations. Current thinking is to *not* track these installations in the Add/Remove programs. -- Jeremy Kloth ___ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/pytho

Re: [Python-Dev] Packaging and binary distributions for Python 3.3

2011-10-13 Thread Jeremy Kloth
ed by > the handler - GetOtherPythonVersion - is still there. Does anyone here > know why the button has been made unavailable? This "feature" has never been active. It has been commented out since before Distutils was imported in

Re: [Python-Dev] Patch 1644818: Allow importing built-in submodules

2007-03-13 Thread Jeremy Kloth
s. The thought that extension modules cannot be in a package has never even cross my mind. I would have thought it a bug if they didn't, FWIW. -- Jeremy Kloth http://4suite.org/ ___ Python-Dev mailing list Python-Dev@python.org http://mail.python.or

Re: [Python-Dev] multiple interpreters and extension modules

2006-12-22 Thread Jeremy Kloth
be optional for > > extension writers and existing modules would continue to work without > > change. With that approach in mind, I will be making changes so 4Suite will work in a production mod_python deployment (where the aforementioned error occurred). When that works, I'll

Re: [Python-Dev] multiple interpreters and extension modules

2006-12-22 Thread Jeremy Kloth
ers to the location stating that fact/belief. It would make my life easier. -- Jeremy Kloth http://4suite.org/ ___ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/python-dev Unsubscribe: http://mail.python.org

Re: [Python-Dev] multiple interpreters and extension modules

2006-12-22 Thread Jeremy Kloth
On Friday 22 December 2006 5:02 pm, Josiah Carlson wrote: > Jeremy Kloth <[EMAIL PROTECTED]> wrote: > > [[ This may be somewhat c.l.p.-ish but I feel that this crossed into > > CPython development enough to merit posting here ]] > > > > I have received a bug

[Python-Dev] multiple interpreters and extension modules

2006-12-22 Thread Jeremy Kloth
writers and existing modules would continue to work without change. Feedback appreciated. -- Jeremy Kloth http://4suite.org/ ___ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/python-dev Unsubscribe: http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com

Re: [Python-Dev] Need help with C - problem in sqlite3 module

2006-09-23 Thread Jeremy Kloth
f an issue wrt. exported symbols as they already need to be tracked for Windows where symbols are hidden by default (unlike traditional *nix). -- Jeremy Kloth http://4suite.org/ ___ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/

Re: [Python-Dev] [4suite] cDomlette deallocation bug?

2006-08-23 Thread Jeremy Kloth
d and unload 4Suite this way It just so happens that cDomlettec imports gc internally which, by the change above shows, causes the segfault. Hopefully someone with more knowledge of GC internals can comment on this. -- Jeremy Kloth http://4suite.org/ ___ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/python-dev Unsubscribe: http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com

Re: [Python-Dev] a quit that actually quits

2005-12-28 Thread Jeremy Kloth
x27;print exit' not exit, for example. OK, here's one: def quithook(obj, _exit=__builtins__.exit, _displayhook=sys.displayhook): if obj is _exit: raise SystemExit _displayhook(obj) sys.displayhook = quithook It does, however, fall into the whole issue of chaining that Skip b