Steve Holden wrote:
> [EMAIL PROTECTED] wrote:
> > Mike Meyer wrote:
> [...]
> >
> >>By the results of the vote, most people wanted ternary. The use
> >>cases for it are well know. From what I recall, the debate was over
> >>which of the many proposals should be adopted.
> >
> > That is not the im
Steve Holden wrote:
> [EMAIL PROTECTED] wrote:
> > Mike Meyer wrote:
> >
> >>"[EMAIL PROTECTED]" <[EMAIL PROTECTED]> writes:
> >>
> Maybe Python attracts people who share that belief. After all, TRTFTJ
> is implies TSBOOWTDI, and vice versa.
> >>>
> >>>I was not talking about the believe,
Mike Meyer wrote:
> Backwards compatability. The guarantee on the order of keys() and
> values() predates items() (and iteritems()).
according to the SVN repository, the type originally had "keys" and
"has_key" only. "values" and "items" were both added in the same
checkin (may 1993).
performan
Fredrik Lundh wrote:
> performance is of course another aspect; if you *need* two parallel
> lists, creating a list full of tuples just to pull them apart and throw
> them all away isn't exactly the most efficient way to do things.
>
> (if performance didn't matter at all, we could get rid most di
Ed Jensen wrote:
> Paul Boddie <[EMAIL PROTECTED]> wrote:
>
>>It's interesting that you bring this tired thought experiment up in the
>>context of the original remark: "Its license is far more "free" than
>>GPL is." If we were focusing on the "vox pop" interpretation of the
>>word "free", that re
Robert Kern wrote:
> Take your off-topic argument off-list.
You don't think questions of the legality of when and
how you can write and distribute Python programs are of
interest to Python developers?
Fair enough I suppose. Who cares what the licences say,
we're all just going to break them an
Peter Hansen wrote:
> Definitely not. I believe it's currently guaranteed that the order of
> the items in dict.keys() and dict.values() will match (i.e. the index of
> any key in its list will be the same as the index of the corresponding
> value in its list). This property is almost certain
Damjan wrote:
> > The Apache Software Foundation and The Apache HTTP Server Project are
> > pleased to announce the 3.2.5 Beta release mod_python.
> http://www.modpython.org/live/mod_python-3.2.5b/doc-html/hand-pub-alg-auth.html
>
> says "Since functions cannot be assigned attributes,..."
>
> But t
Steve Holden wrote:
> Whether or not some fragments of code remain unchanged at the end of
> your project, if you start out with a piece of source code lifted from
> wxPython then what you have created is definitely a "derivative work"
> and, as such, you must take into account the wxPython licens
Steven D'Aprano wrote:
> Robert Kern wrote:
>
>>Take your off-topic argument off-list.
>
> You don't think questions of the legality of when and
> how you can write and distribute Python programs are of
> interest to Python developers?
The OP's question certainly was on-topic. The argument ove
Mike Meyer wrote:
> Note that this property of __slots__ is an implementation detail. You
> can't rely on it working in the future.
I don't "rely" on it. I just want to catch bugs in my code.
> I'm curious as to why you care if people add attributes to your
> "immutable" class. Personally, I con
301 - 311 of 311 matches
Mail list logo