Can't input single newline to process under test #39
Comments
|
Not able to test this at the moment, but I figure this has to do with some assumptions that the built in A workaround for this should be to You can also dig into the python stdio implementation or spec and fix it yourself - I can give you commit access. :) |
Nope, this results in "\n\n" being sent to stdin. |
|
While digging I arrived here - https://github.com/akheron/cpython/blob/d04cd9a21a22a56ec3cb577229808c019217b8e0/Objects/fileobject.c#L107. Not sure what the fix is, but perhaps will help you. |
My mistake, I tested it incorrectly. The workaround actually works. But I also noticed that you're using the same My plan is to replace everywhere in my fork |
|
That sounds like a plausibleplan - I'd prefer if you work directly on this repo (gave you access). |
When my demo_solution.py is
input()and demo_tester.py is
Then
python -m grader demo_tester.py demo_solution.pygives meThe text was updated successfully, but these errors were encountered: