Simon Cozens wrote: > > On Sun, Sep 30, 2001 at 02:28:42PM -0400, Guido van Rossum wrote: > > That may be Perl's philosophy. In Python, file and network ops are > > purely a library issue. > > I don't mean to sound stupid, but if you don't have file ops, how do > you open the library which implements them?
If you need file handling features, then the library that implements them can be compiled in or dynamically loaded (the VM can just depend on the OS to do that!). If the application itself doesn't need file handling features then the VM shouldn't depend on them. Also, there is a difference between having a hardwired dependency on some file abstraction (which Python does) and having file-handling opcodes. Why use opcodes instead of objects w/ methods? Paul Prescod
