skatja schrieb:
> Hi
> I've got an AttributeError: 'builtin_function_or_method' object has no
> attribute 'new'
> http://paste.turbogears.org/paste/51303
> Any hint what I missed?

Looks like a broken python installation to me.

Try this:

mac-dir:IrrSinn-1.5 deets$ python2.4
Python 2.4.4 (#1, Oct 18 2006, 10:34:39)
[GCC 4.0.1 (Apple Computer, Inc. build 5341)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
Welcome to rlcompleter2 0.96
for nice experiences hit <tab> multiple times
 >>> from hmac import *
 >>> import sha as sha1
 >>> new("abc", "*"*40, sha1).hexdigest()
'15651cdf4c240191eaa3cc402c5d44c09a14d025'


If it's not working for you, your python is broken.

Diez

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"TurboGears" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/turbogears?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to