Open fenhl opened 9 years ago
I've just added this, for non-opened files (I don't think it can/should be done for generic IO objects). Although I've also found I'm getting a lot of TypeError: can only concatenate str (not "Node") to str
type stuff, so maybe this isn't the transparent nirvana I was hoping for.
As suggested by @Farthen,
File
objects should cache the decoded data, look at the file's last modified date when accessing data, and use the cached data if the file has not been modified since the last read.