Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.Sign up
StringIO doesn't work with frozen strings in 1.7.5.dev #1008
Regression from 1.7.4. Here's a short script:
Running with 1.7.4 and 1.7.5:
I found this by trying to parse frozen strings with REXML.
Our check now includes one for frozenness, which didn't exist before… e14ea63 but I don't think the logic is quite right. https://github.com/ruby/ruby/blob/v1_9_3_448/ext/stringio/stringio.c#L167-L206