~pythonregexp2.7/python/issue2636-12

« back to all changes in this revision

Viewing changes to Misc/NEWS

  • Committer: Jeffrey C. "The TimeHorse" Jacobs
  • Date: 2008-06-09 14:52:42 UTC
  • mfrom: (39033.1.3 Regexp-2.6)
  • Revision ID: darklord@timehorse.com-20080609145242-9m268zc6u87rp1vp
Merged in changes from the core Regexp branch.

Show diffs side-by-side

added added

removed removed

Lines of Context:
12
12
Core and Builtins
13
13
-----------------
14
14
 
 
15
- The set methods, update() and union() now accept multiple arguments.
 
16
 
 
17
- Issue #2898: Added sys.getsizeof() to retrieve size of objects in bytes.
 
18
 
 
19
- New environment variable PYTHONIOENCODING.
 
20
 
15
21
- Patch #2488: Add sys.maxsize.
16
22
 
17
23
- Issue #2353: file.xreadlines() now emits a Py3k warning.
36
42
Extension Modules
37
43
-----------------
38
44
 
 
45
- Issue #2138: Add factorial() the math module.
 
46
 
 
47
- The heapq module does comparisons using LT instead of LE.  This
 
48
  makes its implementation match that used by list.sort().
 
49
 
39
50
- Issue #2819: add full-precision summation function to math module,
40
51
  based on Hettinger's ASPN Python Cookbook recipe.
41
52
 
54
65
  bsddb.db.DBEnv.lock_get and other bsddb.db object constructors
55
66
  raised an exception.
56
67
 
 
68
- Issue #2669: bsddb/__init__.py iteration no longer silently fails when
 
69
  the database has changed size during iteration.  It now raises a
 
70
  RuntimeError in the same manner as a dictionary.
 
71
 
57
72
- Issue #2870: cmathmodule.c compile error.
58
73
 
 
74
- Added a threading.Thread.getIdent() method.
 
75
 
59
76
Library
60
77
-------
61
78
 
 
79
- Factored out the indentation cleaning from inspect.getdoc() into
 
80
  inspect.cleandoc() to ease standalone use.
 
81
 
 
82
- Issue #1798: Add ctypes calling convention that allows safe access
 
83
  to errno.
 
84
 
 
85
- Issue #2404: ctypes objects support the new pep3118 buffer interface
 
86
 
 
87
- Patch #2125: Add GetInteger and GetString methods for 
 
88
  msilib.Record objects.
 
89
 
 
90
- Issue #2782: The datetime module's strftime methods now accept
 
91
  unicode format strings just as time.strftime always has.
 
92
 
 
93
- The sgmllib and htmllib modules have been deprecated for removal
 
94
  in Python 3.0.
 
95
 
 
96
- Issue #3011: locale module alias table was updated to the latest
 
97
  version from the X.org locale.alias file.
 
98
 
 
99
- Issue #1797 (partial fix): ctypes NULL function pointers have a
 
100
  False boolean value now.
 
101
 
 
102
- Issue #2985: Allow 64-bit integer responses (``<i8>``) in XMLRPC
 
103
  transfers.
 
104
 
 
105
- Issue #2877: The UserString.MutableString class has been removed in
 
106
  Python 3.0.
 
107
 
 
108
- Do not close external file objects passed to tarfile.open(mode='w:bz2')
 
109
  when the TarFile is closed.
 
110
 
 
111
- Issue #2959: For consistency with other file-like objects, gzip's
 
112
  GzipFile.close() can now be called multiple times without raising
 
113
  an exception.
 
114
 
62
115
- Issue #1390: Raise ValueError in toxml when an invalid comment would
63
116
  otherwise be produced.
64
117
 
135
188
- The DEVICE, GL, gl, and cgen modules (which indirectly includes
136
189
  cgensupport) have been deprecated for removal in Python 3.0.
137
190
 
138
 
- The ConfigParser module has been renamed 'configparser'.  The old
139
 
  name is now deprecated.
140
 
 
141
191
- The CL, CL_old, and cl modules for IRIX have been deprecated for
142
192
  removal in Python 3.0.
143
193
 
161
211
 
162
212
- The multifile module has been deprecated as per PEP 4.
163
213
 
164
 
- The SocketServer module has been renamed 'socketserver'.  The old
165
 
  name is now deprecated.
166
 
 
167
214
- The imageop module has been deprecated for removal in Python 3.0.
168
215
 
169
216
- Issue #2250: Exceptions raised during evaluation of names in
224
271
- The Mac Modules (including Carbon) have been deprecated for removal
225
272
  in Python 3.0.
226
273
 
 
274
- Library: on MacOS X you can now set ``ARCHFLAGS`` in the shell 
 
275
  environment to control the '-arch' flags that are used to build
 
276
  an extension. This was added for compatibility with Apple's build
 
277
  of Python.
 
278
 
 
279
- The bundled OSX-specific copy of libbffi is now in sync with the version
 
280
  shipped with PyObjC 2.0 and includes support for x86_64 and ppc64 platforms.
 
281
 
227
282
Build
228
283
-----
229
284
 
231
286
 
232
287
- ``Lib/lib-old`` is now added to sys.path.
233
288
 
 
289
- On MacOS X it is now possible to install the framework in 64-bit
 
290
  mode or even as a 4-way universal binary (that is, PPC, i386,
 
291
  PPC64 and x86_64 support in one binary)
 
292
 
 
293
  This is controlled by the configure argument ``--with-universal-archs``:
 
294
 
 
295
  - ``--with-universal-archs=all``: install 4-way universal
 
296
 
 
297
  - ``--with-universal-archs=32-bit``: install 2-way universal, 32-bit (the default)
 
298
 
 
299
  - ``--with-universal-archs=64-bit``: install 2-way universal, 64-bit
 
300
 
 
301
  This option should be used in combination with ``--enable-universalsdk=``.
 
302
 
 
303
  NOTE: 64-bit and 4-way builds are only suppported on Mac OS X 10.5 (or later).
 
304
 
 
305
 
 
306
C API
 
307
-----
 
308
 
 
309
- Add ``PyType_Modified()`` as a public API to clear the type cache.
 
310
 
 
311
- The PyBytes functions have been renamed to PyByteArray.
 
312
 
 
313
- The PyString functions have been renamed to PyBytes. A batch of
 
314
  defines were added so that the linker still sees the original
 
315
  PyString names.
 
316
 
234
317
 
235
318
What's New in Python 2.6 alpha 3?
236
319
=================================
398
481
  which provide the functions through their libm. The files also
399
482
  contains several helpers and constants for math.
400
483
 
401
 
- Added a new convenience function, PyErr_WarnPy3k, for issuing Py3k
402
 
  warnings.
 
484
- Added a new convenience macro, PyErr_WarnPy3k, for issuing Py3k warnings.
403
485
 
404
486
 
405
487
What's New in Python 2.6 alpha 2?
1907
1989
Extension Modules
1908
1990
-----------------
1909
1991
 
1910
 
- Patch #1657: added select.epoll and select.kqueue
 
1992
- Patch #1657: added select.epoll and select.kqueue.
1911
1993
 
1912
1994
- Patch #1506171: added operator.methodcaller().
1913
1995
 
1914
1996
- Patch #1826: operator.attrgetter() now supports dotted attribute paths.
1915
1997
 
1916
 
- Patch #1957: syslogmodule: Release GIL when calling syslog(3)
 
1998
- Patch #1957: syslogmodule: Release GIL when calling syslog(3).
1917
1999
 
1918
2000
- Bug #2112: mmap.error is now a subclass of EnvironmentError and not
1919
2001
  a direct EnvironmentError.