Skip to content

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.
@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.

@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