- 8 DB models (services, incidents, monitors, subscribers, etc.) - Full CRUD API for services, incidents, monitors - Public status page with live data - Incident detail page with timeline - API key authentication - Uptime monitoring scheduler - 13 tests passing - TECHNICAL_DESIGN.md with full spec
17 lines
351 B
C
17 lines
351 B
C
// Set primitive operations
|
|
//
|
|
// These are registered in mypyc.primitives.set_ops.
|
|
|
|
#include <Python.h>
|
|
#include "CPy.h"
|
|
|
|
bool CPySet_Remove(PyObject *set, PyObject *key) {
|
|
int success = PySet_Discard(set, key);
|
|
if (success == 1) {
|
|
return true;
|
|
}
|
|
if (success == 0) {
|
|
_PyErr_SetKeyError(key);
|
|
}
|
|
return false;
|
|
}
|