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.

Author christian.heimes
Recipients christian.heimes, gvanrossum
Date 2007-12-14.00:26:24
SpamBayes Score 0.038211375
Marked as misclassified No
Message-id <1197591986.68.0.971719358978.issue1620@psf.upfronthosting.co.za>
In-reply-to
Content
As reported by Duncan Booth at
http://permalink.gmane.org/gmane.comp.python.general/551183 the new
@spam.getter syntax modifies the property in place but it should create
a new one.

The patch is the first draft of a fix. I've to write unit tests to
verify the patch. It copies the property and as a bonus grabs the
__doc__ string from the getter if the doc string initially came from the
getter as well.
Files
File name Uploaded
py3k_copy_property.patch christian.heimes, 2007-12-14.00:26:25
History
Date User Action Args
2007-12-14 00:26:27christian.heimessetspambayes_score: 0.0382114 -> 0.038211375
recipients: + christian.heimes, gvanrossum
2007-12-14 00:26:26christian.heimessetspambayes_score: 0.0382114 -> 0.0382114
messageid: <1197591986.68.0.971719358978.issue1620@psf.upfronthosting.co.za>
2007-12-14 00:26:26christian.heimeslinkissue1620 messages
2007-12-14 00:26:25christian.heimescreate