aa**@pythoncraf t.com (Aahz) writes:
In article <m2************ @pchoel.psh>, Berthold Höllmann <bh***@web.de > wrote:aa**@pythoncr aft.com (Aahz) writes: In article <m2************ @pchoel.psh>, Berthold H=F6llmann <bh***@web.de =
wrote:
....> In that case, you should check against the CVS version of Python; I
believe there've been some changes that affect this kind of thing. If
that fixes your problem, please close the bug report.
OK, I just checked the latest CVS and test_re succeeds. But should't
this fixed for 2.3.4 as well?
Another problem not there in the CVS version is an error in test_sax,
that fails for me on 2.3.4c1 with
echo test_sax > tests
make test TESTOPTS="-l -ftests -v"
case $MAKEFLAGS in \
*-s*) LD_LIBRARY_PATH =/home/devel/compile/Python-2.3.4c1:/usr/local/pgsql/lib:/usr/teTeX/lib CC='gcc -pthread' LDSHARED='gcc -pthread -shared' OPT='-DNDEBUG -g -O3 -Wall -Wstrict-prototypes' ./python -E ./setup.py -q build;; \
*) LD_LIBRARY_PATH =/home/devel/compile/Python-2.3.4c1:/usr/local/pgsql/lib:/usr/teTeX/lib CC='gcc -pthread' LDSHARED='gcc -pthread -shared' OPT='-DNDEBUG -g -O3 -Wall -Wstrict-prototypes' ./python -E ./setup.py build;; \
esac
running build
running build_ext
running build_scripts
find ./Lib -name '*.py[co]' -print | xargs rm -f
LD_LIBRARY_PATH =/home/devel/compile/Python-2.3.4c1:/usr/local/pgsql/lib:/usr/teTeX/lib ./python -E -tt ./Lib/test/regrtest.py -l -ftests -v
test_sax
Failed test_attrs_empt y
Failed test_attrs_watt r
Failed test_double_quo teattr
Failed test_escape_all
Failed test_escape_bas ic
Failed test_escape_ext ra
Failed test_expat_attr s_empty
Failed test_expat_attr s_wattr
Failed test_expat_dtdh andler
Failed test_expat_enti tyresolver
Failed test_expat_file
Failed test_expat_inco mplete
Failed test_expat_incr emental
Failed test_expat_incr emental_reset
Failed test_expat_inps ource_filename
Failed test_expat_inps ource_location
Failed test_expat_inps ource_stream
Failed test_expat_inps ource_sysid
Failed test_expat_loca tor_noinfo
Failed test_expat_loca tor_withinfo
Failed test_expat_nsat trs_empty
Failed test_expat_nsat trs_wattr
Failed test_filter_bas ic
Failed test_make_parse r
Failed test_make_parse r2
Failed test_nsattrs_em pty
Failed test_nsattrs_wa ttr
Failed test_quoteattr_ basic
test test_sax crashed -- exceptions.Type Error: int argument required
Traceback (most recent call last):
File "./Lib/test/regrtest.py", line 394, in runtest
the_package = __import__(abst est, globals(), locals(), [])
File "/home/devel/compile/Python-2.3.4c1/Lib/test/test_sax.py", line 689,in ?
confirm(value() , name)
File "/home/devel/compile/Python-2.3.4c1/Lib/test/test_sax.py", line 502,in test_sax_parse_ exception_str
DummyLocator(No ne, 1)))
File "/usr/local/lib/python2.3/site-packages/_xmlplus/sax/_exceptions.py" , line 94, in __str__
return "%s:%d:%d: %s" % (sysid, self.getLineNum ber(),
TypeError: int argument required
1 test failed:
test_sax
make: [test] Error 1 (ignored)
....
self.getLineNum ber() is None if I check using pdb, but what
disconcerts me is the
File "/usr/local/lib/python2.3/site-packages/_xmlplus/sax/_exceptions.py" , line 94, in __str__
line. Why is sax taken from the installed version instead of the
2.3.4c1 version.
Regards
Berthold
--
bh***@web.de /
http://starship.python.net/crew/bhoel/