diff options
author | Neil Schemenauer <nascheme@enme.ucalgary.ca> | 2002-11-18 16:19:39 (GMT) |
---|---|---|
committer | Neil Schemenauer <nascheme@enme.ucalgary.ca> | 2002-11-18 16:19:39 (GMT) |
commit | 6c194761688da105495cdfbdbe7f886c1998b2ec (patch) | |
tree | 50ecc0434412bd586395cebd1b25c47bc748a3ce /Misc | |
parent | fe4f769fb88b11ccb37e1007d0213adf3ac738b3 (diff) | |
download | cpython-6c194761688da105495cdfbdbe7f886c1998b2ec.zip cpython-6c194761688da105495cdfbdbe7f886c1998b2ec.tar.gz cpython-6c194761688da105495cdfbdbe7f886c1998b2ec.tar.bz2 |
Note that PyNumber_Check() returns true for string and unicode objects.
Diffstat (limited to 'Misc')
-rw-r--r-- | Misc/NEWS | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -691,6 +691,10 @@ Build 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. + - The string object's layout has changed: the pointer member ob_sinterned has been replaced by an int member ob_sstate. On some platforms (e.g. most 64-bit systems) this may change the offset of |