Re: [Zope-dev] Summary of today's developer meeting

2010-03-04 Thread Tres Seaver
', 'FAILURE', or 'UNKNOWN' (a checkout or build failure), and names the "configuration" being tested. [1] https://mail.zope.org/mailman/listinfo/zope-tests > BTW I'm a volunteer. Thank you very much for your efforts! Tres. - -- =

Re: [Zope-dev] Uses of the ZTK and how it relates to management

2010-03-04 Thread Tres Seaver
; changes are impossible. We still mostly treat them as off-limits, even the three years after we started the effort to break the monolith apart. That change should have made it technically feasible to do backward-incompatible changes, but we haven't yet worked out how to make tha

Re: [Zope-dev] zope.component.zcml and global registry

2010-03-03 Thread Tres Seaver
objects to this change, then I'll commit > it to the trunk. If the tests all pass, then I would say go ahead and commit it now, but add tests to verify that the new feature works as you expect. Tres. - -- ======= Tres Seave

Re: [Zope-dev] [Zope-Checkins] SVN: Zope/branches/tseaver-clarify_install_docs/doc/ Split out docs for 'normal' installation from those using 'zc.buildout'.

2010-03-03 Thread Tres Seaver
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 yuppie wrote: > Tres Seaver wrote: >> Chris Withers wrote: >>> By all means, document virtualenv as an option, but blessing it as "the >>> one true way" is a bit much... > > I'm also surprised tha

Re: [Zope-dev] [Zope-Checkins] SVN: Zope/branches/tseaver-clarify_install_docs/doc/ Split out docs for 'normal' installation from those using 'zc.buildout'.

2010-03-02 Thread Tres Seaver
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Chris Withers wrote: > Tres Seaver wrote: >> Installing Zope >> -=== >> +--- >> >> -Unless using buildout to build a zope instance as described >> -:ref:`below `, you will need to inst

Re: [Zope-dev] redirect burps on unicode URLs

2010-03-01 Thread Tres Seaver
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Marius Gedminas wrote: > On Sun, Feb 28, 2010 at 05:05:51PM +0100, Wichert Akkerman wrote: >> On 2010-2-26 18:25, Tres Seaver wrote: >>> Wichert Akkerman wrote: >>>> I see this as naming confusion. In this day and age ev

Re: [Zope-dev] Developer IRC meeting on#zope next Tuesday at 3pm UTC

2010-02-27 Thread Tres Seaver
ill both a moderator role and have my own stakes in > the topics, so please bear with me if I'm struggling balancing that. Sounds good -- I'll try to be there. It might be helpful to send out a reminder a bit earlier in the day, so that those of us still in a caffeine-deplete

Re: [Zope-dev] SVN: Zope/branches/2.12/src/Products/Five/browser/absoluteurl.py Fix _getContextName; does anyone test this stuff?

2010-02-26 Thread Tres Seaver
None) > +return getattr(context, '__name__', None) > > def breadcrumbs(self): > context = self.context Kettle to pot: Did you add a test? Tres. - -- === Tres Seaver +1 540-429-0999

Re: [Zope-dev] redirect burps on unicode URLs

2010-02-26 Thread Tres Seaver
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Wichert Akkerman wrote: > On 2/25/10 17:08 , Tres Seaver wrote: >> -BEGIN PGP SIGNED MESSAGE- >> Hash: SHA1 >> >> Adam GROSZER wrote: >>> Hello, >>> >>> Looks like zope.publisher burps on

Re: [Zope-dev] redirect burps on unicode URLs

2010-02-25 Thread Tres Seaver
ASCII, with other characters encoded[1]. IRIs and IRLs are a different thing altogether. - - Headers in responses must *not* be Unicode. Your application needs to make the URL header-safe before calling redirect, likely by using 'urlencode'. [1] http://tools.ietf.org/html/rfc1738#se

Re: [Zope-dev] SVN: ExtensionClass/trunk/ Merged hannosch-lp-143657 branch

2010-02-23 Thread Tres Seaver
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hanno Schlichting wrote: > On Tue, Feb 23, 2010 at 1:26 AM, Tres Seaver wrote: >> Hanno Schlichting wrote: >>> -2.12.1 (unreleased) >>> +2.13.0 (unreleased) >>> --- >>> >>> +-

Re: [Zope-dev] RFC: Making zope.i18nmessageid an optional dependency of zope.schema

2010-02-23 Thread Tres Seaver
. I foresee problems there: the __init__ imports stuff from the modules which use MessageFactory. Tres. - -- === Tres Seaver +1 540-429-0999 tsea...@palladion.com Palladion Software "Excellence b

[Zope-dev] RFC: Making zope.i18nmessageid an optional dependency of zope.schema

2010-02-23 Thread Tres Seaver
Objections? 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.9 (GNU/Linu

Re: [Zope-dev] SVN: ExtensionClass/trunk/ Merged hannosch-lp-143657 branch

2010-02-22 Thread Tres Seaver
ot to defeat the ZODB persistent > + reference optimization. Refs https://bugs.launchpad.net/zope2/+bug/143657. Is this really worth treating as a new major version? There is no API change involved, right? Just faster? Tres. - -- === Tres Seaver

Re: [Zope-dev] Zope 2.12 and Globals.DevelopmentMode

2010-02-10 Thread Tres Seaver
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Sylvain Viollon wrote: > On Sat, 06 Feb 2010 02:14:07 -0500 > Tres Seaver wrote: > >Hello, > >> There was never any guarantee that Globals would be fully popluated >> before the start of product initialization:

Re: [Zope-dev] No license distributed with sources

2010-02-08 Thread Tres Seaver
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Wichert Akkerman wrote: > On 2010-2-8 22:38, Tres Seaver wrote: >> In the mean time, you could patch the file in via your debian/ control >> stuff, I guess. The Ubuntu / Debian interpretation of "legality of >> distri

Re: [Zope-dev] No license distributed with sources

2010-02-08 Thread Tres Seaver
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Gediminas Paulauskas wrote: > 2010/2/8 Tres Seaver : >> -BEGIN PGP SIGNED MESSAGE- >> Hash: SHA1 >> >> Gediminas Paulauskas wrote: >>> Hello Zope Developers, >>> >>> I am packagin

Re: [Zope-dev] No license distributed with sources

2010-02-08 Thread Tres Seaver
. > > Who will add a copy of the license to each package in Zope SVN? When? $ wget \ http://pypi.python.org/packages/source/Z/Zope2/Zope2-2.12.3.tar.gz $ tar tzf Zope2-2.12.3.tar.gz | grep -i license Zope2-2.12.3/src/ZServer/medusa/dist/license.html Zope2-2.12.3/ZopePublicLic

Re: [Zope-dev] Zope2 ZMI and HTML5

2010-02-07 Thread Tres Seaver
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Andreas Jung wrote: > Charlie Clark wrote: >> Am 06.02.2010, 21:56 Uhr, schrieb Tres Seaver >> : > >>> You aren't ever going to get ZSQL "migrated" to use ZPT. ZPT is >>> a really poor fit for

Re: [Zope-dev] Zope2 ZMI and HTML5

2010-02-06 Thread Tres Seaver
Folks writing "modern" apps tend to favor non-dynamic SQL anyway (using "placeholder variables") and so would just not use ZSQL. Tres. - -- === Tres Seaver +1 540-429-0999 tsea...@palladion.com Palladion

Re: [Zope-dev] Zope 2.12 and Globals.DevelopmentMode

2010-02-05 Thread Tres Seaver
from App.config import getConfiguration config = getConfiguration() if config.debug_mode: .... Tres. - -- === Tres Seaver +1 540-429-0999 tsea...@palladion.com Palladion Software "Excellence by Des

Re: [Zope-dev] Zope2 ZMI and HTML5

2010-02-05 Thread Tres Seaver
e code to other parts of the codebase to make that easy, even assuming it were desirable. Tres. - -- === Tres Seaver +1 540-429-0999 tsea...@palladion.com Palladion Software "Excellence by Design"http://palladion.com -BEGIN PGP SIGNATURE- Version: GnuPG v

Re: [Zope-dev] Zope2 ZMI and HTML5

2010-02-04 Thread Tres Seaver
ing out DTML support for applications, however. Tres. - -- ======= Tres Seaver +1 540-429-0999 tsea...@palladion.com Palladion Software "Excellence by Design"http://palladion.com -BEGIN PGP SIGNATURE-

Re: [Zope-dev] Legal formalities to accept log and design

2010-01-26 Thread Tres Seaver
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Baiju M wrote: > On Tue, Jan 26, 2010 at 11:08 PM, Tres Seaver wrote: >> -BEGIN PGP SIGNED MESSAGE- >> Hash: SHA1 >> >> Baiju M wrote: >> >>> What about committing SVG (source) file, so that others

Re: [Zope-dev] Legal formalities to accept log and design

2010-01-26 Thread Tres Seaver
ved works" (and therefore must be GPL'ed), unless the "derived work" is covered by the font exception. Tres. - -- ======= Tres Seaver +1 540-429-0999 tsea...@palladion.com Palladion Software &quo

Re: [Zope-dev] Legal formalities to accept log and design

2010-01-26 Thread Tres Seaver
ot;document" (an image) doesn't "embed" the font itself, but merely contains pixels generated by rendering the font. In copyright terms, this is no different than ink on paper printed from metal type: the font author has no claim on the ink / paper as a "derived work" un

Re: [Zope-dev] Legal formalities to accept log and design

2010-01-25 Thread Tres Seaver
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Baiju M wrote: > On Mon, Jan 25, 2010 at 5:14 AM, Tres Seaver wrote: >> -BEGIN PGP SIGNED MESSAGE- >> Hash: SHA1 >> >> Christophe Combelles wrote: >>> Jens Vagelpohl a écrit : >>> On 1/24/10 1

Re: [Zope-dev] Legal formalities to accept log and design

2010-01-24 Thread Tres Seaver
font you use). Or ask for a more permissive (non-copyleft) licence, such as one of the Creative Commons licenses. If neither of those options is available, then I would ask the foundation board for permission to check in the image. [1] http://www.fsf.org/blogs/licensing/20050425novalis [2] http://www.g

Re: [Zope-dev] z3c.password and "failedAttempts" andSessionCredentialsPlugin

2010-01-24 Thread Tres Seaver
the right thing to do: suppose the user reloads the login form for some reason (maybe their browser crashes, whatever). Tres. - -- ======= Tres Seaver +1 540-429-0999 tsea...@palladion.com Palladion Software &q

Re: [Zope-dev] Where is the position of BlueBream in Zope ecosystem ?

2010-01-22 Thread Tres Seaver
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Wichert Akkerman wrote: > On 2010-1-22 18:41, Tres Seaver wrote: >> -BEGIN PGP SIGNED MESSAGE- >> Hash: SHA1 >> >> Wichert Akkerman wrote: >>> On 1/22/10 14:46 , Lennart Regebro wrote: >>>> * B

Re: [Zope-dev] Where is the position of BlueBream in Zope ecosystem ?

2010-01-22 Thread Tres Seaver
oyed ones do use some ZTK packages beyond the bare ZCA parts. e.g. the catalog code, SMTP integration, etc. Tres. - -- === Tres Seaver +1 540-429-0999 tsea...@palladion.com Palladion Software "Excellence by

[Zope-dev] [ZF] Announcement: 2010 Zope Foundation Board Elections and General Meeting

2010-01-22 Thread Tres Seaver
ting/ References - -- [1] http://foundation.zope.org/bylaws/zope_foundation_bylaws.pdf [2] http://stv.sourceforge.net/aboutopenstv [3] http://stv.sourceforge.net/votingmethods/meek Tres. - -- ======= Tres Seaver +1 540-429-0

Re: [Zope-dev] Where is the position of BlueBream in Zope ecosystem ?

2010-01-21 Thread Tres Seaver
d what that > really is :-) I argued early on that there were actually multiple Zope Toolkits, so I am very much in favor of identifying coherent subsets, particularly if that makes it easier to identify the folks / communities of interest attached to them. Tres. - -- ===

Re: [Zope-dev] Where is the position of BlueBream in Zope ecosystem ?

2010-01-21 Thread Tres Seaver
f formal recognition to the "ZCA" / "bicycle seat toolkit" subset, in that those packages are supposed to try harder to keep compatibility with Python 2.4 than the larger set which is the ZTK proper. This de facto recognition is precisely because the ZCA pacakges are already in w

Re: [Zope-dev] Where is the position of BlueBream in Zope ecosystem ?

2010-01-21 Thread Tres Seaver
gly referred to it in the past as the "bicycle seat toolkit." Tres. - -- ======= Tres Seaver +1 540-429-0999 tsea...@palladion.com Palladion Software "Excellence by Design"http://palladion.com

Re: [Zope-dev] Where is the position of BlueBream in Zope ecosystem ?

2010-01-20 Thread Tres Seaver
dencies). Its notions of a view is radically different than a Zope3 view, for instance: in BFG, a view is nearly always just a function or other callable, and only rarely (primarily in migrated code) a class / factory taking context and request and returning a "view object." In 2010, *none*

Re: [Zope-dev] [BlueBream] Request for a mailing list

2010-01-18 Thread Tres Seaver
ould prefer bluebr...@zope.org > And I would prefer the mailman admin user as mbaiju AT zeomega.com Done: you are good to go. Tres. - -- ======= Tres Seaver +1 540-429-0999 tsea...@palladion.com Palladion Software "Exc

Re: [Zope-dev] New Zope2 releases available

2010-01-14 Thread Tres Seaver
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Tres Seaver wrote: > Charlie Clark wrote: >> Am 14.01.2010, 17:12 Uhr, schrieb Hanno Schlichting : > >>> I meant to upload a new egg for that myself, but got into problems >>> with my new build box and pywin32. I

Re: [Zope-dev] New Zope2 releases available

2010-01-14 Thread Tres Seaver
2 egg: you are going to get "latest" packages instead of the ones tracked by the KGS if you just 'easy_install Zope2'. Tres. - -- === Tres Seaver +1 540-429-0999 tsea...@palladion.com Palladion Software "

Re: [Zope-dev] Preparing a new release for zope.sendmail

2010-01-13 Thread Tres Seaver
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Fabio Tranchitella wrote: > Hello, > > * 2010-01-13 01:41, Tres Seaver wrote: >> The 3.7.0 version breaks Zope 2.12, which still expects to be able to >> import QueueProcessorThread from the old location. I worked around t

[Zope-dev] New Zope2 releases available

2010-01-12 Thread Tres Seaver
made only on the Python Package Index server, aka "PyPI" or "the Cheeseshop." Tres. - -- === Tres Seaver +1 540-429-0999 tsea...@palladion.com Palladion Software "Excellence by Design"http://palladion.com -BEGIN

Re: [Zope-dev] Preparing a new release for zope.sendmail

2010-01-12 Thread Tres Seaver
ProcessorThread from the old location. I worked around the problem for the moment by pinning 'zope.sendmail<3.7.0', but it seems to me that the BBB import should be kept (likely forever). Tres. - -- === Tres Seaver

Re: [Zope-dev] Where best to intercept a request to send a 304 response in Zope 2

2010-01-06 Thread Tres Seaver
was trying really hard back in 1996. ;) > but so long as the exception is actually called NotModified, it > works. Setting it explicitly doesn't, since it gets overridden. You can "lock" the status and body of the response, which causes subsequent attempts to set them to fail silent

Re: [Zope-dev] SVN: five.pt/trunk/ Fixed a calling convention oddity.

2010-01-05 Thread Tres Seaver
m_self is None: > -im_self, args = args[0], args[1:] > +im_self = im_self > else: > im_self = aq_base(self.im_self) > if IAcquirer.providedBy(im_self): That can't be right: the if clause is a no-op. And

Re: [Zope-dev] SVN: Zope/branches/2.12/ Fixed possible TypeError while sending multipart emails.

2010-01-05 Thread Tres Seaver
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Tres Seaver wrote: > Maurits van Rees wrote: >> Log message for revision 107689: >> Fixed possible TypeError while sending multipart emails. > >> Changed: >> U Zope/branches/2.12/doc/CHANGES.rst >> U Zope

Re: [Zope-dev] SVN: Zope/branches/2.12/ Fixed possible TypeError while sending multipart emails.

2010-01-05 Thread Tres Seaver
st.py > U Zope/branches/2.12/src/Products/MailHost/tests/testMailHost.py Is this fix already on the trunk? Tres. - -- ======= Tres Seaver +1 540-429-0999 tsea...@palladion.com Palladion Software "Exc

Re: [Zope-dev] zope.publisher 3.12 broke 25 zope.app packages

2010-01-05 Thread Tres Seaver
e watchman on the battlements: seeing something break in its daily summary mail is usually the first warning I have that a checkin broke something. I would be glad to see other configurations sending their test results to that list, so that everybody gets notified about breakage. Tres. -

Re: [Zope-dev] zope.security dependency on zope.exceptions

2010-01-05 Thread Tres Seaver
zope.exceptions only make sense if you are checking the exception > type importing its interface from the zope.exceptions package, and thus > depending on it, I see no risk in such a change. > > Thoughts? Comments? +1. I wouldn't have thought zope.security useful elsewhere, b

Re: [Zope-dev] shrinking the ZTK: a proposed solution

2010-01-05 Thread Tres Seaver
oolkit. I never said that I wouldn't listen to feedback from consumers of zopeapp who discovered a problem introduced by a change in the ZTK. In fact, I have said repeatedly that I want real users report such problems, and would gladly help those developers deal with them. What I don&

Re: [Zope-dev] shrinking the ZTK: a proposed solution

2010-01-05 Thread Tres Seaver
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Martijn Faassen wrote: > Hey Tres, > > > Tres Seaver wrote: > >> You're kidding, right? > [snip] >> My self-interest? Not really: you are appealing to my altruism, in the >> fact that I care about the *br

Re: [Zope-dev] shrinking the ZTK: a proposed solution

2010-01-05 Thread Tres Seaver
think we have a buildbot for it. > > http://dev.thehealthagency.com/buildbot/waterfall > > But I do see that Python 2.4 has a failed test, so we do need to fix that. Which job? There are a bunch of red ones, as well as a bunch of offlines. A waterfall which doesn't stay

Re: [Zope-dev] New Zope 3 name: BlueBream

2010-01-04 Thread Tres Seaver
any part of framework code by itself. All the framework > code will be in "zope" and "zope.app" namespaces. I like it! I only wish we'd thought of it eight years ago, when we first started hacking on the thing we mistakenly called "Zope 3". Tres. - --

Re: [Zope-dev] shrinking the ZTK: a proposed solution

2010-01-04 Thread Tres Seaver
s (e.g., Baiju's BlueBream takes off, or if another Z3-based app ports to using it), that will make supporting zopeapp's needs a reasonable request, simliar to supporting Plone via Zope2. Until people organize such a community of interest around the zopeapp set (or some other grouping), we don

Re: [Zope-dev] SVN: Zope/branches/2.10/doc/CHANGES.txt - fixed improper usage of the IF_MODIFIED_SINCE header inside

2009-12-30 Thread Tres Seaver
Five/browser/resource.py > + > + >Zope 2.10.10 (2009/12/22) No fix for this issue has landed yet on the 2.10 branch. Tres. - -- === Tres Seaver +1 540-429-0999 tsea...@palladion.com Palladion Software

Re: [Zope-dev] SVN: Zope/branches/2.11/ - Fixed improper handling of IF_MODIFIED_SINCE header

2009-12-30 Thread Tres Seaver
branches/2.11/lib/python/Products/Five/browser/resource.py What, no test? How do you know you got the speling right? And why use 'request.environ.get()' instead of the original OFS.Image spelling, 'request.get_header()'? Tres. - -- ===

Re: [Zope-dev] removing zope.app from the ZTK

2009-12-29 Thread Tres Seaver
ly timeline that's needed is the order of the commits. > > If there's anyone who wants to maintain the new bastard-stepchild, > they're free to step forward. There's no obligation on the part of > the ZTK maintainers to do that, nor should there be. > > That'

Re: [Zope-dev] removing zope.app from the ZTK

2009-12-29 Thread Tres Seaver
ing to this group, and will likely only be maintained by this group. - - Potential future users of the zope.app packages? Removing them from the ZTK is actually beneficial to those users, because it signals their relatively narrow focus and usefulness, as well as removing any implied pr

Re: [Zope-dev] removing zope.app from the ZTK

2009-12-29 Thread Tres Seaver
(nonsensical) BBB for nameless users, I would be in favor of just copying Hanno's version of the ZTK config into the Zope2 tree and have Zope2 ignore the ZTK per-se. Tres. - -- === Tres Seaver +1 540-429-0999 tsea...@palladion.com Palladion Software "Excellence by

Re: [Zope-dev] removing zope.app from the ZTK

2009-12-29 Thread Tres Seaver
that at all. You seem to be worried that the removed packages will bitrot because they aren't part of the ZTK: going forward, that may in fact be so, but *only if they aren't being used by people who also track the ZTK*, in which case their removal has harmed no one. Tres. - -- ==

Re: [Zope-dev] removing zope.app from the ZTK

2009-12-29 Thread Tres Seaver
ason for you not to do that. But it should separate from > the ZTK. +1. 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.9 (GNU/Li

Re: [Zope-dev] Top-level namespace package for Zope 2 ?

2009-12-29 Thread Tres Seaver
ges >> to a top-level namespace package. I mean something similar to: >> "zope.app.*", "grokcore.*", "repoze.bfg.*" ? > > One more example: "plone.app."" No, it would not be useful. The BBB damage would be catastrophic. Tres.

Re: [Zope-dev] Zope Toolkit - packages with zope.app dependencies

2009-12-29 Thread Tres Seaver
going to add the zope.app.* packages back to the > ZTK until we've had a proper discussion about how, as a Zope community, > we go forward with this. Delegating this responsibility *separately* to > sub projects is just plain silly. You are treading on very dangerous ground h

Re: [Zope-dev] Zope Toolkit - packages with zope.app dependencies

2009-12-28 Thread Tres Seaver
adication in Zope2, as well. CMF is nearly zope.app free (one remaining testing dependency). Tres. - -- === Tres Seaver +1 540-429-0999 tsea...@palladion.com Palladion Software "Excellence by Design"htt

Re: [Zope-dev] SVN: Zope/trunk/ Moved zope.formlib / zope.app.form integration into a separate package called five.formlib.

2009-12-27 Thread Tres Seaver
" crew to keep using it, while not taxing the mainstream (and the core developers) to support them. Given that 2.13 is unlikely to be out before Q3 of 2010, how hard is it going to be for folks to catch up, anyway? Plone 4 will ship on top of 2.12, Plone 5 is already a more radical

Re: [Zope-dev] Zope 2: circular import

2009-12-27 Thread Tres Seaver
DTML). Or just put it in a module / package in the Zope2 distribution's 'src' directory. While we're at it, the circular import between ZServer and ZPublisher is insane, too. Tres. - -- === Tres Seaver +1 54

Re: [Zope-dev] SVN: Zope/trunk/ Moved zope.formlib / zope.app.form integration into a separate package called five.formlib.

2009-12-27 Thread Tres Seaver
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hanno Schlichting wrote: > On Sun, Dec 27, 2009 at 6:55 AM, Tres Seaver wrote: >> Hanno Schlichting wrote: >>> Log message for revision 107134: >>> Moved zope.formlib / zope.app.form integration into a separate packa

Re: [Zope-dev] SVN: Zope/trunk/ Moved zope.formlib / zope.app.form integration into a separate package called five.formlib.

2009-12-26 Thread Tres Seaver
o. 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.9 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://

Re: [Zope-dev] Zope Toolkit - packages with zope.app dependencies

2009-12-26 Thread Tres Seaver
e more useful if there is one canonical >> implementation that "everyone" can depend on - if different consumers >> of the ZTK end up inventing their own approach to this use case, that >> will likely detract from cross-framework reuse > > Sure. It should be

Re: [Zope-dev] Zope2 and WSGI

2009-12-22 Thread Tres Seaver
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Martin Aspeli wrote: > Tres Seaver wrote: > >> After a question on the repoze list about running Zope 2.12.x behind a >> WSGI server, I went to try that out. I came up with a minimal .wsgi >> file to run behind mod_wsgi::

Re: [Zope-dev] Zope2 and WSGI

2009-12-22 Thread Tres Seaver
l stack" behavior (error handling, transaction / retry integration) to middleware. The guts of this can be lifted from repoze.zope2.z2bob. Document using this lighter- weight publisher. Tres. - -- === Tres Seaver

Re: [Zope-dev] zope.testing.doctestunit and BBB

2009-12-22 Thread Tres Seaver
me day. As a side deficit, using the C proxy totally wrecks ano chance of using the package on non CPython. Tres. - -- ======= Tres Seaver +1 540-429-0999 tsea...@palladion.com Palladion Software "Excellence by

Re: [Zope-dev] Zope Tests: 5 OK, 1 Unknown

2009-12-19 Thread Tres Seaver
.org/pypi/zLOG Network burp? Tres. - -- === Tres Seaver +1 540-429-0999 tsea...@palladion.com Palladion Software "Excellence by Design"http://palladion.com -BEGIN PGP SIGNATURE- Version: GnuP

Re: [Zope-dev] How to automatically poke Zope2 on slow requests

2009-12-18 Thread Tres Seaver
data so that you can correlate with the traced requests. Tres. - -- ======= Tres Seaver +1 540-429-0999 tsea...@palladion.com Palladion Software "Excellence by Design"http://palladion.com -BEGIN PGP S

Re: [Zope-dev] Copyright header change script ready

2009-12-18 Thread Tres Seaver
Corporation and contributors, not adding on a new one: they have transferred all those copyrights to the foundations. We also want to leave the dates alone (dates should only change when separately-copyrightable changes are made to the module). Tres. - -- ======

Re: [Zope-dev] A summary of "Interfaces vs ZCA concepts"

2009-12-18 Thread Tres Seaver
e by far: > "you probably want to plug in a real implementation here." Then if > there is a need for the proposed default implementation, it can be > provided as a plugin by some other package, right? The same argument applies in your case: you could plug in your own wrapper

Re: [Zope-dev] Interfaces vs ZCA concepts

2009-12-18 Thread Tres Seaver
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Martijn Faassen wrote: > Hey, > > Tres Seaver wrote: > [let's not suddenly change the behavior of __call__ for backwards > compatibility reasons] > >> If so, that code is already broken: it depends on an undocumented &

Re: [Zope-dev] Interfaces vs ZCA concepts

2009-12-18 Thread Tres Seaver
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Thomas Lotze wrote: > Martijn Faassen wrote: > >> Hey, >> >> Tres Seaver wrote: >> [snip] >>> Any code today which wants a utility is calling 'getUtilty' (if it >>> *knows* the utility must b

Re: [Zope-dev] Interfaces vs ZCA concepts

2009-12-18 Thread Tres Seaver
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Martijn Faassen wrote: > Tres Seaver wrote: >> -BEGIN PGP SIGNED MESSAGE- >> Hash: SHA1 >> >> Martin Aspeli wrote: >>> Tres Seaver wrote: >>> >>>> In either case, I think TypeError (or

Re: [Zope-dev] Interfaces vs ZCA concepts

2009-12-16 Thread Tres Seaver
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Martin Aspeli wrote: > Tres Seaver wrote: > >> In either case, I think TypeError (or maybe LookupError) is the *right* >> choice: we don't want to "hide" zope.component's API functions and then >

Re: [Zope-dev] Compression format for ZTK packages

2009-12-16 Thread Tres Seaver
he packages we make can be installed on all supported platforms. Tres. - -- === Tres Seaver +1 540-429-0999 tsea...@palladion.com Palladion Software "Excellence by Design"http://palladion.com -BEGIN PGP SIGNATURE- Version: GnuPG

Re: [Zope-dev] Compression format for ZTK packages

2009-12-16 Thread Tres Seaver
body else, the distinction is meaningless. 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.9 (GNU/Linux) Com

Re: [Zope-dev] Interfaces vs ZCA concepts

2009-12-16 Thread Tres Seaver
ng >> that is sneaking from zope.component into zope.component. > > Let's deprecate 'alternate' and introduce 'default' then. Might actually > make the deprecation more easy.. Note that Interface.__call__ is not documented at all as an API:: $ grep __call

Re: [Zope-dev] Interfaces vs ZCA concepts

2009-12-16 Thread Tres Seaver
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Martin Aspeli wrote: > Tres Seaver wrote: >> Martin Aspeli wrote: >>> zope.component raises TypeError if you can't adapt. It raises >>> ComponentLookupError it can't find a utility. >> Not so: see $Z

Re: [Zope-dev] Interfaces vs ZCA concepts

2009-12-15 Thread Tres Seaver
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Martin Aspeli wrote: > Tres Seaver wrote: > >>>> * The hook invokes the `query*` functions to play nice with any other >>>>component hooks and the interface methods raise a TypeError if all of >>>> th

Re: [Zope-dev] SVN: zopetoolkit/trunk/ztk.cfg Include distribute, so we can use it in presence of the allow-picked-versions=false

2009-12-15 Thread Tres Seaver
> ClientForm = 0.2.10 > +distribute = 0.6.10 > docutils = 0.5 > infrae.subversion = 1.4.5 > Jinja2 = 2.1.1 I'm not so sure that we want to push distribute into the ZTK dependencies: can you explain that more clearly? Tres. - -- ====

Re: [Zope-dev] Interfaces vs ZCA concepts

2009-12-15 Thread Tres Seaver
int of view. >> >> What do people think of this? > > I'm +1 on this general approach. Implementation in zope.component, and > inject it into zope.interface during import time. Not at import time, please: better to have this happen during startup (e.g., just before bootstrappi

Re: [Zope-dev] Interfaces vs ZCA concepts

2009-12-15 Thread Tres Seaver
ally contemplated replacing the current adapter hook with a more generic hook: the __call__ of interface would delegate to this hook for its semantics. Given that the choice to use __call__ is not widely enough accepted, I think something like your solution makes sense. I'm not sure th

Re: [Zope-dev] Zope2 book: who ripped out the docs on using ExternalMethods?

2009-12-14 Thread Tres Seaver
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Tres Seaver wrote: > Tres Seaver wrote: >> There used to be a section in the "Advanced Zope Scripting" chapter >> which documented using External Methods: why is it gone now? > > Looks like Hanno did this in r9656

Re: [Zope-dev] Zope2 book: who ripped out the docs on using ExternalMethods?

2009-12-14 Thread Tres Seaver
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Tres Seaver wrote: > There used to be a section in the "Advanced Zope Scripting" chapter > which documented using External Methods: why is it gone now? Looks like Hanno did this in r96569, 2009-02-15. I'm planning to revert the

[Zope-dev] Zope2 book: who ripped out the docs on using ExternalMethods?

2009-12-14 Thread Tres Seaver
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 There used to be a section in the "Advanced Zope Scripting" chapter which documented using External Methods: why is it gone now? Tres. - -- === Tres Seaver +1 54

Re: [Zope-dev] Possible Zope 2.12 regression - Five page templates use restrictedTraverse for TAL

2009-12-14 Thread Tres Seaver
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Martin Aspeli wrote: > On 13/12/09 16:49, Martin Aspeli wrote: >> On 13/12/09 10:52, Tres Seaver wrote: >> >>> Doesn't smell like a regression to me: the code there hasn't changed in >>> a good long while.

Re: [Zope-dev] Possible Zope 2.12 regression - Five page templates use restrictedTraverse for TAL

2009-12-12 Thread Tres Seaver
17, in __call__ >Module Products.PageTemplates.Expressions, line 127, in _eval >Module zope.tales.expressions, line 124, in _eval >Module Products.PageTemplates.Expressions, line 76, in > boboAwareZopeTraverse >Module OFS.Traversable, line 312, in restrictedTrav

Re: [Zope-dev] [Python-Dev] Unittest/doctest formatting differences in 2.7a1?

2009-12-11 Thread Tres Seaver
or 12 or 18 months > later. :) > > Cc:ing zope-dev for opinions. +1 in general to the idea: we should be able to put together a "buildcompat"-style buildout which would be autoamatable under buildbot. Tres. - -- =========

Re: [Zope-dev] Get rid of doctest.py in zope.testing? (Was: Bootstrapping ZCA for Python 3.)

2009-12-07 Thread Tres Seaver
7 beta is out now, so it's pretty urgent. Its an alpha, not a beta. http://www.python.org/download/releases/2.7/ says: "Python 2.7 alpha 1 was released on December 5th, 2009." Tres. - -- === Tres Seaver

Re: [Zope-dev] Zope Tests: 4 OK, 2 Unknown

2009-12-05 Thread Tres Seaver
Has somebody been doing nasty stuff like removing releases on PyPI? Tres. - -- === Tres Seaver +1 540-429-0999 tsea...@palladion.com Palladion Software "Excellence by Design"http://palladion.com -BEGIN PGP SIG

Re: [Zope-dev] zope.testing.testrunner.debug.post_mortem and try/finally

2009-12-02 Thread Tres Seaver
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Ross Patterson wrote: > Tres Seaver writes: > >> Are you using try:...finally:... inside your testcase methods? If so, >> why not just move the cleanup invocation into your 'tearDown' for the >> testcase class:

Re: [Zope-dev] zope.testing.testrunner.debug.post_mortem and try/finally

2009-12-02 Thread Tres Seaver
for the testcase class: at that point, the '-D' option to the testrunner will stop you at the error, with the tearDown not yet called. Or are you doing this in doctests? If so, move the code you are testing into a real testing framework. ;) Tres. - -- =

Re: [Zope-dev] Need help

2009-12-01 Thread Tres Seaver
instance > somewhere so that I can use it from any module in my zope product. I disagree on the need to use a global: you should just be able to call 'logging.getLogger("yourapp")' and use the instance which comes back. Tres. - --

Re: [Zope-dev] summary of discussion was: adapter vs factory Re: implementing zope.component 4.0

2009-12-01 Thread Tres Seaver
object: if it implements (rather than provides) the interface, then call it, otherwise just return it. Folks who use factories which don't declare what they implement would need to adjust if we adopt this approach. Tres. - -- === Tres Seave

Re: [Zope-dev] singleton vs. utility (was Re: implementing zope.component 4.0)

2009-12-01 Thread Tres Seaver
red as utilities from ZCML / imperative code: even that term is inaccurate once persistent objects get registered. [1] See the description of the Singleton pattern in the mother-of-all-wikis: http://www.c2.com/cgi/wiki?SingletonPattern Tres. - -- ==

<    3   4   5   6   7   8   9   10   11   12   >