Wirawan Purwanto
6656d3d5e3
* In module text_input: Added head() and tail() to emulate the basic
...
behavior of UNIX commands with the same name.
Output lines are already split into a list of strings.
13 years ago
Wirawan Purwanto
f8a101fbe9
* Added comment_char option for text_input object creation.
...
* Memory leak bugfix: Use instance method weakref.
13 years ago
wirawan
81e2ada60c
* Allow comment character to be changed from "#" using the
...
instance.comment_char attribute.
13 years ago
wirawan
c675077620
* Introducing self.lineno counter for line numbers (including the blanks
...
and comment lines).
13 years ago
wirawan
3b522de2d6
* Added text_input.close() method.
13 years ago
wirawan
ad73b5af7f
* Added set_next_proc() method to set which procedure should be called when
...
"next()" method dispatcher is called.
This approach should get rid of the problem with circular reference which
causes the text_input instance not be erasable because of strong reference
to `self' in `self.next.im_self'.
14 years ago
wirawan
96d1f9afd7
* Upgrade to allow reading complex-valued data directly.
...
Please see the documentation of text_input.read_items for more detail.
14 years ago
wirawan
cae9cabdea
* Simple text input reader. Imported from pyqmc.utils.text_input .
14 years ago