python 2.7.12 on Linux behaving differently than on Windows

Chris Angelico rosuav at
Tue Dec 6 07:26:49 EST 2016

On Tue, Dec 6, 2016 at 10:56 PM, BartC <bc at> wrote:
> In that directory (which was on Windows but accessible via a virtual Linux),
> typing any Linux command followed by * would have required all 3.4 million
> directory entries to be accessed in order to build a 3.4 million-element
> argv list. I've no idea how long that would have taken.

I just asked Python to build me a 4-million-element list, and it took
no visible time - a small fraction of a second. Don't be afraid of
large argument lists. We're not writing 8088 Assembly Language
programs in 64KB of working memory here.


More information about the Python-list mailing list