[Zope-dev] zope.component.zcml and global registry
Tres Seaver
tseaver at palladion.com
Mon Mar 8 12:04:05 EST 2010
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Baiju M wrote:
> On Mon, Mar 8, 2010 at 9:18 PM, Fabio Tranchitella <kobold at kobold.it> wrote:
>> * 2010-03-04 20:51, Fabio Tranchitella wrote:
>>> Committed with tests.
>> If nobody objects, I would like to release a new (bugfix) release of
>> zope.component with the current trunk. This is the relevant entry from the
>> CHANGES.txt file:
>>
>> - The ZCML directives provided by zope.component now register the components in
>> the registry returned by getSiteManager instead of the global registry.
>> This allows the hooking of the getSiteManager method before the load of a
>> ZCML file to register the components in a custom registry.
>
> Is this a feature release ?
It seems arguable either way to me: the old behavior (forcibly
populating the global registry instead of the hooked registry) could
easily be construed as a bug.
Tres.
- --
===================================================================
Tres Seaver +1 540-429-0999 tseaver at palladion.com
Palladion Software "Excellence by Design" http://palladion.com
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iEYEARECAAYFAkuVLf8ACgkQ+gerLs4ltQ4dNACgtOjXaYXEZR2kTTsXnyDKGokT
zuAAoL/9WZ4RtC4CBq+I7gV4k6iokoRj
=Piih
-----END PGP SIGNATURE-----
More information about the Zope-Dev
mailing list