[Python-checkins] cpython: whatsnew: porting note for sysconfig 'SO' key deprecation.
r.david.murray
python-checkins at python.org
Mon Mar 10 02:35:13 CET 2014
http://hg.python.org/cpython/rev/39b2679ec4e5
changeset: 89548:39b2679ec4e5
user: R David Murray <rdmurray at bitdance.com>
date: Sun Mar 09 20:39:52 2014 -0400
summary:
whatsnew: porting note for sysconfig 'SO' key deprecation.
files:
Doc/whatsnew/3.4.rst | 5 +++++
1 files changed, 5 insertions(+), 0 deletions(-)
diff --git a/Doc/whatsnew/3.4.rst b/Doc/whatsnew/3.4.rst
--- a/Doc/whatsnew/3.4.rst
+++ b/Doc/whatsnew/3.4.rst
@@ -2249,6 +2249,11 @@
future have no default, all calls to :func:`hmac.new` should be changed to
explicitly specify a *digestmod* (:issue:`17276`).
+* Calling :func:`sysconfig.get_config_var` with the ``SO`` key, or looking
+ ``SO`` up in the results of a call to :func:`sysconfig.get_config_vars`
+ is deprecated. This key should be replaced by ``EXT_SUFFIX`` or
+ ``SHLIB_SUFFIX``, depending on the context (:issue:`19555`).
+
* Any calls to ``open`` functions that specify ``U`` should be modified.
``U`` is ineffective in Python3 and will eventually raise an error if used.
Depending on the function, the equivalent of its old Python2 behavior can be
--
Repository URL: http://hg.python.org/cpython
More information about the Python-checkins
mailing list