From: R David Murray Date: Mon, 10 Mar 2014 00:39:52 +0000 (-0400) Subject: whatsnew: porting note for sysconfig 'SO' key deprecation. X-Git-Tag: v3.4.1rc1~233^2~91 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=0cf177205c9ca8b5a8845aad2f30d37e9e2e4dd3;p=thirdparty%2FPython%2Fcpython.git whatsnew: porting note for sysconfig 'SO' key deprecation. --- diff --git a/Doc/whatsnew/3.4.rst b/Doc/whatsnew/3.4.rst index 4a65b890238f..971afc445b76 100644 --- a/Doc/whatsnew/3.4.rst +++ b/Doc/whatsnew/3.4.rst @@ -2249,6 +2249,11 @@ Changes in the Python API 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