Skip to content
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

Refactoring Python redirection #741

Merged
merged 3 commits into from
Dec 17, 2023
Merged

Refactoring Python redirection #741

merged 3 commits into from
Dec 17, 2023

Conversation

emeryberger
Copy link
Member

Factoring out logic to reduce the size of scalene_profiler and also help isolate any issues.

scalene/redirect_python.py Fixed Show fixed Hide fixed
Comment on lines +14 to +17
# if sys.platform == "win32":
# base_python_name = re.sub(r'\.exe$', '', os.path.basename(sys.executable))
# else:
# base_python_name = sys.executable

Check notice

Code scanning / CodeQL

Commented-out code Note

This comment appears to contain commented-out code.
@emeryberger emeryberger merged commit 9512391 into master Dec 17, 2023
10 checks passed
@emeryberger emeryberger deleted the refactoring_redirection branch December 17, 2023 01:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant