[Zope3-dev] Re: SVN: Zope3/trunk/src/zope/component/README.txt
prompt was missing
E. Frerich
e.frerich at nord-com.net
Wed Feb 23 10:14:16 EST 2005
Hello Philipp,
- until now I didn't have a config file. Thank for your help. I'll checkin some other txt-
files so Philipp please check these files if the line endings are correct.
- I added the prompt because there was an ugly error if you read the README.txt
with the new bookmodule in apidoc
- I would prefer that Zope3 needs now Python 2.4. Then we can use the new builtin
decimal.
Egon
Am 23 Feb 2005 um 2:36 hat Philipp von Weitershausen geschrieben:
> Egon Frerich wrote:
> > Log message for revision 29249:
> > prompt was missing
> >
> > Changed:
> > U Zope3/trunk/src/zope/component/README.txt
>
> Egon, you added Windows line endings to this file, which wasn't your
> fault because the svn:eol-style property wasn't set on this file. I
> just want to take this opportunity to remind everyone:
>
> Please make sure that your ~/.subversion/config file has auto-props
> enabled and svn:eol-style="native" set for Python files, text files,
> Page Templates and ZCML files. It should look something like this:
>
> enable-auto-props = yes
>
> [auto-props]
> *.py = svn:eol-style=native
> *.txt = svn:eol-style=native
> *.pt = svn:eol-style=native
> *.zcml = svn:eol-style=native
>
> > +(In Python 2.4, the example can be written:
> > +
> > + >>> @zope.interface.implementer(IJob)
> > + @zope.component.adapter(IPerson)
> > + def personJob(person):
> > + return getattr(person, 'job', None)
>
> The actual change to the file, however, was your fault. The Python 2.4
> example was never meant to be executed since the decorator syntax
> simply doesn't work on Python 2.3. Python 2.3 is still a supported
> platform so tests need to pass with it.
>
> Philipp
More information about the Zope3-dev
mailing list