This is the mail archive of the cygwin@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

sax with python 2.2


Hi,

I got the following error when using sax.utils:

class Test(saxutils.DefaultHandler):
AttributeError: 'module' object has no attribute 'DefaultHandler'

here is the python file:
import pyPgSQL.PgSQL
from xml.sax import saxutils
from xml.sax import make_parser
from xml.sax.handler import feature_namespaces
	
class Test(saxutils.DefaultHandler): ...

Any idea ?

Thanks,

Georges.

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]