[twill] Extending Twill Question

John J Lee jjl at pobox.com
Sat May 27 03:30:30 PDT 2006

On Fri, 26 May 2006, Austin wrote:
> The first function is just forward, it looks like beyond adding
> functions in commands.py and browser.py, the real changes would have to
> be made in _mechanize.py since the History class doesn't seem to have
> any support for going forward. It also doesn't seem to know what the
> current page is which makes things a bit more difficult. I think I need
> to store the current page in the History class, and then make some kind
> of modifications in _mech_open, and to the functions defined in the
> history class. Is this the right direction for doing this, or am I

Probably -- I don't know -- but if you make changes, keep half an eye on a 
recent version of mechanize (0.1.2b or current SVN), since there have been 
a fair number of changes since the version that comes with twill.

Is forward really needed, though?


More information about the twill mailing list