rasie a warning when using the pure python monitor