[Checkins] SVN: zope.security/branches/3.3-zope2/ Prep 3.3.3 release (massive performance bugfix backport).

Tres Seaver tseaver at palladion.com
Fri Feb 22 20:14:35 EST 2008


Log message for revision 84162:
  Prep 3.3.3 release (massive performance bugfix backport).

Changed:
  U   zope.security/branches/3.3-zope2/CHANGES.txt
  U   zope.security/branches/3.3-zope2/setup.py
  U   zope.security/branches/3.3-zope2/src/zope/security/management.py

-=-
Modified: zope.security/branches/3.3-zope2/CHANGES.txt
===================================================================
--- zope.security/branches/3.3-zope2/CHANGES.txt	2008-02-23 00:57:42 UTC (rev 84161)
+++ zope.security/branches/3.3-zope2/CHANGES.txt	2008-02-23 01:14:33 UTC (rev 84162)
@@ -3,55 +3,20 @@
 =======
 
 
-3.4.0 - 2007/10/02
+3.3.3 (unreleased)
 ------------------
 
-- Updated meta-data.
-
-
-3.4.0b5 - 2007/08/15
---------------------
-
-- Bug: Fixed a circular import in the C implementation.
-
-
-3.4.0b4 - 2007/08/14
---------------------
-
-- Bug: ``zope.security.management.system_user`` had an ugly/brittle id.
-
-
-3.4.0b3 - 2007/08/14
---------------------
-
-- ``zope.security`` now works on Python 2.5
-
-- Bug: ``zope.security.management.system_user`` wasn't a valid principal
-  (didn't provide IPrincipal).
-
-- Bug: Fixed inclusion of doctest to use the doctest module from
-  ``zope.testing``. Now tests can be run multiple times without
-  breaking. (#98250)
-
-
-3.4.0b2 - 2007/06/15
---------------------
-
 - Bug: Removed stack extraction in newInteraction. When using eggs this is an
   extremly expensive function. The publisher is now more than 10 times faster
   when using eggs and about twice as fast with a zope trunk checkout.
 
-
-3.4.0b1
--------
-
-- Temporarily fixed the hidden (and accidental) dependency on zope.testing to
-  become optional.
-
-Note: The releases between 3.2.0 and 3.4.0b1 where not tracked as an
+Note: The releases between 3.2.0 and 3.3.3 where not tracked as an
 individual package and have been documented in the Zope 3 changelog.
 
+This release exists purely to backport a major performance bugfix from
+the 3.4 release line, mostly FBO Zope2.
 
+
 3.2.0 - 2006/01/05
 ------------------
 

Modified: zope.security/branches/3.3-zope2/setup.py
===================================================================
--- zope.security/branches/3.3-zope2/setup.py	2008-02-23 00:57:42 UTC (rev 84161)
+++ zope.security/branches/3.3-zope2/setup.py	2008-02-23 01:14:33 UTC (rev 84162)
@@ -22,7 +22,7 @@
     return open(os.path.join(os.path.dirname(__file__), *rnames)).read()
 
 setup(name='zope.security',
-      version = '3.4.0',
+      version = '3.3.3dev',
       author='Zope Corporation and Contributors',
       author_email='zope3-dev at zope.org',
       description='Zope3 Security Architecture',

Modified: zope.security/branches/3.3-zope2/src/zope/security/management.py
===================================================================
--- zope.security/branches/3.3-zope2/src/zope/security/management.py	2008-02-23 00:57:42 UTC (rev 84161)
+++ zope.security/branches/3.3-zope2/src/zope/security/management.py	2008-02-23 01:14:33 UTC (rev 84162)
@@ -78,17 +78,13 @@
 
 def newInteraction(*participations):
     """Start a new interaction."""
-    
-    
+
     if queryInteraction() is not None:
-        stack = queryInteraction()._newInteraction_called_from
         raise AssertionError("newInteraction called"
-                             " while another interaction is active:\n%s"
-                             % "".join(traceback.format_list(stack)))
+                             " while another interaction is active.")
 
     interaction = getSecurityPolicy()(*participations)
 
-    interaction._newInteraction_called_from = traceback.extract_stack()
     thread_local.interaction = interaction
 
 def endInteraction():



More information about the Checkins mailing list