Re: shutil.rmtree() fails when used in Fedora (rpm) "mock" environment

Liste des GroupesRevenir à cl python 
Sujet : Re: shutil.rmtree() fails when used in Fedora (rpm) "mock" environment
De : olegsivokon (at) *nospam* gmail.com (Left Right)
Groupes : comp.lang.python
Date : 24. Oct 2024, 21:08:31
Autres entêtes
Message-ID : <mailman.41.1729802022.4695.python-list@python.org>
References : 1 2 3 4 5 6 7 8
What is the probability of replacing os.lstat, os.close or os.rmdir from
another thread at just the right time?

If the thead does "import os", and its start is logically connected to
calling _rmtree_safe_fd(), I'd say it's a very good chance! That is,
again, granted that the reference to os.lstat *can* be modified in
this way.

But, before we keep guessing any further, it'd be best if OP could get
us the info on what's stored in "func" and "os.lstat" at the time the
assertion fails.

Date Sujet#  Auteur
24 Oct 24 o Re: shutil.rmtree() fails when used in Fedora (rpm) "mock" environment1Left Right

Haut de la page

Les messages affichés proviennent d'usenet.

NewsPortal