Re: CERTIFICATE_VERIFY_FAILED Windows only?

2021-11-27 Thread Chris Angelico
On Sun, Nov 28, 2021 at 6:38 AM Ulli Horlacher wrote: > > My program uses https and runs fine on Linux, but on Windows it crashes: > > Google chrome and firefox both say the certifacte is valid: > > https://fex.flupp.org/fop/U4xC4kz8/X-20211127192031.png > > https://fex.flupp.org/fop/mBabXKSz/X-20

CERTIFICATE_VERIFY_FAILED Windows only?

2021-11-27 Thread Ulli Horlacher
My program uses https and runs fine on Linux, but on Windows it crashes: W10dev:/cygdrive/p: python fextasy.py -D DEBUG(fextasy.py): verbose=0 DEBUG(fextasy.py): User-Agent: fextasy-20211127_1806 Windows 10.0.19041 DEBUG(fextasy.py): TCPCONNECT to fex.flupp.org:443 Traceback (most recent call last

Re: Eventfd with epoll BlockingIOError

2021-11-27 Thread Barry Scott
> On 25 Nov 2021, at 22:29, jenk...@tutanota.com wrote: > > Thanks very much for your reply. > > I am now getting a single event returned in Python, but it's not the right > event, as I'll explain below. > > I rearranged the Python code based on your comments: > > #!/usr/bin/python3 > impo

Re: Failure to Display Top menu

2021-11-27 Thread Christian Gollwitzer
Am 26.11.21 um 21:38 schrieb Peter Mwale: Hello, my python 3.10 shell is not displaying the top menu. What should I do? You should explain, what you do exactly. The Python interpreter does not have a menu. a) What platform are you on? Windows, macOS, Linux? b) How did ou start Python and w

Re: Negative subscripts

2021-11-27 Thread Chris Angelico
On Sat, Nov 27, 2021 at 7:21 PM dn via Python-list wrote: > The expression list is evaluated once; it should yield an iterable > object. An iterator is created for the result of the expression_list. > The suite is then executed once for each item provided by the iterator, > in the order returned b

Re: Negative subscripts

2021-11-27 Thread dn via Python-list
On 27/11/2021 19.11, Frank Millman wrote: > On 2021-11-26 11:24 PM, dn via Python-list wrote: >> On 26/11/2021 22.17, Frank Millman wrote: >>> In my program I have a for-loop like this - >>> >> for item in x[:-y]: >>> ...    [do stuff] >>> >>> 'y' may or may not be 0. If it is 0 I want to proce