Closed fahhem closed 13 years ago
Turns out I was incorrect about the newline bit. The first set of changes (regarding repattern and sys.argv[1]) can be removed.
As I have updated to ShedSkin-0.9 that does not have this problem, I will not pull the request. Thank you.
Shedskin's slightly different regex implementation errors out when the r.search() input is an empty string, so this just makes sure such a search never happens.
Also, Shedskin 0.8 doesn't strip the newline off the last sys.argv so it also takes it off if it's still there. It's a one-time cost and will still work when SS is updated to fix it.