How do I subclass the @property setter method?

Christopher Reimer christopher_reimer at icloud.com
Sat May 21 11:59:46 EDT 2016



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.



More information about the Python-list mailing list