This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author brunogola
Recipients akuchling, brunogola
Date 2008-06-21.20:26:17
SpamBayes Score 0.17707267
Marked as misclassified No
Message-id <1214079980.91.0.454616593882.issue3156@psf.upfronthosting.co.za>
In-reply-to
Content
The following patch fixes the behavior, .append and .insert will accept
only integer as parameters.

Is this really the desired behavior? I mean, why not to accept a
character for both methods?

There are two tests in Lib/test/test_io.py that uses the old behavior
for .append().
History
Date User Action Args
2008-06-21 20:26:21brunogolasetspambayes_score: 0.177073 -> 0.17707267
recipients: + brunogola, akuchling
2008-06-21 20:26:20brunogolasetspambayes_score: 0.177073 -> 0.177073
messageid: <1214079980.91.0.454616593882.issue3156@psf.upfronthosting.co.za>
2008-06-21 20:26:19brunogolalinkissue3156 messages
2008-06-21 20:26:19brunogolacreate