xml.dom's weirdness?

Sion Arrowsmith siona at chiark.greenend.org.uk
Mon Jul 28 16:15:54 CEST 2008


Stefan Behnel  <stefan_ml at behnel.de> wrote:
>Using my system Python (2.5.1 on Ubunutu Gutsy):
>
>  $ strace -e open python -c '' 2>&1 | wc -l
>  551
>  $ strace -e open python -c '<><<' 2>&1 | wc -l
>  4631
>
>Using a self-built Python I have lying around:
>
>  $ strace -e open python2.3 -c '' 2>&1 | wc -l
>  210
>  $ strace -e open python2.3 -c '<><<' 2>&1 | wc -l
>  214
>
>  $ strace -e open python2.6 -c '' 2>&1 | wc -l
>  138
>  $ strace -e open python2.6 -c '<><<' 2>&1 | wc -l
>  142
>
>Blame Ubuntu/Debian.

I'd be wary about including Debian in that blame. Using 4.0 here,
with a 2.4.4 default and a 2.5.0 straight from the package:

$ strace -e open python -c '' 2>&1 | wc -l
171
$ strace -e open python -c '<><<' 2>&1 | wc -l
175
$ strace -e open python2.5 -c '' 2>&1 | wc -l
105
$ strace -e open python2.5 -c '<><<' 2>&1 | wc -l
109

-- 
\S -- siona at chiark.greenend.org.uk -- http://www.chaos.org.uk/~sion/
   "Frankly I have no feelings towards penguins one way or the other"
        -- Arthur C. Clarke
   her nu becomeþ se bera eadward ofdun hlæddre heafdes bæce bump bump bump



More information about the Python-list mailing list