C++ bad-mouthing (was: Why learn Python ??)

Jeff Epler jepler at unpythonic.net
Wed Jan 14 23:07:25 CET 2004

On Wed, Jan 14, 2004 at 08:08:37PM +0000, John J. Lee wrote:
> according to pycount.py run on the old version of Twisted that's
> sitting on my hard drive -- again, it seems to spit out multiple total
> lines, so I hope it's working right...!

"find | xargs foo" can invoke foo multiple times.  linux has a
surprisingly small upper bound on commandline length, on the order of
a 128k, and xargs is probably more conserative than that.

>>> os.system("/bin/true " + "x" * 129000)
>>> os.system("/bin/true " + "x" * 130000)


More information about the Python-list mailing list