summaryrefslogtreecommitdiffstats
path: root/Misc
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>2002-11-18 16:27:16 (GMT)
committerGuido van Rossum <guido@python.org>2002-11-18 16:27:16 (GMT)
commit1d2674051b5d9ad2764bb1379b06cf61974c6fdb (patch)
tree1b9b6e8c1b60cf374b39802feefb2d182634f1d2 /Misc
parent6c194761688da105495cdfbdbe7f886c1998b2ec (diff)
downloadcpython-1d2674051b5d9ad2764bb1379b06cf61974c6fdb.zip
cpython-1d2674051b5d9ad2764bb1379b06cf61974c6fdb.tar.gz
cpython-1d2674051b5d9ad2764bb1379b06cf61974c6fdb.tar.bz2
Comment on PyNumber_Check().
Diffstat (limited to 'Misc')
-rw-r--r--Misc/NEWS4
1 files changed, 3 insertions, 1 deletions
diff --git a/Misc/NEWS b/Misc/NEWS
index d670835..e1df18e 100644
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -693,7 +693,9 @@ C API
- PyNumber_Check() now returns true for string and unicode objects.
This is a result of these types having a partially defined
- tp_as_number slot.
+ tp_as_number slot. (This is not a feature, but an indication that
+ PyNumber_check() is not very useful to determine numeric behavior.
+ It may be deprecated.)
- The string object's layout has changed: the pointer member
ob_sinterned has been replaced by an int member ob_sstate. On some