Re: [Python-Dev] [Python-checkins] cpython: Issue #22003: When initialized from a bytes object, io.BytesIO() now

2014-07-30 Thread Zachary Ware
I'd like to point out a couple of compiler warnings on Windows: On Tue, Jul 29, 2014 at 6:45 PM, antoine.pitrou wrote: > diff --git a/Modules/_io/bytesio.c b/Modules/_io/bytesio.c > --- a/Modules/_io/bytesio.c > +++ b/Modules/_io/bytesio.c > @@ -33,6 +37,45 @@ > return NULL; \ > } >

Re: [Python-Dev] [Python-checkins] Daily reference leaks (09f56fdcacf1): sum=21004

2014-08-07 Thread Zachary Ware
On Thu, Aug 7, 2014 at 9:04 AM, Brett Cannon wrote: > test_codecs is not happy. Looking at the subject lines of commit emails from > the past day I don't see any obvious cause. Looks like this was caused by the change I made to regrtest in [1] to fix refleak testing in test_asyncio [2]. I'm look

Re: [Python-Dev] [Python-checkins] Daily reference leaks (09f56fdcacf1): sum=21004

2014-08-07 Thread Zachary Ware
On Thu, Aug 7, 2014 at 12:16 PM, Zachary Ware wrote: > On Thu, Aug 7, 2014 at 9:04 AM, Brett Cannon wrote: >> test_codecs is not happy. Looking at the subject lines of commit emails from >> the past day I don't see any obvious cause. > > Looks like this was caus

Re: [Python-Dev] Fixing 2.7.x

2014-10-06 Thread Zachary Ware
On Mon, Oct 6, 2014 at 12:24 PM, Ned Deily wrote: > 3. security: "fixing issues exploitable by attackers such as crashes, > privilege escalation and, optionally, other issues such as denial of > service attacks. Any other changes are not considered a security risk > and thus not backported to a se

Re: [Python-Dev] Fixing 2.7.x

2014-10-06 Thread Zachary Ware
On Mon, Oct 6, 2014 at 2:18 PM, Christian Tismer wrote: > My impression is that no 3.X user ever would want to stick > with any older version. > > Is that true, or am I totally wrong? My impression is that you're mostly right, but only because those who would still be on 3.1 are actually still on

Re: [Python-Dev] Status of C compilers for Python on Windows

2014-10-25 Thread Zachary Ware
On Sat, Oct 25, 2014 at 7:05 PM, Ray Donnelly wrote: > On Sun, Oct 26, 2014 at 12:30 AM, Antoine Pitrou wrote: >> On Sat, 25 Oct 2014 19:24:38 -0400 >> "R. David Murray" wrote: >>> >>> I know I for one do not generally test patches on Windows because I >>> haven't taken the time to learn how to

Re: [Python-Dev] Status of C compilers for Python on Windows

2014-10-25 Thread Zachary Ware
On Sat, Oct 25, 2014 at 6:24 PM, R. David Murray wrote: > Note: it can be made even less compelling by making it a lot easier to > build CPython on Windows without having an MSVC license (which I think > means not using the GUI, for which I say *yay* :). I think Zach Ware > has been working on im

Re: [Python-Dev] Compile Python on Windows (OpenSSL)

2015-01-13 Thread Zachary Ware
On Tue, Jan 13, 2015 at 4:04 PM, Victor Stinner wrote: > Hi, > > To compile Python on Windows, there are a few information in the > Developer Guide: > https://docs.python.org/devguide/setup.html#windows-compiling > > Python 3.5 now requires Visual Studio 2010 *SP1*, or newer Visual Studio: > http:

Re: [Python-Dev] Compile Python on Windows (OpenSSL)

2015-01-13 Thread Zachary Ware
On Tue, Jan 13, 2015 at 4:15 PM, Zachary Ware wrote: > """ > Quick Start Guide > - > > 1. Install Microsoft Visual Studio 2015, any edition. Note that this isn't precisely true; any VS 2010 SP1 or newer *should* work, as you already know :).

Re: [Python-Dev] Compile Python on Windows (OpenSSL)

2015-01-15 Thread Zachary Ware
On Thu, Jan 15, 2015 at 3:30 PM, Victor Stinner wrote: > Hi, > > I installed the SP1 for Visual Studio 2010, and it looks like that it > broke my Windows SDK 7.1 (setenv was missing, cl.exe was also > missing). I uninstalled the SDK 7.1, and then I saw that a patch is > required to use Windows SDK

Re: [Python-Dev] Can Python Be Built Without Distutils

2015-01-24 Thread Zachary Ware
On Saturday, January 24, 2015, Brett Cannon wrote: > On Fri Jan 23 2015 at 5:45:28 PM Gregory P. Smith > wrote: > >> On Fri Jan 23 2015 at 11:20:02 AM M.-A. Lemburg > > wrote: >> >>> On 23.01.2015 19:48, Matthias Klose wrote: >>> > On 01/23/2015 06:30 PM, Cyd Haselton wrote: >>> >> Related to my

Re: [Python-Dev] Pydoc Replacement for Python's help()?

2015-01-26 Thread Zachary Ware
On Mon, Jan 26, 2015 at 12:49 PM, Cyd Haselton wrote: > Hello, > I've finally managed to build a (somewhat) working Python port for the > Android tablet I'm using. Unfortunately, as I quickly found out, > Python's built-in help function requires tkinter, which requires > tcl/tk. What version of

Re: [Python-Dev] Building on Windows - importlib.h changed

2015-02-13 Thread Zachary Ware
On Fri, Feb 13, 2015 at 4:09 PM, Paul Moore wrote: > I'm working on a patch for the Python launcher. I built Python > (current tip, on MS Windows, with VS 2015), and I've just noticed that > hg status shows: > >>>hg status -mard > M Doc\using\windows.rst > M PC\launcher.c > M Python\importlib.h >

Re: [Python-Dev] Building on Windows - importlib.h changed

2015-02-13 Thread Zachary Ware
On Fri, Feb 13, 2015 at 4:56 PM, Eric Snow wrote: > On Fri, Feb 13, 2015 at 3:49 PM, Zachary Ware > wrote: >> Yes, importlib.h changes should never be included in a patch (it would > > Unless they should. :) E.g. you modified importlib/_bootstrap.py, the > marshal format

Re: [Python-Dev] Python 3.4 RPM on AIX

2015-02-16 Thread Zachary Ware
On Mon, Feb 16, 2015 at 10:50 PM, Blaxton wrote: > I am using the spec file that comes with Python source code which downloaded > from python.org website > source file is set on spec file to file with bz2 format while there is only > .xz and zipped are available to download. > > > I thought someho

Re: [Python-Dev] libffi embedded in CPython

2015-03-12 Thread Zachary Ware
I started this message about 3 months ago; at this point I'm just getting it posted so it stops rotting in my Drafts folder. On Mon, Dec 22, 2014 at 3:49 PM, Jim J. Jewett wrote: > On Thu, Dec 18, 2014, at 14:13, Maciej Fijalkowski wrote: >> ... http://bugs.python.org/issue23085 ... >> is there a

Re: [Python-Dev] libffi embedded in CPython

2015-03-12 Thread Zachary Ware
On Thu, Mar 12, 2015 at 12:44 PM, Paul Moore wrote: > I'd be willing to contemplate helping out on the Windows side of > things, if nobody else steps up (with the proviso that I have little > free time, and I'm saying this without much idea of what's involved > :-)) If Zachary can give a bit more

Re: [Python-Dev] libffi embedded in CPython

2015-03-25 Thread Zachary Ware
On Mar 25, 2015 4:22 AM, "Paul Moore" wrote: > > On 25 March 2015 at 09:09, Antoine Pitrou wrote: > > I'm not sure we guarantee anything. In any case, it's only a small > > proportion of the kind of crashes you can get by messing the signature. > > Fair point. I guess what I'm asking is, would it

Re: [Python-Dev] libffi embedded in CPython

2015-03-25 Thread Zachary Ware
On Mar 25, 2015 9:28 PM, "Nick Coghlan" wrote: > > On 26 March 2015 at 01:57, Steve Dower wrote: > > Zachary Ware wrote: > >> On Mar 25, 2015 4:22 AM, "Paul Moore" wrote: > >>> On a related note, is there any information available on how th

Re: [Python-Dev] [Python-checkins] cpython: Check deques against common sequence tests (except for slicing).

2015-04-01 Thread Zachary Ware
On Wed, Apr 1, 2015 at 10:11 AM, raymond.hettinger wrote: > https://hg.python.org/cpython/rev/393189326adb > changeset: 95350:393189326adb > user:Raymond Hettinger > date:Wed Apr 01 08:11:09 2015 -0700 > summary: > Check deques against common sequence tests (except for slicing

Re: [Python-Dev] version of freshly built 2.7 python

2015-04-02 Thread Zachary Ware
On Thursday, April 2, 2015, Ethan Furman wrote: > I just built the latest version of Python 2.7 on my development machine -- > or so I thought. When I invoke it, I get: > > Python 2.7.6+ (2.7:1beb3e0507fa, Apr 2 2015, 17:57:53) > > Why am I not seeing 2.7.9? > https://hg.python.org/cpython/

[Python-Dev] Python3 Stable ABI

2015-04-13 Thread Zachary Ware
In issue23903, I've created a script that will produce PC/python3.def by scraping the header files in Include. There are are many many discrepencies between what my script generates and what is currently in the repository (diff below), but in every case I've checked the script has been right: what

Re: [Python-Dev] Keyword-only parameters

2015-04-14 Thread Zachary Ware
On Tue, Apr 14, 2015 at 1:06 PM, Steven D'Aprano wrote: > On Tue, Apr 14, 2015 at 01:40:40PM -0400, Eric V. Smith wrote: >> But, I don't see a lot of keyword-only parameters being added to stdlib >> code. Is there some position we've taken on this? Barring someone saying >> "stdlib APIs shouldn't

Re: [Python-Dev] cpython: Issue #20172: Convert the winsound module to Argument Clinic.

2015-05-13 Thread Zachary Ware
On Wed, May 13, 2015 at 1:50 AM, Serhiy Storchaka wrote: > On 13.05.15 09:32, zach.ware wrote: >> >> https://hg.python.org/cpython/rev/d3582826d24c >> changeset: 96006:d3582826d24c >> user:Zachary Ware >> date:Wed May 13 01:21:21 2015 -05

Re: [Python-Dev] Repository builds as 2.7.8+

2015-05-13 Thread Zachary Ware
On Wed, May 13, 2015 at 4:05 PM, Terry Reedy wrote: > Python 2.7.8+ (default, May 13 2015, 16:46:29) [MSC v.1500 32 bit (Intel)] > on win32 > > Shouldn't this be 2.7.9+ or 2.7.10rc1? Make sure your repository is up to date, the patchlevel is correct at the current tip of the 2.7 branch. -- Zach

Re: [Python-Dev] Clarifying Cygwin support in CPython

2017-11-08 Thread Zachary Ware
On Wed, Nov 8, 2017 at 8:39 AM, Erik Bray wrote: > a platform--in particular it's not clear when a buildbot is considered > "stable", or how to achieve that without getting necessary fixes > merged into the main branch in the first place. I think in this context, "stable" just means "keeps a conn

Re: [Python-Dev] GH-NNNN vs #NNNN in merge commit

2018-01-25 Thread Zachary Ware
On Thu, Jan 25, 2018 at 12:03 PM, Mariatta Wijaya wrote: >> Of course, we would still need to convince people to install it :) > > > Right, that's the challenge :) > I personally use Chrome (!) and I've been using your Chrome extension, so > thank you! > However, I don't feel comfortable making th

Re: [Python-Dev] Is 4.0 a major breaking changes release?

2018-02-03 Thread Zachary Ware
On Sat, Feb 3, 2018 at 4:40 PM, Alex Walters wrote: > I am still working on porting code from 2.x to 3.x. As of late on the lists > I've seen comments about making somewhat major changes in 4.0 - now I'm > concerned that I should pause my porting effort until that is released. Is > python 4 goin

Re: [Python-Dev] Basic test to validate win10 install?

2018-04-17 Thread Zachary Ware
Hi Martin, On Mon, Apr 16, 2018 at 5:00 PM, Martin Gainty wrote: > I was told the python -m test are for devs only to test "auxiliary > functions" > do you have a "basic test" i can use to validate Python36 has installed > properly on Win10? The fact that the tests run at all show that everythin

Re: [Python-Dev] Windows 10 build agent failures

2018-05-06 Thread Zachary Ware
On Sun, May 6, 2018 at 3:05 AM, Paul Goins wrote: > Hi, > > Just kind of "looking around" at stuff I can help with, and I noticed a few > days ago that Windows 10 AMD64 builds of Python 3.6/3.7/3.x are generally > failing. > > It seems like the failures started April 16th around 1am per BuildBot a

Re: [Python-Dev] please help triage VSTS failures

2018-05-18 Thread Zachary Ware
On Fri, May 18, 2018 at 10:55 AM, Gregory P. Smith wrote: > These both look like VSTS infrastructure falling over on PRs: > > https://python.visualstudio.com/cpython/_build?buildId=522 > > https://python.visualstudio.com/cpython/_build?buildId=523 > > I don't see anywhere that gives information

Re: [Python-Dev] Keeping an eye on Travis CI, AppVeyor and buildbots: revert on regression

2018-06-07 Thread Zachary Ware
On Wed, Jun 6, 2018 at 9:45 PM, Mariatta Wijaya wrote: > Are there APIs we can use to check the status of builbots? > Maybe we can have the our bots check for the buildbot status in backport > PRs. There is a REST API for buildbot; I have no idea how usable/useful it is though (but I think the ne

Re: [Python-Dev] We now have C code coverage!

2018-06-23 Thread Zachary Ware
On Sat, Jun 23, 2018 at 11:31 AM, Terry Reedy wrote: > I have suggested that, and before that, the same for buildbots. The reality > is that tkinter, IDLE, or turtle could be disabled on *nix by regressions > and the official testing would not notice. I'm looking into enabling the GUI tests on s

Re: [Python-Dev] We now have C code coverage!

2018-06-23 Thread Zachary Ware
On Sat, Jun 23, 2018 at 2:20 PM, Terry Reedy wrote: > Rechecking now, on Gentoo > > test_idle appears and passed on these 3.6 and 3.7 pages > http://buildbot.python.org/all/#/builders/82/builds/414/steps/5/logs/stdio > > Neither Firefox nor Edge can find 'test_idle' on these 3.x pages > http://bui

Re: [Python-Dev] Can someone configure the buildbots to build the 3.5 branch?

2015-05-30 Thread Zachary Ware
On Thu, May 28, 2015 at 6:59 PM, Larry Hastings wrote: > The buildbots currently live in a state of denial about the 3.5 branch. > Could someone whisper tenderly in their collective shell-like ears so that > they start building 3.5, in addition to 3.4 and trunk? The 3.5 branch seems to be set up

[Python-Dev] Backporting the 3.5+ Windows build project files to 2.7

2015-06-22 Thread Zachary Ware
Hi, As you may know, Steve Dower put significant effort into rewriting the project files used by the Windows build as part of moving to VC14 as the official compiler for Python 3.5. Compared to the project files for 3.4 (and older), the new project files are smaller, cleaner, simpler, more easily

Re: [Python-Dev] Backporting the 3.5+ Windows build project files to 2.7

2015-06-22 Thread Zachary Ware
On Mon, Jun 22, 2015 at 5:20 PM, Steve Dower wrote: > Zachary Ware wrote: >> With the stipulation that the officially supported compiler won't change, I >> want >> to make sure there's no major opposition to replacing the old project files >> in >> PC

Re: [Python-Dev] Backporting the 3.5+ Windows build project files to 2.7

2015-06-22 Thread Zachary Ware
On Mon, Jun 22, 2015 at 6:29 PM, Chris Barker - NOAA Federal wrote: >> I'd like to backport those new project files to 2.7, > > Would this change anything about how extensions are built? > > There is now the "ms compiler for 2.7" would that work? Or only in > concert with VS2010 express? It shoul

Re: [Python-Dev] speed.python.org (was: 2.7 is here until 2020, please don't call it a waste.)

2015-06-22 Thread Zachary Ware
On Thu, Jun 4, 2015 at 10:51 AM, Maciej Fijalkowski wrote: > On Thu, Jun 4, 2015 at 4:32 PM, R. David Murray wrote: >> OK, so what you are saying is that speed.python.org will run a buildbot >> slave so that when a change is committed to cPython, a speed run will be >> triggered? Is "the runner"

Re: [Python-Dev] Backporting the 3.5+ Windows build project files to 2.7

2015-06-22 Thread Zachary Ware
On Mon, Jun 22, 2015 at 10:37 PM, Nick Coghlan wrote: > I'd suggest explicitly reaching out to the Stackless folks to get > their feedback. As I believe the switched to a newer compiler and VC > runtime for Windows a while back, I suspect it will make their lives > easier rather than harder, but i

Re: [Python-Dev] Backporting the 3.5+ Windows build project files to 2.7

2015-06-24 Thread Zachary Ware
On Jun 23, 2015, at 06:27, Christian Tismer wrote: > On 23.06.15 06:42, Zachary Ware wrote: >> Christian, what say you? Would having the project files from 3.5 >> backported to 2.7 (but still using MSVC 9) be positive, negative, or >> indifferent for Stackless? > > I

Re: [Python-Dev] Backporting the 3.5+ Windows build project files to 2.7

2015-06-25 Thread Zachary Ware
On Thu, Jun 25, 2015 at 8:54 AM, M.-A. Lemburg wrote: > On 22.06.2015 19:03, Zachary Ware wrote: >> Using the backported project files to build 2.7 would require two >> versions of Visual Studio to be installed; VS2010 (or newer) would be >> required in addition to VS20

Re: [Python-Dev] Backporting the 3.5+ Windows build project files to 2.7

2015-06-25 Thread Zachary Ware
On Thu, Jun 25, 2015 at 1:48 PM, M.-A. Lemburg wrote: > On 25.06.2015 17:12, Zachary Ware wrote: >> The old files are moved to PC/VS9.0, and they work as expected as far >> as I've tested them. > > So it's still possible to build with "just" VS 2008 inst

Re: [Python-Dev] Backporting the 3.5+ Windows build project files to 2.7

2015-06-25 Thread Zachary Ware
On Thu, Jun 25, 2015 at 10:42 AM, Steve Dower wrote: > This also makes it more viable to use the Windows SDK compilers. If you > install the Windows SDK 7.0 (which includes MSVC9) and Windows SDK 7.1 (which > includes the platform toolset files for MSVC9 - toolsets were invented later > than th

Re: [Python-Dev] cpython: Tighten-up code in the set iterator to use an entry pointer rather than

2015-07-07 Thread Zachary Ware
On Tue, Jul 7, 2015 at 2:03 PM, Ethan Furman wrote: > On 07/07/2015 08:15 AM, Serhiy Storchaka wrote: >> This will make harder to notice (and fix!) other regressions. > > I don't understand what you are trying to say. If a bug is worth fixing, > it's worth having a test so we don't have to fix it

Re: [Python-Dev] cpython: Tighten-up code in the set iterator to use an entry pointer rather than

2015-07-07 Thread Zachary Ware
On Tue, Jul 7, 2015 at 3:16 PM, Brett Cannon wrote: > The test could be marked as an expected failure in the interim somitnisnt > forgotten. True, but in this case things would be a bit more difficult since the testcase segfaults rather than just throwing an exception. -- Zach _

Re: [Python-Dev] Building python 2.7.10 for Windows from source

2015-07-24 Thread Zachary Ware
On Jul 24, 2015 8:30 AM, "Mark Kelley" wrote: > > I have been using Python for some time but it's been a decade since > I've tried to build it from source, back in the 2.4 days. Things seem > to have gotten a little more complicated now. > > I've read through the PCBuild/README file and got most

Re: [Python-Dev] Issues not responded to.

2015-07-30 Thread Zachary Ware
On Thu, Jul 30, 2015 at 8:21 PM, Brett Cannon wrote: > Best thing I can think of is to post the Roundup search you did to find > those 400 so thoseof us who can help can just start whittling them away. You > could also share it with core-mentorship and explain we need help evaluating > these issue

Re: [Python-Dev] Differences between Python's OpenSSL in SVN and OpenSSL's in GitHub

2015-08-14 Thread Zachary Ware
On Fri, Aug 14, 2015 at 10:56 AM, Guzman-ballen, Andres wrote: > Hello Python Developers! > > Why is it that the OpenSSL v1.0.2d that is found on Python’s SVN repo is > quite different from what OpenSSL has on their GitHub repository for OpenSSL > v1.0.2d? The reason for the difference is to avoi

Re: [Python-Dev] Testing tkinter on Linux

2015-08-27 Thread Zachary Ware
On Thu, Aug 27, 2015 at 4:13 PM, Chris Angelico wrote: > On Fri, Aug 28, 2015 at 5:00 AM, R. David Murray > wrote: >> I believe gui depends on the existence of the DISPLAY environment >> variable on unix/linux (that is, TK will fail to start if DISPLAY is not >> set, so _is_gui_available will re

Re: [Python-Dev] Request a builedbot username and password

2015-09-03 Thread Zachary Ware
On Thu, Sep 3, 2015 at 2:15 AM, Zhuo Chen wrote: > Hi I am interested in setting up a builedbot machine for python, I have a > 2011 MacBook Pro with custom ssd and OS X Yosemite Responding off-list. -- Zach ___ Python-Dev mailing list Python-Dev@pyth

Re: [Python-Dev] Rationale behind lazy map/filter

2015-10-13 Thread Zachary Ware
On Tue, Oct 13, 2015 at 10:26 AM, Random832 wrote: > "R. David Murray" writes: > >> On Tue, 13 Oct 2015 14:59:56 +0300, Stefan Mihaila >> wrote: >>> Maybe it's just python2 habits, but I assume I'm not the only one >>> carelessly thinking that "iterating over an input a second time will >>> resu

Re: [Python-Dev] doc tests failing

2015-11-13 Thread Zachary Ware
On Fri, Nov 13, 2015 at 9:12 AM, Ethan Furman wrote: > What am I doing wrong? Expecting it to work :) `make doctest` is a Sphinx feature, not specific to our docs. Ideally someday it should work (and I'll add it to the Docs buildbot), but nobody has tried to make it work yet. Making it work mi

Re: [Python-Dev] Benchmark results across all major Python implementations

2015-11-16 Thread Zachary Ware
On Mon, Nov 16, 2015 at 3:38 PM, Brian Curtin wrote: > On Monday, November 16, 2015, Brett Cannon wrote: >>> >>> Hi Brett >>> >>> Any thoughts on improving the benchmark set (I think all of >>> {cpython,pypy,pyston} introduced new benchmarks to the set). >> >> >> We should probably start a maili

Re: [Python-Dev] Building with VS2015

2016-01-12 Thread Zachary Ware
On Tue, Jan 12, 2016 at 9:32 PM, Alexander Walters wrote: > This is a mailing list for the development of python itself, not support for > building it. That said... > > 3.4 uses visual studio 2010, for starters. 3.5 uses 2015. Agreed with all of the above. You'll be much happier using either 3

Re: [Python-Dev] Update PEP 7 to require curly braces in C

2016-01-21 Thread Zachary Ware
On Thu, Jan 21, 2016 at 11:12 AM, Brett Cannon wrote: > On Wed, 20 Jan 2016 at 23:07 Nick Coghlan wrote: >> - I wasn't aware of that >> requirement, so I've never explicitly checked CLA status for folks >> contributing packaging related PEPs. (And looking at the >> just-checked-in PEP 513, I appa

Re: [Python-Dev] Buildbot timing out - test suite failure - test_socket issue with UDP6?

2016-01-22 Thread Zachary Ware
On Sat, Jan 23, 2016 at 12:03 AM, Chris Angelico wrote: > By the way, this looks odd: > > make buildbottest TESTOPTS= TESTPYTHONOPTS= TESTTIMEOUT=3600 > in dir /root/buildarea/3.x.angelico-debian-amd64/build (timeout 3900 secs) > > The parameter says 3600 (which corresponds to the error message a

[Python-Dev] speed.python.org

2016-02-03 Thread Zachary Ware
I'm happy to announce that speed.python.org is finally functional! There's not much there yet, as each benchmark builder has only sent one result so far (and one of those involved a bit of cheating on my part), but it's there. There are likely to be rough edges that still need smoothing out. When

Re: [Python-Dev] speed.python.org

2016-02-08 Thread Zachary Ware
On Mon, Feb 8, 2016 at 1:09 PM, Yury Selivanov wrote: > Zachary, > > Do you run the benchmarks in rigorous mode? Not currently. I think I need to reschedule when the benchmarks are run anyway, to avoid conflicts with PyPy's usage of that box, and will add rigorous mode when I do that. -- Zach

Re: [Python-Dev] When should pathlib stop being provisional?

2016-04-07 Thread Zachary Ware
On Thu, Apr 7, 2016 at 5:50 AM, Michel Desmoulin wrote: > Path objects don't have splitext() or and don't allow "string" / path. > Those are the ones bugging me the most. >>> import pathlib >>> p = '/some/test' / pathlib.Path('path') / 'file_with.ext' >>> p PosixPath('/some/test/path/file_with.e

Re: [Python-Dev] Pathlib enhancements - acceptable inputs and outputs for __fspath__ and os.fspath()

2016-04-11 Thread Zachary Ware
On Mon, Apr 11, 2016 at 11:18 AM, Ethan Furman wrote: > If those examples are anywhere close to accurate, an fspath protocol that > supported both bytes and str seems a lot easier to work with. But why are you working with bytes paths in the first place? Where did you get them from, and why could

Re: [Python-Dev] Most 3.x buildbots are green again, please don't break them and watch them!

2016-04-13 Thread Zachary Ware
On Wed, Apr 13, 2016 at 6:40 AM, Victor Stinner wrote: > Hi, > > Last months, most 3.x buildbots failed randomly. Some of them were > always failing. I spent some time to fix almost all Windows and Linux > buildbots. There were a lot of different issues. Thank you for doing this! > Maybe it's ti

[Python-Dev] Tag-based buildmaster (was: Most 3.x buildbots are green again ... )

2016-04-13 Thread Zachary Ware
(Cross-posting to python-buildbots, discussion is probably best continued there) On Wed, Apr 13, 2016 at 3:37 PM, Brett Cannon wrote: > On Wed, 13 Apr 2016 at 13:17 Zachary Ware > wrote: >> After receiving a suggestion from koobs several months ago, I've been >> interm

Re: [Python-Dev] Terminal console

2016-04-25 Thread Zachary Ware
On Apr 25, 2016 17:08, "Brett Cannon" wrote: > > Good point. Hopefully that's all it was then. Is there any particular reason we include that link in python-dev emails? We don't for any other list as far as I know. -- Zach (On a phone) ___ Python-Dev m

Re: [Python-Dev] Terminal console

2016-04-26 Thread Zachary Ware
On Apr 26, 2016 07:45, "Franklin? Lee" wrote: > > On Apr 26, 2016 4:02 AM, "Paul Moore" wrote: > > > > On 25 April 2016 at 23:55, Franklin? Lee wrote: > > > FWIW, Gmail's policies require: > > [...] > > > That link is currently the only obvious way to unsubscribe. > > > > I'm not sure why gmail'

Re: [Python-Dev] Needs to install python 3.4.4 in RHEL 6

2016-04-28 Thread Zachary Ware
Hi Nilesh, On Thu, Apr 28, 2016 at 7:00 AM, Nilesh Date wrote: > Hi team, > > I wanted to install python version 3.4.4 in my RHEL 6 system. > Can someone give installation process or any reference link from which I can > get required steps and download desire package. You have a couple of option

Re: [Python-Dev] Daily reference leaks (30f33e6a04c1): sum=975756

2013-10-18 Thread Zachary Ware
On Fri, Oct 18, 2013 at 12:30 PM, Antoine Pitrou wrote: > > Is anyone looking into those leaks? > I suspect they might have to do with Serhiy's latest re changes in > add40e9f7cbe. > (just a barely educated guess, though) I have confirmed that and was working towards getting my findings posted wh

Re: [Python-Dev] [Python-checkins] cpython (2.7): Issue #XXXXX: Fix test_idle so that idlelib test cases are actually run

2013-11-03 Thread Zachary Ware
On Sun, Nov 3, 2013 at 10:54 PM, Terry Reedy wrote: > On 11/3/2013 11:48 PM, terry.reedy wrote: >> >> http://hg.python.org/cpython/rev/cced7981ec4d >> changeset: 86908:cced7981ec4d >> branch: 2.7 >> user:Terry Jan Reedy >> date:Sun Nov 03 23:37:54 2013 -0500 >> summary: >>

Re: [Python-Dev] Sort error in Misc/ACKS

2013-12-09 Thread Zachary Ware
On Mon, Dec 9, 2013 at 8:57 AM, Barry Warsaw wrote: > On Dec 09, 2013, at 04:00 PM, TaeWong wrote: > >>The name Jonas Wagner comes before Zachary Ware and Barry Warsaw. > > Maybe it's time to give up on trying to sort by last name, and just sort by > first character?

Re: [Python-Dev] Buildbot running Debian amd64 as root

2013-12-30 Thread Zachary Ware
On Mon, Dec 30, 2013 at 12:18 PM, Christian Heimes wrote: > Am 30.12.2013 15:02, schrieb Chris Angelico: >> On Tue, Dec 31, 2013 at 12:05 AM, Chris Angelico wrote: >>> On Sun, Dec 8, 2013 at 12:35 AM, Chris Angelico wrote: In another thread it was suggested that a new buildbot running as ro

Re: [Python-Dev] Buildbot running Debian amd64 as root

2013-12-30 Thread Zachary Ware
On Mon, Dec 30, 2013 at 2:31 PM, Zachary Ware wrote: > and we should just fix the tests that expect zlib unconditionally. Both of which turned out to be trivial; the import of zlib was already guarded in both places, but one skip was checking the wrong name and the other just didn't try

Re: [Python-Dev] [Python-checkins] cpython: add unicode_char() in unicodeobject.c to factorize code

2014-01-03 Thread Zachary Ware
On Fri, Jan 3, 2014 at 6:01 AM, victor.stinner wrote: > http://hg.python.org/cpython/rev/d453c95def31 > changeset: 88271:d453c95def31 > user:Victor Stinner > date:Fri Jan 03 12:53:47 2014 +0100 > summary: > add unicode_char() in unicodeobject.c to factorize code > > files: >

Re: [Python-Dev] Test failures when running as root

2014-01-13 Thread Zachary Ware
On Mon, Jan 13, 2014 at 6:48 PM, Chris Angelico wrote: > And secondly, how can I run the tests manually? I can't find a binary > inside the buildarea tree. Does it get deleted afterward? Yes, that's the 'clean' step of the buildbot build process. I'd suggest making another clone elsewhere (you c

Re: [Python-Dev] Changing Clinic's output

2014-01-14 Thread Zachary Ware
On Tue, Jan 14, 2014 at 2:22 PM, Larry Hastings wrote: > I have now received exactly zero feedback about the prototype, which > suggests people aren't using it. Oops, I had half a post written about this two days ago, but never got it posted. I did some experimenting on winreg.c (see http://hg.p

Re: [Python-Dev] Changing Clinic's output

2014-01-14 Thread Zachary Ware
On Tue, Jan 14, 2014 at 2:54 PM, Larry Hastings wrote: > I will consider you a +1 on the "buffer" approach and NaN on the other > approaches. Oops, I'll give you some real numbers: -1 _pickle.original.c +1 _pickle.using-buffer.c +0 _pickle.using-modified-buffer.c +1 _pickle.using-multiple-buffe

Re: [Python-Dev] .clinic.c vs .c.clinic

2014-01-18 Thread Zachary Ware
On Sat, Jan 18, 2014 at 12:10 PM, Serhiy Storchaka wrote: > 18.01.14 19:09, Antoine Pitrou написав(ла): > >> On Sat, 18 Jan 2014 18:06:06 +0100 >> Stefan Krah wrote: I'd rather see memoryview.h than memoryview.clinic.c. >>> >>> >>> Or, if this collides with Include/*, one of the followi

Re: [Python-Dev] .clinic.c vs .c.clinic

2014-01-20 Thread Zachary Ware
On Mon, Jan 20, 2014 at 2:05 AM, Larry Hastings wrote: > Contestant 1: "Add .clinic.h" > > foo.c -> foo.c.clinic.h > foo.h -> foo.h.clinic.h -0 > Contestant 2: "Add .ac.h" > > foo.c -> foo.c.ac.h > foo.h -> foo.h.ac.h -1 > Contestant 3: "Add .clinic" > > foo.c -> foo.c.clinic > foo.h -> foo.h.

Re: [Python-Dev] Quick poll: should help() show bound arguments?

2014-01-24 Thread Zachary Ware
On Fri, Jan 24, 2014 at 10:07 PM, Larry Hastings wrote: > > (Quick, because apparently nobody reads the long ones!) > > In Python 3.3: > class C: > ...def foo(self, a): pass > ... c = C() help(c.foo) > > shows you the signature "foo(self, a)". As in, it claims it accepts two >

Re: [Python-Dev] BugFix for "time" native module in Python 2.7

2014-02-03 Thread Zachary Ware
Hi Victor, On Mon, Feb 3, 2014 at 1:41 PM, Виктор Щерба wrote: > Hi, guys! > > I have found a bug in module "time" function "sleep" in Python 2.7 under > Windows XP / Server 2003 and lower. > I fix this bug locally. But how could I send you hg patch or pull request > or, maybe, commit to sandbox?

Re: [Python-Dev] The docstring hack for signature information has to go

2014-02-03 Thread Zachary Ware
On Mon, Feb 3, 2014 at 8:43 AM, Larry Hastings wrote: > > > A quick summary of the context: currently in CPython 3.4, a builtin function > can publish its "signature" as a specially encoded line at the top of its > docstring. CPython internally detects this line inside > PyCFunctionObject.__doc__

Re: [Python-Dev] [Python-checkins] cpython: Close #20656: Fix select.select() on OpenBSD 64-bit

2014-02-17 Thread Zachary Ware
On Mon, Feb 17, 2014 at 6:36 PM, victor.stinner wrote: > http://hg.python.org/cpython/rev/79ccf36b0fd0 > changeset: 89239:79ccf36b0fd0 > user:Victor Stinner > date:Tue Feb 18 01:35:40 2014 +0100 > summary: > Close #20656: Fix select.select() on OpenBSD 64-bit > > files: > Mo

Re: [Python-Dev] Whats New in 3.4 is pretty much done...

2014-03-14 Thread Zachary Ware
On Fri, Mar 14, 2014 at 12:59 AM, Brian Curtin wrote: > On Thu, Mar 13, 2014 at 8:29 PM, Terry Reedy wrote: >> Now that no warnings is a serious goal for 3.4+, I will report them should >> they recur. > > If we're at no warnings, and no warnings is a serious goal, warnings > should be errors. I'

Re: [Python-Dev] [Python-checkins] cpython: Added Doc/tools/ subdirs to .hgignore.

2014-03-14 Thread Zachary Ware
On Fri, Mar 14, 2014 at 10:10 AM, Benjamin Peterson wrote: > On Fri, Mar 14, 2014, at 07:20 AM, vinay.sajip wrote: >> diff --git a/.hgignore b/.hgignore >> --- a/.hgignore >> +++ b/.hgignore >> @@ -24,6 +24,11 @@ >> reflog.txt$ >> tags$ >> Lib/plat-mac/errors.rsrc.df.rsrc >> +Doc/tools/sphinx/

Re: [Python-Dev] [Python-checkins] cpython: Added Doc/tools/ subdirs to .hgignore.

2014-03-14 Thread Zachary Ware
On Fri, Mar 14, 2014 at 10:55 AM, Benjamin Peterson wrote: > On Fri, Mar 14, 2014, at 08:52 AM, Zachary Ware wrote: >> On Fri, Mar 14, 2014 at 10:10 AM, Benjamin Peterson >> wrote: >> > Why are you readding these when they were apparently purposely removed >>

Re: [Python-Dev] [Python-checkins] cpython (3.4): simplify check, since now there are only new-style classes

2014-04-01 Thread Zachary Ware
On Tue, Apr 1, 2014 at 1:21 PM, benjamin.peterson wrote: > http://hg.python.org/cpython/rev/abb85902ce79 > changeset: 90090:abb85902ce79 > branch: 3.4 > parent: 90088:4a2dabac976d > user:Benjamin Peterson > date:Tue Apr 01 14:20:56 2014 -0400 > summary: > simplify ch

Re: [Python-Dev] Windows buildbots are red: test_idlelib

2014-04-08 Thread Zachary Ware
On Mon, Apr 7, 2014 at 4:37 AM, Victor Stinner wrote: > Hi, > > Unit tests are failing on Windows because of this issue: > http://bugs.python.org/issue21059 > > It looks like a regression in test_idlelib introduced with this issue: > http://bugs.python.org/issue15968 > &g

Re: [Python-Dev] python-3.4.0

2014-04-13 Thread Zachary Ware
On April 13, 2014 10:31:24 AM CDT, Greg Mildenstein wrote: >Hi, > >I'm running windows 8.1 64 bit. I was using 'python-3.3.1.amd64' but >have uninstalled it and installed the above version. However, when I >try running 'PyScripter', I get an error stating, 'ERROR - unable to >open python, it w

Re: [Python-Dev] [Python-checkins] cpython (3.1): disallow a negative idx parameter

2014-04-14 Thread Zachary Ware
On Mon, Apr 14, 2014 at 10:52 AM, benjamin.peterson wrote: > http://hg.python.org/cpython/rev/4bd1fb0f4f44 > changeset: 90256:4bd1fb0f4f44 > branch: 3.1 > parent: 90235:a8facac493ef > user:Benjamin Peterson > date:Mon Apr 14 11:45:21 2014 -0400 > summary: > disallow

Re: [Python-Dev] devguide: Add note about Kushal Das' privs

2014-04-18 Thread Zachary Ware
On Fri, Apr 18, 2014 at 1:54 PM, Brett Cannon wrote: > On Friday, April 18, 2014 2:35:32 PM, Benjamin Peterson > wrote: >> On Fri, Apr 18, 2014, at 11:29, Antoine Pitrou wrote: >> > On Mon, 14 Apr 2014 23:18:42 +0200 (CEST) >> > brett.cannon wrote: >> > > http://hg.python.org/devguide/rev/c14c8a

Re: [Python-Dev] [Python-checkins] cpython (3.4): Prevent Sphinx error on whatsnew/changelog

2014-04-23 Thread Zachary Ware
On April 23, 2014 5:24:53 PM CDT, Terry Reedy wrote: >On 4/23/2014 11:05 AM, zach.ware wrote: >> http://hg.python.org/cpython/rev/75419257fec3 >> changeset: 90440:75419257fec3 >> branch: 3.4 >> parent: 90437:5d745d97b7da >> user:Zachary Ware

Re: [Python-Dev] [Python-checkins] devguide: Fix broken link to Skip's optimizer paper, update bug link

2014-05-02 Thread Zachary Ware
On Fri, May 2, 2014 at 3:02 PM, zach.ware wrote: > http://hg.python.org/devguide/rev/375b0b0b186b > changeset: 696:375b0b0b186b > user: Zachary Ware > date:Fri May 02 14:44:20 2014 -0500 > summary: > Fix broken link to Skip's optimizer paper, up

Re: [Python-Dev] Tix version needed to build 2.7 Windows installer?

2014-05-08 Thread Zachary Ware
On Thu, May 8, 2014 at 2:36 PM, "Martin v. Löwis" wrote: > Am 08.05.14 18:59, schrieb Brian Curtin: >> This is mostly a question for Martin, but perhaps someone else would also >> know. >> >> I'm trying to build the 2.7 installers so I can backport the path >> option from 3.3, but I can't seem to

Re: [Python-Dev] Tix version needed to build 2.7 Windows installer?

2014-05-09 Thread Zachary Ware
On Thu, May 8, 2014 at 4:20 PM, Zachary Ware wrote: > I updated the 2.7 buildbot scripts to pull in Tcl/Tk 8.5.15 a couple > of weeks ago (see http://bugs.python.org/issue21303), but hadn't > gotten anything done with Tix yet. It should just need python.mak > updated to point

Re: [Python-Dev] Moving Python 3.5 on Windows to a new compiler

2014-06-06 Thread Zachary Ware
On Fri, Jun 6, 2014 at 10:41 AM, Steve Dower wrote: > Thoughts/comments/concerns? My only concern is support for elderly versions of Windows, in particular: XP. I seem to recall the last "let's update our MSVC version" discussion dying off because of XP support. Even though MS has abandoned it,

Re: [Python-Dev] Returning Windows file attribute information via os.stat()

2014-06-10 Thread Zachary Ware
On Tue, Jun 10, 2014 at 12:17 PM, Ethan Furman wrote: > On 06/09/2014 09:02 PM, Ben Hoyt wrote: >> To solve this problem, what do people think about adding an >> "st_winattrs" attribute to the object returned by os.stat() on >> Windows? > > > +1 to the idea, whatever the exact implementation. Agr

Re: [Python-Dev] Returning Windows file attribute information via os.stat()

2014-06-10 Thread Zachary Ware
On Tue, Jun 10, 2014 at 2:04 PM, Ben Hoyt wrote: >>> To solve this problem, what do people think about adding an >>> "st_winattrs" attribute to the object returned by os.stat() on >>> Windows? >> >> +1 to the idea, whatever the exact implementation. > > Cool. > > I think we should add a st_winattr

Re: [Python-Dev] Windows XP, Python 3.5 and PEP 11

2014-06-16 Thread Zachary Ware
On Mon, Jun 16, 2014 at 4:12 PM, Victor Stinner wrote: > Hi, > > I would like to know if Python 3.5 will still support Windows XP or > not. Almost all flavors of Windows XP reached the end-of-life in > April, 2014 except "Windows XP Embedded". There is even an hack to use > Windows upgrades on the

Re: [Python-Dev] Workflow blocked on the 3.6 because of AppVeyor; who owns the AppVeyor project?

2018-09-05 Thread Zachary Ware
On Wed, Sep 5, 2018 at 6:23 AM Antoine Pitrou wrote: > On Wed, 5 Sep 2018 11:03:48 +0100 > Paul Moore wrote: > > On Wed, 5 Sep 2018 at 10:55, Victor Stinner wrote: > > > Who ows the "python" AppVeyor project? That seems to have fallen to me for the most part. > > > Can someone please give me t

Re: [Python-Dev] Workflow blocked on the 3.6 because of AppVeyor; who owns the AppVeyor project?

2018-09-05 Thread Zachary Ware
On Wed, Sep 5, 2018 at 9:30 AM Paul Moore wrote: > I presume you're suggesting keeping 2017 is so that we don't have > stray 2015-built artifacts in the cache, which makes sense to me, and > I have a mild preference for keeping the latest compiler, as that's > likely the one that people will find

Re: [Python-Dev] Stop automerging

2018-09-12 Thread Zachary Ware
It is still up to the core dev to set the message properly, but the HTML comments are invisible on GitHub until you edit the message. That bug is now fixed, though; HTML comments are stripped from the message before creating the commit. -- Zach (Top-posted in HTML from a phone) On Wed, Sep 12, 20

  1   2   >