Comment

Comment by lolinder

> This is Python. Hidden monkeypatching isn’t how we do things.

The author didn't make this pattern up, it's how fsspec officially recommends implementing backends [0]. Given how widely used fsspec is I think it's fair to say that hidden monkeypatching is how we do things... sometimes.

[0] https://filesystem-spec.readthedocs.io/en/latest/developer.h...

parent lolinder 2 years ago

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton