Re: Internal Server Error when trying to access WebTours (an Application built in Strawberry perl)

2019-10-29 Thread dieter
Kishore m writes: > I have installed Python 64 bit 2 days back and had to uninstall Python as I > got below error with webtours application built in Strawberry Perl which im > using from an year without any issue. > > *Problem Statement:* > Internal Server Error when trying to access WebTours "In

Re: Fwd: Sudden changes in idle python and my laptop

2019-10-29 Thread dieter
nashrahmehar11 writes: > Suddenly,my idle python started to behave abnormally and when i closed and > tried to start it again,then it gave the above message. This is a text only mailing list. You must therefore provide all information in text - you cannot refer to attachments. You might conside

Re: Fwd: keying by identity in dict and set

2019-10-29 Thread dieter
Steve White writes: > ... > A little documentation would have saved me personally days of work. > It would be helpful to know: > * under what conditions can one expect a "perfect hash", that is, > one where __eq__() will never be called? Never expect it: keys with different hash values may end

Re: keying by identity in dict and set

2019-10-29 Thread dieter
Steve White writes: > Yes, there are several options, but they all involve an extra layer > that detracts between the interface I am building and my user's code. Do the wrapping behind the application interface. And in a private email you told me that this is for a very special case -- which lik

ANN: distlib 0.3.0 released on PyPI

2019-10-29 Thread Vinay Sajip via Python-list
I've recently released version 0.3.0 of distlib on PyPI [1]. For newcomers,distlib is a library of packaging functionality which is intended to beusable as the basis for third-party packaging tools. The main changes in this release are as follows: * Partially addressed #102: modules attribute of

Re: fileinput

2019-10-29 Thread patatetom
Le mardi 29 octobre 2019 10:34:22 UTC+1, Inada Naoki a écrit : > When you are reading file from stdin, fileinput doesn't open the file. > Python open the stdin. So openhook doesn't affect to stdin. > > You can use stdin.reconfigure() to change encoding and error handler > of the stdin. > > On Tu

Re: fileinput

2019-10-29 Thread Inada Naoki
When you are reading file from stdin, fileinput doesn't open the file. Python open the stdin. So openhook doesn't affect to stdin. You can use stdin.reconfigure() to change encoding and error handler of the stdin. On Tue, Oct 29, 2019 at 6:31 PM wrote: > > Le lundi 28 octobre 2019 11:48:29 UTC+

Re: fileinput

2019-10-29 Thread patatetom
Le lundi 28 octobre 2019 11:48:29 UTC+1, Peter J. Holzer a écrit : > On 2019-10-25 22:12:23 +0200, Pascal wrote: > > for line in fileinput.input(source): > > print(line.strip()) > > > > --- > > > > python3.7.4 myscript.py myfile.log > > Traceback (most recent call last): >