On Tue, May 02, 2006, Tim Peters wrote:
>
>> Author: neal.norwitz
>> Date: Tue May  2 06:43:14 2006
>> New Revision: 45850
>>
>> Modified:
>>    python/trunk/Lib/test/test_subprocess.py
>>    python/trunk/Objects/fileobject.c
>>    python/trunk/Python/bltinmodule.c
>> Log:
>> SF #1479181: split open() and file() from being aliases for each other.
> 
> Umm ... why?  I suppose I wouldn't care, except it left
> test_subprocess failing on all the Windows buildbots, and I don't feel
> like figuring out why.  To a first approximation,
> test_universal_newlines_communicate() now takes the
> 
>                 # Interpreter without universal newline support
> 
> branch on Windows, but shouldn't.

That's a bug in the Windows implementation or in the docs.
test_subprocess failed because open() was no longer an alias for file();
I originally planned to just s/open/file/ but when I read the docs, the
docs said that newlines attribute was supposed to go on file objects, not
the file type.  Neal's decision to use my original idea is probably fine,
but I'm not sure.

http://docs.python.org/dev/lib/bltin-file-objects.html

I'll answer your other post later when I have more time, but you might
check

http://mail.python.org/pipermail/python-dev/2005-December/thread.html#59073

for the basic history.
-- 
Aahz ([EMAIL PROTECTED])           <*>         http://www.pythoncraft.com/

"Argue for your limitations, and sure enough they're yours."  --Richard Bach
_______________________________________________
Python-Dev mailing list
Python-Dev@python.org
http://mail.python.org/mailman/listinfo/python-dev
Unsubscribe: 
http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com

Reply via email to