Re: [Zope-dev] Proposal: Remove the dependency of zope.app.exception on zope.formlib
On Tuesday 07 April 2009, Michael Howitz wrote: > Any comments on this implementation? +1 from me, since I hate having zope.formlib around. However, this might be self-serving and we should hear from people not using newer UI patterns. > Should I do the include > > in zope.app.exception's configure.zcml or only in the ftesting.zcml? Just in ftesting.zcml should be fine in my opinion. Regards, Stephan -- Stephan Richter Web Software Design, Development and Training Google me. "Zope Stephan Richter" ___ Zope-Dev maillist - Zope-Dev@zope.org http://mail.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope )
[Zope-dev] Proposal: Remove the dependency of zope.app.exception on zope.formlib
Hi, zope.app.exception depends on zope.formlib to use the NamedTemplate for the Unauthorized view. As zope.formlib has many dependencies I propose to depend on z3c.template to get a named template. (Even z3c.layer.pagelet depends on zope.app.exception (for the Unauthorized view) and so it depends on zope.formlib.) I implemented the proposal in svn+ssh://svn.zope.org/repos/main/ zope.app.exception/branches/icemac_no_formlib (I also added a minimized patch of my changes to this e-mail.) Any comments on this implementation? Should I do the include in zope.app.exception's configure.zcml or only in the ftesting.zcml? no_formlib.patch Description: Binary data Yours sincerely, -- Michael Howitz · m...@gocept.com · software developer gocept gmbh & co. kg · forsterstraße 29 · 06112 halle (saale) · germany http://gocept.com · tel +49 345 1229889 8 · fax +49 345 1229889 1 Zope and Plone consulting and development ___ Zope-Dev maillist - Zope-Dev@zope.org http://mail.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope )
Re: [Zope-dev] pytzhon-daemon (was Re: zdaemon is alpha?)
On Apr 7, 2009, at 7:16 AM, Jens W. Klein wrote: > Just curious, are there plans to use python-daemon as the base? > http://pypi.python.org/pypi/python-daemon/ No. > It implements PEP 3143 http://www.python.org/dev/peps/pep-3143/ and > I'am > sure if theres something missing, Ben Finney (the author) will > listen and > is happy to discuss the issues. zdaemon is boring, meaning it works fine the way it is, at least for the use cases it was designed to address. I see no need to make it exciting. :) Jim -- Jim Fulton Zope Corporation ___ Zope-Dev maillist - Zope-Dev@zope.org http://mail.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope )
Re: [Zope-dev] SVN: zope.fixers/trunk/zope/fixers/ Added a fixer for implementsOnly. Currently the decorator is called implementer_only. I'm not happy with
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Lennart Regebro wrote: > Log message for revision 98979: > Added a fixer for implementsOnly. Currently the decorator is called > implementer_only. I'm not happy with > that name, but we can easily change it until we make a first release of a > Python 3 compatible > zope.interface. Maybe something like 'soleImplementor'? Tres. - -- === Tres Seaver +1 540-429-0999 tsea...@palladion.com Palladion Software "Excellence by Design"http://palladion.com -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.6 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFJ2472+gerLs4ltQ4RAp1sAKClR2lMxuNJQEqkWLd8/SM8/NEELACeNRai C1Wwd3am7kKNGUTwvp5aaVI= =TO6+ -END PGP SIGNATURE- ___ Zope-Dev maillist - Zope-Dev@zope.org http://mail.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope )
Re: [Zope-dev] pytzhon-daemon (was Re: zdaemon is alpha?)
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Jens W. Klein wrote: > Just curious, are there plans to use python-daemon as the base? > http://pypi.python.org/pypi/python-daemon/ > > It implements PEP 3143 http://www.python.org/dev/peps/pep-3143/ and I'am > sure if theres something missing, Ben Finney (the author) will listen and > is happy to discuss the issues. The PEP[1] notes the following about 'zdaemon': The zdaemon tool [zdaemon] was written for the Zope project. Like [slack-daemon], it differs from this specification because it is used to run another program as a daemon process. In particular, that is what makes the 'zopectl' / 'zeoctl' bit feasible; the 'runzope' / 'runzeo' commands get run in a daemonized environment. The "controller" process has a different lifetime than the actual daemon, with the two communicating over a private socket. For the appserver, I imagine that we will move to a WSGI-based deployment model, leaving any Zope-specific server implementation behing. If you wanted to experiment with Ben's library, I would therefore focus on the ZEO server. [1] http://www.python.org/dev/peps/pep-3143/ Tres. - -- === Tres Seaver +1 540-429-0999 tsea...@palladion.com Palladion Software "Excellence by Design"http://palladion.com -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.6 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFJ21JA+gerLs4ltQ4RAl2lAJ9QRO2mzhK0Y3F16LMpT2Z72zjwcwCgvAnP RwrkAz5mvnOvtGwHzPhdUKw= =xFzo -END PGP SIGNATURE- ___ Zope-Dev maillist - Zope-Dev@zope.org http://mail.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope )
Re: [Zope-dev] Zope Tests: 7 OK, 1 Failed
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Zope Tests Summarizer wrote: > Test failures > - > > Subject: FAILED (errors=1) : Zope-trunk-alltests Python-2.6.1 : Linux > From: Zope Tests > Date: Mon Apr 6 21:02:44 EDT 2009 > URL: http://mail.zope.org/pipermail/zope-tests/2009-April/011410.html This failure is due to a changed (less tolerant) HTMLParser module in Python 2.6. The new module barfs on invalid quasi-numeric entities ('�a' in our example, which is missing the 'X' to make it valid). Even if I delete the broken case, the test fails again because the 2.6 parser also converts the numeric entities to unicode, injecting Ctrl-A and LF for '' and '&X0a;'! I'm not sure how we should attempt to fix the test, except for a "big hammer" check of sys.version_info and two different inputs / expected outputs. If nobody has a better idea, I will check that in tomorrow (see attached patch). Tres. - -- === Tres Seaver +1 540-429-0999 tsea...@palladion.com Palladion Software "Excellence by Design"http://palladion.com -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.6 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFJ206/+gerLs4ltQ4RAqpkAKDGS2c66egb0sO3VTUiUlU0LLpp2QCfcf0H Q8HnrOKqduKjuHIiMPlwbUc= =Vwvg -END PGP SIGNATURE- Index: src/zope/tal/tests/test_talinterpreter.py === --- src/zope/tal/tests/test_talinterpreter.py (revision 98974) +++ src/zope/tal/tests/test_talinterpreter.py (working copy) @@ -706,10 +706,16 @@ self.compare(INPUT, EXPECTED) def test_entities(self): -INPUT = ('') -EXPECTED = ('') +if sys.version_info < (2, 6): +INPUT = ('') +EXPECTED = ('') +else: +INPUT = ('') +EXPECTED = ('') self.compare(INPUT, EXPECTED) def compare(self, INPUT, EXPECTED): ___ Zope-Dev maillist - Zope-Dev@zope.org http://mail.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope )
[Zope-dev] Zope Tests: 7 OK, 1 Failed
Summary of messages to the zope-tests list. Period Mon Apr 6 12:00:00 2009 UTC to Tue Apr 7 12:00:00 2009 UTC. There were 8 messages: 8 from Zope Tests. Test failures - Subject: FAILED (errors=1) : Zope-trunk-alltests Python-2.6.1 : Linux From: Zope Tests Date: Mon Apr 6 21:02:44 EDT 2009 URL: http://mail.zope.org/pipermail/zope-tests/2009-April/011410.html Tests passed OK --- Subject: OK : Zope-2.10 Python-2.4.6 : Linux From: Zope Tests Date: Mon Apr 6 20:48:34 EDT 2009 URL: http://mail.zope.org/pipermail/zope-tests/2009-April/011403.html Subject: OK : Zope-2.11 Python-2.4.6 : Linux From: Zope Tests Date: Mon Apr 6 20:50:35 EDT 2009 URL: http://mail.zope.org/pipermail/zope-tests/2009-April/011404.html Subject: OK : Zope-trunk Python-2.4.6 : Linux From: Zope Tests Date: Mon Apr 6 20:52:38 EDT 2009 URL: http://mail.zope.org/pipermail/zope-tests/2009-April/011405.html Subject: OK : Zope-trunk Python-2.5.4 : Linux From: Zope Tests Date: Mon Apr 6 20:54:38 EDT 2009 URL: http://mail.zope.org/pipermail/zope-tests/2009-April/011406.html Subject: OK : Zope-trunk Python-2.6.1 : Linux From: Zope Tests Date: Mon Apr 6 20:56:39 EDT 2009 URL: http://mail.zope.org/pipermail/zope-tests/2009-April/011407.html Subject: OK : Zope-trunk-alltests Python-2.4.6 : Linux From: Zope Tests Date: Mon Apr 6 20:58:39 EDT 2009 URL: http://mail.zope.org/pipermail/zope-tests/2009-April/011408.html Subject: OK : Zope-trunk-alltests Python-2.5.4 : Linux From: Zope Tests Date: Mon Apr 6 21:00:41 EDT 2009 URL: http://mail.zope.org/pipermail/zope-tests/2009-April/011409.html ___ Zope-Dev maillist - Zope-Dev@zope.org http://mail.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope )
[Zope-dev] pytzhon-daemon (was Re: zdaemon is alpha?)
Just curious, are there plans to use python-daemon as the base? http://pypi.python.org/pypi/python-daemon/ It implements PEP 3143 http://www.python.org/dev/peps/pep-3143/ and I'am sure if theres something missing, Ben Finney (the author) will listen and is happy to discuss the issues. greetz Jens -- Jens W. Klein - Klein & Partner KEG - BlueDynamics Alliance ___ Zope-Dev maillist - Zope-Dev@zope.org http://mail.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope )