Status: New
Owner: ----
Labels: Type-Enhancement Priority-Medium
New issue 1036 by [email protected]: expose TxtReader._split_row as a
public function
http://code.google.com/p/robotframework/issues/detail?id=1036
I would like the _split_row function of the TxtReader and TsvReader classes
to be made public. Perhaps they could be class methods instead of instance
methods. The change would be minimal since I'm not asking for any logic
changes.
The reason I want this is to make it easier to write tools that work with
raw data. I want to be able to parse a single line of data that matches the
robot tsv or txt format without having to create a populator, make sure the
text is in a table, create a file-like object and then call the read()
function.
These functions are really simple, but I'm afraid that if I duplicate them
or call the private function, when the official versions are updated to
handle some special case or new design decision my code might break.