Automatic Type Conversion to String

Bruce Eckel lists.eckel at gmail.com
Mon Feb 13 18:18:55 EST 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