[issue44175] What do "cased" and "uncased" mean?

2021-06-22 Thread Andrei Kulakov
Andrei Kulakov added the comment: I've put up a PR that adds a footnote, clarifies 'uncased' meaning and also adds notes in regard to discrepancy between standard publishing definition of "title case" and what we use in the four title-related methods. --

[issue44175] What do "cased" and "uncased" mean?

2021-06-22 Thread Andrei Kulakov
Change by Andrei Kulakov : -- keywords: +patch nosy: +andrei.avk nosy_count: 4.0 -> 5.0 pull_requests: +25440 stage: -> patch review pull_request: https://github.com/python/cpython/pull/26865 ___ Python tracker

[issue44175] What do "cased" and "uncased" mean?

2021-05-21 Thread Isaac Ge
Isaac Ge added the comment: Or we could integrate the explanation of uncased characters into the footnote for cased characters, and append the footnote in "str.istitle()" and "str.upper()". -- ___ Python tracker

[issue44175] What do "cased" and "uncased" mean?

2021-05-21 Thread Isaac Ge
Isaac Ge added the comment: @ Josh Rosenberg Sorry, I mistook "follow" as "be followed by". Thanks to your explication, the document is coherent. I admit that I cannot conjure up any better altnernative. I noticed that "cased character" are explained via the footnote:

[issue44175] What do "cased" and "uncased" mean?

2021-05-19 Thread Raymond Hettinger
Raymond Hettinger added the comment: FWIW, the current terminology is confusing to me as well. -- nosy: +rhettinger ___ Python tracker ___

[issue44175] What do "cased" and "uncased" mean?

2021-05-19 Thread Josh Rosenberg
Josh Rosenberg added the comment: See the docs for the title method on what they mean by "titlecased"; "a" is self-evidently not titlecased. https://docs.python.org/3/library/stdtypes.html#str.title -- ___ Python tracker

[issue44175] What do "cased" and "uncased" mean?

2021-05-19 Thread Isaac Ge
Isaac Ge added the comment: Why does "a".istitle() return "False" while it is not followed by any uncased character? -- ___ Python tracker ___

[issue44175] What do "cased" and "uncased" mean?

2021-05-18 Thread Josh Rosenberg
Josh Rosenberg added the comment: "Cased": Characters which are either lowercase or uppercase (they have some other equivalent form in a different case) "Uncased": Characters which are neither uppercase nor lowercase. Do you have a suggested alternate wording? -- nosy: +josh.r

[issue44175] What do "cased" and "uncased" mean?

2021-05-18 Thread Isaac Ge
Change by Isaac Ge : -- title: What does "cased" and "uncased" mean? -> What do "cased" and "uncased" mean? ___ Python tracker ___