By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
454,510 Members | 1,801 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 454,510 IT Pros & Developers. It's quick & easy.

Refactoring in Python.

P: n/a

I am trying to write Master Thesis on refactoring Python code.

Where should I look for information?

--
http://www.dembiński.prv.pl
Jul 19 '05 #1
Share this Question
Share on Google+
9 Replies


P: n/a

Peter> I am trying to write Master Thesis on refactoring Python code.

Peter> Where should I look for information?

I'm not sure, but one piece of code to check out would probably be Bicycle
Repair Man, a early-stage prototype refactoring tool for Python. I don't
recall where it's hosted. Google will know.

Skip

Jul 19 '05 #2

P: n/a
djw
Skip Montanaro wrote:
Peter> I am trying to write Master Thesis on refactoring Python code.

Peter> Where should I look for information?

I'm not sure, but one piece of code to check out would probably be Bicycle
Repair Man, a early-stage prototype refactoring tool for Python. I don't
recall where it's hosted. Google will know.

Skip

If you install Eric3, its included.

-Don
Jul 19 '05 #3

P: n/a
Skip Montanaro <sk**@pobox.com> writes:
Peter> I am trying to write Master Thesis on refactoring Python
Peter> code. Where should I look for information?

I'm not sure, but one piece of code to check out would probably
be Bicycle Repair Man, a early-stage prototype refactoring tool
for Python. I don't recall where it's hosted. Google will know.


Well, I can't simply describe Bicycle Repairing Man in my thesis :)

The idea is to define some 'mechanics' for refactoring Python code
without specialized refactoring browser. In other words, I want
to convert Fowler's refactorizations to Python.

Similar work (or its seeds) is here:
http://hiper.com.br/python/refactor/index.html

--
http://www.dembiński.prv.pl
Jul 19 '05 #4

P: n/a

"Peter Dembinski" <pd***@gazeta.pl> wrote in message
news:87************@hector.domek...
Peter> I am trying to write Master Thesis on refactoring Python
Peter> code. Where should I look for information?
As best I remember, there has been little posted here over several years
other than general comments like 'Python makes it easier to refactor'. So
there is room for you to do something new ;-).

Where to look: if you have not already, read the tutorial, at least chap 2
of the Library Ref, and at least skim the FAQ. Use Google or whatever for
web searches. Specifically use Google for searching its archives of
comp.lang.python. Then ask specific questions here.
The idea is to define some 'mechanics' for refactoring Python code
without specialized refactoring browser. In other words, I want
to convert Fowler's refactorizations to Python. Similar work (or its seeds) is here:
http://hiper.com.br/python/refactor/index.html


I have not seen this before. Since he only did chapter 1, I think 'seed'
is the word.

Another specifically helpful reference might be Beck's (author?) book on
Test-Driven Development. Part 1 uses an example in Java, I believe. Part
2, I know, uses an example in Python. There at least used to be a copy
online.

Wishing you an 'A' and hoping to see the result online...
Terry J. Reedy


Jul 19 '05 #5

P: n/a
Terry Reedy wrote:
Another specifically helpful reference might be Beck's (author?) book on
Test-Driven Development. Part 1 uses an example in Java, I believe. Part
2, I know, uses an example in Python. There at least used to be a copy
online.


The online copy was merely a draft, never brought up
to the final state of the paper version and, if I
recall correctly, entirely missing the Python sections.

For anyone interested in checking this out further:
it was in the "Files" section of the Yahoo Groups
group called "testdrivendevelopment", along with
several earlier versions. (The book was developed
in a pseudo-test-driven-development fashion, with
drafts published for feedback from the group readers.)

-Peter
Jul 19 '05 #6

P: n/a
Investigate the CVS histories of the few 1000s python projects
available at www.sourceforge.net

enjoy

Jul 19 '05 #7

P: n/a

"Peter Hansen" <pe***@engcorp.com> wrote in message
news:0O********************@powergate.ca...
Terry Reedy wrote:
Another specifically helpful reference might be Beck's (author?) book on
Test-Driven Development. Part 1 uses an example in Java, I believe.
Part 2, I know, uses an example in Python. There at least used to be a
copy online.


The online copy was merely a draft, never brought up
to the final state of the paper version and, if I
recall correctly, entirely missing the Python sections.


It was the online copy that I read *with* a Python section. Have no idea
if there was more in the book.

tjr

Jul 19 '05 #8

P: n/a
Hello

Jul 19 '05 #9

P: n/a
Qu**********@gmail.com writes:
Investigate the CVS histories of the few 1000s python projects
available at www.sourceforge.net


I don't work with these guys :>

--
http://www.pdemb.prv.pl
Jul 19 '05 #10

This discussion thread is closed

Replies have been disabled for this discussion.