Hedley Roos wrote:
Chris mentioned unit tests. You do not have to write a new unit test.
What is required is to have a look at the tests and then identify one
that is relevant to your problematic method. This test should be very
easy to read. The hard part is for you to expand this test to
Benji York wrote:
On Fri, Dec 19, 2008 at 1:03 PM, Chris Withers ch...@simplistix.co.uk wrote:
Hi Guys,
Line 396 of doctest.py contains code which is, at best,
platform-specific (and so a bug) or, more likely, irrelevent.
Line 396 of doctest.py from zope.testing 3.7.1 doesn't include a
Shane Hathaway wrote:
Chris Withers wrote:
Now, you could, for example, then do:
IFieldType([])
...which should return None.
I don't understand your example: what is a field type,
It's a shortened naem for Type of Field Value, as I said, it could
arguably be called IFieldValue, or
Alec Mitchell wrote:
class IFieldType(Interface):
def __call__(self,*args,**kw):
r = Interface.__call__(*args,**kw)
if r is empty:
return None
return r
I suspect this would work with the python implementation of Interface,
but it certainly
Hi Martijn
Betreff: Re: [Zope-dev] Deprecate ITerms in zope.app.form?
[Re:zope.browser?]
Hey there,
Roger Ineichen wrote:
[snip]
I don't like that. Probably we should use the existing devmode or
something like that? Devmode whould allow us to use it at
runtime and
during
Chris Withers wrote:
This is all interesting discussion, but I'd *really* like to know why
subclassing an interface when the C-based implentation is in use doesn't
work.
Does *anyone* actually know the answer to this?
(rather than avoiding it by trying to make the problem something else
Martijn Faassen wrote:
Besides an
import checker you'd need a system that would be able to thrawl through
a ZODB and report deprecated classes. The drawback is that it'd need to
thrawl through a ZODB, so that's rather costly.
Thrawl = thrashing crawl? Never heard that word before, but
Shane Hathaway wrote:
Martijn Faassen wrote:
Besides an
import checker you'd need a system that would be able to thrawl through
a ZODB and report deprecated classes. The drawback is that it'd need to
thrawl through a ZODB, so that's rather costly.
Thrawl = thrashing crawl? Never heard