On 3/9/06, Einar Næss Jensen <[EMAIL PROTECTED]> wrote:
>
>
>
> On 3/9/06, Brian Sullivan <[EMAIL PROTECTED]> wrote:
> >
> On 3/9/06, Dieter Maurer <[EMAIL PROTECTED]> wrote:
> > Chris Withers wrote at 2006-3-9 08:10 +0000:
> > > ...
> > >Really? I find that pretty suprising. Python has never cared about line
> > >endings before and I'd be pretty mortified if it started now :-(
> > >
> > >Dieter?
> >
> > It does now -- at least for "FSPythonScripts" when you are on a *nix
> > platform and your files contain DOS lineends.
> >
> >  You then will get (starting with Python 2.4) SyntaxErrors
> >  at line ends.
> >
> > Of course, things are different when you are on a Windows platform
> > and your files contain DOS lineends...
> >
>
> Different in what way?
>
> I was experiencing difficulty on a Windows platform. The scripts in
> question have never seen anything other than Windows.
>
> Are you indicating that the line end issue is not what I was experiencing?
> _______________________________________________
>
> My guess is that it would be difficult to say anything about that without
> any errormessages?
> What did it say in your line 3, and what made you look there?
>


Something like:

invalid syntax (Script (Python), line 3)

(in a pink box when the script was opened for editing via the ZMI)

Since I saved the script and the problem went away I can't be totally sure.
_______________________________________________
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists -
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope-dev )

Reply via email to