[Python-checkins] python/dist/src/Misc NEWS,1.525,1.526
nascheme@projects.sourceforge.net
nascheme@projects.sourceforge.net
Mon, 18 Nov 2002 08:20:07 -0800
Update of /cvsroot/python/python/dist/src/Misc
In directory sc8-pr-cvs1:/tmp/cvs-serv30078/Misc
Modified Files:
NEWS
Log Message:
Note that PyNumber_Check() returns true for string and unicode objects.
Index: NEWS
===================================================================
RCS file: /cvsroot/python/python/dist/src/Misc/NEWS,v
retrieving revision 1.525
retrieving revision 1.526
diff -C2 -d -r1.525 -r1.526
*** NEWS 15 Nov 2002 14:42:34 -0000 1.525
--- NEWS 18 Nov 2002 16:19:39 -0000 1.526
***************
*** 692,695 ****
--- 692,699 ----
-----
+ - 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.
+
- The string object's layout has changed: the pointer member
ob_sinterned has been replaced by an int member ob_sstate. On some