# Have a \`.realpath\` classmethod in pathlib.Path

**URL:** <https://discuss.python.org/t/have-a-realpath-classmethod-in-pathlib-path/4692>\
**Category:** Ideas\
**Created:** [July 9, 2020, 7:38pm UTC](https://discuss.python.org/t/have-a-realpath-classmethod-in-pathlib-path/4692 "2020-07-09T19:38:12Z")\
**Posts on this page:** 1\
**Showing post:** 13

<div class="post-metadata">

**Author:** ![uranusjr](https://sea2.discourse-cdn.com/flex002/user_avatar/discuss.python.org/uranusjr/32/103_2.png) [@uranusjr](https://discuss.python.org/u/uranusjr)\
**Post date:** [July 14, 2020, 2:12pm UTC](https://discuss.python.org/t/have-a-realpath-classmethod-in-pathlib-path/4692/13 "2020-07-14T14:12:37Z")

</div>

This is due to a bug 🤷 [https://bugs.python.org/issue38671](https://bugs.python.org/issue38671)

Edit: And that led me right back to the discussion I was thinking about when I said you should use `resolve()`: [Pathlib absolute() vs. resolve()](https://discuss.python.org/t/pathlib-absolute-vs-resolve/2573/13)

---

_[View the full topic](https://discuss.python.org/t/have-a-realpath-classmethod-in-pathlib-path/4692)._
