[issue23550] Add to unicodedata a function to query the "Quick_Check" property for a character

2015-03-28 Thread Hammerite
Hammerite added the comment: For good measure, here is a patch that makes all of Berker's suggested stylistic changes, but applies them to the pre-existing code in makeunicodedata.py and unicodedata.c. So all of the existing docstrings are converted from '"...\n\' to '"...\n"' form, and the ot

[issue23550] Add to unicodedata a function to query the "Quick_Check" property for a character

2015-03-27 Thread Hammerite
Hammerite added the comment: My remark about the arrays not being static is not entirely accurate. _PyUnicode_CategoryNames, _PyUnicode_BidirectionalNames and _PyUnicode_EastAsianWidthNames are not static, however decomp_prefix is static. It would not add any significant bulk to the patch to m

[issue23550] Add to unicodedata a function to query the "Quick_Check" property for a character

2015-03-26 Thread Hammerite
Hammerite added the comment: Here is a new patch. This version addresses several issues raised in review by Ezio Melotti and Berker Peksag. Where I have not (yet) addressed an issue, I have explained why not in my previous post. I attempted to preview my changes to the documentation that are n

[issue23550] Add to unicodedata a function to query the "Quick_Check" property for a character

2015-03-24 Thread Hammerite
Hammerite added the comment: I tried to add these responses within the code review section of the site, but I am unable to do so; when I click "Send Message", I am taken to a page that consists of the text "500 Server Error" and no other content. Therefore I am responding to the code review co

[issue23550] Add to unicodedata a function to query the "Quick_Check" property for a character

2015-03-19 Thread Hammerite
Hammerite added the comment: Berker, I had not seen your or Ezio's review comments. The user interface here is new to me and I did not know to seek them out separately from the issue page. Thank you for pointing them out to me. I shall go through and look at the suggestions that were made. --

[issue23550] Add to unicodedata a function to query the "Quick_Check" property for a character

2015-03-18 Thread Berker Peksag
Berker Peksag added the comment: Thanks for the patch, Hammerite. Did you see the review comments on Rietveld? -- nosy: +berker.peksag ___ Python tracker ___

[issue23550] Add to unicodedata a function to query the "Quick_Check" property for a character

2015-03-18 Thread Berker Peksag
Changes by Berker Peksag : -- stage: -> patch review ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://m

[issue23550] Add to unicodedata a function to query the "Quick_Check" property for a character

2015-03-18 Thread Hammerite
Hammerite added the comment: I'm a registered contributor now, in case that is a roadblock. -- ___ Python tracker ___ ___ Python-bugs-

[issue23550] Add to unicodedata a function to query the "Quick_Check" property for a character

2015-03-03 Thread Hammerite
Hammerite added the comment: Here is a better patch that includes the changes to unicodedata.h The problem before was that the diff tool can't cope with line ending differences. I just fixed the line endings manually. -- Added file: http://bugs.python.org/file38323/quick_check_2.patch

[issue23550] Add to unicodedata a function to query the "Quick_Check" property for a character

2015-03-02 Thread Hammerite
Hammerite added the comment: Here is an initial attempt at a patch that implements the new function. Notes on this patch: - The function as implemented here returns a string: "Yes", "No", or "Maybe". In light of the fact that Python now has enums, it is probably more appropriate that unicoded

[issue23550] Add to unicodedata a function to query the "Quick_Check" property for a character

2015-02-28 Thread Hammerite
Hammerite added the comment: No, I haven't done any work on it. Is that the "done" thing when suggesting something? I'm sorry, I wasn't aware. I could look into it. I am unfamiliar with the CPython codebase, but I can have a go. -- ___ Python track

[issue23550] Add to unicodedata a function to query the "Quick_Check" property for a character

2015-02-28 Thread Marc-Andre Lemburg
Marc-Andre Lemburg added the comment: Can you provide a patch for this ? -- ___ Python tracker ___ ___ Python-bugs-list mailing list U

[issue23550] Add to unicodedata a function to query the "Quick_Check" property for a character

2015-02-28 Thread SilentGhost
Changes by SilentGhost : -- nosy: +benjamin.peterson, lemburg, loewis, pitrou versions: +Python 3.5 ___ Python tracker ___ ___ Python-

[issue23550] Add to unicodedata a function to query the "Quick_Check" property for a character

2015-02-28 Thread Hammerite
New submission from Hammerite: Unicode Standard Annex #15 (http://unicode.org/reports/tr15/#Stable_Code_Points) describes how each character in Unicode, for each of the four normalisation forms, has a "Quick_Check" value that aids in determining whether a given string is in that normalisation