backrefs 6.0__tar.gz → 6.0.1__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (69) hide show
  1. {backrefs-6.0 → backrefs-6.0.1}/PKG-INFO +1 -1
  2. {backrefs-6.0 → backrefs-6.0.1}/backrefs/__meta__.py +1 -1
  3. {backrefs-6.0 → backrefs-6.0.1}/docs/src/markdown/about/changelog.md +4 -0
  4. {backrefs-6.0 → backrefs-6.0.1}/tools/unipropgen.py +15 -11
  5. {backrefs-6.0 → backrefs-6.0.1}/.coveragerc +0 -0
  6. {backrefs-6.0 → backrefs-6.0.1}/.gitignore +0 -0
  7. {backrefs-6.0 → backrefs-6.0.1}/.pyspelling.yml +0 -0
  8. {backrefs-6.0 → backrefs-6.0.1}/LICENSE.md +0 -0
  9. {backrefs-6.0 → backrefs-6.0.1}/README.md +0 -0
  10. {backrefs-6.0 → backrefs-6.0.1}/backrefs/__init__.py +0 -0
  11. {backrefs-6.0 → backrefs-6.0.1}/backrefs/_bre_parse.py +0 -0
  12. {backrefs-6.0 → backrefs-6.0.1}/backrefs/_bregex_parse.py +0 -0
  13. {backrefs-6.0 → backrefs-6.0.1}/backrefs/_bregex_typing.py +0 -0
  14. {backrefs-6.0 → backrefs-6.0.1}/backrefs/bre.py +0 -0
  15. {backrefs-6.0 → backrefs-6.0.1}/backrefs/bregex.py +0 -0
  16. {backrefs-6.0 → backrefs-6.0.1}/backrefs/py.typed +0 -0
  17. {backrefs-6.0 → backrefs-6.0.1}/backrefs/uniprops/__init__.py +0 -0
  18. {backrefs-6.0 → backrefs-6.0.1}/backrefs/util.py +0 -0
  19. {backrefs-6.0 → backrefs-6.0.1}/docs/src/markdown/.snippets/links.md +0 -0
  20. {backrefs-6.0 → backrefs-6.0.1}/docs/src/markdown/about/contributing.md +0 -0
  21. {backrefs-6.0 → backrefs-6.0.1}/docs/src/markdown/about/license.md +0 -0
  22. {backrefs-6.0 → backrefs-6.0.1}/docs/src/markdown/about/security.md +0 -0
  23. {backrefs-6.0 → backrefs-6.0.1}/docs/src/markdown/index.md +0 -0
  24. {backrefs-6.0 → backrefs-6.0.1}/docs/src/markdown/refs.md +0 -0
  25. {backrefs-6.0 → backrefs-6.0.1}/docs/src/markdown/usage.md +0 -0
  26. {backrefs-6.0 → backrefs-6.0.1}/docs/theme/announce.html +0 -0
  27. {backrefs-6.0 → backrefs-6.0.1}/hatch_build.py +0 -0
  28. {backrefs-6.0 → backrefs-6.0.1}/mkdocs.yml +0 -0
  29. {backrefs-6.0 → backrefs-6.0.1}/pyproject.toml +0 -0
  30. {backrefs-6.0 → backrefs-6.0.1}/requirements/docs.txt +0 -0
  31. {backrefs-6.0 → backrefs-6.0.1}/requirements/lint.txt +0 -0
  32. {backrefs-6.0 → backrefs-6.0.1}/requirements/test.txt +0 -0
  33. {backrefs-6.0 → backrefs-6.0.1}/tests/__init__.py +0 -0
  34. {backrefs-6.0 → backrefs-6.0.1}/tests/test_age.py +0 -0
  35. {backrefs-6.0 → backrefs-6.0.1}/tests/test_bidiclass.py +0 -0
  36. {backrefs-6.0 → backrefs-6.0.1}/tests/test_bidipairedbrackettype.py +0 -0
  37. {backrefs-6.0 → backrefs-6.0.1}/tests/test_binary.py +0 -0
  38. {backrefs-6.0 → backrefs-6.0.1}/tests/test_block.py +0 -0
  39. {backrefs-6.0 → backrefs-6.0.1}/tests/test_bre.py +0 -0
  40. {backrefs-6.0 → backrefs-6.0.1}/tests/test_bregex.py +0 -0
  41. {backrefs-6.0 → backrefs-6.0.1}/tests/test_canonicalcombiningclass.py +0 -0
  42. {backrefs-6.0 → backrefs-6.0.1}/tests/test_decompositiontype.py +0 -0
  43. {backrefs-6.0 → backrefs-6.0.1}/tests/test_eastasianwidth.py +0 -0
  44. {backrefs-6.0 → backrefs-6.0.1}/tests/test_generalcategory.py +0 -0
  45. {backrefs-6.0 → backrefs-6.0.1}/tests/test_graphemeclusterbreak.py +0 -0
  46. {backrefs-6.0 → backrefs-6.0.1}/tests/test_hangulsyllabletype.py +0 -0
  47. {backrefs-6.0 → backrefs-6.0.1}/tests/test_indicpositionalcategory.py +0 -0
  48. {backrefs-6.0 → backrefs-6.0.1}/tests/test_indicsylabiccategory.py +0 -0
  49. {backrefs-6.0 → backrefs-6.0.1}/tests/test_joininggroup.py +0 -0
  50. {backrefs-6.0 → backrefs-6.0.1}/tests/test_joiningtype.py +0 -0
  51. {backrefs-6.0 → backrefs-6.0.1}/tests/test_linebreak.py +0 -0
  52. {backrefs-6.0 → backrefs-6.0.1}/tests/test_numerictype.py +0 -0
  53. {backrefs-6.0 → backrefs-6.0.1}/tests/test_numericvalue.py +0 -0
  54. {backrefs-6.0 → backrefs-6.0.1}/tests/test_quickcheck.py +0 -0
  55. {backrefs-6.0 → backrefs-6.0.1}/tests/test_script.py +0 -0
  56. {backrefs-6.0 → backrefs-6.0.1}/tests/test_scriptextensions.py +0 -0
  57. {backrefs-6.0 → backrefs-6.0.1}/tests/test_sentencebreak.py +0 -0
  58. {backrefs-6.0 → backrefs-6.0.1}/tests/test_uniprops.py +0 -0
  59. {backrefs-6.0 → backrefs-6.0.1}/tests/test_versions.py +0 -0
  60. {backrefs-6.0 → backrefs-6.0.1}/tests/test_verticalorientation.py +0 -0
  61. {backrefs-6.0 → backrefs-6.0.1}/tests/test_wordbreak.py +0 -0
  62. {backrefs-6.0 → backrefs-6.0.1}/tools/__init__.py +0 -0
  63. {backrefs-6.0 → backrefs-6.0.1}/tools/unicodedata/13.0.0.zip +0 -0
  64. {backrefs-6.0 → backrefs-6.0.1}/tools/unicodedata/14.0.0.zip +0 -0
  65. {backrefs-6.0 → backrefs-6.0.1}/tools/unicodedata/15.0.0.zip +0 -0
  66. {backrefs-6.0 → backrefs-6.0.1}/tools/unicodedata/15.1.0.zip +0 -0
  67. {backrefs-6.0 → backrefs-6.0.1}/tools/unicodedata/16.0.0.zip +0 -0
  68. {backrefs-6.0 → backrefs-6.0.1}/tools/unicodedata/LICENSE +0 -0
  69. {backrefs-6.0 → backrefs-6.0.1}/tools/unidatadownload.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: backrefs
3
- Version: 6.0
3
+ Version: 6.0.1
4
4
  Summary: A wrapper around re and regex that adds additional back references.
5
5
  Project-URL: Homepage, https://github.com/facelessuser/backrefs
6
6
  Author-email: Isaac Muse <Isaac.Muse@gmail.com>
@@ -193,5 +193,5 @@ def parse_version(ver: str) -> Version:
193
193
  return Version(major, minor, micro, release, pre, post, dev)
194
194
 
195
195
 
196
- __version_info__ = Version(6, 0, 0, "final")
196
+ __version_info__ = Version(6, 0, 1, "final")
197
197
  __version__ = __version_info__._get_canonical()
@@ -1,5 +1,9 @@
1
1
  # Changelog
2
2
 
3
+ ## 6.0.1
4
+
5
+ - **FIX**: Fix a regression that created an ASCII binary property that would override the ASCII block property.
6
+
3
7
  ## 6.0
4
8
 
5
9
  - **NEW**: POSIX character classes will now always use POSIX compatibility rules instead of Unicode standard rules,
@@ -895,15 +895,19 @@ def gen_alias(nonbinary, binary, output):
895
895
  alias_header_re = re.compile(r'^#\s+(\w+)\s+Properties\s*$')
896
896
  divider_re = re.compile(r'#\s*=+\s*$')
897
897
  posix_props = {
898
- 'posixalpha': 'alphabetic',
899
- 'posixlower': 'lowercase',
900
- 'posixupper': 'uppercase',
901
- 'posixspace': 'whitespace',
902
- 'posixascii': 'basiclatin',
903
- 'blank': 'posixblank',
904
- 'graph': 'posixgraph',
905
- 'print': 'posixprint',
906
- 'word': 'posixword'
898
+ 'binary': {
899
+ 'posixalpha': 'alphabetic',
900
+ 'posixlower': 'lowercase',
901
+ 'posixupper': 'uppercase',
902
+ 'posixspace': 'whitespace',
903
+ 'blank': 'posixblank',
904
+ 'graph': 'posixgraph',
905
+ 'print': 'posixprint',
906
+ 'word': 'posixword'
907
+ },
908
+ 'block': {
909
+ 'posixascii': 'basiclatin'
910
+ }
907
911
  }
908
912
  toplevel = (
909
913
  'catalog', 'enumerated', 'numeric', 'miscellaneous'
@@ -982,8 +986,8 @@ def gen_alias(nonbinary, binary, output):
982
986
  alias[x] = {}
983
987
 
984
988
  for k, v in posix_props.items():
985
- if k not in alias['binary']:
986
- alias['binary'][k] = v
989
+ for k1, v1 in v.items():
990
+ alias[k][k1] = v1
987
991
 
988
992
  alias['binary']['h'] = 'horizspace'
989
993
  alias['binary']['v'] = 'vertspace'
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes