Jan. 26, 2006
9:31 p.m.
Michael Hoffman wrote:
I've been using path.py for some time, and I can tell you that it would be a lot less useful if it no longer behaved like string-plus.
As Jason pointed out elsewhere, the strict typechecks that exist *in* the Python core, and the fact that path.py is *outside* that core makes the workaround of subclassing string necessary. Since the PEP process has the power to alter the *core*, then we have other options than "this is a string, only not". Cheers, Nick. -- Nick Coghlan | ncoghlan@gmail.com | Brisbane, Australia --------------------------------------------------------------- http://www.boredomandlaziness.org