File: | snackmodule.c |
Function: | init_snack |
Error: | ob_refcnt of PyIntObject is 1 too high |
1319 void init_snack(void) {
1320 PyObject * d, * m;
1321
1322 m = Py_InitModule("_snack", snackModuleMethods);
1323 d = PyModule_GetDict(m);
when Py_InitModule4_64() succeeds
1324
1325 PyDict_SetItemString(d, "ANCHOR_LEFT", PyInt_FromLong(NEWT_ANCHOR_LEFT));
1326 PyDict_SetItemString(d, "ANCHOR_TOP", PyInt_FromLong(NEWT_ANCHOR_TOP));
when PyInt_FromLong() succeeds
when PyDict_SetItemString() succeeds
PyIntObject allocated at: PyDict_SetItemString(d, "ANCHOR_LEFT", PyInt_FromLong(NEWT_ANCHOR_LEFT));
ob_refcnt is now refs: 1 + N where N >= 0
ob_refcnt is now refs: 1 + N where N >= 1
1327 PyDict_SetItemString(d, "ANCHOR_RIGHT", PyInt_FromLong(NEWT_ANCHOR_RIGHT));
when PyInt_FromLong() succeeds
when PyDict_SetItemString() succeeds
1328 PyDict_SetItemString(d, "ANCHOR_BOTTOM",
when PyInt_FromLong() succeeds
when PyDict_SetItemString() succeeds
1329 PyInt_FromLong(NEWT_ANCHOR_BOTTOM));
when PyInt_FromLong() succeeds
when PyDict_SetItemString() succeeds
1330 PyDict_SetItemString(d, "GRID_GROWX", PyInt_FromLong(NEWT_GRID_FLAG_GROWX));
1331 PyDict_SetItemString(d, "GRID_GROWY", PyInt_FromLong(NEWT_GRID_FLAG_GROWY));
when PyInt_FromLong() succeeds
when PyDict_SetItemString() succeeds
1332
when PyInt_FromLong() succeeds
when PyDict_SetItemString() succeeds
1333 PyDict_SetItemString(d, "FD_READ", PyInt_FromLong(NEWT_FD_READ));
1334 PyDict_SetItemString(d, "FD_WRITE", PyInt_FromLong(NEWT_FD_WRITE));
when PyInt_FromLong() succeeds
when PyDict_SetItemString() succeeds
1335 PyDict_SetItemString(d, "FD_EXCEPT", PyInt_FromLong(NEWT_FD_EXCEPT));
when PyInt_FromLong() succeeds
when PyDict_SetItemString() succeeds
1336
when PyInt_FromLong() succeeds
when PyDict_SetItemString() succeeds
1337 PyDict_SetItemString(d, "FORM_EXIT_HOTKEY", PyString_FromString("hotkey"));
1338 PyDict_SetItemString(d, "FORM_EXIT_WIDGET", PyString_FromString("widget"));
when PyString_FromString() succeeds
when PyDict_SetItemString() succeeds
1339 PyDict_SetItemString(d, "FORM_EXIT_TIMER", PyString_FromString("timer"));
when PyString_FromString() succeeds
when PyDict_SetItemString() succeeds
1340 PyDict_SetItemString(d, "FORM_EXIT_FDREADY", PyString_FromString("fdready"));
when PyString_FromString() succeeds
when PyDict_SetItemString() succeeds
1341
when PyString_FromString() succeeds
when PyDict_SetItemString() succeeds
1342 PyDict_SetItemString(d, "KEY_TAB", PyInt_FromLong(NEWT_KEY_TAB));
1343 PyDict_SetItemString(d, "KEY_ENTER", PyInt_FromLong(NEWT_KEY_ENTER));
when PyInt_FromLong() succeeds
when PyDict_SetItemString() succeeds
1344 PyDict_SetItemString(d, "KEY_SUSPEND", PyInt_FromLong(NEWT_KEY_SUSPEND));
when PyInt_FromLong() succeeds
when PyDict_SetItemString() succeeds
1345 PyDict_SetItemString(d, "KEY_UP", PyInt_FromLong(NEWT_KEY_UP));
when PyInt_FromLong() succeeds
when PyDict_SetItemString() succeeds
1346 PyDict_SetItemString(d, "KEY_DOWN", PyInt_FromLong(NEWT_KEY_DOWN));
when PyInt_FromLong() succeeds
when PyDict_SetItemString() succeeds
1347 PyDict_SetItemString(d, "KEY_LEFT", PyInt_FromLong(NEWT_KEY_LEFT));
when PyInt_FromLong() succeeds
when PyDict_SetItemString() succeeds
1348 PyDict_SetItemString(d, "KEY_RIGHT", PyInt_FromLong(NEWT_KEY_RIGHT));
when PyInt_FromLong() succeeds
when PyDict_SetItemString() succeeds
1349 PyDict_SetItemString(d, "KEY_BACKSPACE", PyInt_FromLong(NEWT_KEY_BKSPC));
when PyInt_FromLong() succeeds
when PyDict_SetItemString() succeeds
1350 PyDict_SetItemString(d, "KEY_DELETE", PyInt_FromLong(NEWT_KEY_DELETE));
when PyInt_FromLong() succeeds
when PyDict_SetItemString() succeeds
1351 PyDict_SetItemString(d, "KEY_HOME", PyInt_FromLong(NEWT_KEY_HOME));
when PyInt_FromLong() succeeds
when PyDict_SetItemString() succeeds
1352 PyDict_SetItemString(d, "KEY_END", PyInt_FromLong(NEWT_KEY_END));
when PyInt_FromLong() succeeds
when PyDict_SetItemString() succeeds
1353 PyDict_SetItemString(d, "KEY_UNTAB", PyInt_FromLong(NEWT_KEY_UNTAB));
when PyInt_FromLong() succeeds
when PyDict_SetItemString() succeeds
1354 PyDict_SetItemString(d, "KEY_PAGEUP", PyInt_FromLong(NEWT_KEY_PGUP));
when PyInt_FromLong() succeeds
when PyDict_SetItemString() succeeds
1355 PyDict_SetItemString(d, "KEY_PAGEGDOWN", PyInt_FromLong(NEWT_KEY_PGDN));
when PyInt_FromLong() succeeds
when PyDict_SetItemString() succeeds
1356 PyDict_SetItemString(d, "KEY_INSERT", PyInt_FromLong(NEWT_KEY_INSERT));
when PyInt_FromLong() succeeds
when PyDict_SetItemString() succeeds
1357 PyDict_SetItemString(d, "KEY_F1", PyInt_FromLong(NEWT_KEY_F1));
when PyInt_FromLong() succeeds
when PyDict_SetItemString() succeeds
1358 PyDict_SetItemString(d, "KEY_F2", PyInt_FromLong(NEWT_KEY_F2));
when PyInt_FromLong() succeeds
when PyDict_SetItemString() succeeds
1359 PyDict_SetItemString(d, "KEY_F3", PyInt_FromLong(NEWT_KEY_F3));
when PyInt_FromLong() succeeds
when PyDict_SetItemString() succeeds
1360 PyDict_SetItemString(d, "KEY_F4", PyInt_FromLong(NEWT_KEY_F4));
when PyInt_FromLong() succeeds
when PyDict_SetItemString() succeeds
1361 PyDict_SetItemString(d, "KEY_F5", PyInt_FromLong(NEWT_KEY_F5));
when PyInt_FromLong() succeeds
when PyDict_SetItemString() succeeds
1362 PyDict_SetItemString(d, "KEY_F6", PyInt_FromLong(NEWT_KEY_F6));
when PyInt_FromLong() succeeds
when PyDict_SetItemString() succeeds
1363 PyDict_SetItemString(d, "KEY_F7", PyInt_FromLong(NEWT_KEY_F7));
when PyInt_FromLong() succeeds
when PyDict_SetItemString() succeeds
1364 PyDict_SetItemString(d, "KEY_F8", PyInt_FromLong(NEWT_KEY_F8));
when PyInt_FromLong() succeeds
when PyDict_SetItemString() succeeds
1365 PyDict_SetItemString(d, "KEY_F9", PyInt_FromLong(NEWT_KEY_F9));
when PyInt_FromLong() succeeds
when PyDict_SetItemString() succeeds
1366 PyDict_SetItemString(d, "KEY_F10", PyInt_FromLong(NEWT_KEY_F10));
when PyInt_FromLong() succeeds
when PyDict_SetItemString() succeeds
1367 PyDict_SetItemString(d, "KEY_F11", PyInt_FromLong(NEWT_KEY_F11));
when PyInt_FromLong() succeeds
when PyDict_SetItemString() succeeds
1368 PyDict_SetItemString(d, "KEY_F12", PyInt_FromLong(NEWT_KEY_F12));
when PyInt_FromLong() succeeds
when PyDict_SetItemString() succeeds
1369 PyDict_SetItemString(d, "KEY_ESC", PyInt_FromLong(NEWT_KEY_ESCAPE));
when PyInt_FromLong() succeeds
when PyDict_SetItemString() succeeds
1370
when PyInt_FromLong() succeeds
when PyDict_SetItemString() succeeds
1371 PyDict_SetItemString(d, "FLAG_DISABLED", PyInt_FromLong(NEWT_FLAG_DISABLED));
1372 PyDict_SetItemString(d, "FLAGS_SET", PyInt_FromLong(NEWT_FLAGS_SET));
when PyInt_FromLong() succeeds
when PyDict_SetItemString() succeeds
1373 PyDict_SetItemString(d, "FLAGS_RESET", PyInt_FromLong(NEWT_FLAGS_RESET));
when PyInt_FromLong() succeeds
when PyDict_SetItemString() succeeds
1374 PyDict_SetItemString(d, "FLAGS_TOGGLE", PyInt_FromLong(NEWT_FLAGS_TOGGLE));
when PyInt_FromLong() succeeds
when PyDict_SetItemString() succeeds
1375
when PyInt_FromLong() succeeds
when PyDict_SetItemString() succeeds
1376 PyDict_SetItemString(d, "COLORSET_ROOT", PyInt_FromLong(NEWT_COLORSET_ROOT));
1377 PyDict_SetItemString(d, "COLORSET_BORDER", PyInt_FromLong(NEWT_COLORSET_BORDER));
when PyInt_FromLong() succeeds
when PyDict_SetItemString() succeeds
1378 PyDict_SetItemString(d, "COLORSET_WINDOW", PyInt_FromLong(NEWT_COLORSET_WINDOW));
when PyInt_FromLong() succeeds
when PyDict_SetItemString() succeeds
1379 PyDict_SetItemString(d, "COLORSET_SHADOW", PyInt_FromLong(NEWT_COLORSET_SHADOW));
when PyInt_FromLong() succeeds
when PyDict_SetItemString() succeeds
1380 PyDict_SetItemString(d, "COLORSET_TITLE", PyInt_FromLong(NEWT_COLORSET_TITLE));
when PyInt_FromLong() succeeds
when PyDict_SetItemString() succeeds
1381 PyDict_SetItemString(d, "COLORSET_BUTTON", PyInt_FromLong(NEWT_COLORSET_BUTTON));
when PyInt_FromLong() succeeds
when PyDict_SetItemString() succeeds
1382 PyDict_SetItemString(d, "COLORSET_ACTBUTTON", PyInt_FromLong(NEWT_COLORSET_ACTBUTTON));
when PyInt_FromLong() succeeds
when PyDict_SetItemString() succeeds
1383 PyDict_SetItemString(d, "COLORSET_CHECKBOX", PyInt_FromLong(NEWT_COLORSET_CHECKBOX));
when PyInt_FromLong() succeeds
when PyDict_SetItemString() succeeds
1384 PyDict_SetItemString(d, "COLORSET_ACTCHECKBOX", PyInt_FromLong(NEWT_COLORSET_ACTCHECKBOX));
when PyInt_FromLong() succeeds
when PyDict_SetItemString() succeeds
1385 PyDict_SetItemString(d, "COLORSET_ENTRY", PyInt_FromLong(NEWT_COLORSET_ENTRY));
when PyInt_FromLong() succeeds
when PyDict_SetItemString() succeeds
1386 PyDict_SetItemString(d, "COLORSET_LABEL", PyInt_FromLong(NEWT_COLORSET_LABEL));
when PyInt_FromLong() succeeds
when PyDict_SetItemString() succeeds
1387 PyDict_SetItemString(d, "COLORSET_LISTBOX", PyInt_FromLong(NEWT_COLORSET_LISTBOX));
when PyInt_FromLong() succeeds
when PyDict_SetItemString() succeeds
1388 PyDict_SetItemString(d, "COLORSET_ACTLISTBOX", PyInt_FromLong(NEWT_COLORSET_ACTLISTBOX));
when PyInt_FromLong() succeeds
when PyDict_SetItemString() succeeds
1389 PyDict_SetItemString(d, "COLORSET_TEXTBOX", PyInt_FromLong(NEWT_COLORSET_TEXTBOX));
when PyInt_FromLong() succeeds
when PyDict_SetItemString() succeeds
1390 PyDict_SetItemString(d, "COLORSET_ACTTEXTBOX", PyInt_FromLong(NEWT_COLORSET_ACTTEXTBOX));
when PyInt_FromLong() succeeds
when PyDict_SetItemString() succeeds
1391 PyDict_SetItemString(d, "COLORSET_HELPLINE", PyInt_FromLong(NEWT_COLORSET_HELPLINE));
when PyInt_FromLong() succeeds
when PyDict_SetItemString() succeeds
1392 PyDict_SetItemString(d, "COLORSET_ROOTTEXT", PyInt_FromLong(NEWT_COLORSET_ROOTTEXT));
when PyInt_FromLong() succeeds
when PyDict_SetItemString() succeeds
1393 PyDict_SetItemString(d, "COLORSET_EMPTYSCALE", PyInt_FromLong(NEWT_COLORSET_EMPTYSCALE));
when PyInt_FromLong() succeeds
when PyDict_SetItemString() succeeds
1394 PyDict_SetItemString(d, "COLORSET_FULLSCALE", PyInt_FromLong(NEWT_COLORSET_FULLSCALE));
when PyInt_FromLong() succeeds
when PyDict_SetItemString() succeeds
1395 PyDict_SetItemString(d, "COLORSET_DISENTRY", PyInt_FromLong(NEWT_COLORSET_DISENTRY));
when PyInt_FromLong() succeeds
when PyDict_SetItemString() succeeds
1396 PyDict_SetItemString(d, "COLORSET_COMPACTBUTTON", PyInt_FromLong(NEWT_COLORSET_COMPACTBUTTON));
when PyInt_FromLong() succeeds
when PyDict_SetItemString() fails
1397 PyDict_SetItemString(d, "COLORSET_ACTSELLISTBOX", PyInt_FromLong(NEWT_COLORSET_ACTSELLISTBOX));
when PyInt_FromLong() succeeds
when PyDict_SetItemString() succeeds
1398 PyDict_SetItemString(d, "COLORSET_SELLISTBOX", PyInt_FromLong(NEWT_COLORSET_SELLISTBOX));
when PyInt_FromLong() succeeds
when PyDict_SetItemString() succeeds
1399 }
when PyInt_FromLong() succeeds
when PyDict_SetItemString() succeeds
1400
File: | snackmodule.c |
Function: | init_snack |
Error: | ob_refcnt of PyStringObject is 1 too high |
1319 void init_snack(void) {
1320 PyObject * d, * m;
1321
1322 m = Py_InitModule("_snack", snackModuleMethods);
1323 d = PyModule_GetDict(m);
when Py_InitModule4_64() succeeds
1324
1325 PyDict_SetItemString(d, "ANCHOR_LEFT", PyInt_FromLong(NEWT_ANCHOR_LEFT));
1326 PyDict_SetItemString(d, "ANCHOR_TOP", PyInt_FromLong(NEWT_ANCHOR_TOP));
when PyInt_FromLong() succeeds
when PyDict_SetItemString() succeeds
1327 PyDict_SetItemString(d, "ANCHOR_RIGHT", PyInt_FromLong(NEWT_ANCHOR_RIGHT));
when PyInt_FromLong() succeeds
when PyDict_SetItemString() succeeds
1328 PyDict_SetItemString(d, "ANCHOR_BOTTOM",
when PyInt_FromLong() succeeds
when PyDict_SetItemString() succeeds
1329 PyInt_FromLong(NEWT_ANCHOR_BOTTOM));
when PyInt_FromLong() succeeds
when PyDict_SetItemString() succeeds
1330 PyDict_SetItemString(d, "GRID_GROWX", PyInt_FromLong(NEWT_GRID_FLAG_GROWX));
1331 PyDict_SetItemString(d, "GRID_GROWY", PyInt_FromLong(NEWT_GRID_FLAG_GROWY));
when PyInt_FromLong() succeeds
when PyDict_SetItemString() succeeds
1332
when PyInt_FromLong() succeeds
when PyDict_SetItemString() succeeds
1333 PyDict_SetItemString(d, "FD_READ", PyInt_FromLong(NEWT_FD_READ));
1334 PyDict_SetItemString(d, "FD_WRITE", PyInt_FromLong(NEWT_FD_WRITE));
when PyInt_FromLong() succeeds
when PyDict_SetItemString() succeeds
1335 PyDict_SetItemString(d, "FD_EXCEPT", PyInt_FromLong(NEWT_FD_EXCEPT));
when PyInt_FromLong() succeeds
when PyDict_SetItemString() succeeds
1336
when PyInt_FromLong() succeeds
when PyDict_SetItemString() succeeds
1337 PyDict_SetItemString(d, "FORM_EXIT_HOTKEY", PyString_FromString("hotkey"));
1338 PyDict_SetItemString(d, "FORM_EXIT_WIDGET", PyString_FromString("widget"));
when PyString_FromString() succeeds
when PyDict_SetItemString() succeeds
PyStringObject allocated at: PyDict_SetItemString(d, "FORM_EXIT_HOTKEY", PyString_FromString("hotkey"));
ob_refcnt is now refs: 1 + N where N >= 0
ob_refcnt is now refs: 1 + N where N >= 1
1339 PyDict_SetItemString(d, "FORM_EXIT_TIMER", PyString_FromString("timer"));
when PyString_FromString() succeeds
when PyDict_SetItemString() succeeds
1340 PyDict_SetItemString(d, "FORM_EXIT_FDREADY", PyString_FromString("fdready"));
when PyString_FromString() succeeds
when PyDict_SetItemString() succeeds
1341
when PyString_FromString() succeeds
when PyDict_SetItemString() succeeds
1342 PyDict_SetItemString(d, "KEY_TAB", PyInt_FromLong(NEWT_KEY_TAB));
1343 PyDict_SetItemString(d, "KEY_ENTER", PyInt_FromLong(NEWT_KEY_ENTER));
when PyInt_FromLong() succeeds
when PyDict_SetItemString() succeeds
1344 PyDict_SetItemString(d, "KEY_SUSPEND", PyInt_FromLong(NEWT_KEY_SUSPEND));
when PyInt_FromLong() succeeds
when PyDict_SetItemString() succeeds
1345 PyDict_SetItemString(d, "KEY_UP", PyInt_FromLong(NEWT_KEY_UP));
when PyInt_FromLong() succeeds
when PyDict_SetItemString() succeeds
1346 PyDict_SetItemString(d, "KEY_DOWN", PyInt_FromLong(NEWT_KEY_DOWN));
when PyInt_FromLong() succeeds
when PyDict_SetItemString() succeeds
1347 PyDict_SetItemString(d, "KEY_LEFT", PyInt_FromLong(NEWT_KEY_LEFT));
when PyInt_FromLong() succeeds
when PyDict_SetItemString() succeeds
1348 PyDict_SetItemString(d, "KEY_RIGHT", PyInt_FromLong(NEWT_KEY_RIGHT));
when PyInt_FromLong() succeeds
when PyDict_SetItemString() succeeds
1349 PyDict_SetItemString(d, "KEY_BACKSPACE", PyInt_FromLong(NEWT_KEY_BKSPC));
when PyInt_FromLong() succeeds
when PyDict_SetItemString() succeeds
1350 PyDict_SetItemString(d, "KEY_DELETE", PyInt_FromLong(NEWT_KEY_DELETE));
when PyInt_FromLong() succeeds
when PyDict_SetItemString() succeeds
1351 PyDict_SetItemString(d, "KEY_HOME", PyInt_FromLong(NEWT_KEY_HOME));
when PyInt_FromLong() succeeds
when PyDict_SetItemString() succeeds
1352 PyDict_SetItemString(d, "KEY_END", PyInt_FromLong(NEWT_KEY_END));
when PyInt_FromLong() succeeds
when PyDict_SetItemString() succeeds
1353 PyDict_SetItemString(d, "KEY_UNTAB", PyInt_FromLong(NEWT_KEY_UNTAB));
when PyInt_FromLong() succeeds
when PyDict_SetItemString() succeeds
1354 PyDict_SetItemString(d, "KEY_PAGEUP", PyInt_FromLong(NEWT_KEY_PGUP));
when PyInt_FromLong() succeeds
when PyDict_SetItemString() succeeds
1355 PyDict_SetItemString(d, "KEY_PAGEGDOWN", PyInt_FromLong(NEWT_KEY_PGDN));
when PyInt_FromLong() succeeds
when PyDict_SetItemString() succeeds
1356 PyDict_SetItemString(d, "KEY_INSERT", PyInt_FromLong(NEWT_KEY_INSERT));
when PyInt_FromLong() succeeds
when PyDict_SetItemString() succeeds
1357 PyDict_SetItemString(d, "KEY_F1", PyInt_FromLong(NEWT_KEY_F1));
when PyInt_FromLong() succeeds
when PyDict_SetItemString() succeeds
1358 PyDict_SetItemString(d, "KEY_F2", PyInt_FromLong(NEWT_KEY_F2));
when PyInt_FromLong() succeeds
when PyDict_SetItemString() succeeds
1359 PyDict_SetItemString(d, "KEY_F3", PyInt_FromLong(NEWT_KEY_F3));
when PyInt_FromLong() succeeds
when PyDict_SetItemString() succeeds
1360 PyDict_SetItemString(d, "KEY_F4", PyInt_FromLong(NEWT_KEY_F4));
when PyInt_FromLong() succeeds
when PyDict_SetItemString() succeeds
1361 PyDict_SetItemString(d, "KEY_F5", PyInt_FromLong(NEWT_KEY_F5));
when PyInt_FromLong() succeeds
when PyDict_SetItemString() succeeds
1362 PyDict_SetItemString(d, "KEY_F6", PyInt_FromLong(NEWT_KEY_F6));
when PyInt_FromLong() succeeds
when PyDict_SetItemString() succeeds
1363 PyDict_SetItemString(d, "KEY_F7", PyInt_FromLong(NEWT_KEY_F7));
when PyInt_FromLong() succeeds
when PyDict_SetItemString() succeeds
1364 PyDict_SetItemString(d, "KEY_F8", PyInt_FromLong(NEWT_KEY_F8));
when PyInt_FromLong() succeeds
when PyDict_SetItemString() succeeds
1365 PyDict_SetItemString(d, "KEY_F9", PyInt_FromLong(NEWT_KEY_F9));
when PyInt_FromLong() succeeds
when PyDict_SetItemString() succeeds
1366 PyDict_SetItemString(d, "KEY_F10", PyInt_FromLong(NEWT_KEY_F10));
when PyInt_FromLong() succeeds
when PyDict_SetItemString() succeeds
1367 PyDict_SetItemString(d, "KEY_F11", PyInt_FromLong(NEWT_KEY_F11));
when PyInt_FromLong() succeeds
when PyDict_SetItemString() succeeds
1368 PyDict_SetItemString(d, "KEY_F12", PyInt_FromLong(NEWT_KEY_F12));
when PyInt_FromLong() succeeds
when PyDict_SetItemString() succeeds
1369 PyDict_SetItemString(d, "KEY_ESC", PyInt_FromLong(NEWT_KEY_ESCAPE));
when PyInt_FromLong() succeeds
when PyDict_SetItemString() succeeds
1370
when PyInt_FromLong() succeeds
when PyDict_SetItemString() succeeds
1371 PyDict_SetItemString(d, "FLAG_DISABLED", PyInt_FromLong(NEWT_FLAG_DISABLED));
1372 PyDict_SetItemString(d, "FLAGS_SET", PyInt_FromLong(NEWT_FLAGS_SET));
when PyInt_FromLong() succeeds
when PyDict_SetItemString() succeeds
1373 PyDict_SetItemString(d, "FLAGS_RESET", PyInt_FromLong(NEWT_FLAGS_RESET));
when PyInt_FromLong() succeeds
when PyDict_SetItemString() succeeds
1374 PyDict_SetItemString(d, "FLAGS_TOGGLE", PyInt_FromLong(NEWT_FLAGS_TOGGLE));
when PyInt_FromLong() succeeds
when PyDict_SetItemString() succeeds
1375
when PyInt_FromLong() succeeds
when PyDict_SetItemString() succeeds
1376 PyDict_SetItemString(d, "COLORSET_ROOT", PyInt_FromLong(NEWT_COLORSET_ROOT));
1377 PyDict_SetItemString(d, "COLORSET_BORDER", PyInt_FromLong(NEWT_COLORSET_BORDER));
when PyInt_FromLong() succeeds
when PyDict_SetItemString() succeeds
1378 PyDict_SetItemString(d, "COLORSET_WINDOW", PyInt_FromLong(NEWT_COLORSET_WINDOW));
when PyInt_FromLong() succeeds
when PyDict_SetItemString() succeeds
1379 PyDict_SetItemString(d, "COLORSET_SHADOW", PyInt_FromLong(NEWT_COLORSET_SHADOW));
when PyInt_FromLong() succeeds
when PyDict_SetItemString() succeeds
1380 PyDict_SetItemString(d, "COLORSET_TITLE", PyInt_FromLong(NEWT_COLORSET_TITLE));
when PyInt_FromLong() succeeds
when PyDict_SetItemString() succeeds
1381 PyDict_SetItemString(d, "COLORSET_BUTTON", PyInt_FromLong(NEWT_COLORSET_BUTTON));
when PyInt_FromLong() succeeds
when PyDict_SetItemString() succeeds
1382 PyDict_SetItemString(d, "COLORSET_ACTBUTTON", PyInt_FromLong(NEWT_COLORSET_ACTBUTTON));
when PyInt_FromLong() succeeds
when PyDict_SetItemString() succeeds
1383 PyDict_SetItemString(d, "COLORSET_CHECKBOX", PyInt_FromLong(NEWT_COLORSET_CHECKBOX));
when PyInt_FromLong() succeeds
when PyDict_SetItemString() succeeds
1384 PyDict_SetItemString(d, "COLORSET_ACTCHECKBOX", PyInt_FromLong(NEWT_COLORSET_ACTCHECKBOX));
when PyInt_FromLong() succeeds
when PyDict_SetItemString() succeeds
1385 PyDict_SetItemString(d, "COLORSET_ENTRY", PyInt_FromLong(NEWT_COLORSET_ENTRY));
when PyInt_FromLong() succeeds
when PyDict_SetItemString() succeeds
1386 PyDict_SetItemString(d, "COLORSET_LABEL", PyInt_FromLong(NEWT_COLORSET_LABEL));
when PyInt_FromLong() succeeds
when PyDict_SetItemString() succeeds
1387 PyDict_SetItemString(d, "COLORSET_LISTBOX", PyInt_FromLong(NEWT_COLORSET_LISTBOX));
when PyInt_FromLong() succeeds
when PyDict_SetItemString() succeeds
1388 PyDict_SetItemString(d, "COLORSET_ACTLISTBOX", PyInt_FromLong(NEWT_COLORSET_ACTLISTBOX));
when PyInt_FromLong() succeeds
when PyDict_SetItemString() succeeds
1389 PyDict_SetItemString(d, "COLORSET_TEXTBOX", PyInt_FromLong(NEWT_COLORSET_TEXTBOX));
when PyInt_FromLong() succeeds
when PyDict_SetItemString() succeeds
1390 PyDict_SetItemString(d, "COLORSET_ACTTEXTBOX", PyInt_FromLong(NEWT_COLORSET_ACTTEXTBOX));
when PyInt_FromLong() succeeds
when PyDict_SetItemString() succeeds
1391 PyDict_SetItemString(d, "COLORSET_HELPLINE", PyInt_FromLong(NEWT_COLORSET_HELPLINE));
when PyInt_FromLong() succeeds
when PyDict_SetItemString() succeeds
1392 PyDict_SetItemString(d, "COLORSET_ROOTTEXT", PyInt_FromLong(NEWT_COLORSET_ROOTTEXT));
when PyInt_FromLong() succeeds
when PyDict_SetItemString() succeeds
1393 PyDict_SetItemString(d, "COLORSET_EMPTYSCALE", PyInt_FromLong(NEWT_COLORSET_EMPTYSCALE));
when PyInt_FromLong() succeeds
when PyDict_SetItemString() succeeds
1394 PyDict_SetItemString(d, "COLORSET_FULLSCALE", PyInt_FromLong(NEWT_COLORSET_FULLSCALE));
when PyInt_FromLong() succeeds
when PyDict_SetItemString() succeeds
1395 PyDict_SetItemString(d, "COLORSET_DISENTRY", PyInt_FromLong(NEWT_COLORSET_DISENTRY));
when PyInt_FromLong() succeeds
when PyDict_SetItemString() succeeds
1396 PyDict_SetItemString(d, "COLORSET_COMPACTBUTTON", PyInt_FromLong(NEWT_COLORSET_COMPACTBUTTON));
when PyInt_FromLong() succeeds
when PyDict_SetItemString() fails
1397 PyDict_SetItemString(d, "COLORSET_ACTSELLISTBOX", PyInt_FromLong(NEWT_COLORSET_ACTSELLISTBOX));
when PyInt_FromLong() succeeds
when PyDict_SetItemString() succeeds
1398 PyDict_SetItemString(d, "COLORSET_SELLISTBOX", PyInt_FromLong(NEWT_COLORSET_SELLISTBOX));
when PyInt_FromLong() succeeds
when PyDict_SetItemString() succeeds
1399 }
when PyInt_FromLong() succeeds
when PyDict_SetItemString() succeeds
1400