[issue7643] What is a Unicode line break character?

2010-03-30 Thread Florent Xicluna
Florent Xicluna added the comment: Ported to 3.x with r79506 -- resolution: -> fixed stage: -> committed/rejected status: open -> closed ___ Python tracker ___

[issue7643] What is a Unicode line break character?

2010-03-30 Thread Florent Xicluna
Florent Xicluna added the comment: Committed to trunk: r79494 and r79496. Afaict, it changes Py_UNICODE_ISLINEBREAK, _PyUnicode_IsLinebreak and the Unicode functions which depend on it (splitlines(), _sre module). -- ___ Python tracker

[issue7643] What is a Unicode line break character?

2010-03-30 Thread Amaury Forgeot d'Arc
Amaury Forgeot d'Arc added the comment: Which functions are affected by this change? Py_UNICODE_ISLINEBREAK()? unicode.splitlines()? -- assignee: -> flox nosy: +amaury.forgeotdarc ___ Python tracker __

[issue7643] What is a Unicode line break character?

2010-03-22 Thread Marc-Andre Lemburg
Marc-Andre Lemburg added the comment: Florent Xicluna wrote: > Backward compatibility concern: > * it adds VT u'\x0b' and FF u'\x0c' as line breaks. > > The choice is either to preserve backward compatibility, or to comply with > the specification (UAX #14). I think we should correct this bu

[issue7643] What is a Unicode line break character?

2010-03-18 Thread Florent Xicluna
Changes by Florent Xicluna : -- nosy: -Chris.Carter ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail

[issue7643] What is a Unicode line break character?

2010-03-18 Thread Chris Carter
Chris Carter added the comment: unwatched -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python

[issue7643] What is a Unicode line break character?

2010-03-18 Thread Florent Xicluna
Florent Xicluna added the comment: Cleanup committed as r78982 Patch for LineBreak.txt updated after UCD upgrade to 5.2. See details: http://bugs.python.org/issue7643#msg97483 Tests added to test_unicodedata. Backward compatibility concern: * it adds VT u'\x0b' and FF u'\x0c' as line breaks.

[issue7643] What is a Unicode line break character?

2010-03-18 Thread Florent Xicluna
Changes by Florent Xicluna : Removed file: http://bugs.python.org/file15807/issue7643_use_LineBreak.diff ___ Python tracker ___ ___ Python-bugs

[issue7643] What is a Unicode line break character?

2010-03-18 Thread Michael Foord
Changes by Michael Foord : -- nosy: -michael.foord ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.

[issue7643] What is a Unicode line break character?

2010-03-18 Thread Florent Xicluna
Changes by Florent Xicluna : Removed file: http://bugs.python.org/file15806/issue7643_remove_deprecation.diff ___ Python tracker ___ ___ Python

[issue7643] What is a Unicode line break character?

2010-01-28 Thread Chris Carter
Chris Carter added the comment: My bad, wrong bug. -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://ma

[issue7643] What is a Unicode line break character?

2010-01-28 Thread Chris Carter
Chris Carter added the comment: Then I must ask, why did the string attribute behave differently? I added it to allow for that, and the behavior seems inconsistent. -- nosy: +Chris.Carter ___ Python tracker _

[issue7643] What is a Unicode line break character?

2010-01-10 Thread Marc-Andre Lemburg
Marc-Andre Lemburg added the comment: Florent Xicluna wrote: > > Florent Xicluna added the comment: > > I don't know what to do about this: > >> - FS, GS, RS are combined marks (CM): “Prohibit a line break between >>the character and the preceding character” > > I know they are not com

[issue7643] What is a Unicode line break character?

2010-01-10 Thread Florent Xicluna
Florent Xicluna added the comment: I don't know what to do about this: > - FS, GS, RS are combined marks (CM): “Prohibit a line break between >the character and the preceding character” I know they are not commonly used. So we can keep them as line breaks. But if we comply strictly with U