Automatic Type Conversion to String

Bruce Eckel lists.eckel at gmail.com
Tue Feb 14 00:18:55 CET 2012


I'm willing to subclass str, but when I tried it before it became a little confusing -- I think mostly because anytime I assigned to self it seemed like it converted the whole object to a str rather than a Path. I suspect I don't know the proper idiom for doing this -- any hints? Thanks ...



More information about the Python-list mailing list