#2133: AttributeError in beaker in tg2.0b2 python2.4
------------------------+---------------------------------------------------
 Reporter:  lszyba1     |        Owner:  faide   
     Type:  defect      |       Status:  reopened
 Priority:  normal      |    Milestone:  2.0rc1  
Component:  TurboGears  |      Version:  trunk   
 Severity:  normal      |   Resolution:          
 Keywords:              |  
------------------------+---------------------------------------------------
Comment (by bbangert):

 This shouldn't be fixed in Python. The maintainer of the hashlib package
 that you installed should really fix this. It isn't a beaker compatibility
 issue, its due to the hashlib module you installed (which is why our
 Python 2.4 buildbot did not see this issue).

 Note:
 
http://www.google.com/codesearch?as_q=hmac+hashlib+sha1+ImportError&btnG=Search+Code&hl=en&as_lang=&as_license_restrict=i&as_license=&as_package=&as_filename=\.py%24&as_case=

 There is a '''lot''' of packages that look for hashlib like we do,
 '''NONE''' of them will work on your system as long as you have that
 hashlib package that doesn't work like the Python 2.5 and later one.

 Are you really suggesting that everyone put in a decent amount of
 try/except's along with other various feature tests to deal with *one*
 guy's hashlib package that uses the same namespace as a later Python
 versions and thus causes this whole problem?

 I mean, its possible that a proper solution might be that everyone goes
 and does this.... but I'd like to believe this is a situation where the
 hashlib package for Python 2.4 users should monkey-patch hmac so that its
 used properly, as feature testing around the issue is rather ugly.

-- 
Ticket URL: <http://trac.turbogears.org/ticket/2133#comment:17>
TurboGears <http://www.turbogears.org/>
TurboGears front-to-back web development

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "TurboGears Tickets" group.
This group is read-only. No posting by normal members allowed.
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/turbogears-tickets?hl=en?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to