On Apr 6, 2004, at 10:23 AM, Jason Hildebrand wrote:
Probably the biggest hindrance to this has been CVS, because it doesn't let you move files around. Is it possible to avoid losing the CVS log for all the files which move? Should we consider switching to the subversion repository which Ian has set up on the new server?
Crap. I had no idea there was already a SVN repository setup. I created my own. Where is the svn repository for Webware? I can't seem to find a reference to it in my mailing list archives.
I guess my email got caught because I sent it from the wrong address, and just now appeared. I guess I wasn't paying much attention ;)
It's at svn://w4py.org/
Are there any style guidelines I should be following while I modify the code?
Yes. See http://webware.sourceforge.net/Webware/Docs/StyleGuidelines.html
Any problem with converting the whole thing to spaces? I'm like Ian Bicking - I really hate tabs and I think most of the Python community uses spaces as well.
I'm using vim with sw=4, ts=4, expandtab as my indentation settings.
For what it's worth, the anti-tab people never, ever will be convinced. I think we deserve to win out of sheer persistence. Using Emacs I have to keep my tabs at eight spaces, which makes the Webware code look especially ugly (especially since almost all code is indented at least two tabs to start with).
From PEP 8, the style guidelines:
Indentation
Use the default of Emacs' Python-mode: 4 spaces for one indentation level. For really old code that you don't want to mess up, you can continue to use 8-space tabs. Emacs Python-mode auto-detects the prevailing indentation level used in a file and sets its indentation parameters accordingly.
Tabs or Spaces?
Never mix tabs and spaces. The most popular way of indenting Python is with spaces only. The second-most popular way is with tabs only. Code indented with a mixture of tabs and spaces should be converted to using spaces exclusively. (In Emacs, select the whole buffer and hit ESC-x untabify.) When invoking the python command line interpreter with the -t option, it issues warnings about code that illegally mixes tabs and spaces. When using -tt these warnings become errors. These options are highly recommended!
For new projects, spaces-only are strongly recommended over tabs. Most editors have features that make this easy to do. (In Emacs, make sure indent-tabs-mode is nil).
------------------------------------------------------- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click _______________________________________________ Webware-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/webware-devel