Ticket #707 (assigned RFC)
[RFC] StringHandle interface
|Reported by:||NotFound||Owned by:||NotFound|
There some points in the StringHandle pmc that needs clarification:
- 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.
- 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.