Junctions are contextually similar to symlinks on Windows. I propose adding a mechanism to both pathlib.Path and os.path to check if a given path is a junction or not. Currently is_symlink/islink return False for junctions.
Maybe isjunction in os.path and is_junction in pathlib.Path? Part of me thinks about adding an junction_ok param to the existing islink and is_symlink since they are often similar in usage. Thoughts? _______________________________________________ Python-ideas mailing list -- python-ideas@python.org To unsubscribe send an email to python-ideas-le...@python.org https://mail.python.org/mailman3/lists/python-ideas.python.org/ Message archived at https://mail.python.org/archives/list/python-ideas@python.org/message/KQ7AELTQRLYOXD434GQ2AHNDD23C4CYG/ Code of Conduct: http://python.org/psf/codeofconduct/