Rocky wrote:
On Feb 5, 5:40 pm, Jens Vagelpohl <[EMAIL PROTECTED]> wrote:
On 5 Feb 2007, at 19:43, Rocky Burt wrote:
On Feb 2, 4:41 pm, Jens Vagelpohl <[EMAIL PROTECTED]> wrote:
OK, sounds good, I misunderstood your email. I suppose the last bit
left to do now is the custom site manager. Rocky? :)
Yep, looks like I'll be starting on five.localsitemanager pretty
soon.  Although I didn't see if we decided anywhere how that would get
included with CMF (with plone it's pretty simple as we already
distribute python/lib stuff).
Not knowing any better I was assuming there'd be a Zope 2-style
product, which we could pull in as a SVN external?

Hm... well, as long as I avoid absolute imports in
five.localsitemanager there's no reason it couldn't be included into a
CMF product (perhas CMFCore ?) via svn:externals.

Please don't. Relative imports are evil. It's seriously a big wart in Python 2 and will thankfully be fixed in Python 3. Until then I can only recommend absolute imports everywhere. Yes, they're more to type, but at least I've been bitten too often.

That's not
something I'm particularly fond of but I'm not against it.

But as time moves on this is going to become more and more of an issue
for CMF (code that isn't expected to live in Products/).


-- -- Professional Zope documentation and training
Next Zope 3 training at Camp5:

Zope-CMF maillist  -

See for bug reports and feature requests

Reply via email to