pyicu 2.15.1__tar.gz → 2.15.2__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 (112) hide show
  1. {pyicu-2.15.1 → pyicu-2.15.2}/CHANGES +4 -0
  2. {pyicu-2.15.1/py/PyICU.egg-info → pyicu-2.15.2}/PKG-INFO +1 -1
  3. {pyicu-2.15.1 → pyicu-2.15.2}/arg.h +2 -2
  4. {pyicu-2.15.1 → pyicu-2.15.2}/format.cpp +2 -2
  5. {pyicu-2.15.1 → pyicu-2.15.2}/locale.cpp +3 -3
  6. {pyicu-2.15.1 → pyicu-2.15.2/py/PyICU.egg-info}/PKG-INFO +1 -1
  7. {pyicu-2.15.1 → pyicu-2.15.2}/setup.py +1 -1
  8. {pyicu-2.15.1 → pyicu-2.15.2}/CREDITS +0 -0
  9. {pyicu-2.15.1 → pyicu-2.15.2}/LICENSE +0 -0
  10. {pyicu-2.15.1 → pyicu-2.15.2}/MANIFEST.in +0 -0
  11. {pyicu-2.15.1 → pyicu-2.15.2}/README.md +0 -0
  12. {pyicu-2.15.1 → pyicu-2.15.2}/_icu_.cpp +0 -0
  13. {pyicu-2.15.1 → pyicu-2.15.2}/bases.cpp +0 -0
  14. {pyicu-2.15.1 → pyicu-2.15.2}/bases.h +0 -0
  15. {pyicu-2.15.1 → pyicu-2.15.2}/bidi.cpp +0 -0
  16. {pyicu-2.15.1 → pyicu-2.15.2}/bidi.h +0 -0
  17. {pyicu-2.15.1 → pyicu-2.15.2}/calendar.cpp +0 -0
  18. {pyicu-2.15.1 → pyicu-2.15.2}/calendar.h +0 -0
  19. {pyicu-2.15.1 → pyicu-2.15.2}/casemap.cpp +0 -0
  20. {pyicu-2.15.1 → pyicu-2.15.2}/casemap.h +0 -0
  21. {pyicu-2.15.1 → pyicu-2.15.2}/char.cpp +0 -0
  22. {pyicu-2.15.1 → pyicu-2.15.2}/char.h +0 -0
  23. {pyicu-2.15.1 → pyicu-2.15.2}/charset.cpp +0 -0
  24. {pyicu-2.15.1 → pyicu-2.15.2}/charset.h +0 -0
  25. {pyicu-2.15.1 → pyicu-2.15.2}/collator.cpp +0 -0
  26. {pyicu-2.15.1 → pyicu-2.15.2}/collator.h +0 -0
  27. {pyicu-2.15.1 → pyicu-2.15.2}/common.cpp +0 -0
  28. {pyicu-2.15.1 → pyicu-2.15.2}/common.h +0 -0
  29. {pyicu-2.15.1 → pyicu-2.15.2}/dateformat.cpp +0 -0
  30. {pyicu-2.15.1 → pyicu-2.15.2}/dateformat.h +0 -0
  31. {pyicu-2.15.1 → pyicu-2.15.2}/displayoptions.cpp +0 -0
  32. {pyicu-2.15.1 → pyicu-2.15.2}/displayoptions.h +0 -0
  33. {pyicu-2.15.1 → pyicu-2.15.2}/errors.cpp +0 -0
  34. {pyicu-2.15.1 → pyicu-2.15.2}/errors.h +0 -0
  35. {pyicu-2.15.1 → pyicu-2.15.2}/format.h +0 -0
  36. {pyicu-2.15.1 → pyicu-2.15.2}/gender.cpp +0 -0
  37. {pyicu-2.15.1 → pyicu-2.15.2}/gender.h +0 -0
  38. {pyicu-2.15.1 → pyicu-2.15.2}/idna.cpp +0 -0
  39. {pyicu-2.15.1 → pyicu-2.15.2}/idna.h +0 -0
  40. {pyicu-2.15.1 → pyicu-2.15.2}/iterators.cpp +0 -0
  41. {pyicu-2.15.1 → pyicu-2.15.2}/iterators.h +0 -0
  42. {pyicu-2.15.1 → pyicu-2.15.2}/layoutengine.cpp +0 -0
  43. {pyicu-2.15.1 → pyicu-2.15.2}/layoutengine.h +0 -0
  44. {pyicu-2.15.1 → pyicu-2.15.2}/locale.h +0 -0
  45. {pyicu-2.15.1 → pyicu-2.15.2}/macros.h +0 -0
  46. {pyicu-2.15.1 → pyicu-2.15.2}/measureunit.cpp +0 -0
  47. {pyicu-2.15.1 → pyicu-2.15.2}/measureunit.h +0 -0
  48. {pyicu-2.15.1 → pyicu-2.15.2}/messagepattern.cpp +0 -0
  49. {pyicu-2.15.1 → pyicu-2.15.2}/messagepattern.h +0 -0
  50. {pyicu-2.15.1 → pyicu-2.15.2}/normalizer.cpp +0 -0
  51. {pyicu-2.15.1 → pyicu-2.15.2}/normalizer.h +0 -0
  52. {pyicu-2.15.1 → pyicu-2.15.2}/numberformat.cpp +0 -0
  53. {pyicu-2.15.1 → pyicu-2.15.2}/numberformat.h +0 -0
  54. {pyicu-2.15.1 → pyicu-2.15.2}/py/PyICU.egg-info/SOURCES.txt +0 -0
  55. {pyicu-2.15.1 → pyicu-2.15.2}/py/PyICU.egg-info/dependency_links.txt +0 -0
  56. {pyicu-2.15.1 → pyicu-2.15.2}/py/PyICU.egg-info/top_level.txt +0 -0
  57. {pyicu-2.15.1 → pyicu-2.15.2}/py/icu/__init__.py +0 -0
  58. {pyicu-2.15.1 → pyicu-2.15.2}/pyproject.toml +0 -0
  59. {pyicu-2.15.1 → pyicu-2.15.2}/regex.cpp +0 -0
  60. {pyicu-2.15.1 → pyicu-2.15.2}/regex.h +0 -0
  61. {pyicu-2.15.1 → pyicu-2.15.2}/samples/break.py +0 -0
  62. {pyicu-2.15.1 → pyicu-2.15.2}/samples/strsrch.py +0 -0
  63. {pyicu-2.15.1 → pyicu-2.15.2}/script.cpp +0 -0
  64. {pyicu-2.15.1 → pyicu-2.15.2}/script.h +0 -0
  65. {pyicu-2.15.1 → pyicu-2.15.2}/search.cpp +0 -0
  66. {pyicu-2.15.1 → pyicu-2.15.2}/search.h +0 -0
  67. {pyicu-2.15.1 → pyicu-2.15.2}/setup.cfg +0 -0
  68. {pyicu-2.15.1 → pyicu-2.15.2}/shape.cpp +0 -0
  69. {pyicu-2.15.1 → pyicu-2.15.2}/shape.h +0 -0
  70. {pyicu-2.15.1 → pyicu-2.15.2}/spoof.cpp +0 -0
  71. {pyicu-2.15.1 → pyicu-2.15.2}/spoof.h +0 -0
  72. {pyicu-2.15.1 → pyicu-2.15.2}/test/__init__.py +0 -0
  73. {pyicu-2.15.1 → pyicu-2.15.2}/test/lohit_hi.ttf +0 -0
  74. {pyicu-2.15.1 → pyicu-2.15.2}/test/noms.txt +0 -0
  75. {pyicu-2.15.1 → pyicu-2.15.2}/test/test_Bidi.py +0 -0
  76. {pyicu-2.15.1 → pyicu-2.15.2}/test/test_BreakIterator.py +0 -0
  77. {pyicu-2.15.1 → pyicu-2.15.2}/test/test_BytesTrie.py +0 -0
  78. {pyicu-2.15.1 → pyicu-2.15.2}/test/test_Charset.py +0 -0
  79. {pyicu-2.15.1 → pyicu-2.15.2}/test/test_Collator.py +0 -0
  80. {pyicu-2.15.1 → pyicu-2.15.2}/test/test_DateTimePatternGenerator.py +0 -0
  81. {pyicu-2.15.1 → pyicu-2.15.2}/test/test_LayoutEngine.py +0 -0
  82. {pyicu-2.15.1 → pyicu-2.15.2}/test/test_ListFormatter.py +0 -0
  83. {pyicu-2.15.1 → pyicu-2.15.2}/test/test_Locale.py +0 -0
  84. {pyicu-2.15.1 → pyicu-2.15.2}/test/test_LocaleData.py +0 -0
  85. {pyicu-2.15.1 → pyicu-2.15.2}/test/test_LocaleMatcher.py +0 -0
  86. {pyicu-2.15.1 → pyicu-2.15.2}/test/test_MessageFormat.py +0 -0
  87. {pyicu-2.15.1 → pyicu-2.15.2}/test/test_MessagePattern.py +0 -0
  88. {pyicu-2.15.1 → pyicu-2.15.2}/test/test_Normalizer.py +0 -0
  89. {pyicu-2.15.1 → pyicu-2.15.2}/test/test_NumberFormat.py +0 -0
  90. {pyicu-2.15.1 → pyicu-2.15.2}/test/test_NumberFormatter.py +0 -0
  91. {pyicu-2.15.1 → pyicu-2.15.2}/test/test_Property.py +0 -0
  92. {pyicu-2.15.1 → pyicu-2.15.2}/test/test_PythonReplaceable.py +0 -0
  93. {pyicu-2.15.1 → pyicu-2.15.2}/test/test_Regex.py +0 -0
  94. {pyicu-2.15.1 → pyicu-2.15.2}/test/test_Script.py +0 -0
  95. {pyicu-2.15.1 → pyicu-2.15.2}/test/test_SimpleFormatter.py +0 -0
  96. {pyicu-2.15.1 → pyicu-2.15.2}/test/test_Spoof.py +0 -0
  97. {pyicu-2.15.1 → pyicu-2.15.2}/test/test_TimeZone.py +0 -0
  98. {pyicu-2.15.1 → pyicu-2.15.2}/test/test_Transliterator.py +0 -0
  99. {pyicu-2.15.1 → pyicu-2.15.2}/test/test_UCS4.py +0 -0
  100. {pyicu-2.15.1 → pyicu-2.15.2}/test/test_UCharsTrie.py +0 -0
  101. {pyicu-2.15.1 → pyicu-2.15.2}/test/test_UDate.py +0 -0
  102. {pyicu-2.15.1 → pyicu-2.15.2}/test/test_UnicodeSet.py +0 -0
  103. {pyicu-2.15.1 → pyicu-2.15.2}/timezone.cpp +0 -0
  104. {pyicu-2.15.1 → pyicu-2.15.2}/timezone.h +0 -0
  105. {pyicu-2.15.1 → pyicu-2.15.2}/transliterator.cpp +0 -0
  106. {pyicu-2.15.1 → pyicu-2.15.2}/transliterator.h +0 -0
  107. {pyicu-2.15.1 → pyicu-2.15.2}/tries.cpp +0 -0
  108. {pyicu-2.15.1 → pyicu-2.15.2}/tries.h +0 -0
  109. {pyicu-2.15.1 → pyicu-2.15.2}/tzinfo.cpp +0 -0
  110. {pyicu-2.15.1 → pyicu-2.15.2}/tzinfo.h +0 -0
  111. {pyicu-2.15.1 → pyicu-2.15.2}/unicodeset.cpp +0 -0
  112. {pyicu-2.15.1 → pyicu-2.15.2}/unicodeset.h +0 -0
@@ -1,3 +1,7 @@
1
+ Version 2.15.1 -> 2.15.2
2
+ ------------------------
3
+ - fixed calloc/free mismatch with arg::Q() uses (Fredrik Roubert)
4
+
1
5
  Version 2.15 -> 2.15.1
2
6
  ----------------------
3
7
  - fixed build error missing conditional ICU < 70 in UnicodeSetIterator()
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: pyicu
3
- Version: 2.15.1
3
+ Version: 2.15.2
4
4
  Summary: Python extension wrapping the ICU C++ API
5
5
  Home-page: https://gitlab.pyicu.org/main/pyicu
6
6
  Author: Andi Vajda
@@ -385,13 +385,13 @@ template <typename T> class ICUObjectArray {
385
385
  private:
386
386
  const classid id;
387
387
  PyTypeObject *const type;
388
- std::unique_ptr<T *> *const array;
388
+ std::unique_ptr<T *, decltype(free) *> *const array;
389
389
  size_t *const len;
390
390
 
391
391
  public:
392
392
  ICUObjectArray() = delete;
393
393
 
394
- explicit ICUObjectArray(classid param1, PyTypeObject *param2, std::unique_ptr<T *> *param3, size_t *param4) noexcept
394
+ explicit ICUObjectArray(classid param1, PyTypeObject *param2, std::unique_ptr<T *, decltype(free) *> *param3, size_t *param4) noexcept
395
395
  : id(param1), type(param2), array(param3), len(param4) {}
396
396
 
397
397
  int parse(PyObject *arg) const
@@ -964,7 +964,7 @@ static PyObject *t_measureformat_formatMeasure(t_measureformat *self,
964
964
  static PyObject *t_measureformat_formatMeasures(t_measureformat *self,
965
965
  PyObject *args)
966
966
  {
967
- std::unique_ptr<Measure *> measures;
967
+ std::unique_ptr<Measure *, decltype(free) *> measures(NULL, free);
968
968
  size_t len;
969
969
  FieldPosition dont_care(FieldPosition::DONT_CARE);
970
970
  FieldPosition *fp;
@@ -1288,7 +1288,7 @@ static PyObject *t_messageformat_getFormats(t_messageformat *self)
1288
1288
  static PyObject *t_messageformat_setFormats(t_messageformat *self,
1289
1289
  PyObject *arg)
1290
1290
  {
1291
- std::unique_ptr<Format *> formats;
1291
+ std::unique_ptr<Format *, decltype(free) *> formats(NULL, free);
1292
1292
  size_t len;
1293
1293
 
1294
1294
  if (!parseArg(arg, arg::Q<Format>(TYPE_ID(Format), &formats, &len)))
@@ -2322,7 +2322,7 @@ static PyObject *t_localematcherbuilder_setSupportedLocalesFromListString(
2322
2322
  static PyObject *t_localematcherbuilder_setSupportedLocales(
2323
2323
  t_localematcherbuilder *self, PyObject *arg)
2324
2324
  {
2325
- std::unique_ptr<Locale *> locales;
2325
+ std::unique_ptr<Locale *, decltype(free) *> locales(NULL, free);
2326
2326
  size_t len;
2327
2327
 
2328
2328
  if (!parseArg(arg, arg::Q<Locale>(TYPE_CLASSID(Locale), &locales, &len)))
@@ -2499,7 +2499,7 @@ static PyObject *t_localematcher_getBestMatch(t_localematcher *self,
2499
2499
  PyObject *arg)
2500
2500
  {
2501
2501
  Locale *locale;
2502
- std::unique_ptr<Locale *> locales;
2502
+ std::unique_ptr<Locale *, decltype(free) *> locales(NULL, free);
2503
2503
  size_t len;
2504
2504
 
2505
2505
  if (!parseArg(arg, arg::P<Locale>(TYPE_CLASSID(Locale), &locale)))
@@ -2546,7 +2546,7 @@ static PyObject *t_localematcher_getBestMatchResult(
2546
2546
  t_localematcher *self, PyObject *arg)
2547
2547
  {
2548
2548
  Locale *locale;
2549
- std::unique_ptr<Locale *> locales;
2549
+ std::unique_ptr<Locale *, decltype(free) *> locales(NULL, free);
2550
2550
  size_t len;
2551
2551
 
2552
2552
  if (!parseArg(arg, arg::P<Locale>(TYPE_CLASSID(Locale), &locale)))
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: pyicu
3
- Version: 2.15.1
3
+ Version: 2.15.2
4
4
  Summary: Python extension wrapping the ICU C++ API
5
5
  Home-page: https://gitlab.pyicu.org/main/pyicu
6
6
  Author: Andi Vajda
@@ -8,7 +8,7 @@ except ImportError:
8
8
 
9
9
  from distutils.spawn import find_executable
10
10
 
11
- VERSION = '2.15.1'
11
+ VERSION = '2.15.2'
12
12
  ICU_MAX_MAJOR_VERSION = '77' # max supported major version of ICU
13
13
 
14
14
  try:
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
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
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
File without changes
File without changes