tohojo
and vstinner
bpo-38811GH-17225
Commit 6b5b013 ("bpo-26978: Implement pathlib.Path.link_to (Using os.link) (GH-12990)") introduced a new link_to method in pathlib. However, this makes pathlib crash when the 'os' module is missing a 'link' method. Fix this by checking for the presence of the 'link' method on pathlib module import, and if it's not present, turn it into a runtime error like those emitted when there is no lchmod() or symlink(). Signed-off-by: Toke Høiland-Jørgensen <toke@redhat.com>
Permalink
Type | Name | Latest commit message | Commit time |
---|---|---|---|
.. | |||
Failed to load latest commit information. | |||
![]() |
NEWS.d |
|
|
![]() |
ACKS |
|
|
![]() |
HISTORY |
|
|
![]() |
Porting |
|
|
![]() |
README |
|
|
![]() |
README.AIX |
|
|
![]() |
README.coverity |
|
|
![]() |
README.valgrind |
|
|
![]() |
SpecialBuilds.txt |
|
|
![]() |
coverity_model.c |
|
|
![]() |
gdbinit |
|
|
![]() |
indent.pro |
|
|
![]() |
python-config.in |
|
|
![]() |
python-config.sh.in |
|
|
![]() |
python-embed.pc.in |
|
|
![]() |
python-wing3.wpr |
|
|
![]() |
python-wing4.wpr |
|
|
![]() |
python-wing5.wpr |
|
|
![]() |
python.man |
|
|
![]() |
python.pc.in |
|
|
![]() |
svnmap.txt |
|
|
![]() |
valgrind-python.supp |
|
|
![]() |
vgrindefs |
|
README
Python Misc subdirectory ======================== This directory contains files that wouldn't fit in elsewhere. Some documents are only of historic importance. Files found here ---------------- ACKS Acknowledgements gdbinit Handy stuff to put in your .gdbinit file, if you use gdb HISTORY News from previous releases -- oldest last indent.pro GNU indent profile approximating my C style NEWS News for this release (for some meaning of "this") Porting Mini-FAQ on porting to new platforms python-config.in Python script template for python-config python.man UNIX man page for the python interpreter python.pc.in Package configuration info template for pkg-config python-wing*.wpr Wing IDE project file README The file you're reading now README.AIX Information about using Python on AIX README.coverity Information about running Coverity's Prevent on Python README.valgrind Information for Valgrind users, see valgrind-python.supp SpecialBuilds.txt Describes extra symbols you can set for debug builds svnmap.txt Map of old SVN revs and branches to hg changeset ids, help history-digging valgrind-python.supp Valgrind suppression file, see README.valgrind vgrindefs Python configuration for vgrind (a generic pretty printer)