mirror of https://github.com/python/cpython.git
Credit to Oren for the file-iterator patch.
This commit is contained in:
parent
deb0936795
commit
bffb2efee0
|
@ -33,7 +33,7 @@ Core and builtins
|
||||||
Calling f.seek() drops the readahead buffer, but other operations
|
Calling f.seek() drops the readahead buffer, but other operations
|
||||||
don't. It so happens that this gives a nice additional speed boost
|
don't. It so happens that this gives a nice additional speed boost
|
||||||
to "for line in file:"; the xreadlines method and corresponding
|
to "for line in file:"; the xreadlines method and corresponding
|
||||||
module are now obsolete.
|
module are now obsolete. Thanks to Oren Tirosh!
|
||||||
|
|
||||||
- Encoding declarations (PEP 263, phase 1) have been implemented. A
|
- Encoding declarations (PEP 263, phase 1) have been implemented. A
|
||||||
comment of the form "# -*- coding: <encodingname> -*-" in the first
|
comment of the form "# -*- coding: <encodingname> -*-" in the first
|
||||||
|
|
Loading…
Reference in New Issue