Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #112373

Re: make an object read only

From Antoon Pardon <antoon.pardon@rece.vub.ac.be>
Newsgroups comp.lang.python
Subject Re: make an object read only
Date 2016-08-05 11:04 +0200
Message-ID <mailman.190.1470387911.6033.python-list@python.org> (permalink)
References <c6a0318e-af2c-4390-ab4c-a6e0fa35891a@googlegroups.com> <d75425f2-5c20-40f7-8a83-581737e37034@googlegroups.com> <57A45692.4000709@rece.vub.ac.be>

Show all headers | View raw


Op 05-08-16 om 02:03 schreef Lawrence D’Oliveiro:
> On Wednesday, August 3, 2016 at 3:13:01 AM UTC+12, Robin Becker wrote:
>> A reportlab user found he was doing the wrong thing by calling
>> canvas.save repeatedly, our documentation says you should not use Canvas
>> objects after the save method has been used. The user had mixed results :(
> As GvR has said: “we’re all consenting adults here”.

No we are not. GvR only uses this when his desired level of protection is
lower than others. If the other's desired level of protection is lower than
GvR's the all consenting adults goes down the drain.

> In other words, we”re capable of coping with the consequences of our actions.

Which doesn't support anything. Python has features that makes it in some
situations easier to cope with those consequences than when that feature
wouldn't be present. So there is nothing wrong in argueing for a feature
that would do the same.

-- 
Antoon.

Back to comp.lang.python | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

make an object read only Robin Becker <robin@reportlab.com> - 2016-08-02 08:12 -0700
  Re: make an object read only "dfh@forestfield.co.uk" <dfh@forestfield.co.uk> - 2016-08-02 09:28 -0700
  Re: make an object read only Steven D'Aprano <steve+python@pearwood.info> - 2016-08-03 02:36 +1000
  Re: make an object read only dieter <dieter@handshake.de> - 2016-08-03 09:57 +0200
  Re: make an object read only Lawrence D’Oliveiro <lawrencedo99@gmail.com> - 2016-08-04 17:03 -0700
    Re: make an object read only Robin Becker <robin@reportlab.com> - 2016-08-05 09:51 +0100
    Re: make an object read only Antoon Pardon <antoon.pardon@rece.vub.ac.be> - 2016-08-05 11:04 +0200
    Re: make an object read only Rick Johnson <rantingrickjohnson@gmail.com> - 2016-08-07 16:40 -0700

csiph-web