Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork33.7k
Closed
Description
The current implementation ofpathlib.Path.absolute() callsself.cwd() rather thanos.getcwd(), and so constructstwoPath objects rather than one. As path objects areslow to construct, this has a performance impact.