RDFLib/rdflib — Issue #88: using rdflib 2.4.2 i get warnings about __repr__ w.r.t. python3k
Author: gjhiggins
Created: 2012-02-20 08:32:25+00:00
State: open

danbrick...@gmail.com, 2009-11-26T16:21:19.000Z

17:18 logger: See http://chatlogs.planetrdf.com/swig/2009-11-26#T16-18-12

eg.
/Library/Python/2.5/site-packages/rdflib-2.4.2-py2.5-macosx-10.5-i386.egg/rdflib/sparql/bison/SPARQLEvaluate.py:273:
DeprecationWarning: There is the possibility of __repr__ being deprecated
in python3K
for expr in reducedFilter]))

Can you suppress these or use a more futureproof python idiom? thanks!

Comment 1 by danbrick...@gmail.com
from #code4lib

21:09 edsu: danbri: that warning won't get emitted anymore btw
21:09 edsu: danbri: the one you filed the ticket for
21:09 danbri: time for me to upgrade then!
21:10 edsu: danbri: because rdflib trunk doesn't use bison anymore for parsing sparql
; but there are other annoying ones about the sets api, and whatnot

Comment 2 by ed.summers
This is one of 'em:

/home/ed/Projects/rdflib/rdflib/sparql/Query.py:1: DeprecationWarning: the sets module
is deprecated

Comment 3 by eik...@gmail.com

Comment 4 by eik...@gmail.com

Comment 5 by eik...@gmail.com
These issues involve bits that have been moved out of rdflib proper for now. We will re-open them
or move them to rdfextas as appropriate.