Bugs item #1167922, was opened at 2005-03-21 17:06 Message generated for change (Comment added) made by fdrake You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=105470&aid=1167922&group_id=5470
Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: Documentation Group: Python 2.4 >Status: Closed >Resolution: Accepted 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). ---------------------------------------------------------------------- >Comment By: Fred L. Drake, Jr. (fdrake) Date: 2005-05-25 01:46 Message: Logged In: YES user_id=3066 Fixed in Doc/ref/ref2.tex revisions 1.57, 1.56.2.1, using the attached patch. ---------------------------------------------------------------------- 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