Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(147860)

Unified Diff: Doc/whatsnew/3.3.rst

Issue 11610: Improving property to accept abstract methods
Patch Set: Created 8 years ago
Use n/p to move between diff chunks; N/P to move between comments. Please Sign in to add in-line comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « Doc/library/abc.rst ('k') | Include/object.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
--- a/Doc/whatsnew/3.3.rst Wed Nov 30 00:25:06 2011 +0200
+++ b/Doc/whatsnew/3.3.rst Wed Dec 07 08:04:02 2011 -0500
@@ -352,6 +352,23 @@
(Contributed by IƱigo Serna in :issue:`6755`)
+abc
+---
+
+Improved support for abstract base classes containing descriptors composed with
+abstract methods. The recommended approach to declaring abstract descriptors is
+now to provide :attr:`__isabstractmethod__` as a dynamically updated
+property. The built-in descriptors have been updated accordingly.
+
+ * :class:`abc.abstractproperty` has been deprecated, use :class:`property`
+ with :func:`abc.abstractmethod` instead.
+ * :class:`abc.abstractclassmethod` has been deprecated, use
+ :class:`classmethod` with :func:`abc.abstractmethod` instead.
+ * :class:`abc.abstractstaticmethod` has been deprecated, use
+ :class:`property` with :func:`abc.abstractmethod` instead.
+
+(Contributed by Darren Dale in :issue:`11610`)
+
faulthandler
------------
« no previous file with comments | « Doc/library/abc.rst ('k') | Include/object.h » ('j') | no next file with comments »

RSS Feeds Recent Issues | This issue
This is Rietveld 894c83f36cb7+