44 What's New in Python 2.6
55****************************
66
7- .. XXX add trademark info for Apple, Microsoft, SourceForge.
8-
97:Author: A.M. Kuchling (amk at amk.ca)
108
119.. $Id$
@@ -128,7 +126,7 @@ and to C extension code as :c:data:`Py_Py3kWarningFlag`.
128126 The 3\ *xxx * series of PEPs, which contains proposals for Python 3.0.
129127 :pep: `3000 ` describes the development process for Python 3.0.
130128 Start with :pep: `3100 ` that describes the general goals for Python
131- 3.0, and then explore the higher-numbered PEPS that propose
129+ 3.0, and then explore the higher-numbered PEPs that propose
132130 specific features.
133131
134132
@@ -1051,8 +1049,6 @@ the :mod:`io` module:
10511049 sockets, but Python 2.6 hasn't restructured its file and socket objects
10521050 in this way.
10531051
1054- .. XXX should 2.6 register them in io.py?
1055-
10561052* :class: `BufferedIOBase ` is an abstract base class that
10571053 buffers data in memory to reduce the number of
10581054 system calls used, making I/O processing more efficient.
@@ -1133,8 +1129,6 @@ while an external caller could be modifying the contents,
11331129so there's a corresponding ``PyBuffer_Release(Py_buffer *view) `` to
11341130indicate that the external caller is done.
11351131
1136- .. XXX PyObject_GetBuffer not documented in c-api
1137-
11381132The *flags * argument to :c:func: `PyObject_GetBuffer ` specifies
11391133constraints upon the memory returned. Some examples are:
11401134
@@ -3110,8 +3104,8 @@ Port-Specific Changes: Windows
31103104
31113105* The :mod: `msvcrt ` module now supports
31123106 both the normal and wide char variants of the console I/O
3113- API. The :func: `getwch ` function reads a keypress and returns a Unicode
3114- value, as does the :func: `getwche ` function. The :func: `putwch ` function
3107+ API. The :func: `~msvcrt. getwch ` function reads a keypress and returns a Unicode
3108+ value, as does the :func: `~msvcrt. getwche ` function. The :func: `~msvcrt. putwch ` function
31153109 takes a Unicode character and writes it to the console.
31163110 (Contributed by Christian Heimes.)
31173111
@@ -3120,24 +3114,24 @@ Port-Specific Changes: Windows
31203114 directory path. (Contributed by Josiah Carlson; :issue: `957650 `.)
31213115
31223116* The :mod: `socket ` module's socket objects now have an
3123- :meth: `ioctl ` method that provides a limited interface to the
3117+ :meth: `~socket.socket. ioctl ` method that provides a limited interface to the
31243118 :c:func: `WSAIoctl ` system interface.
31253119
3126- * The :mod: `_winreg ` module now has a function,
3127- :func: `ExpandEnvironmentStrings `,
3120+ * The :mod: `_winreg <winreg> ` module now has a function,
3121+ :func: `~winreg. ExpandEnvironmentStrings `,
31283122 that expands environment variable references such as ``%NAME% ``
31293123 in an input string. The handle objects provided by this
31303124 module now support the context protocol, so they can be used
31313125 in :keyword: `with ` statements. (Contributed by Christian Heimes.)
31323126
3133- :mod: `_winreg ` also has better support for x64 systems,
3134- exposing the :func: `DisableReflectionKey `, :func: `EnableReflectionKey `,
3135- and :func: `QueryReflectionKey ` functions, which enable and disable
3127+ :mod: `_winreg <winreg> ` also has better support for x64 systems,
3128+ exposing the :func: `~winreg. DisableReflectionKey `, :func: `~winreg. EnableReflectionKey `,
3129+ and :func: `~winreg. QueryReflectionKey ` functions, which enable and disable
31363130 registry reflection for 32-bit processes running on 64-bit systems.
31373131 (:issue: `1753245 `)
31383132
3139- * The :mod: `msilib ` module's :class: `Record ` object
3140- gained :meth: `GetInteger ` and :meth: `GetString ` methods that
3133+ * The :mod: `msilib ` module's :class: `! Record ` object
3134+ gained :meth: `~msilib.Record. GetInteger ` and :meth: `~msilib.Record. GetString ` methods that
31413135 return field values as an integer or a string.
31423136 (Contributed by Floris Bruynooghe; :issue: `2125 `.)
31433137
@@ -3151,49 +3145,49 @@ Port-Specific Changes: Mac OS X
31513145 :option: `!--with-framework-name= ` option to the
31523146 :program: `configure ` script.
31533147
3154- * The :mod: `macfs ` module has been removed. This in turn required the
3155- :func: `macostools.touched ` function to be removed because it depended on the
3156- :mod: `macfs ` module. (:issue: `1490190 `)
3148+ * The :mod: `! macfs ` module has been removed. This in turn required the
3149+ :func: `! macostools.touched ` function to be removed because it depended on the
3150+ :mod: `! macfs ` module. (:issue: `1490190 `)
31573151
31583152* Many other Mac OS modules have been deprecated and will be removed in
31593153 Python 3.0:
3160- :mod: `_builtinSuites `,
3161- :mod: `aepack `,
3162- :mod: `aetools `,
3163- :mod: `aetypes `,
3164- :mod: `applesingle `,
3165- :mod: `appletrawmain `,
3166- :mod: `appletrunner `,
3167- :mod: `argvemulator `,
3168- :mod: `Audio_mac `,
3169- :mod: `autoGIL `,
3170- :mod: `Carbon `,
3171- :mod: `cfmfile `,
3172- :mod: `CodeWarrior `,
3173- :mod: `ColorPicker `,
3174- :mod: `EasyDialogs `,
3175- :mod: `Explorer `,
3176- :mod: `Finder `,
3177- :mod: `FrameWork `,
3178- :mod: `findertools `,
3179- :mod: `ic `,
3180- :mod: `icglue `,
3181- :mod: `icopen `,
3182- :mod: `macerrors `,
3183- :mod: `MacOS `,
3184- :mod: `macfs `,
3185- :mod: `macostools `,
3186- :mod: `macresource `,
3187- :mod: `MiniAEFrame `,
3188- :mod: `Nav `,
3189- :mod: `Netscape `,
3190- :mod: `OSATerminology `,
3191- :mod: `pimp `,
3192- :mod: `PixMapWrapper `,
3193- :mod: `StdSuites `,
3194- :mod: `SystemEvents `,
3195- :mod: `Terminal `, and
3196- :mod: `terminalcommand `.
3154+ :mod: `! _builtinSuites `,
3155+ :mod: `! aepack `,
3156+ :mod: `! aetools `,
3157+ :mod: `! aetypes `,
3158+ :mod: `! applesingle `,
3159+ :mod: `! appletrawmain `,
3160+ :mod: `! appletrunner `,
3161+ :mod: `! argvemulator `,
3162+ :mod: `! Audio_mac `,
3163+ :mod: `! autoGIL `,
3164+ :mod: `! Carbon `,
3165+ :mod: `! cfmfile `,
3166+ :mod: `! CodeWarrior `,
3167+ :mod: `! ColorPicker `,
3168+ :mod: `! EasyDialogs `,
3169+ :mod: `! Explorer `,
3170+ :mod: `! Finder `,
3171+ :mod: `! FrameWork `,
3172+ :mod: `! findertools `,
3173+ :mod: `! ic `,
3174+ :mod: `! icglue `,
3175+ :mod: `! icopen `,
3176+ :mod: `! macerrors `,
3177+ :mod: `! MacOS `,
3178+ :mod: `! macfs `,
3179+ :mod: `! macostools `,
3180+ :mod: `! macresource `,
3181+ :mod: `! MiniAEFrame `,
3182+ :mod: `! Nav `,
3183+ :mod: `! Netscape `,
3184+ :mod: `! OSATerminology `,
3185+ :mod: `! pimp `,
3186+ :mod: `! PixMapWrapper `,
3187+ :mod: `! StdSuites `,
3188+ :mod: `! SystemEvents `,
3189+ :mod: `! Terminal `, and
3190+ :mod: `! terminalcommand `.
31973191
31983192.. ======================================================================
31993193
@@ -3202,29 +3196,29 @@ Port-Specific Changes: IRIX
32023196
32033197A number of old IRIX-specific modules were deprecated and will
32043198be removed in Python 3.0:
3205- :mod: `al ` and :mod: `AL `,
3206- :mod: `cd `,
3207- :mod: `cddb `,
3208- :mod: `cdplayer `,
3209- :mod: `CL ` and :mod: `cl `,
3210- :mod: `DEVICE `,
3211- :mod: `ERRNO `,
3212- :mod: `FILE `,
3213- :mod: `FL ` and :mod: `fl `,
3214- :mod: `flp `,
3215- :mod: `fm `,
3216- :mod: `GET `,
3217- :mod: `GLWS `,
3218- :mod: `GL ` and :mod: `gl `,
3219- :mod: `IN `,
3220- :mod: `IOCTL `,
3221- :mod: `jpeg `,
3222- :mod: `panelparser `,
3223- :mod: `readcd `,
3224- :mod: `SV ` and :mod: `sv `,
3225- :mod: `torgb `,
3226- :mod: `videoreader `, and
3227- :mod: `WAIT `.
3199+ :mod: `! al ` and :mod: `! AL `,
3200+ :mod: `! cd `,
3201+ :mod: `! cddb `,
3202+ :mod: `! cdplayer `,
3203+ :mod: `! CL ` and :mod: `! cl `,
3204+ :mod: `! DEVICE `,
3205+ :mod: `! ERRNO `,
3206+ :mod: `! FILE `,
3207+ :mod: `! FL ` and :mod: `! fl `,
3208+ :mod: `! flp `,
3209+ :mod: `! fm `,
3210+ :mod: `! GET `,
3211+ :mod: `! GLWS `,
3212+ :mod: `! GL ` and :mod: `! gl `,
3213+ :mod: `! IN `,
3214+ :mod: `! IOCTL `,
3215+ :mod: `! jpeg `,
3216+ :mod: `! panelparser `,
3217+ :mod: `! readcd `,
3218+ :mod: `! SV ` and :mod: `! sv `,
3219+ :mod: `! torgb `,
3220+ :mod: `! videoreader `, and
3221+ :mod: `! WAIT `.
32283222
32293223.. ======================================================================
32303224
0 commit comments