turicas/outputty — Issue #5: Should None be treated as empty string in output?
Author: turicas
Created: 2011-12-20 18:24:19+00:00
State: open

It's annoying to treat values and headers in output (like in `to_html` and `__unicode__`) when there are `None` inside it.
What should be done?
Let have the code below as example:

from outputty import Table
my_table = Table(headers=['a', 'b', ''])
my_table.rows.append([None, None, None])
print my_table

If we don't treat `None`, the output will be:

+------+------+------+
| a | b | |
+------+------+------+
| None | None | None |
+------+------+------+

If we treat, it'll be:

+---+---+-+
| a | b | |
+---+---+-+
| | | |
+---+---+-+

Treating it is annoying by the view of who is creating these methods, but I'm not sure if it is desired from user who is reading the table to see 'None' instead of just blank field.