@@ -2916,60 +2916,60 @@ Deprecations and Removals
2916
2916
2917
2917
* Changes to the :class: `Exception ` interface
2918
2918
as dictated by :pep: `352 ` continue to be made. For 2.6,
2919
- the :attr: `message ` attribute is being deprecated in favor of the
2920
- :attr: `args ` attribute.
2919
+ the :attr: `! message ` attribute is being deprecated in favor of the
2920
+ :attr: `~BaseException. args ` attribute.
2921
2921
2922
2922
* (3.0-warning mode) Python 3.0 will feature a reorganized standard
2923
2923
library that will drop many outdated modules and rename others.
2924
2924
Python 2.6 running in 3.0-warning mode will warn about these modules
2925
2925
when they are imported.
2926
2926
2927
2927
The list of deprecated modules is:
2928
- :mod: `audiodev `,
2929
- :mod: `bgenlocations `,
2930
- :mod: `buildtools `,
2931
- :mod: `bundlebuilder `,
2932
- :mod: `Canvas `,
2933
- :mod: `compiler `,
2934
- :mod: `dircache `,
2935
- :mod: `dl `,
2936
- :mod: `fpformat `,
2937
- :mod: `gensuitemodule `,
2938
- :mod: `ihooks `,
2939
- :mod: `imageop `,
2940
- :mod: `imgfile `,
2941
- :mod: `linuxaudiodev `,
2942
- :mod: `mhlib `,
2943
- :mod: `mimetools `,
2944
- :mod: `multifile `,
2945
- :mod: `new `,
2946
- :mod: `pure `,
2947
- :mod: `statvfs `,
2948
- :mod: `sunaudiodev `,
2949
- :mod: `test.testall `, and
2950
- :mod: `toaiff `.
2951
-
2952
- * The :mod: `gopherlib ` module has been removed.
2953
-
2954
- * The :mod: `MimeWriter ` module and :mod: `mimify ` module
2928
+ :mod: `! audiodev `,
2929
+ :mod: `! bgenlocations `,
2930
+ :mod: `! buildtools `,
2931
+ :mod: `! bundlebuilder `,
2932
+ :mod: `! Canvas `,
2933
+ :mod: `! compiler `,
2934
+ :mod: `! dircache `,
2935
+ :mod: `! dl `,
2936
+ :mod: `! fpformat `,
2937
+ :mod: `! gensuitemodule `,
2938
+ :mod: `! ihooks `,
2939
+ :mod: `! imageop `,
2940
+ :mod: `! imgfile `,
2941
+ :mod: `! linuxaudiodev `,
2942
+ :mod: `! mhlib `,
2943
+ :mod: `! mimetools `,
2944
+ :mod: `! multifile `,
2945
+ :mod: `! new `,
2946
+ :mod: `! pure `,
2947
+ :mod: `! statvfs `,
2948
+ :mod: `! sunaudiodev `,
2949
+ :mod: `! test.testall `, and
2950
+ :mod: `! toaiff `.
2951
+
2952
+ * The :mod: `! gopherlib ` module has been removed.
2953
+
2954
+ * The :mod: `! MimeWriter ` module and :mod: `! mimify ` module
2955
2955
have been deprecated; use the :mod: `email `
2956
2956
package instead.
2957
2957
2958
- * The :mod: `md5 ` module has been deprecated; use the :mod: `hashlib ` module
2958
+ * The :mod: `! md5 ` module has been deprecated; use the :mod: `hashlib ` module
2959
2959
instead.
2960
2960
2961
- * The :mod: `posixfile ` module has been deprecated; :func: `fcntl.lockf `
2961
+ * The :mod: `! posixfile ` module has been deprecated; :func: `fcntl.lockf `
2962
2962
provides better locking.
2963
2963
2964
- * The :mod: `popen2 ` module has been deprecated; use the :mod: `subprocess `
2964
+ * The :mod: `! popen2 ` module has been deprecated; use the :mod: `subprocess `
2965
2965
module.
2966
2966
2967
- * The :mod: `rgbimg ` module has been removed.
2967
+ * The :mod: `! rgbimg ` module has been removed.
2968
2968
2969
- * The :mod: `sets ` module has been deprecated; it's better to
2969
+ * The :mod: `! sets ` module has been deprecated; it's better to
2970
2970
use the built-in :class: `set ` and :class: `frozenset ` types.
2971
2971
2972
- * The :mod: `sha ` module has been deprecated; use the :mod: `hashlib ` module
2972
+ * The :mod: `! sha ` module has been deprecated; use the :mod: `hashlib ` module
2973
2973
instead.
2974
2974
2975
2975
0 commit comments