[issue24064] Make the property doctstring writeable

2015-05-15 Thread Roundup Robot
Roundup Robot added the comment: New changeset 5262dd507ee5 by Raymond Hettinger in branch 'default': Issue #24064: Docuement that oroperty docstrings are now writeable. https://hg.python.org/cpython/rev/5262dd507ee5 -- ___ Python tracker

[issue24064] Make the property doctstring writeable

2015-05-13 Thread Berker Peksag
Changes by Berker Peksag : -- stage: commit review -> resolved ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue24064] Make the property doctstring writeable

2015-05-13 Thread Raymond Hettinger
Changes by Raymond Hettinger : -- resolution: -> fixed status: open -> closed ___ Python tracker ___ ___ Python-bugs-list mailing lis

[issue24064] Make the property doctstring writeable

2015-05-13 Thread Roundup Robot
Roundup Robot added the comment: New changeset 2ddadd0e736d by Raymond Hettinger in branch 'default': Issue #24064: Help property() support GC https://hg.python.org/cpython/rev/2ddadd0e736d -- ___ Python tracker __

[issue24064] Make the property doctstring writeable

2015-05-13 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: An example of uncollectable loop if tp_clear is not implemented: class A: @property def f(self): pass A.f.__doc__ = (A.f,) -- ___ Python tracker ___

[issue24064] Make the property doctstring writeable

2015-05-13 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: LGTM. -- assignee: serhiy.storchaka -> rhettinger stage: patch review -> commit review ___ Python tracker ___

[issue24064] Make the property doctstring writeable

2015-05-13 Thread Roundup Robot
Roundup Robot added the comment: New changeset bde652ae05fd by Berker Peksag in branch 'default': Issue #24064: Add __doc__ to the example in collections.rst. https://hg.python.org/cpython/rev/bde652ae05fd -- ___ Python tracker

[issue24064] Make the property doctstring writeable

2015-05-13 Thread Raymond Hettinger
Changes by Raymond Hettinger : -- assignee: rhettinger -> serhiy.storchaka Added file: http://bugs.python.org/file39356/property_clear.diff ___ Python tracker ___ ___

[issue24064] Make the property doctstring writeable

2015-05-13 Thread Roundup Robot
Roundup Robot added the comment: New changeset 1e8a768fa0a5 by Raymond Hettinger in branch 'default': Issue #24064: Property() docstrings are now writeable. https://hg.python.org/cpython/rev/1e8a768fa0a5 -- nosy: +python-dev ___ Python tracker

[issue24064] Make the property doctstring writeable

2015-05-13 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Perhaps the property class now need set the tp_clear slot? -- ___ Python tracker ___ ___ Python-bu

[issue24064] Make the property doctstring writeable

2015-05-12 Thread Raymond Hettinger
Raymond Hettinger added the comment: > If make docstrings writable, it would be good to ensure > that they exactly are strings. I don't see a need for this restriction. Even regular classes don't enforce this. -- assignee: -> rhettinger ___ Pytho

[issue24064] Make the property doctstring writeable

2015-05-01 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: If make docstrings writable, it would be good to ensure that they exactly are strings. And if make the property doctstring writable, may be make other docstrings writable? It may be useful for setting the same docstring for Python implementation and C accele

[issue24064] Make the property doctstring writeable

2015-05-01 Thread Chris Rebert
Changes by Chris Rebert : -- nosy: +cvrebert ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.pytho

[issue24064] Make the property doctstring writeable

2015-04-27 Thread Ethan Furman
Changes by Ethan Furman : -- nosy: +ethan.furman ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.p

[issue24064] Make the property doctstring writeable

2015-04-27 Thread Berker Peksag
Berker Peksag added the comment: Here is a patch. I'm not familiar with this part of the CPython source. So please tell me if there is a better way to do it. I only updated Doc/whatsnew/3.5, but other places in the documentation needs to be updated. -- keywords: +patch nosy: +berker.pe

[issue24064] Make the property doctstring writeable

2015-04-26 Thread Raymond Hettinger
New submission from Raymond Hettinger: I can't see any reason for property docstrings to be readonly: >>> p = property(doc='basic') >>> p.__doc__ 'basic' >>> p.__doc__ = 'extended' Traceback (most recent call last): File "", line 1, in p.__doc__ = 'extended'