python - unpickling HasTraits object: how to prevent assignment of certain traits -


i have hastraits object written , read disk using cpickle. object has trait computationally expensive assign. traits documentation , understand of traits being re-asigned when object read disk.

i prevent expensive trait being re-assigned when object read disk. possible?

make trait transient described here: http://docs.enthought.com/traits/traits_user_manual/advanced.html#persistence (btw, note newer version of docs linked to, though section in both versions.)


Comments

Popular posts from this blog

java - How to Configure JAXRS and Spring With Annotations -

visual studio - TFS will not accept changes I've made to a Java project -

php - Create image in codeigniter on the fly -