Re: [Python-Dev] Epoch and Platform

2008-06-16 Thread Curt Hagenlocher
>From what I remember, the Microsoft CLIB has been consistent with the Unix epoch since the bad old days of 16-bit. I believe that the Macintosh CLIB used to be based on January 1, 1904 -- but it's been a long time since I did any Mac development and I'm sure it would have changed with OS X. On M

Re: [Python-Dev] Epoch and Platform

2008-06-16 Thread Guido van Rossum
ISTR that we force the epoch to be 1970 on all major platforms -- or perhaps it happens to be 1970 even on Windows when using MS's C runtime. On Mon, Jun 16, 2008 at 4:08 PM, Curt Hagenlocher <[EMAIL PROTECTED]> wrote: > The documentation for the time module says that "the epoch is the point > whe

[Python-Dev] Epoch and Platform

2008-06-16 Thread Curt Hagenlocher
The documentation for the time module says that "the epoch is the point where the time starts. On January 1st of that year, at 0 hours, the ``time since the epoch'' is zero. For Unix, the epoch is 1970. To find out what the epoch is, look at gmtime(0)." This confirms that the epoch is platform-spe

Re: [Python-Dev] Blow your mind

2008-06-16 Thread Brett Cannon
On Mon, Jun 16, 2008 at 1:19 PM, Barry Warsaw <[EMAIL PROTECTED]> wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > A colleague just forward this to me and it blew my fscking mind to > smithereens. It also brings back a lot of memories. Enjoy! > In case anyone cares to download the vi

Re: [Python-Dev] xmlrpclib.{True, False} (was Re: Assignment to None)

2008-06-16 Thread M.-A. Lemburg
On 2008-06-15 16:47, Georg Brandl wrote: Thomas Lee schrieb: Georg Brandl wrote: Remember that it must still be possible to write (in 2.6) True = 0 assert not True Ah of course. Looks like I should just avoid optimizations of Name("True") and Name("False") all together. That's a shame! We

Re: [Python-Dev] Blow your mind

2008-06-16 Thread Benjamin Peterson
On Mon, Jun 16, 2008 at 3:19 PM, Barry Warsaw <[EMAIL PROTECTED]> wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > A colleague just forward this to me and it blew my fscking mind to > smithereens. It also brings back a lot of memories. Enjoy! Darn! I'm not on there yet. Anyway, it's

[Python-Dev] Let me introduce myself! :)

2008-06-16 Thread Simgi Dacav
Hi there! I'm Giovanni Simoni, known as Dacav. I'm a student of Computer Science at the University of Trento (Italy), a GNU/Linux user and, since I've tryied it for the first time, I've appreciated the expressive power of Python, so I'd like to delve into it. I subscribed this mailing list after

[Python-Dev] Blow your mind

2008-06-16 Thread Barry Warsaw
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 A colleague just forward this to me and it blew my fscking mind to smithereens. It also brings back a lot of memories. Enjoy! - -Barry http://www.vimeo.com/1093745 -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.9 (Darwin) iQCVAwUBSFbK8XEjv

Re: [Python-Dev] Troubles with Roundup

2008-06-16 Thread Brett Cannon
On Mon, Jun 16, 2008 at 9:18 AM, Giovanni Bajo <[EMAIL PROTECTED]> wrote: > Hello, > > I'm trying to login into the tracker but it gives me "invalid login" even > after multiple password resets. I can't submit a proper bugreport because... > I can't login :) > > Who can I privately contact to avoid

Re: [Python-Dev] Proposal: add odict to collections

2008-06-16 Thread Stephen J. Turnbull
[EMAIL PROTECTED] writes: > It is possible to get both ordered dict and sorted dict semantics in > the same type if you replace (key, value) pairs for dictionary entries > with (key,value,order) triples. Roundup uses something like this concept for its value choice menus. I don't actually thin

[Python-Dev] Troubles with Roundup

2008-06-16 Thread Giovanni Bajo
Hello, I'm trying to login into the tracker but it gives me "invalid login" even after multiple password resets. I can't submit a proper bugreport because... I can't login :) Who can I privately contact to avoid spamming this list? Thanks! -- Giovanni Bajo Develer S.r.l. http://www.develer.c

Re: [Python-Dev] Proposal: add odict to collections

2008-06-16 Thread Nick Coghlan
Armin Ronacher wrote: Armin Ronacher active-4.com> writes: There are far more responses for that topic than I imagined so I would love to write a PEP about that topic, incorporating the ideas/questions and suggestions discussed here. There is now a PEP for the ordered dict: - PEP: http://

Re: [Python-Dev] Proposal: add odict to collections

2008-06-16 Thread Armin Ronacher
Armin Ronacher active-4.com> writes: > > There are far more responses for that topic than I imagined so I would love > to write a PEP about that topic, incorporating the ideas/questions and > suggestions discussed here. There is now a PEP for the ordered dict: - PEP: http://www.python.org/de