delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2002/04/01/08:19:00

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Message-ID: <3CA85D11.51BADC59@yahoo.com>
Date: Mon, 01 Apr 2002 23:13:53 +1000
From: "G.Villot" <georges_villot AT yahoo DOT com>
X-Accept-Language: en
MIME-Version: 1.0
To: cygwin AT cygwin DOT com
Subject: 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/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019