Chris's Wiki :: blog/python/CPythonCTypesHaveTree Commentshttps://utcc.utoronto.ca/~cks/space/blog/python/CPythonCTypesHaveTree?atomcommentsDWiki2020-12-25T06:30:12ZRecent comments in Chris's Wiki :: blog/python/CPythonCTypesHaveTree.By Chris Siebenmann on /blog/python/CPythonCTypesHaveTreetag:CSpace:blog/python/CPythonCTypesHaveTree:dcd8edc5dea601dd3f57928f8560566475e59355Chris Siebenmann<div class="wikitext"><p>You're entirely right about the repr() results in Python 3. I just
assumed that Python 3 behaved the same as 2 when I wrote this entry,
without checking. I found the whole change interesting enough to
<a href="https://utcc.utoronto.ca/~cks/space/blog/python/Python3TypesAreClasses">write an entry about it</a>, as parts of the
background go back to Python 1 and the early days of Python 2.</p>
</div>2020-12-25T06:30:12ZBy Peter Donis on /blog/python/CPythonCTypesHaveTreetag:CSpace:blog/python/CPythonCTypesHaveTree:c9ab5ba7a596e38031796c89ac383c6c519025ddPeter Donis<div class="wikitext"><p>Note that the repr() display quirk you describe is only present in Python 2. In Python 3, repr() calls all of these things a "class".</p>
</div>2020-12-25T03:23:17Z