Shelve bug in ActiveState Python? [or Python as Houdini]

2008-04-23 Thread Bob Kline
I'm looking at behavior in ActiveState's Python which looks suspiciously like a bug. I've got a number of steps before I'm ready to file a real bug report (I'm a minor release behind (2.5.1.1), for one thing, so I'll need to test with the latest release, and creating a repro case for this one

Issue Attempting to Import xml.parsers.xmlproc in ActivePython

2008-04-23 Thread Fraser MacKenzie
I am using python2.5 (downloaded and installed about a week ago). I am attempting to validate an XML file, using the appropriate DTD. In looking at the ASPN Cookbook, it appears that I am suppossed to use the following imports: from xml.parsers.xmlproc import xmlproc from xml.parsers.xmlproc

Re: Issue Attempting to Import xml.parsers.xmlproc in ActivePython

2008-04-23 Thread Bob Kline
Fraser MacKenzie wrote: I am using python2.5 (downloaded and installed about a week ago). I am attempting to validate an XML file, using the appropriate DTD. In looking at the ASPN Cookbook, it appears that I am suppossed to use the following imports: from xml.parsers.xmlproc import

Re: Shelve bug in ActiveState Python? [or Python as Houdini]

2008-04-23 Thread Trent Mick
Trent Mick wrote: Does seem supicious. I don't have much experience with shelve, but it should just crash. Do you have another platform that you can try to repro on? A repro code snippet would, of course, help a lot. s/should/shouldn't/ Duh, Trent -- Trent Mick trentm at activestate.com

Re: Issue Attempting to Import xml.parsers.xmlproc in ActivePython

2008-04-23 Thread Fraser MacKenzie
I am unfortunately a python novice. I know that I can use PPM to add in perl packages. How can I add modules to ActivePython. Fraser MacKenzie [EMAIL PROTECTED] -Original Message- From: Bob Kline [EMAIL PROTECTED] Date: Wed, 23 Apr 2008 17:11:44 To:Fraser MacKenzie [EMAIL PROTECTED]

Re: Issue Attempting to Import xml.parsers.xmlproc in ActivePython

2008-04-23 Thread Bob Kline
Fraser MacKenzie wrote: I guess, a question along the same lines, is that I am trying to use the libxml2 and libxlst modules, and they don't seem to be available for ActivePython. Where can I get them to install them (or is it even possible). The reason I need them is to allow for an XML