[Python-Dev] Re: How about using modern C++ in development of CPython ?

2022-01-20 Thread Dan Stromberg
On Fri, Apr 16, 2021 at 11:13 AM Christian Heimes wrote: > On 16/04/2021 19.14, redrad...@gmail.com wrote: > > My personal stop of contributing in CPython is that it is written in > pure C !! > > I wrote code in both: pure C and C++, but I like writing code in C++, > because it simplifies things

[Python-Dev] Adding an `inspect` function to return the signature of a type?

2022-01-20 Thread Steven Troxler
I've been wondering whether it would make sense to have a function in `inspect` that returns the signature of a type, rather than the signature of a specific callable object. I'm not attached to any name for such a function, two ideas are `inspect.signature_of` or `inspect.signature_of_type`.

[Python-Dev] Re: Discussion about crash tolerance feature for gdbm module

2022-01-20 Thread Dong-hee Na
For more readable code: https://gist.github.com/corona10/d4fe0b6367ea6865e37b4369a7d60912 2022년 1월 21일 (금) 오후 12:50, Dong-hee Na 님이 작성: > I exchanged a mail for investigating details. > > Before getting started, please remind the following fact. > - The latest snapshot is always valid, even if co

[Python-Dev] Re: Discussion about crash tolerance feature for gdbm module

2022-01-20 Thread Dong-hee Na
I exchanged a mail for investigating details. Before getting started, please remind the following fact. - The latest snapshot is always valid, even if corruption has not occurred. > Why is a separated script needed? / A single script cannot automatically detect a corrupted database and load the l

[Python-Dev] Re: RFC on PEP 673: Self Type

2022-01-20 Thread Petr Viktorin
On 19. 01. 22 21:40, S Pradeep Kumar wrote: On Mon, Jan 17, 2022 at 7:02 AM Jelle Zijlstra > wrote: El lun, 17 ene 2022 a las 6:25, Petr Viktorin (mailto:encu...@gmail.com>>) escribió: On Wed, Nov 17, 2021 at 8:31 AM Pradeep Kumar Srinivasan

[Python-Dev] Re: 3.11 enhanced error location - can it be smarter?

2022-01-20 Thread Barry Scott
> On 20 Jan 2022, at 02:22, Skip Montanaro wrote: > > (This really belongs on python-ideas, right?) > I'm commenting on the implementation that is on going. python-ideas does not seem right. Barry ___ Python-Dev mailing list -- python-dev@python.