Re: [Python-Dev] MSI being downloaded 10x more than all other files?!

2006-12-08 Thread Jordan Greenberg
Guido van Rossum wrote:
> Or have we just hit the jackpot?

Hi all,
I've been lurking the list for a while (fun to know what you py-devs are
up too!) but for this I have to speak up and give congratulations.
You're all doing amazing work, and I think thats being reflected in
these numbers. I know I recommend it to all of my friends, who are
bogged down trying to learn Java or Perl, and they've all been amazed by
how much of a joy it is to work in Python.

So, if you have hit the jackpot, it's truly deserved.

Congratulations again, and keep up the good work!

-Jordan Greenberg

___
Python-Dev mailing list
Python-Dev@python.org
http://mail.python.org/mailman/listinfo/python-dev
Unsubscribe: 
http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com


Re: [Python-Dev] bool conversion wart?

2007-02-26 Thread Jordan Greenberg
Guido van Rossum wrote:
 > How would this change be helpful? I'm utterly mystified by these
 > suggestions that bool would be more useful if it didn't behave like an
 > int in arithmetic.

I don't think anyones really saying it would be more useful, it 
obviously wouldn't, since like Greg said, it wouldn't work in mapping 
access or set membership like it does now. I think it would be more 
readable though, since thinks like this:
  >>> True in set([1])
True

or that 5+True is equal to 6 aren't necessarily obvious to someone who 
doesn't know that True evaluates to 1.

 >> The fact that bool is a subclass of int is more historic than 
necessary.  If
 >> not for Python's long usage of 0 and 1 to be the canonical False and 
True, I
 >> suspect that bool might have been implemented as a new standalone type.
 >
 > Not necessarily. I really like the idea that bool is embedded in int,
 > just like int is embedded in float (real), and real is embedded in
 > complex.

It is elegant to embed bool in int, but to me it screams C. To me, it 
makes more sense to use an int if you want an int, and to reserve 
boolean for logic.

 From an elegance/usefulness standpoint, maybe bool should evaluate to 0 
and 1. But IMHO, it would eliminate some gotchas and improve readability 
if it didn't.

-Jordan Greenberg, not a Py-Dev, just an interested luser^H^H^Hrker.
___
Python-Dev mailing list
Python-Dev@python.org
http://mail.python.org/mailman/listinfo/python-dev
Unsubscribe: 
http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com