Re: zope.component.zcml and global registry

Tres Seaver <[email protected]>
Newsgroups gmane.comp.web.zope.devel
Message-ID <[email protected]>
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Baiju M wrote:
> On Mon, Mar 8, 2010 at 9:18 PM, Fabio Tranchitella <[email protected]> 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          [email protected]
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-----

_______________________________________________
Zope-Dev maillist  -  [email protected]
https://mail.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists - 
 https://mail.zope.org/mailman/listinfo/zope-announce
 https://mail.zope.org/mailman/listinfo/zope )
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.