Possibility to set scene length via scripting


I would find it handy if there was the possibility to set the scene length via scripting.

If there was something like frame::setNumber( int ) this would be cool.

In my special case, I like the fact that it is possible to ripple markers with frame::insert.
But, I would like to be able to insert frames (including marker rippling and exposure extension) by keeping the scene length unchanged.

Another approach could be that frame::insert would have an option like keep_number : true