[Python-checkins] peps: pep-0492: Reword DocumentLS.async deprecation section
yury.selivanov
python-checkins at python.org
Fri May 1 08:35:09 CEST 2015
https://hg.python.org/peps/rev/2fb66f25db2c
changeset: 5816:2fb66f25db2c
user: Yury Selivanov <yselivanov at sprymix.com>
date: Fri May 01 02:35:06 2015 -0400
summary:
pep-0492: Reword DocumentLS.async deprecation section
files:
pep-0492.txt | 11 ++++++-----
1 files changed, 6 insertions(+), 5 deletions(-)
diff --git a/pep-0492.txt b/pep-0492.txt
--- a/pep-0492.txt
+++ b/pep-0492.txt
@@ -852,11 +852,12 @@
section for details.)
Another use of ``async`` keyword is in ``Lib/xml/dom/xmlbuilder.py``,
-class ``DocumentLS``. ``async`` property is not documented, not
-tested, and is not used anywhere. Methods that were likely supposed to
-work with it -- ``_set_async()`` and ``_get_async()`` -- are not used
-anywhere either. These methods will be deprecated in 3.5 and removed
-in 3.6.
+to define an ``async = False`` attribute for ``DocumentLS`` class.
+There is no documentation or tests for it, it is not used anywhere else
+in CPython. It is replaced with a getter, that raises a
+``DeprecationWarning``, advising to use ``async_`` attribute instead.
+'async' attribute is not documented and is not used in CPython code
+base.
Grammar Updates
--
Repository URL: https://hg.python.org/peps
More information about the Python-checkins
mailing list