Re: Big last minute change to 1.0
Brian Quinlan <[email protected]> Sun, 18 Jul 2004 21:00:29 +0200
| Newsgroups | gmane.comp.lang.prothon.user |
|---|---|
| Message-ID | <[email protected]> |
Mark Hahn wrote:
> I am going through the Python PEPs and I have added sets to Prothon 1.0 at
> the last minute.
From the Wiki:
"Prothon will have {} mean a set and it will automatically change into
a dictionary behind the scenes when you call a dictionary method on it."
You mean that the first element addition operation would cause the type
to crystalize into either a set or a dict and then that type would be
fixed for the lifetime of the object, right?
Even then it feels a bit skanky. What was your rational for not using
{} for empty dictionaries and {-} for empty sets?
Cheers,
Brian