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.
- {pyicu-2.15.1 → pyicu-2.15.2}/CHANGES +4 -0
- {pyicu-2.15.1/py/PyICU.egg-info → pyicu-2.15.2}/PKG-INFO +1 -1
- {pyicu-2.15.1 → pyicu-2.15.2}/arg.h +2 -2
- {pyicu-2.15.1 → pyicu-2.15.2}/format.cpp +2 -2
- {pyicu-2.15.1 → pyicu-2.15.2}/locale.cpp +3 -3
- {pyicu-2.15.1 → pyicu-2.15.2/py/PyICU.egg-info}/PKG-INFO +1 -1
- {pyicu-2.15.1 → pyicu-2.15.2}/setup.py +1 -1
- {pyicu-2.15.1 → pyicu-2.15.2}/CREDITS +0 -0
- {pyicu-2.15.1 → pyicu-2.15.2}/LICENSE +0 -0
- {pyicu-2.15.1 → pyicu-2.15.2}/MANIFEST.in +0 -0
- {pyicu-2.15.1 → pyicu-2.15.2}/README.md +0 -0
- {pyicu-2.15.1 → pyicu-2.15.2}/_icu_.cpp +0 -0
- {pyicu-2.15.1 → pyicu-2.15.2}/bases.cpp +0 -0
- {pyicu-2.15.1 → pyicu-2.15.2}/bases.h +0 -0
- {pyicu-2.15.1 → pyicu-2.15.2}/bidi.cpp +0 -0
- {pyicu-2.15.1 → pyicu-2.15.2}/bidi.h +0 -0
- {pyicu-2.15.1 → pyicu-2.15.2}/calendar.cpp +0 -0
- {pyicu-2.15.1 → pyicu-2.15.2}/calendar.h +0 -0
- {pyicu-2.15.1 → pyicu-2.15.2}/casemap.cpp +0 -0
- {pyicu-2.15.1 → pyicu-2.15.2}/casemap.h +0 -0
- {pyicu-2.15.1 → pyicu-2.15.2}/char.cpp +0 -0
- {pyicu-2.15.1 → pyicu-2.15.2}/char.h +0 -0
- {pyicu-2.15.1 → pyicu-2.15.2}/charset.cpp +0 -0
- {pyicu-2.15.1 → pyicu-2.15.2}/charset.h +0 -0
- {pyicu-2.15.1 → pyicu-2.15.2}/collator.cpp +0 -0
- {pyicu-2.15.1 → pyicu-2.15.2}/collator.h +0 -0
- {pyicu-2.15.1 → pyicu-2.15.2}/common.cpp +0 -0
- {pyicu-2.15.1 → pyicu-2.15.2}/common.h +0 -0
- {pyicu-2.15.1 → pyicu-2.15.2}/dateformat.cpp +0 -0
- {pyicu-2.15.1 → pyicu-2.15.2}/dateformat.h +0 -0
- {pyicu-2.15.1 → pyicu-2.15.2}/displayoptions.cpp +0 -0
- {pyicu-2.15.1 → pyicu-2.15.2}/displayoptions.h +0 -0
- {pyicu-2.15.1 → pyicu-2.15.2}/errors.cpp +0 -0
- {pyicu-2.15.1 → pyicu-2.15.2}/errors.h +0 -0
- {pyicu-2.15.1 → pyicu-2.15.2}/format.h +0 -0
- {pyicu-2.15.1 → pyicu-2.15.2}/gender.cpp +0 -0
- {pyicu-2.15.1 → pyicu-2.15.2}/gender.h +0 -0
- {pyicu-2.15.1 → pyicu-2.15.2}/idna.cpp +0 -0
- {pyicu-2.15.1 → pyicu-2.15.2}/idna.h +0 -0
- {pyicu-2.15.1 → pyicu-2.15.2}/iterators.cpp +0 -0
- {pyicu-2.15.1 → pyicu-2.15.2}/iterators.h +0 -0
- {pyicu-2.15.1 → pyicu-2.15.2}/layoutengine.cpp +0 -0
- {pyicu-2.15.1 → pyicu-2.15.2}/layoutengine.h +0 -0
- {pyicu-2.15.1 → pyicu-2.15.2}/locale.h +0 -0
- {pyicu-2.15.1 → pyicu-2.15.2}/macros.h +0 -0
- {pyicu-2.15.1 → pyicu-2.15.2}/measureunit.cpp +0 -0
- {pyicu-2.15.1 → pyicu-2.15.2}/measureunit.h +0 -0
- {pyicu-2.15.1 → pyicu-2.15.2}/messagepattern.cpp +0 -0
- {pyicu-2.15.1 → pyicu-2.15.2}/messagepattern.h +0 -0
- {pyicu-2.15.1 → pyicu-2.15.2}/normalizer.cpp +0 -0
- {pyicu-2.15.1 → pyicu-2.15.2}/normalizer.h +0 -0
- {pyicu-2.15.1 → pyicu-2.15.2}/numberformat.cpp +0 -0
- {pyicu-2.15.1 → pyicu-2.15.2}/numberformat.h +0 -0
- {pyicu-2.15.1 → pyicu-2.15.2}/py/PyICU.egg-info/SOURCES.txt +0 -0
- {pyicu-2.15.1 → pyicu-2.15.2}/py/PyICU.egg-info/dependency_links.txt +0 -0
- {pyicu-2.15.1 → pyicu-2.15.2}/py/PyICU.egg-info/top_level.txt +0 -0
- {pyicu-2.15.1 → pyicu-2.15.2}/py/icu/__init__.py +0 -0
- {pyicu-2.15.1 → pyicu-2.15.2}/pyproject.toml +0 -0
- {pyicu-2.15.1 → pyicu-2.15.2}/regex.cpp +0 -0
- {pyicu-2.15.1 → pyicu-2.15.2}/regex.h +0 -0
- {pyicu-2.15.1 → pyicu-2.15.2}/samples/break.py +0 -0
- {pyicu-2.15.1 → pyicu-2.15.2}/samples/strsrch.py +0 -0
- {pyicu-2.15.1 → pyicu-2.15.2}/script.cpp +0 -0
- {pyicu-2.15.1 → pyicu-2.15.2}/script.h +0 -0
- {pyicu-2.15.1 → pyicu-2.15.2}/search.cpp +0 -0
- {pyicu-2.15.1 → pyicu-2.15.2}/search.h +0 -0
- {pyicu-2.15.1 → pyicu-2.15.2}/setup.cfg +0 -0
- {pyicu-2.15.1 → pyicu-2.15.2}/shape.cpp +0 -0
- {pyicu-2.15.1 → pyicu-2.15.2}/shape.h +0 -0
- {pyicu-2.15.1 → pyicu-2.15.2}/spoof.cpp +0 -0
- {pyicu-2.15.1 → pyicu-2.15.2}/spoof.h +0 -0
- {pyicu-2.15.1 → pyicu-2.15.2}/test/__init__.py +0 -0
- {pyicu-2.15.1 → pyicu-2.15.2}/test/lohit_hi.ttf +0 -0
- {pyicu-2.15.1 → pyicu-2.15.2}/test/noms.txt +0 -0
- {pyicu-2.15.1 → pyicu-2.15.2}/test/test_Bidi.py +0 -0
- {pyicu-2.15.1 → pyicu-2.15.2}/test/test_BreakIterator.py +0 -0
- {pyicu-2.15.1 → pyicu-2.15.2}/test/test_BytesTrie.py +0 -0
- {pyicu-2.15.1 → pyicu-2.15.2}/test/test_Charset.py +0 -0
- {pyicu-2.15.1 → pyicu-2.15.2}/test/test_Collator.py +0 -0
- {pyicu-2.15.1 → pyicu-2.15.2}/test/test_DateTimePatternGenerator.py +0 -0
- {pyicu-2.15.1 → pyicu-2.15.2}/test/test_LayoutEngine.py +0 -0
- {pyicu-2.15.1 → pyicu-2.15.2}/test/test_ListFormatter.py +0 -0
- {pyicu-2.15.1 → pyicu-2.15.2}/test/test_Locale.py +0 -0
- {pyicu-2.15.1 → pyicu-2.15.2}/test/test_LocaleData.py +0 -0
- {pyicu-2.15.1 → pyicu-2.15.2}/test/test_LocaleMatcher.py +0 -0
- {pyicu-2.15.1 → pyicu-2.15.2}/test/test_MessageFormat.py +0 -0
- {pyicu-2.15.1 → pyicu-2.15.2}/test/test_MessagePattern.py +0 -0
- {pyicu-2.15.1 → pyicu-2.15.2}/test/test_Normalizer.py +0 -0
- {pyicu-2.15.1 → pyicu-2.15.2}/test/test_NumberFormat.py +0 -0
- {pyicu-2.15.1 → pyicu-2.15.2}/test/test_NumberFormatter.py +0 -0
- {pyicu-2.15.1 → pyicu-2.15.2}/test/test_Property.py +0 -0
- {pyicu-2.15.1 → pyicu-2.15.2}/test/test_PythonReplaceable.py +0 -0
- {pyicu-2.15.1 → pyicu-2.15.2}/test/test_Regex.py +0 -0
- {pyicu-2.15.1 → pyicu-2.15.2}/test/test_Script.py +0 -0
- {pyicu-2.15.1 → pyicu-2.15.2}/test/test_SimpleFormatter.py +0 -0
- {pyicu-2.15.1 → pyicu-2.15.2}/test/test_Spoof.py +0 -0
- {pyicu-2.15.1 → pyicu-2.15.2}/test/test_TimeZone.py +0 -0
- {pyicu-2.15.1 → pyicu-2.15.2}/test/test_Transliterator.py +0 -0
- {pyicu-2.15.1 → pyicu-2.15.2}/test/test_UCS4.py +0 -0
- {pyicu-2.15.1 → pyicu-2.15.2}/test/test_UCharsTrie.py +0 -0
- {pyicu-2.15.1 → pyicu-2.15.2}/test/test_UDate.py +0 -0
- {pyicu-2.15.1 → pyicu-2.15.2}/test/test_UnicodeSet.py +0 -0
- {pyicu-2.15.1 → pyicu-2.15.2}/timezone.cpp +0 -0
- {pyicu-2.15.1 → pyicu-2.15.2}/timezone.h +0 -0
- {pyicu-2.15.1 → pyicu-2.15.2}/transliterator.cpp +0 -0
- {pyicu-2.15.1 → pyicu-2.15.2}/transliterator.h +0 -0
- {pyicu-2.15.1 → pyicu-2.15.2}/tries.cpp +0 -0
- {pyicu-2.15.1 → pyicu-2.15.2}/tries.h +0 -0
- {pyicu-2.15.1 → pyicu-2.15.2}/tzinfo.cpp +0 -0
- {pyicu-2.15.1 → pyicu-2.15.2}/tzinfo.h +0 -0
- {pyicu-2.15.1 → pyicu-2.15.2}/unicodeset.cpp +0 -0
- {pyicu-2.15.1 → pyicu-2.15.2}/unicodeset.h +0 -0
|
@@ -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)))
|
|
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
|
|
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
|