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


Groups > comp.lang.python > #108921 > unrolled thread

Re: How do I subclass the @property setter method?

Started byChristopher Reimer <christopher_reimer@icloud.com>
First post2016-05-21 08:59 -0700
Last post2016-05-21 08:59 -0700
Articles 1 — 1 participant

Back to article view | Back to comp.lang.python

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  Re: How do I subclass the @property setter method? Christopher Reimer <christopher_reimer@icloud.com> - 2016-05-21 08:59 -0700

#108921 — Re: How do I subclass the @property setter method?

FromChristopher Reimer <christopher_reimer@icloud.com>
Date2016-05-21 08:59 -0700
SubjectRe: How do I subclass the @property setter method?
Message-ID<mailman.83.1463846389.27390.python-list@python.org>

On 5/21/2016 1:52 AM, Dirk Bächle wrote:
> Hi Christopher,
>
> On 20.05.2016 20:50, Christopher Reimer wrote:
>> Greetings,
>>
>> My chess engine has a Piece class with the following methods that use
>> the @property decorator to read and write the position value.
>>
>
> slightly off topic: is your chess engine available in a public repo
> somewhere? I think I've started to implement something similar (display
> of chess boards and wrapping different chess engines), so I'd like to
> have a look. ;)

Not at this time. I'll send a post to the list when I make the code 
available. My chess engine doesn't do much beyond displaying a text-only 
board. Since a chess engine presents an unlimited number of programming 
challenges, I'm using it to learn the finer points of Python.

Thank you,

Chris R.

[toc] | [standalone]


Back to top | Article view | comp.lang.python


csiph-web