Package Martel :: Module RecordReader
[hide private]
[frames] | no frames]

Module RecordReader

source code

Classes [hide private]
  ReaderError
  RecordReader
  StartsWith
  EndsWith
  Until
  CountLines
Read a specified (fixed) number of lines
  Nothing
Reads nothing
  Everything
Reads everything
Functions [hide private]
 
_startswith_tagtable_rest_of_line(text) source code
 
_startswith_tagtable_newline(text) source code
 
_find_begin_positions(text, tagtable) source code
 
_endswith_tagtable_newline(text) source code
 
_endswith_tagtable_rest_of_line(text) source code
 
_find_end_positions(text, tagtable) source code
Variables [hide private]
  SIZEHINT = 100000
  _tag_lines_tagtable = ((None, 31, '\xff\xdb\xff\xff\xff\xff\xf...
Variables Details [hide private]

_tag_lines_tagtable

Value:
((None,
  31,
  '\xff\xdb\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xf\
f\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff',
  1,
  1),
 ('newline', 13, '\n', 1, -1),
 (None, 13, '\r', 3, 1),
...