Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #108921
| Path | csiph.com!fu-berlin.de!uni-berlin.de!not-for-mail |
|---|---|
| From | Christopher Reimer <christopher_reimer@icloud.com> |
| Newsgroups | comp.lang.python |
| Subject | Re: How do I subclass the @property setter method? |
| Date | Sat, 21 May 2016 08:59:46 -0700 |
| Lines | 25 |
| Message-ID | <mailman.83.1463846389.27390.python-list@python.org> (permalink) |
| References | <2200dfd0-7470-0c86-c015-a6a14a2f51f2@icloud.com> <574021B5.1010408@gmx.de> <859deecb-8630-a2b2-4976-bde4d4788910@icloud.com> |
| Mime-Version | 1.0 |
| Content-Type | text/plain; charset=windows-1252; format=flowed |
| Content-Transfer-Encoding | 8bit |
| X-Trace | news.uni-berlin.de REdESLoHrNAk+mFOiUN2Rwh4P0MwAyfYIMwitwHHwH9g== |
| Return-Path | <christopher_reimer@icloud.com> |
| X-Original-To | python-list@python.org |
| Delivered-To | python-list@mail.python.org |
| X-Spam-Status | OK 0.020 |
| X-Spam-Evidence | '*H*': 0.96; '*S*': 0.00; 'subject:How': 0.09; '@property': 0.09; 'subject:method': 0.09; 'topic:': 0.09; 'python.': 0.11; 'value.': 0.15; 'finer': 0.16; 'received:io': 0.16; 'received:psf.io': 0.16; 'repo': 0.16; 'wrote:': 0.16; 'board.': 0.18; 'decorator': 0.22; 'programming': 0.22; 'am,': 0.23; 'slightly': 0.23; "i've": 0.25; 'header:User-Agent:1': 0.26; "doesn't": 0.26; 'chris': 0.26; 'points': 0.27; 'received:17': 0.27; "i'm": 0.30; 'code': 0.30; "i'd": 0.31; 'post': 0.31; 'implement': 0.32; 'received:10.0.0': 0.32; 'class': 0.33; "i'll": 0.33; 'similar': 0.33; 'received:10.0': 0.34; 'list': 0.34; 'something': 0.35; 'to:addr:python-list': 0.36; 'subject:?': 0.36; 'subject:: ': 0.37; 'received:10': 0.37; 'available.': 0.37; 'beyond': 0.37; 'thank': 0.38; 'subject:the': 0.39; 'to:addr:python.org': 0.40; 'header:MIME-version:1': 0.60; 'your': 0.60; 'greetings,': 0.61; 'engine': 0.62; 'charset:windows-1252': 0.62; 'different': 0.63; 'header:In-reply-to:1': 0.84; 'look.': 0.91 |
| X-Proofpoint-Virus-Version | vendor=fsecure engine=2.50.10432:,, definitions=2016-05-21_06:,, signatures=0 |
| X-Proofpoint-Spam-Details | rule=notspam policy=default score=0 spamscore=0 clxscore=1015 suspectscore=1 malwarescore=0 phishscore=0 adultscore=0 bulkscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1510270003 definitions=main-1605210210 |
| User-Agent | Mozilla/5.0 (Windows NT 10.0; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.1.0 |
| In-reply-to | <574021B5.1010408@gmx.de> |
| DKIM-Signature | v=1; a=rsa-sha256; c=relaxed/relaxed; d=icloud.com; s=4d515a; t=1463846385; bh=yfWb/d4mWigOSQQ9y1zXFyE5qrRN7zow2Xt8PjyYbfY=; h=Subject:To:From:Message-id:Date:MIME-version:Content-type; b=RPFKRmu95gupRqxIuLQc50EPcA8nOO5j5kbZ9yvSxhQUsVBNwF3mftaJNZE0qfu+D K8FTTYvtxSJ4WsKbp7pGtc8N2USJ+z+ZfNX5hqk6hYmTfBYV26m/uaHOl7dZvN8s/X EX4YRzYelXQam9mYMDRtlfr9plo/FvAdbMu+37/GXiCpiTyle5Am9DNjsL80DUEgGP x5yrNwnMyDe6H8Tua7W5svuWqy0A6ybGfTtuGGVxu3DTUYssqraYveRzBRKYGAjNNW 72RemtmHfFkGWS07IlLSHadznwTUYQoEU1SEJtbsYxc/w+Ikr0QNcMayz9+Cb+/McQ qvu34U9ZqlOyA== |
| X-BeenThere | python-list@python.org |
| X-Mailman-Version | 2.1.22 |
| Precedence | list |
| List-Id | General discussion list for the Python programming language <python-list.python.org> |
| List-Unsubscribe | <https://mail.python.org/mailman/options/python-list>, <mailto:python-list-request@python.org?subject=unsubscribe> |
| List-Archive | <http://mail.python.org/pipermail/python-list/> |
| List-Post | <mailto:python-list@python.org> |
| List-Help | <mailto:python-list-request@python.org?subject=help> |
| List-Subscribe | <https://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe> |
| X-Mailman-Original-Message-ID | <859deecb-8630-a2b2-4976-bde4d4788910@icloud.com> |
| X-Mailman-Original-References | <2200dfd0-7470-0c86-c015-a6a14a2f51f2@icloud.com> <574021B5.1010408@gmx.de> |
| Xref | csiph.com comp.lang.python:108921 |
Show key headers only | View raw
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.
Back to comp.lang.python | Previous | Next | Find similar | Unroll thread
Re: How do I subclass the @property setter method? Christopher Reimer <christopher_reimer@icloud.com> - 2016-05-21 08:59 -0700
csiph-web