New issue 3045: pathlib path resolving incorrectly
https://bitbucket.org/pypy/pypy/issues/3045/pathlib-path-resolving-incorrectly
H. Turgut Uyar:
On PyPy 3.6.1 \(7.1.1-beta0\), resolving a pathlib path that contains an
intermediate parent step produces an incorrect result \(at least, different
from CPython\). For example, if the current directory is
`/home/uyar/Projects/myproject` which contains a `docs` directory and a
`setup.py` file, the following code produces
`PosixPath('/home/uyar/Projects/myproject/docs')`
```python
from pathlib import Path
Path("docs/../setup.py").resolve()
```
Whereas in CPython the same code produces
`PosixPath('/home/uyar/Projects/myproject/setup.py')`
_______________________________________________
pypy-issue mailing list
[email protected]
https://mail.python.org/mailman/listinfo/pypy-issue