Bug report
Using python 3 where this is valid (e.g. Python 3.8):
from pathlib import Path
Path('destination').link_to('source')
It doesn't work in python 3.12 anymore.
I agree it should be deprecated at this point but the removal should be in python 4, not in python 3.
In my case, it will break some production code of my employer which started using link_to as soon as it became available in a python stable version (python 3.9).
Because this is breaking change on a minor version, without any security requirements, I consider that a bug.
Your environment
Python 3.8
Linux x64
Bug report
Using python 3 where this is valid (e.g. Python 3.8):
It doesn't work in python 3.12 anymore.
I agree it should be deprecated at this point but the removal should be in python 4, not in python 3.
In my case, it will break some production code of my employer which started using
link_toas soon as it became available in a python stable version (python 3.9).Because this is breaking change on a minor version, without any security requirements, I consider that a bug.
Your environment
Python 3.8
Linux x64