[Python-Dev] Re: Switching to Discourse

2022-07-18 Thread h . vetinari
I think it's a great idea! :) [1] LLVM did the same recently (though they imported all previous messages from the mailinglist, thus making them searchable in discourse) [2 - announcement; 3 - retro], and by and large, I think it was a success. One of the comments in the retro was: > Searching

[Python-Dev] Re: [RELEASE] The cursed fourth Python 3.11 beta (3.11.0b4) is available

2022-07-15 Thread h . vetinari
Agreed on all 4 counts! :) ___ Python-Dev mailing list -- python-dev@python.org To unsubscribe send an email to python-dev-le...@python.org https://mail.python.org/mailman3/lists/python-dev.python.org/ Message archived at

[Python-Dev] Re: [RELEASE] The cursed fourth Python 3.11 beta (3.11.0b4) is available

2022-07-14 Thread h . vetinari
> Also the GH bot is using DD/MM/ date format :-( whyy? Because github is international, and everyone but the US seems to agree that ``` /\ / \ /\ / day \ /\ / \ /month \ /__\ /

[Python-Dev] Re: Using the Python C API in C++

2022-04-28 Thread h . vetinari
> Not for me to answer, I'm not a proponent of the change. I'm sure if > you read past discussions here and on Discourse you'll find answers > from the people who studied the problem carefully. The opening mail proposed C++11 without rationale or references. I did search the archives and

[Python-Dev] Re: Using the Python C API in C++

2022-04-28 Thread h . vetinari
> I work on Apache Arrow, where the C++ parts require C++11 (and we can't go further than this for now because of R compatibility concerns). Thanks for the datapoint, that's reasonable of course (though I'll note you're using abseil at least through grpc, and abseil is scheduled to remove C++11

[Python-Dev] Re: Using the Python C API in C++

2022-04-28 Thread h . vetinari
> > While I don't know who proposed C++11 or where, I'd therefore like > > to propose to move to _at least_ C++14. > > What benefits does this have for Python development? Likewise I can ask what benefits choosing C++11 would have? In general, I think standards and compilers need version

[Python-Dev] Re: Using the Python C API in C++

2022-04-27 Thread h . vetinari
> In terms of C++ version, it was proposed to target C++11. GCC 5 has full C++14 support (one library functionality missing), and so does VS2015 onwards as well as Clang 3.4, see https://en.cppreference.com/w/cpp/compiler_support I doubt that any older compilers are in use _anywhere_ in

[Python-Dev] Re: Require a C compiler supporting C99 to build Python 3.11

2022-02-23 Thread h . vetinari
> And it seems like we still care about support Visual Studio 2017, even > if Visual Studio 2019 and 2022 are available. Can we make this more concrete? Do we know of affected parties? Numbers of affected users? Or are we just conservatively guesstimating the thickness of the long tail of

[Python-Dev] Re: Suggestion: a little language for type definitions

2022-02-09 Thread h . vetinari
> While the SC's decision to keep the syntax uniform is certainly laudable, > it's creating the issue of packaging new complexities into a very limited > syntactic & semantic space (e.g. no new magic symbols like "->", which I > agree with BTW), leaving only very verbose solutions that the

[Python-Dev] Re: Require a C compiler supporting C99 to build Python 3.11

2022-02-08 Thread h . vetinari
> Maybe a more practical approach would be to use C99 "except of features not supported by MSVC of Visual Studio 2019"? This could be formulated in a more neutral way by saying "C99 without the things that became optional in C11", or perhaps "C11 without optional features" (at least from the POV

[Python-Dev] Re: Suggestion: a little language for type definitions

2022-01-08 Thread h . vetinari
I find this a really elegant approach. While the SC's decision to keep the syntax uniform is certainly laudable, it's creating the issue of packaging new complexities into a very limited syntactic & semantic space (e.g. no new magic symbols like "->", which I agree with BTW), leaving only very

[Python-Dev] Re: PEP 505 (None-aware operators) for Python 3.11

2021-10-19 Thread h . vetinari
Baptiste Carvello wrote: > y = config["handler"]["parameters"]["y"] with KeyError as None I love the look of this! While it doesn't address everything that PEP505 does, that's IMO a good thing, because - as other people mentioned already - None does too many things already. On another note,