[Python-checkins] r42490 - in python/branches/release24-maint: Lib/fileinput.py Lib/test/test_fileinput.py Misc/NEWS

M.-A. Lemburg mal at egenix.com
Sun Feb 19 14:12:11 CET 2006


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.

-- 
Marc-Andre Lemburg
eGenix.com

Professional Python Services directly from the Source  (#1, Feb 19 2006)
>>> Python/Zope Consulting and Support ...        http://www.egenix.com/
>>> mxODBC.Zope.Database.Adapter ...             http://zope.egenix.com/
>>> mxODBC, mxDateTime, mxTextTools ...        http://python.egenix.com/
________________________________________________________________________

::: Try mxODBC.Zope.DA for Windows,Linux,Solaris,FreeBSD for free ! ::::


More information about the Python-checkins mailing list