[issue14051] Cannot set attributes on staticmethod

2012-02-19 Thread Benjamin Peterson
Benjamin Peterson added the comment: You can wrap anything with staticmethod, so it might not have a __dict__. -- ___ Python tracker ___

[issue14051] Cannot set attributes on staticmethod

2012-02-19 Thread Guido van Rossum
Guido van Rossum added the comment: Wouldn't it make more sense to somehow share the dict with the underlying function? -- nosy: +gvanrossum ___ Python tracker ___

[issue14051] Cannot set attributes on staticmethod

2012-02-18 Thread Roundup Robot
Roundup Robot added the comment: New changeset f46deae68e34 by Benjamin Peterson in branch 'default': allow arbitrary attributes on classmethod and staticmethod (closes #14051) http://hg.python.org/cpython/rev/f46deae68e34 -- nosy: +python-dev resolution: -> fixed stage: needs patch ->

[issue14051] Cannot set attributes on staticmethod

2012-02-18 Thread Daniel Urban
Changes by Daniel Urban : -- nosy: +durban ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.o

[issue14051] Cannot set attributes on staticmethod

2012-02-18 Thread Antoine Pitrou
Changes by Antoine Pitrou : -- components: +Interpreter Core nosy: +benjamin.peterson stage: -> needs patch type: -> enhancement versions: +Python 3.3 ___ Python tracker ___ __

[issue14051] Cannot set attributes on staticmethod

2012-02-18 Thread Arfrever Frehtes Taifersar Arahesis
Changes by Arfrever Frehtes Taifersar Arahesis : -- nosy: +Arfrever ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscri

[issue14051] Cannot set attributes on staticmethod

2012-02-18 Thread Alex Gaynor
New submission from Alex Gaynor : This is inconsistant with regular functions, which unfortunately prevents them from being used interchangeably. -- messages: 153649 nosy: alex priority: normal severity: normal status: open title: Cannot set attributes on staticmethod _