]> granicus.if.org Git - python/commit
Mass checkin of universal newline support.
authorJack Jansen <jack.jansen@cwi.nl>
Sun, 14 Apr 2002 20:12:41 +0000 (20:12 +0000)
committerJack Jansen <jack.jansen@cwi.nl>
Sun, 14 Apr 2002 20:12:41 +0000 (20:12 +0000)
commit7b8c7546ebc1fc3688ef95768fa8b82f0f205490
tree2e14b243347a9c38c82e2e774d4b201f23149916
parentdcd2dc2fffce8614c5d2b8d303a303a599b88a23
Mass checkin of universal newline support.
Highlights: import and friends will understand any of \r, \n and \r\n
as end of line. Python file input will do the same if you use mode 'U'.
Everything can be disabled by configuring with --without-universal-newlines.

See PEP278 for details.
15 files changed:
Include/fileobject.h
Lib/linecache.py
Lib/py_compile.py
Mac/Python/macmain.c
Objects/fileobject.c
Parser/pgenmain.c
Parser/tokenizer.c
Python/bltinmodule.c
Python/errors.c
Python/import.c
Python/traceback.c
README
configure
configure.in
pyconfig.h.in