By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
439,957 Members | 1,960 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 439,957 IT Pros & Developers. It's quick & easy.

Re: Class instantiation fails when passed in a file but work via lineby line interpreter

P: n/a
Random related question. If you're writing a SAML implementation have
you found an XML Signature implementation that works reliably from
python? I've had a hell of a time finding something that doesn't
segfault and is interoperable with .NET.
I guess you could call it a SAML implementation. Really I am writing
it so I can get more familiar with the specification. Right now it is
far enough along that it generates signed assertions.

This is definitely a tangent but since you asked I use PyXMLSec. I
wrote a blog post on compiling it for Windows so I wouldn't forget how
I did it:

As far as I can tell it is pretty reliable. If you have any questions
about my implementation let me know and I'll try my best.
As far as your problem goes, I would guess that somewhere you've got a
class named SAML that's shadowing your module. See the difference in the
error messages:
Thank you! I was being dumb and named by unit test class the same as
my actual module. That did it.

Nov 18 '08 #1
Share this question for a faster answer!
Share on Google+

This discussion thread is closed

Replies have been disabled for this discussion.