{"issue":{"state":"open","pull_request":{"diff_url":null,"html_url":null,"patch_url":null},"milestone":null,"user":{"avatar_url":"https://secure.gravatar.com/avatar/d1588981e0248aaa0174906c99df180e?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","gravatar_id":"d1588981e0248aaa0174906c99df180e","url":"https://api.github.com/users/petdance","login":"petdance","id":41100},"assignee":null,"updated_at":"2011-11-01T05:34:39Z","labels":[{"name":"core","color":"683FB1","url":"https://api.github.com/repos/petdance/scratch/labels/core"},{"name":"Pri-normal","color":"5B4E39","url":"https://api.github.com/repos/petdance/scratch/labels/Pri-normal"},{"name":"rfc","color":"4D3F90","url":"https://api.github.com/repos/petdance/scratch/labels/rfc"},{"name":"Sev-medium","color":"F9ECA1","url":"https://api.github.com/repos/petdance/scratch/labels/Sev-medium"}],"closed_at":null,"comments":0,"url":"https://api.github.com/repos/petdance/scratch/issues/404","body":"There some points in the StringHandle pmc that needs clarification:\r\n\r\n- Read/Write mode: Must it works the same as FileHandle? Several tests use read methods in a StringHanlde opened for writing. IMO will be better to have methods to get/set the string content, use the get_string/set_string/native vtable functions, or both, and have the read methods throw exceptions when not opened for read.\r\n\r\n- Mode when reopened without second argument: must use the flags used on the previous open, or use the 'r' default? Several tests assume the second, but works only because of the first issue.\r\n\r\nTrac ID #707","html_url":"https://github.com/petdance/scratch/issues/404","title":"[RFC] StringHandle interface","number":404,"id":2106090,"created_at":"2011-11-01T05:34:39Z"},"action":"opened"}