]> granicus.if.org Git - python/commit
More on SF bug [#460020] bug or feature: unicode() and subclasses.
authorTim Peters <tim.peters@gmail.com>
Mon, 10 Sep 2001 23:37:46 +0000 (23:37 +0000)
committerTim Peters <tim.peters@gmail.com>
Mon, 10 Sep 2001 23:37:46 +0000 (23:37 +0000)
commit4c3a0a35cd80a0abb9628dc8d4ade911fe2d5015
tree49f95befcf411f7d2dd31df46cd0e67c4353a8e7
parentcaaff8d95d750afb4d66b9caece087b191219eb7
More on SF bug [#460020] bug or feature: unicode() and subclasses.
tuple(i) repaired to return a true tuple when i is an instance of a
tuple subclass.
Added PyTuple_CheckExact macro.
PySequence_Tuple():  if a tuple-like object isn't exactly a tuple, it's
not safe to return the object as-is -- make a new tuple of it instead.
Include/tupleobject.h
Lib/test/test_descr.py
Objects/abstract.c