[Checkins] SVN: zope.component/trunk/src/zope/component/ Don't pickle registry flattened bases in the 'ro' attribute.
Adam GROSZER
agroszer.ll at gmail.com
Wed Aug 1 06:56:12 UTC 2012
Hello,
That change broke the winbot.
http://winbot.zope.org/builders/zope.component_py_265_32/builds/580
Please look after it.
On 08/01/2012 06:13 AM, Ross Patterson wrote:
> Log message for revision 127412:
> Don't pickle registry flattened bases in the 'ro' attribute.
>
> This avoids pickle references that are redundant with the '__bases__'
> pickling.
>
>
> Modified: zope.component/trunk/src/zope/component/tests/test_persistentregistry.py
> ===================================================================
> --- zope.component/trunk/src/zope/component/tests/test_persistentregistry.py 2012-08-01 04:12:45 UTC (rev 127411)
> +++ zope.component/trunk/src/zope/component/tests/test_persistentregistry.py 2012-08-01 04:13:02 UTC (rev 127412)
> @@ -96,7 +96,7 @@
> self.assertEqual(state['_provided'], {})
> self.assertEqual(state['_adapters'], [])
> self.assertEqual(state['_subscribers'], [])
> - self.assertEqual(state['ro'], [registry] + list(bases))
> + self.assertNotIn('ro', state)
>
--
Best regards,
Adam GROSZER
--
Quote of the day:
An elephant is a mouse with an operating system.
More information about the checkins
mailing list