facebook / facebook/pyrefly

curious about put python code in rust code vs include_str

Open
#4,117 3 comments 0 reactions 0 assignees View on GitHub
needs-discussion
Dominant language
Rust
Stars
7k
Forks
516
PR merge metrics
No merged PRs in 30d

Description

current case:

pros:

Test code is in the same file, no context change, no error message from editor.

cons:

edit the python code feels like txt.

Contributor guide

Open the contributing guide

Research direction

No file, test, or entry point is named. First locate the current Python test code and how it is embedded in Rust, then compare the two approaches in the affected tests. Done requires a decided, documented convention and agreement on which approach to use.

Written by the indexing model from the issue text.

Assessment

Tech stack
python, rust
Domain
testing
Issue type
Refactor
Difficulty
5/5
Estimated time
Over a week
Activity status
Quiet
Clarity
Needs clarification
Newbie friendliness
32/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.