What happened to instant.invalidate_cache()?

Asked by Renier Marchand

Hi,

I am in a situation where I would like to invalidate instant's cache from within python code. In the past I did this using instant.invalidate_cache(). I see that it is not available any more.

Where has it moved and or what is the new preferred way of doing this?

Thanks

Renier

Question information

Language:
English Edit question
Status:
Answered
For:
DOLFIN Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Johan Hake (johan-hake) said :
#1

On Wednesday August 31 2011 05:21:03 Renier Marchand wrote:
> New question #169682 on DOLFIN:
> https://answers.launchpad.net/dolfin/+question/169682
>
> Hi,
>
> I am in a situation where I would like to invalidate instant's cache from
> within python code. In the past I did this using
> instant.invalidate_cache(). I see that it is not available any more.
>
> Where has it moved and or what is the new preferred way of doing this?

I have never used this function and I therefore do not know where or when it
has gone. As I have never used it I am not sure what it did, but to erase all
cached instant modules just call

  instant-clean

from the command line.

Johan

Can you help with this problem?

Provide an answer of your own, or ask Renier Marchand for more information if necessary.

To post a message you must log in.