We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e6b10eb commit 4bf5ecfCopy full SHA for 4bf5ecf
1 file changed
yara-python.c
@@ -1522,13 +1522,6 @@ int process_compile_externals(
1522
1523
while (PyDict_Next(externals, &pos, &key, &value))
1524
{
1525
- if (!PY_STRING_CHECK(key)) {
1526
- PyErr_Format(
1527
- PyExc_TypeError,
1528
- "keys of externals dict must be strings");
1529
-
1530
- return ERROR_INVALID_ARGUMENT;
1531
- }
1532
identifier = PY_STRING_TO_C(key);
1533
1534
if (PyBool_Check(value))
@@ -1599,13 +1592,6 @@ int process_match_externals(
1599
1592
1600
1593
1601
1594
1602
1603
1604
1605
1606
1607
1608
1609
1595
1610
1596
1611
1597
0 commit comments