IDLE Python won't run or open, neither will it state the error for behaving this way

2018-07-16 Thread Clarence Chanda
HI, I downloaded python 3.7.0 from your python website and it was installed successfully and I was able to run/open python but when I try to run/open IDLE python, it just wont open or run, it wont even state the error causing this... Please help me, how do I fix this? -- https://mail.python.org/ma

Re: Alternative to multi-line lambdas: Assign-anywhere def statements

2015-02-11 Thread Clarence
On Wednesday, February 11, 2015 at 8:04:33 AM UTC-5, Albert van der Horst wrote: > In article , > Ethan Furman wrote: > >-=-=-=-=-=- > > > >On 01/24/2015 11:55 AM, Chris Angelico wrote: > >> On Sun, Jan 25, 2015 at 5:56 AM, Ethan Furman wrote: > >>> If the non-generic is what you're concerned ab

Re: Changing intobject to use int rather than long

2007-12-18 Thread Clarence
On Dec 18, 6:58 pm, Hrvoje Niksic <[EMAIL PROTECTED]> wrote: > I don't think changing the underlying type will help at all. The > > On a 64-bit machine, that's 16 bytes for PyObject_HEAD and 8 more > bytes for the value, 24 bytes total. Changing long to int won't > decrease the struct size to 2

Re: Changing intobject to use int rather than long

2007-12-18 Thread Clarence
On Dec 18, 6:24 pm, "Chris Mellon" <[EMAIL PROTECTED]> wrote: > > Your int objects get twice as large, but you get 4294967296 times more > address space. > > (They don't always get twice as large, and you don't actually get that > much address space, and there's lots of other things wrong with this

Changing intobject to use int rather than long

2007-12-18 Thread Clarence
Does anyone think (or know) that it might cause any internal problems if the ival member of the struct defining an intobject were to be changed from its current "long int" to just "int"? When you move your application to a 64-bit system in order to get a bigger address space to store your millions

Ten years on....

2007-06-22 Thread Clarence
er to pick up the axe or throw the dwarf, and if that's true I guess "the typical libc rand" is adequate for all but the most fanatic of gamers . -- Tim Peters, 21 June 1997. "Belated-but-still-sincerely-admiring-of-Tim-Peters"-ly yrs, Clarence -- http://mail.python.org/mailman/listinfo/python-list

Re: MRO theory

2007-04-12 Thread Clarence
On Apr 11, 5:21 pm, "Carl Banks" <[EMAIL PROTECTED]> wrote: > > There is real Java code that is causing a class construction failure > > because of an inability to construct a consistent mro. I've tried > > several > > approaches to make it work, and by accident, sorting the list of > > interface

Re: MRO theory

2007-04-11 Thread Clarence
On Apr 11, 12:09 pm, Steve Holden <[EMAIL PROTECTED]> wrote: > Without wishing to lay claim to genius, I'd suggest that you don;'t > write programs relying on multiple inheritance until you have a thorough > understanding of its principles. > > The inability of the interpreter to create a consisten

MRO theory

2007-04-11 Thread Clarence
I'm having problems creating classes because of "can't create a consistent mro" problems. I noticed, in a test program, that if the base class list that I pass to type.__new__ is sorted (using default keys, so presumably sorting by the id's of the class objects), that the problem goes away. Now i

Mysterious argument count error to __new__

2007-04-10 Thread Clarence
, but I also printed out the value of "type" before the line, and got as it should be.) Thanks for any help. Clarence -- http://mail.python.org/mailman/listinfo/python-list

Re: -W: Python bug? Documentation bug?

2006-12-12 Thread Clarence
Clarence wrote: > It appears that the -W option on starting python doesn't work the same > as the warnings module. In particular, the "message" parameter is not > treated as a regular expression, but rather a string literal which must > appear at the beginning of a

-W: Python bug? Documentation bug?

2006-12-12 Thread Clarence
It appears that the -W option on starting python doesn't work the same as the warnings module. In particular, the "message" parameter is not treated as a regular expression, but rather a string literal which must appear at the beginning of a warning message in order to match. The treatment of -W in

Tortoise, Hare, Hell, None

2006-10-25 Thread Clarence
Five and a half years ago, Tim Peters (glory be to his name) made the following statement: > In that respect, None is unique among non-keyword names, and for that reason > alone it should be a keyword instead of a global. I expect that will happen > someday, too. But it's a race between that and