typing instance variable

2021-05-13 Thread David Kolovratník
Greetings, This snippet of code raises ValueError during execution: class MyClass: __slots__ = 'foo' foo: int = 0 mypy does not complain: mypy myclass.py Success: no issues found in 1 source file But python3 does: python3 myclass.py Traceback (most recent call last): File "myclass.p

Re: STARTUP FAILURE

2021-05-13 Thread jak
Il 13/05/2021 15:49, Sumukh chakkirala ha scritto: Hello, I have been facing this " startup failure" for a while now, I can open the IDLE from the programs that I have saved but I'm not able to open the IDLE directly. Hope you can help me with this issue as soon as possible. for Windows cmd: C:

Re: STARTUP FAILURE

2021-05-13 Thread Alan Gauld via Python-list
On 13/05/2021 14:49, Sumukh chakkirala wrote: > Hello, I have been facing this " startup failure" for a while now, I can > open the IDLE from the programs that I have saved but I'm not able to open > the IDLE directly. Hope you can help me with this issue as soon as possible. > Usual questions:

Re: STARTUP FAILURE

2021-05-13 Thread Mats Wichmann
On 5/13/21 7:49 AM, Sumukh chakkirala wrote: Hello, I have been facing this " startup failure" for a while now, I can open the IDLE from the programs that I have saved but I'm not able to open the IDLE directly. Hope you can help me with this issue as soon as possible. if it's the standard "ID

STARTUP FAILURE

2021-05-13 Thread Sumukh chakkirala
Hello, I have been facing this " startup failure" for a while now, I can open the IDLE from the programs that I have saved but I'm not able to open the IDLE directly. Hope you can help me with this issue as soon as possible. -- https://mail.python.org/mailman/listinfo/python-list

Re: Python script accessing own source code

2021-05-13 Thread Chris Angelico
On Thu, May 13, 2021 at 5:27 PM Robin Becker wrote: > > On 12/05/2021 20:17, Mirko via Python-list wrote: > > Am 12.05.2021 um 20:41 schrieb Robin Becker: > >> ... > >>> > >... > >> since GvR has been shown to have time traveling abilities such a > >> script could paradoxically appear

Re: Python script accessing own source code

2021-05-13 Thread Robin Becker
On 12/05/2021 20:17, Mirko via Python-list wrote: Am 12.05.2021 um 20:41 schrieb Robin Becker: ... ... since GvR has been shown to have time traveling abilities such a script could paradoxically appear acausally. -- yrs-not-too-seriously Robin Becker Not sure, if that's what y