[Python-checkins] python/dist/src/Misc NEWS,1.489,1.490
montanaro@users.sourceforge.net
montanaro@users.sourceforge.net
Mon, 30 Sep 2002 08:23:04 -0700
Update of /cvsroot/python/python/dist/src/Misc
In directory usw-pr-cvs1:/tmp/cvs-serv14649
Modified Files:
NEWS
Log Message:
fix a couple nits with my use of ReST
Index: NEWS
===================================================================
RCS file: /cvsroot/python/python/dist/src/Misc/NEWS,v
retrieving revision 1.489
retrieving revision 1.490
diff -C2 -d -r1.489 -r1.490
*** NEWS 25 Sep 2002 15:02:44 -0000 1.489
--- NEWS 30 Sep 2002 15:23:01 -0000 1.490
***************
*** 171,175 ****
although the language definition does not guarantee stability. A
potential drawback is that list.sort() may require temp space of
! len(list)*2 bytes (\*4 on a 64-bit machine). It's therefore possible
for list.sort() to raise MemoryError now, even if a comparison function
does not. See <http://www.python.org/sf/587076> for full details.
--- 171,175 ----
although the language definition does not guarantee stability. A
potential drawback is that list.sort() may require temp space of
! len(list)*2 bytes (``*4`` on a 64-bit machine). It's therefore possible
for list.sort() to raise MemoryError now, even if a comparison function
does not. See <http://www.python.org/sf/587076> for full details.
***************
*** 611,616 ****
CHECKTYPES flag set. This is to better support proxies.
! - The type of tp_free has been changed from "void (*)(PyObject \*)" to
! "void (*)(void \*)".
- PyObject_Del, PyObject_GC_Del are now functions instead of macros.
--- 611,616 ----
CHECKTYPES flag set. This is to better support proxies.
! - The type of tp_free has been changed from "``void (*)(PyObject *)``" to
! "``void (*)(void *)``".
- PyObject_Del, PyObject_GC_Del are now functions instead of macros.
***************
*** 1342,1346 ****
Scott. Note that SIGBREAK is unique to Windows. The default SIGBREAK
action remains to call Win32 ExitProcess(). This can be changed via
! signal.signal(). For example: ::
# Make Ctrl+Break raise KeyboardInterrupt, like Python's default Ctrl+C
--- 1342,1346 ----
Scott. Note that SIGBREAK is unique to Windows. The default SIGBREAK
action remains to call Win32 ExitProcess(). This can be changed via
! signal.signal(). For example::
# Make Ctrl+Break raise KeyboardInterrupt, like Python's default Ctrl+C
***************
*** 1708,1712 ****
- Note that PyLong_AsDouble can fail! This has always been true, but no
callers checked for it. It's more likely to fail now, because overflow
! errors are properly detected now. The proper way to check: ::
double x = PyLong_AsDouble(some_long_object);
--- 1708,1712 ----
- Note that PyLong_AsDouble can fail! This has always been true, but no
callers checked for it. It's more likely to fail now, because overflow
! errors are properly detected now. The proper way to check::
double x = PyLong_AsDouble(some_long_object);
***************
*** 2042,2046 ****
- The following functions were generalized to work nicely with iterator
! arguments: ::
map(), filter(), reduce(), zip()
--- 2042,2046 ----
- The following functions were generalized to work nicely with iterator
! arguments::
map(), filter(), reduce(), zip()