> = Comment - Entry #3 by jamesh on Feb 7, 2007 10:57 am
>
> I ended up doing the test something like this:
>
> >>> browser.mech_browser.set_handle_redirect(False)
I'll note that the mechanize bits in testbrowser are not part of the public interface, and mechanize itself is evolving, so that code may break in the future. I suspect the risk is worth it to you though.
> Maybe some API to do the equivalent of the set_handle_redirect(False)
> call would be appropriate?
Perhaps. If you prepared a patch, it's fairly likely that the feature would make it in.
> = Comment - Entry #3 by jamesh on Feb 7, 2007 10:57 am mech_browser. set_handle_ redirect( False)
>
> I ended up doing the test something like this:
>
> >>> browser.
I'll note that the mechanize bits in testbrowser are not part of the public interface, and mechanize itself is evolving, so that code may break in the future. I suspect the risk is worth it to you though.
> Maybe some API to do the equivalent of the set_handle_ redirect( False)
> call would be appropriate?
Perhaps. If you prepared a patch, it's fairly likely that the feature would make it in.