C++ bad-mouthing (was: Why learn Python ??)
Jeff Epler
jepler at unpythonic.net
Wed Jan 14 17:07:25 EST 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)
0
>>> os.system("/bin/true " + "x" * 130000)
32512
Jeff
More information about the Python-list
mailing list