RFC: Making zope.i18nmessageid an optional dependency of zope.schema
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 In order to make zope.schema more useful outside of Zope, I would like to make the dependency on zope.i18nmessageid optional. I have checked in a branch which does this: http://svn.zope.org/zope.schema/branches/tseaver-optional_i18nmessageid Objections? Tres. - -- =================================================================== Tres Seaver +1 540-429-0999 tseaver@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 iEYEARECAAYFAkuD/DYACgkQ+gerLs4ltQ5SZwCfccvr3vn16+7qaGyxwXogLJRP MacAnRgn5FxmNW3oI0L31SAqNn/h0P3x =2AhH -----END PGP SIGNATURE-----
On Tuesday 23 February 2010, Tres Seaver wrote:
In order to make zope.schema more useful outside of Zope, I would like to make the dependency on zope.i18nmessageid optional. I have checked in a branch which does this:
http://svn.zope.org/zope.schema/branches/tseaver-optional_i18nmessageid
Objections?
The changes look good. Regards, Stephan -- Entrepreneur and Software Geek Google me. "Zope Stephan Richter"
It looks good. But, the try/except and instanciation of the MessageFactory could be done only once, in the __init__ of the package for instance. That would be a central place to change it and to import from. 2010/2/23 Stephan Richter <srichter@cosmos.phy.tufts.edu>:
On Tuesday 23 February 2010, Tres Seaver wrote:
In order to make zope.schema more useful outside of Zope, I would like to make the dependency on zope.i18nmessageid optional. I have checked in a branch which does this:
http://svn.zope.org/zope.schema/branches/tseaver-optional_i18nmessageid
Objections?
The changes look good.
Regards, Stephan -- Entrepreneur and Software Geek Google me. "Zope Stephan Richter" _______________________________________________ Zope-Dev maillist - Zope-Dev@zope.org 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 )
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Souheil CHELFOUH wrote:
It looks good. But, the try/except and instanciation of the MessageFactory could be done only once, in the __init__ of the package for instance. That would be a central place to change it and to import from.
I foresee problems there: the __init__ imports stuff from the modules which use MessageFactory. Tres. - -- =================================================================== Tres Seaver +1 540-429-0999 tseaver@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 iEYEARECAAYFAkuEDWkACgkQ+gerLs4ltQ4wIQCcDdEcFWRpNtceIDMy10WplVMv dZ8AoKqZMQjWqcZyzzWtkjd4X9mg3q+n =1JwJ -----END PGP SIGNATURE-----
participants (3)
-
Souheil CHELFOUH -
Stephan Richter -
Tres Seaver