[Python-Dev] TypeError messages (original) (raw)

Serhiy Storchaka storchaka at gmail.com
Sat Feb 21 16:17:50 CET 2015


On 20.02.15 18:11, Eric V. Smith wrote:

I asked about this years ago, and was told it was in case the type name pointer was bad, and to limit the amount of garbage printed. Whether that's an actual problem or not, I can't say. It seems more likely that you'd get a segfault, but maybe if it was pointing to reused memory it could be useful.

Thank you. This makes sense and explains why type names are not truncated in Python code.



More information about the Python-Dev mailing list