zope.session 3.6 became incompatible with Python 2.4

Bug #353647 reported by Christian Theune
2
Affects Status Importance Assigned to Milestone
Zope 3
Won't Fix
Undecided
Unassigned
zope.session
Fix Released
Undecided
Unassigned

Bug Description

It fails with:

      File "/home/ctheune/.buildout/eggs/zope.session-3.9.0-py2.4.egg/zope/session/http.py", line 240, in getClientId
        sid = self.generateUniqueId()
      File "/home/ctheune/.buildout/eggs/zope.session-3.9.0-py2.4.egg/zope/session/http.py", line 264, in generateUniqueId
        mac = hmac.new(s, self.secret, digestmod=sha1).digest()
      File "/home/ctheune/lib/python2.4/hmac.py", line 107, in new
        return HMAC(key, msg, digestmod)
      File "/home/ctheune/lib/python2.4/hmac.py", line 42, in __init__
        self.outer = digestmod.new()
    AttributeError: 'builtin_function_or_method' object has no attribute 'new'

Revision history for this message
Dan Korostelev (nadako) wrote :

According to changelog, the compatibility was restored in 3.9.1. Is the 3.6 branch with that fix needed or this bug can be closed?

Tres Seaver (tseaver)
Changed in zope3:
status: New → Won't Fix
Revision history for this message
Marius Gedminas (mgedmin) wrote :

No response, assuming it was fixed.

Changed in zope.session:
status: New → Invalid
status: Invalid → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.