[Python-ideas] Dunder method to make object str-like

Ethan Furman ethan at stoneleaf.us
Thu Apr 7 15:15:54 EDT 2016


On 04/07/2016 12:10 PM, Chris Barker wrote:
> On Thu, Apr 7, 2016 at 12:06 PM, Ethan Furman wrote:

>> If we are trying to fix issues, why would we leave the door open to
>> other, more subtle, bugs?
>
> we're not trying to fix issues -- we're trying to make Path compatible
> with the stdlib and other libs that use strings as path.

Yeah, that's the issue.  ;)


--
~Ethan~


More information about the Python-ideas mailing list