On Fri, Jul 26, 2013 at 7:25 AM, Hua Xiang <[email protected]> wrote:

> Hi! devs,
>
> Apologize for the trouble.
> I am using PyScripter, as Joe says "PyScripter creates the changes by
> trimming
> trailing white spaces<
> https://www.google.co.uk/search?q=pyscripter+trailing+spaces&oq=pyscripter+trailing+spaces&aqs=chrome.0.69i57j69i60.5419j0&sourceid=chrome&ie=UTF-8#sclient=psy-ab&q=pyscripter+trim+trailing+spaces&oq=pyscripter+trim+trailing+spaces&gs_l=serp.3...134352.134992.0.135206.5.5.0.0.0.3.215.815.0j1j3.4.0....0.0..1c.1.20.psy-ab.27nDEBjyY7Y&pbx=1&bav=on.2,or.r_qf.&bvm=bv.49784469%2Cd.cGE%2Cpv.xjs.s.en_US.MpiVkF51mpA.O&fp=79a2a23189da394e&biw=1200&bih=1825
> >,
> ie a space or tab at the end of lines or a space or tab in an empty line.
> It does that the moment you open a file", whitespaces would be committed
> with the changes.
>

You might look into whether "strip trailing whitespace on save" is an
option that can be turned off for your editor. However, I propose that we
should clean up our codebase and remove trailing whitespace so that we
don't have problems like this. Let me look into that. The trac/ directory
shouldn't have many of these problems since the codebase was cleaned up
before the release of 1.0.1 [1].


> Any suggestions to avoid this happen? And, may I ask how do you generate
> codes, devs?
>

I use PyCharm and Vim.

[1] http://trac.edgewall.org/changeset/11490

Reply via email to