Author: guido.van.rossum
Date: Fri Jul 27 18:31:40 2007
New Revision: 56584
Modified:
python/branches/py3k-struni/Objects/dictobject.c
Log:
Fix the docstrings for keys(), items(), values() (especially the latter).
Get rid of some #ifdef'ed-out code.
Modified: python/branches/py3k-struni/Objec
Author: guido.van.rossum
Date: Fri Jul 27 19:12:11 2007
New Revision: 56585
Modified:
python/branches/py3k-struni/Lib/test/test_sgmllib.py
Log:
Make test_sgmllib pass on OSX. Hopefully it still passes everywhere else too.
Modified: python/branches/py3k-struni/Lib/test/test_sgmllib.py
Author: guido.van.rossum
Date: Fri Jul 27 19:26:00 2007
New Revision: 56586
Modified:
python/branches/py3k-struni/Lib/xml/dom/pulldom.py
Log:
SF patch# 1759922 by Alexandre Vassalotti.
Fix one of the two failing tests for minidom.
Modified: python/branches/py3k-struni/Lib/xml/dom/pulldom.py
=
Author: guido.van.rossum
Date: Fri Jul 27 20:03:11 2007
New Revision: 56587
Modified:
python/branches/py3k-struni/Lib/io.py
python/branches/py3k-struni/Lib/test/test_minidom.py
python/branches/py3k-struni/Lib/xml/dom/minidom.py
Log:
Fix the minidom test.
In order to do this, I added an op
What is the use of the keyword argument 'newline'? I tried to find
where it's used to implement it in _stringio, but I have not found it
in neither TextIOBase and TextIOWrapper.
Thanks,
-- Alexandre
> Author: guido.van.rossum
> Date: Fri Jul 27 20:03:11 2007
> New Revision: 56587
>
> --- python/b
The newline (keyword) argument is passed to open() and the
TextIOWrapper() constructor. It only applies for text files. It deals
with how to handle line endings (sort of like universal newlines in
2.x). PEP 3116 also mentions it AFAIK.
--Guido
On 7/27/07, Alexandre Vassalotti <[EMAIL PROTECTED]>