[New-bugs-announce] [issue2085] Syntax for property set method

David W. Lambert report at bugs.python.org
Tue Feb 12 18:19:52 CET 2008


New submission from David W. Lambert:

# proposed syntax:
# object.property = *args,**kwargs

# python 3k could accept property setter with multiple arguments

class c:
    def f(self,a,b,c):
        print a,b,c
    F=property(None,f)

c().F=*'hi',**{'c':'third setter argument'}

----------
components: None
messages: 62323
nosy: LambertDW
severity: minor
status: open
title: Syntax for property set method
type: rfe
versions: Python 3.0

__________________________________
Tracker <report at bugs.python.org>
<http://bugs.python.org/issue2085>
__________________________________


More information about the New-bugs-announce mailing list