Re: [Boa Constr] SyntaxError: unexpected EOF while parsing
Status: Beta
Brought to you by:
riaan
From: Hans-Peter J. <hp...@ur...> - 2002-03-21 20:52:01
|
On Thursday, 21. March 2002 20:38, Terrel Shumway wrote: > On Wed, 2002-03-20 at 20:34, Bell John wrote: > > Terrel, > > > > This is just the old Microsoft line termination > > artifact. Hence you should run dos2unix against all > > files in Boa other than the image files and .zexp > > files. > > Shouldn't we fix the parser to handle the common line-endings? > > Otherwise, this will continue to be a problem for people who use boa on > a shared networked filesystem. I assume that there will be many who use > boa *because* it is cross-platform. Not sure about this one. Well, I'm using Boa under wxGTK 2.3.2.1 in a diskless environment, and, besides of using python Boa.py|Help.py, no problems here in this domain. I'm using Python 2.1 and autoReindent = true. > My suggestion (unit tests and code will follow): > a) create a wrapper for wxConfig that will handle '\r|\r\n|\n' as a > line ending (short-term solution, until b is done) > or > b) patch the wxWindows code that parses the config file. Cheers, Hans-Peter |