[Python-ideas] `to_file()` method for strings
Ethan Furman
ethan at stoneleaf.us
Mon Mar 28 14:30:45 EDT 2016
On 03/28/2016 10:35 AM, Paul Moore wrote:
> On 28 March 2016 at 17:30, Chris Barker wrote:
>> and heck, it would even keep the door open to being made a built-in in the
>> future.
>
> What's the huge advantage of being a builtin? Sure, I can understand
> the benefit of wanting it in the stdlib over being a 3rd party
> dependency or a "simple recipe you can add to your own code"[1], but
> what is the huge deal about avoiding an import?
Personally, I have no idea. The way some folks are talking about how
hard typing in `import blah` is, you'd think they had to write a
metaclass to get the job done.
__prepare__-__new__-__init__-ly yrs
--
~Ethan~
More information about the Python-ideas
mailing list