[Python-checkins] cpython (2.7): remove list of example incompatibilities (closes #21434)
benjamin.peterson
python-checkins at python.org
Tue May 27 00:39:03 CEST 2014
http://hg.python.org/cpython/rev/ae2e8bfda7d7
changeset: 90852:ae2e8bfda7d7
branch: 2.7
parent: 90849:e38e30b0d017
user: Benjamin Peterson <benjamin at python.org>
date: Mon May 26 15:38:52 2014 -0700
summary:
remove list of example incompatibilities (closes #21434)
files:
Doc/using/cmdline.rst | 15 +++------------
1 files changed, 3 insertions(+), 12 deletions(-)
diff --git a/Doc/using/cmdline.rst b/Doc/using/cmdline.rst
--- a/Doc/using/cmdline.rst
+++ b/Doc/using/cmdline.rst
@@ -397,18 +397,9 @@
.. cmdoption:: -3
- Warn about Python 3.x incompatibilities which cannot be fixed trivially by
- :ref:`2to3 <2to3-reference>`. Among these are:
-
- * :meth:`dict.has_key`
- * :func:`apply`
- * :func:`callable`
- * :func:`coerce`
- * :func:`execfile`
- * :func:`reduce`
- * :func:`reload`
-
- Using these will emit a :exc:`DeprecationWarning`.
+ Warn about Python 3.x possible incompatibilities by emitting a
+ :exc:`DeprecationWarning` for features that are removed or significantly
+ changed in Python 3.
.. versionadded:: 2.6
--
Repository URL: http://hg.python.org/cpython
More information about the Python-checkins
mailing list