mirror of
https://github.com/python/cpython.git
synced 2025-11-12 03:22:06 +00:00
This fixes os.link() on platforms (like Linux and OpenIndiana) where the system link() function does not follow symlinks. * On Linux, it now follows symlinks by default and if follow_symlinks=True is specified. * On Windows, it now raises error if follow_symlinks=True is passed. * On macOS, it now raises error if follow_symlinks=False is passed and the system linkat() function is not available at runtime. * On other platforms, it now raises error if follow_symlinks is passed with a value that does not match the system link() function behavior if if the behavior is not known. Co-authored-by: Joachim Henke <37883863+jo-he@users.noreply.github.com> Co-authored-by: Thomas Kluyver <takowl@gmail.com> |
||
|---|---|---|
| .. | ||
| __init__.py | ||
| inspect_deferred_annotations.py | ||
| inspect_fodder.py | ||
| inspect_fodder2.py | ||
| inspect_stock_annotations.py | ||
| inspect_stringized_annotations.py | ||
| inspect_stringized_annotations_2.py | ||
| inspect_stringized_annotations_pep695.py | ||
| test_inspect.py | ||