I don’t have the exact file you
are running sgmllib on, but based on running on different input (actually, the
IronPython tutorial) and consulting the source code, I believe this bug is
fixed in 1.0 Beta 3. However, when running the sgmllib on our tutorial as an
input, I got different problem down the line and we’ll look into that
one. Thank you! Martin From:
[EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of richard hsu Running: IronPython 1.0.2190 (Beta) on .NET 2.0.50727.42 C:\IronPython\Lib>ironpythonconsole sgmllib.py
"c:\webhost\index.html" I copied both sgmllib.py and its dependency markupbase.py into the
IronPython's Lib directory before running the script. The two files are from
Python 2.4 Library. The script runs with python 2.4 and prints out the
html tags and data in the console. Mark Pilgrim's discusses sgmllib.py in Dive Into Python [http://diveintopython.org/html_processing/introducing_sgmllib.html] My overall objective is to get IronPython to run Mark Pilgrim's
feedparser.py [http://feedparser.org] feedparser.py imports sgmllib, re, sys, copy, urlparse, time, rfc822,
types, cgi, urllib, urllib2, CStringIO/StringIO, gzip/zlib,
xml.sax, base64, binascii, cjkcodecs.aliases and a few other
modules. So, it will be interesting. Thanks in advance. |
_______________________________________________ users mailing list users@lists.ironpython.com http://lists.ironpython.com/listinfo.cgi/users-ironpython.com