Ted Leung on the air
Ted Leung on the air: Open Source, Java, Python, and ...
Ted Leung on the air: Open Source, Java, Python, and ...
Fri, 19 Dec 2003
Python refactoring recommendations wanted
I've been working on some test code as a way of learning my way around the Chandler repository. Needless to say the code has improved as my grasp of the system has improved. This afternoon I spent a bunch of time refactoring some of my old test code, and for the first time I found myself wishing for Eclipse. The implementation of refactoring there is really useful (Eclipse 3.0M6 came out today BTW). So I'm looking for recommendations of Python tools, particularly regarding refactoring. Up to now, I've been using good old Emacs, which has been serving fine, but I'm always on the lookout for more leverage. I know about WingIDE, which has some nice features (I had an open source license on Linux for doing pyblosxom work) -- I just figured out that I need to run X11 to get it work on the Mac, so I'll be trying that. I've also experimented with pyCrust, but find it be be quite sluggish, and it doesn't refactor. I've read about Bicycle Repair Man, but haven't tried it. Are there others I should be looking at?
[23:50] |
[computers/programming/python] |
# |
TB |
F |
G |
3 Comments |
Refactoring isn't as big in the Python world as, say, in Java so you won't find a huge amount out there. Bicycle repair main is about it for specific tools.
I'm very impressed with the refactoring tools in Eclipse and would relish the chance to use them on my Python code but that isn't quite possible yet. If you use the Python plugin you can edit your Python projects in Eclipse, but the refactoring tools aren't available.
Posted by Andy Todd at Sat Dec 20 01:05:03 2003
I'm very impressed with the refactoring tools in Eclipse and would relish the chance to use them on my Python code but that isn't quite possible yet. If you use the Python plugin you can edit your Python projects in Eclipse, but the refactoring tools aren't available.
Posted by Andy Todd at Sat Dec 20 01:05:03 2003
Bicycle repair man is pretty much it right now.
It gives you renames, extract method and finding definitions/uses so far. It has been experimentally incorporated into Idle, vim, emacs, Boa and Eric3 I think.
Unfortunately Phil has stopped working on it for the moment and it is a bit of a one man show. If anyone wanted to help out I'm sure he would appreciate it (I don't grok python well enough yet).
Tom
Posted by Tom at Sat Dec 20 07:47:06 2003
It gives you renames, extract method and finding definitions/uses so far. It has been experimentally incorporated into Idle, vim, emacs, Boa and Eric3 I think.
Unfortunately Phil has stopped working on it for the moment and it is a bit of a one man show. If anyone wanted to help out I'm sure he would appreciate it (I don't grok python well enough yet).
Tom
Posted by Tom at Sat Dec 20 07:47:06 2003
FWIW, someone ported chaper 1 of Fowler to Python.
Not a tool, per se, but maybe an interesting read and/or starting point for porting Java tools or using Java-oriented books and articles.
P.S. You should have a "preview" button so we can make sure the wiki-style formatting works how we expect.
Posted by Joe Grossberg at Thu Dec 25 14:07:39 2003
Not a tool, per se, but maybe an interesting read and/or starting point for porting Java tools or using Java-oriented books and articles.
P.S. You should have a "preview" button so we can make sure the wiki-style formatting works how we expect.
Posted by Joe Grossberg at Thu Dec 25 14:07:39 2003
You can subscribe to an RSS feed of the comments for this blog:
Add a comment here:
You can use some HTML tags in the comment text:
To insert a URI, just type it -- no need to write an anchor tag.
Allowable html tags are:
You can also use some Wiki style:
URI => [uri title]
<em> => _emphasized text_
<b> => *bold text*
Ordered list => consecutive lines starting spaces and an asterisk
To insert a URI, just type it -- no need to write an anchor tag.
Allowable html tags are:
<a href>
, <em>
, <i>
, <b>
, <blockquote>
, <br/>
, <p>
, <code>
, <pre>
, <cite>
, <sub>
and <sup>
.You can also use some Wiki style:
URI => [uri title]
<em> => _emphasized text_
<b> => *bold text*
Ordered list => consecutive lines starting spaces and an asterisk