Bugs item #1167922, was opened at 2005-03-21 22:06 Message generated for change (Settings changed) made by pmoore You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=105470&aid=1167922&group_id=5470
Category: Documentation Group: Python 2.4 Status: Open Resolution: None Priority: 5 Submitted By: Paul Moore (pmoore) >Assigned to: Fred L. Drake, Jr. (fdrake) Summary: Line ending documentation is misleading Initial Comment: The documentation of line ending conventions is misleading when embedding Python. The only documentation I can find on line endings is in the language reference - section 2.1.2 "Physical Lines". This describes a physical line as being terminated with the platform line terminator. When referring to source files, this is wrong, as universal newline support now means that any of CR, LF, or CRLF is a valid line terminator on all platforms. When embedding (via something like PyRun_SimpleString) a C-level newline terminator (ie, "\n") is the line terminator. I attach a suggested patch to the ref\ref2.tex documentation file (patch against CVS HEAD as at 29th Jan). ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=105470&aid=1167922&group_id=5470 _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com