Fwd: argparse modify

2022-06-23 Thread נתי שטרן
הודעה שהועברה -- מאת: *Dieter Maurer* תאריך: יום שישי, 24 ביוני 2022 נושא: argparse modify אל: נתישטרן עותק: "python-list-requ...@python.org" , " python-list@python.org" נתי שטרן wrote at 2022-6-24 08:28 +0300: >I copied code from argparse library and modified it > >בתאריך

Re: argparse modify

2022-06-23 Thread Dieter Maurer
נתי שטרן wrote at 2022-6-24 08:28 +0300: >I copied code from argparse library and modified it > >בתאריך יום חמישי, 23 ביוני 2022, מאת Dieter Maurer : > >> נתי שטרן wrote at 2022-6-23 15:31 +0300: >> >how to solve this (argparse) >> > >> > >> >traceback: >> >Traceback (most recent call last): >> >

Re: argparse modify

2022-06-23 Thread נתי שטרן
I copied code from argparse library and modified it בתאריך יום חמישי, 23 ביוני 2022, מאת Dieter Maurer : > נתי שטרן wrote at 2022-6-23 15:31 +0300: > >how to solve this (argparse) > > > > > >traceback: > >Traceback (most recent call last): > > File "u:\oracle\RTR.py", line 10, in > >class s

Re: argparse modify

2022-06-23 Thread Chris Angelico
On Fri, 24 Jun 2022 at 09:03, Mats Wichmann wrote: > Also note that while it's claimed to be fine These Days, inheriting from > a base type like this is sometimes tricky, sometimes broken... be > somewhat aware. Depends on your definition of "broken". If you want to make a custom integer type, yo

Re: argparse modify

2022-06-23 Thread Mats Wichmann
On 6/23/22 16:32, Dennis Lee Bieber wrote: > On Thu, 23 Jun 2022 18:57:31 +0200, "Dieter Maurer" > declaimed the following: > >> ??? wrote at 2022-6-23 15:31 +0300: >>> how to solve this (argparse) > >>>MAXREPEAT = _NamedIntConstant(32,name=str(32)) >>> TypeError: 'name' is an invalid k

Re: argparse modify

2022-06-23 Thread Dennis Lee Bieber
On Thu, 23 Jun 2022 18:57:31 +0200, "Dieter Maurer" declaimed the following: >??? wrote at 2022-6-23 15:31 +0300: >>how to solve this (argparse) >>MAXREPEAT = _NamedIntConstant(32,name=str(32)) >>TypeError: 'name' is an invalid keyword argument for int() > >This does not look like an `a

Re: argparse modify

2022-06-23 Thread Dieter Maurer
נתי שטרן wrote at 2022-6-23 15:31 +0300: >how to solve this (argparse) > > >traceback: >Traceback (most recent call last): > File "u:\oracle\RTR.py", line 10, in >class sre_constants(): > File "u:\oracle\RTR.py", line 77, in sre_constants >MAXREPEAT = _NamedIntConstant(32,name=str(32)) >

Re: "CPython"

2022-06-23 Thread Avi Gross via Python-list
David, I am curious why you are undertaking the effort to take a language already  decades old and showing signs of being a tad rusty into a language that suggests further oxidation. More seriously, I am interested in what this can gain and the intended user  base. I studied Rust for a while and i

argparse modify

2022-06-23 Thread נתי שטרן
how to solve this (argparse) traceback: Traceback (most recent call last): File "u:\oracle\RTR.py", line 10, in class sre_constants(): File "u:\oracle\RTR.py", line 77, in sre_constants MAXREPEAT = _NamedIntConstant(32,name=str(32)) TypeError: 'name' is an invalid keyword argument fo

3.11.0b4?

2022-06-23 Thread Richard David
Is there a new scheduled date for releasing 3.11.0b4? Are there issues with b4 that have implications for b3? I realize it will be released when ready and am not trying to push or harass anyone involved. It just seems that versions are usually released on schedule so I'm wondering if there's s

Re: "CPython"

2022-06-23 Thread David J W
>> Let's say they reimplement "reference python" CPython in Rust. What is >> better? Change the "reference python" CPython name to RPython, for >> example, or let it as CPython? >The C implementation would still be called CPython, and the new >implementation might be called RPython, or RustyPython