On Thu, Jun 26, 2014, at 17:07, Paul Sokolovsky wrote: > > With my MicroPython hat on, os.scandir() would make things only worse. > With current interface, one can either have inefficient implementation > (like CPython chose) or efficient implementation (like MicroPython > chose) - all transparently. os.scandir() supposedly opens up efficient > implementation for everyone, but at the price of bloating API and > introducing heavy-weight objects to wrap info. PEP calls it > "lightweight DirEntry objects", but that cannot be true, because all > Python objects are heavy-weight, especially those which have methods. Why do you think methods make an object more heavyweight? namedtuples have methods.
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4