New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

bpo-29592: site: skip abs_paths() when it's redundant #167

Merged
merged 2 commits into from Mar 14, 2017

Conversation

Projects
None yet
3 participants
@methane
Member

methane commented Feb 19, 2017

[bpo-29592]
os.path.abspath() is relatively slow function. Let's skip it if possible.

@methane methane changed the title from bpo-29592: remove abs_paths() from site.py to bpo-29592: site: skip abs_paths() when it's redundant Feb 19, 2017

@methane

This comment has been minimized.

Show comment
Hide comment
@methane

methane Mar 14, 2017

Member

@ncoghlan Would you see this?

Member

methane commented Mar 14, 2017

@ncoghlan Would you see this?

@ncoghlan

Looks good to me!

@methane methane merged commit 2e4e011 into python:master Mar 14, 2017

1 check passed

continuous-integration/travis-ci/pr The Travis CI build passed
Details

@methane methane deleted the methane:faster-site2 branch Mar 14, 2017

akruis pushed a commit to akruis/cpython that referenced this pull request Aug 16, 2018

Anselm Kruis Anselm Kruis
Stackless issue #167: replace printf() by PySys_WriteStderr()
printf() was used to emit parts of an error message, if there is a
pending error while entering Stackless subsystem.

akruis pushed a commit to akruis/cpython that referenced this pull request Aug 16, 2018

Anselm Kruis
Stackless issue #167: replace printf() by PySys_WriteStderr()
printf() was used to emit parts of an error message, if there is a
pending error while entering Stackless subsystem.
(cherry picked from commit 8a44a5f)

akruis pushed a commit to akruis/cpython that referenced this pull request Sep 11, 2018

Anselm Kruis
Stackless issue #167: replace printf() by PySys_WriteStderr()
printf() was used to emit parts of an error message, if there is a
pending error while entering Stackless subsystem.
(cherry picked from commit 8a44a5f)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment