>> It is used automatically on platforms supporting the necessary os.openat() >> and >> os.unlinkat() functions. Main code by Martin von Löwis. > > Unfortunately, this isn't actually having any effect at the moment > since the os module APIs changed for the beta release. > > The "hasattr(os, 'unlinkat')" and "hasattr(os, 'openat')" checks need > to become "os.unlink in os.supports_dir_fd" and "os.open in > os.supports_dir_fd", and the affected calls need to be updated to pass > "dir_fd" as an argument to the normal versions of the functions. > > At least we know the graceful fallback to the old behaviour is indeed > graceful, though :)
Yeah I've been told on IRC already. I'll commit a fix in a few minutes if my regression tests on OS X and Linux work fine. _______________________________________________ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/python-dev Unsubscribe: http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com