On Tue, 27 Sep 2022, 18:38 Andrey Novoseltsev, <novos...@gmail.com> wrote:
> On Tuesday, 27 September 2022 at 11:11:00 UTC-6 dim...@gmail.com wrote: > >> Basically, we should deprecate and remove tmp_dir() and tmp_filename() >> from Sage. >> Does Sagecell use them? It should not, Python3 has perfectly good >> replacements... >> > > The problems that surfaces so far that I believe these tools may not > address on their own: > 1) tmp directory is used for "too long" i.e. while Sage process is > running, which may be a problem if it gets automatically cleaned > 2) tmp stuff is deleted "too fast" e.g. as soon as it was generated, while > some interfaces may rely on access to generated content a bit after Sage is > done with it, e.g. to show plots in a browser > this sounds like a bad design > 3) default location may not work with our interfaces as well > dir= parameter in TemporaryDirectory etc can be used to set a better location. This should take care of 1) too. > -- > You received this message because you are subscribed to the Google Groups > "sage-devel" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to sage-devel+unsubscr...@googlegroups.com. > To view this discussion on the web visit > https://groups.google.com/d/msgid/sage-devel/faca7769-4469-4c98-aace-04ab902a370dn%40googlegroups.com > <https://groups.google.com/d/msgid/sage-devel/faca7769-4469-4c98-aace-04ab902a370dn%40googlegroups.com?utm_medium=email&utm_source=footer> > . > -- You received this message because you are subscribed to the Google Groups "sage-devel" group. To unsubscribe from this group and stop receiving emails from it, send an email to sage-devel+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/sage-devel/CAAWYfq3HdnnEdaXZOTY5OSzs8XeOrT4SyvpV5_9ifKyJF9dgLw%40mail.gmail.com.