On Mon, 2022-05-16 at 18:55 +1200, Greg Ewing wrote: > On 16/05/22 5:05 pm, Christopher Barker wrote: > > a directory is not a binary artifact -- it can't have actually data in > > it like a file can. > > and: > > > the entire > > point of resources is to provide an abstraction -- the individual > > resources may not be files on disk at all > > These two statements are contradictory. > > If a resource is an abstraction, why can't it be represented by > a collection of files in a directory rather than a single file? > > -- > Greg
It's not contradictory. "the individual resources may not be files on disk at all" hints that the resource might be for eg. an entry on a database that contains binary data. Directory are not binary data, they cannot be a resource. Filipe Laíns
signature.asc
Description: This is a digitally signed message part
_______________________________________________ Python-ideas mailing list -- python-ideas@python.org To unsubscribe send an email to python-ideas-le...@python.org https://mail.python.org/mailman3/lists/python-ideas.python.org/ Message archived at https://mail.python.org/archives/list/python-ideas@python.org/message/AXGPZUN6Z7EC32LITT4KUF3G25ZNGX2R/ Code of Conduct: http://python.org/psf/codeofconduct/