Re: (side-)effects and ...

2015-07-10 Thread Chris Angelico
On Sat, Jul 11, 2015 at 12:05 AM, Skip Montanaro wrote: > I'm not sure about X-No-Html. A quick Google search for that header returned > nothing useful. Yeah. At best it seems redundant - "Hey look, there's no HTML in this message!" - but I suspect it's mainly bragging "I can add headers to my po

Re: (side-)effects and ...

2015-07-10 Thread Skip Montanaro
On Thu, Jul 9, 2015 at 9:05 PM, Chris Angelico wrote: > Even if it respects that, there's no way that Mailman can know to > respect his ridiculous copyright restriction. > Well, sure. But Mailman is probably not alone in this regard. In case it wasn't clear from Tony the Tiger's post (everything

Re: (side-)effects and ...

2015-07-09 Thread Michael Torrie
On 07/09/2015 08:05 PM, Chris Angelico wrote: >> I thought so at first add well. It looks like the Mailman system handles the >> X-No-Archive and/or Archive headers. I couldn't find his name in this >> month's archive. > > Even if it respects that, there's no way that Mailman can know to > respect

Re: (side-)effects and ...

2015-07-09 Thread Chris Angelico
On Fri, Jul 10, 2015 at 9:27 AM, Skip Montanaro wrote: >> Also, he should not post here, because all articles posted here are >> automatically put on a mailing list and that list's web-accessible >> archive. > > I thought so at first add well. It looks like the Mailman system handles the > X-No-Ar

Re: (side-)effects and ...

2015-07-09 Thread Skip Montanaro
> Also, he should not post here, because all articles posted here are > automatically put on a mailing list and that list's web-accessible > archive. I thought so at first add well. It looks like the Mailman system handles the X-No-Archive and/or Archive headers. I couldn't find his name in this m

Re: (side-)effects and ...

2015-07-09 Thread random832
On Thu, Jul 9, 2015, at 15:36, Tony the Tiger wrote: > On Sun, 05 Jul 2015 20:29:11 +, Stefan Ram wrote: > > > X-Copyright: (C) Copyright 2015 Stefan Ram. All rights reserved. > > Distribution through any means other than regular usenet channels is > > forbidden. It is forbidden to publish thi

Re: (side-)effects and ...

2015-07-06 Thread Ethan Furman
On 07/05/2015 01:29 PM, Stefan Ram wrote: The function »datetime.datetime.now().time()« does not yield a value that is determined by the expression »time()«; instead its value can /differ/ between two calls even when the call »time()« does not differ. In mathematics, however, a ca

Re: (side-)effects and ...

2015-07-06 Thread Tim Chase
On 2015-07-06 00:44, Robert Kern wrote: >> I believe the term is "idempotent" > > No, "idempotent" means that if it changes the state, then applying > it twice or more has the same effect as applying it once. Ah, thanks for the clarification. -tkc -- https://mail.python.org/mailman/listinfo/

Re: (side-)effects and ...

2015-07-06 Thread Laura Creighton
In a message of 05 Jul 2015 20:29:11 +, Stefan Ram writes: > But why do we not have a common and well-known term for > the counterpart, that something does not modify the state > of the world, but that the state of the world does > influence the value (behaviour) of a call such as > »date

Re: (side-)effects and ...

2015-07-06 Thread Laura Creighton
> And this is the intention of my post: Maybe there is such > a term, and I just missed to learn it so far? So, > do you know a term for the phenomenon that can be found > in Python but not in mathematics and consists in the state > of the world influencing the value of an expressions? In the

Re: (side-)effects and ...

2015-07-05 Thread Ron Adam
On 07/05/2015 04:29 PM, Stefan Ram wrote: But why do we not have a common and well-known term for the counterpart, that something does not modify the state of the world, but that the state of the world does influence the value (behaviour) of a call such as »datetime.datetime.now

Re: (side-)effects and ...

2015-07-05 Thread Chris Angelico
On Mon, Jul 6, 2015 at 6:29 AM, Stefan Ram wrote: > But why do we not have a common and well-known term for > the counterpart, that something does not modify the state > of the world, but that the state of the world does > influence the value (behaviour) of a call such as > »datetime.dat

Re: (side-)effects and ...

2015-07-05 Thread Robert Kern
On 2015-07-05 21:36, Tim Chase wrote: On 2015-07-05 20:29, Stefan Ram wrote: But why do we not have a common and well-known term for the counterpart, that something does not modify the state of the world, but that the state of the world does influence the value (behaviour) of a call

Re: (side-)effects and ...

2015-07-05 Thread Terry Reedy
On 7/5/2015 4:29 PM, Stefan Ram wrote: And this is the intention of my post: Maybe there is such a term, and I just missed to learn it so far? So, do you know a term for the phenomenon that can be found in Python but not in mathematics and consists in the state of the world influe

Re: (side-)effects and ...

2015-07-05 Thread Tim Chase
On 2015-07-05 20:29, Stefan Ram wrote: > But why do we not have a common and well-known term for > the counterpart, that something does not modify the state > of the world, but that the state of the world does > influence the value (behaviour) of a call such as > »datetime.datetime.now()

Re: (side-)effects and ...

2015-07-05 Thread Tim Chase
On 2015-07-05 15:36, Tim Chase wrote: > On 2015-07-05 20:29, Stefan Ram wrote: > > But why do we not have a common and well-known term for > > the counterpart, that something does not modify the state > > of the world, but that the state of the world does > > influence the value (behaviour