[issue25930] os.unlink != os.remove in python3.5
Anthony Sottile
report at bugs.python.org
Tue Dec 22 18:10:45 EST 2015
New submission from Anthony Sottile:
I've confirmed this bug is present on both windows and linux, the outputs below are from linux however.
Compare:
```
$ python3.4 --version
Python 3.4.3
$ python3.4 -c 'import os; print(os.unlink == os.remove)'
True
```
```
$ python3.5 --version
Python 3.5.0
$ python3.5 -c 'import os; print(os.unlink == os.remove)'
False
```
The docs say: https://docs.python.org/3/library/os.html#os.remove
"This function is identical to unlink()."
To me identity means `is` but I at least expect the `==` behaviour of previous versions.
----------
messages: 256880
nosy: Anthony Sottile
priority: normal
severity: normal
status: open
title: os.unlink != os.remove in python3.5
versions: Python 3.5
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue25930>
_______________________________________
More information about the Python-bugs-list
mailing list