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. The third component is a value that
indicates the place of the entry relative to the other entries. To get
an ordered dict,
Armin Ronacher armin.ronacher at 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:
Armin Ronacher wrote:
Armin Ronacher armin.ronacher at 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:
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.
[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 think
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 spamming
-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)
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 nice
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
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 video,
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
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
where
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
13 matches
Mail list logo