[Python-Dev] requirements for moving import over to importlib? (original) (raw)

Tres Seaver tseaver at palladion.com
Fri Feb 10 22:29:31 CET 2012


-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1

On 02/10/2012 03:38 PM, Brett Cannon wrote:

Changes in any fashion to the directory. Do filesystems atomically update the mtime of a directory when they commit a change? Otherwise we have a potential race condition.

Hmm, maybe I misundersand you. In POSIX land, the only thing which changes the mtime of a directory is linking / unlinking / renaming a file: changes to individual files aren't detectable by examining their containing directory's stat().

Tres. - --

Tres Seaver +1 540-429-0999 tseaver at palladion.com Palladion Software "Excellence by Design" http://palladion.com -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAk81jDsACgkQ+gerLs4ltQ7YRwCePFEQA7E74dD9/j8ILuRMHLlA xbkAn1vTYGrEn4VOnVpygGafkGgnm42e =rJGg -----END PGP SIGNATURE-----



More information about the Python-Dev mailing list