Message51510
The current implementation of the fileinput module allows an optional 'mode' keyword argumant to the FileInput initializer and the input() convenience function.
The attached patch provides a similar write_mode keyword argument with which to specify the write mode when the 'inplace' option is used.
Included in the patch file are:
1) Changes to the fileinput module to accomodate the optional write mode option
2) Additions to the fileinput tex documentation.
3) A refactored test module, where the tests have been reorganised into TestCase subclasses, and new tests added for the new functionality. |
|
Date |
User |
Action |
Args |
2007-08-23 15:55:41 | admin | link | issue1613500 messages |
2007-08-23 15:55:41 | admin | create | |
|