This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

classification
Title: Syntax for property set method
Type: enhancement Stage:
Components: None Versions: Python 3.0
process
Status: closed Resolution: rejected
Dependencies: Superseder:
Assigned To: Nosy List: LambertDW, georg.brandl
Priority: normal Keywords:

Created on 2008-02-12 17:19 by LambertDW, last changed 2022-04-11 14:56 by admin. This issue is now closed.

Messages (2)
msg62323 - (view) Author: David W. Lambert (LambertDW) Date: 2008-02-12 17:19
# 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'}
msg62334 - (view) Author: Georg Brandl (georg.brandl) * (Python committer) Date: 2008-02-12 21:23
First, syntax proposals for 3.0 are no longer accepted.
Second, this sort of proposal should be discussed on the python-ideas
mailing list first.
Third, this is really ugly :)

So, closing this.
History
Date User Action Args
2022-04-11 14:56:30adminsetgithub: 46352
2008-02-12 21:23:45georg.brandlsetstatus: open -> closed
resolution: rejected
messages: + msg62334
nosy: + georg.brandl
2008-02-12 17:19:51LambertDWcreate