Author antroy
Recipients
Date 2006-12-11.21:16:56
SpamBayes Score
Marked as misclassified
Message-id
In-reply-to
Content
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.
History
Date User Action Args
2007-08-23 15:55:41adminlinkissue1613500 messages
2007-08-23 15:55:41admincreate