[Python-checkins] r42490 - in python/branches/release24-maint: Lib/fileinput.py Lib/test/test_fileinput.py Misc/NEWS
Georg Brandl
g.brandl at gmx.net
Sun Feb 19 14:28:01 CET 2006
M.-A. Lemburg wrote:
> Georg Brandl wrote:
>> M.-A. Lemburg wrote:
>>> Why are these new features being backported to 2.4 ?
>>>
>>> georg.brandl wrote:
>>>> Author: georg.brandl
>>>> Date: Sun Feb 19 10:51:33 2006
>>>> New Revision: 42490
>>>>
>>>> Modified:
>>>> python/branches/release24-maint/Lib/fileinput.py
>>>> python/branches/release24-maint/Lib/test/test_fileinput.py
>>>> python/branches/release24-maint/Misc/NEWS
>>>> Log:
>>>> Patch #1337756: fileinput now accepts Unicode filenames.
>>
>> Is that a new feature? I thought that wherever a filename is accepted,
>> it can be unicode too.
>>
>> The previous behavior was a bug in any case, since it treated the
>> unicode string as a sequence of filenames. Would you fix that by
>> raising a ValueError?
>
> No, but from the text in the NEWS file things sounded a lot
> like a feature rather than a bug fix.
That should be clear now :)
Georg
More information about the Python-checkins
mailing list