Markus Fuchs <email@example.com>
r862923 | djames | 2007-01-01 00:21:41 +0000 (Mon, 01 Jan 2007)
Update Python bindings to correctly treat "None" as an empty stream.
Add tests to verify this fix.
Found by: Markus Fuchs <firstname.lastname@example.org>
Shun-ichi GOTO <email@example.com>
[ In subversion/bindings/swig/python ]
(read_handler_pyio): If py_io is None, return a short read
to indicate an empty stream.
(write_handler_pyio): If py_io is None, ignore the input.
(test_dump_fs2): Update test to reflect that if you pass in
None as a stream, it will be treated as an empty stream.
(test_get_file): Add test for this function.