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

feat: provide escaped version of PRODUCT_DIR_ABS #271

Merged
merged 3 commits into from
Dec 3, 2024

Conversation

addaleax
Copy link
Member

@addaleax addaleax commented Dec 2, 2024

Since Node.js uses this in a C string, we should provide a version that escapes it as a C string.

Needed by: nodejs/node#56111

Since Node.js uses this in a C string, we should provide a version that
escapes it as a C string.
pylib/gyp/__init__.py Outdated Show resolved Hide resolved
Co-authored-by: Christian Clauss <cclauss@me.com>
@cclauss
Copy link
Contributor

cclauss commented Dec 2, 2024

Sorry, please add from __future__ import annotations as the very first line of code in this file for Python < 3.10.

Co-authored-by: Christian Clauss <cclauss@me.com>
@addaleax
Copy link
Member Author

addaleax commented Dec 2, 2024

@cclauss sure, done! 🙇‍♀️

@anonrig anonrig merged commit 3bf3b1c into nodejs:main Dec 3, 2024
50 checks passed
@addaleax addaleax deleted the product-dir-abs-escaped branch December 3, 2024 10:09
addaleax added a commit that referenced this pull request Dec 9, 2024
The review suggestion in #271 accidentally changed the type of `result` and broke this part.
addaleax added a commit that referenced this pull request Dec 9, 2024
The review suggestion in #271 accidentally changed the type of `result` and broke this part.
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.

3 participants