Pamela Fox

Results 144 issues of Pamela Fox

To enable easier testing in pytest, it'd be useful if we supported a fixture similar to caplog. https://github.com/pytest-dev/pytest/blob/63d2f7f7f8ec8b09c4289f18a94178c520d93bff/src/_pytest/logging.py#L491 We can register the hook in setup.py to avoid creating a whole...

CPython Logger supports weak reference, picologging Logger does not. Supporting weakreference is fairly straightforward: https://docs.python.org/3.10/extending/newtypes.html#weak-reference-support I tested that change locally and it works. I haven't been able to ascertain how...

enhancement
good first issue
help wanted
cpython-incompatibility

CPython logging has: https://docs.python.org/3/library/logging.handlers.html#httphandler picologging does not. Bug or limitation?

good first issue
help wanted
cpython-incompatibility

In CPython, logging.raiseExceptions is a Boolean on the module, described in the handleError docs: https://docs.python.org/3/library/logging.html#logging.Handler.handleError picologging does not have that Boolean/way of effecting whether errors are raised. Limitation or bug?

good first issue
help wanted
cpython-incompatibility

CPython logging has: https://docs.python.org/3/library/logging.handlers.html#sysloghandler picologging does not. Bug or limitation?

good first issue
help wanted
cpython-incompatibility

logging module has one: https://docs.python.org/3/library/logging.html#loggeradapter-objects picologging does not. Limitation or bug?

good first issue
help wanted
cpython-incompatibility

CPython logging has a shutdown function: https://docs.python.org/3/library/logging.html#logging.shutdown The documentation describes it as taking 0 arguments, but it actually takes a handlers argument which defaults to the module internal _handersList, a...

help wanted
cpython-incompatibility

CPython logging.config has fileConfig: https://docs.python.org/3/library/logging.config.html#logging.config.fileConfig picologging does not. Limitation or bug?

help wanted
cpython-incompatibility

The logging module has an interesting interaction with the warnings module via `logger.captureWarnings`: https://docs.python.org/3/library/logging.html#integration-with-the-warnings-module You can see its implementation here: https://github.com/python/cpython/blob/main/Lib/logging/__init__.py#L2338 picologging does not support it. Limitation or bug?

help wanted
cpython-incompatibility

Corresponding to stack push / pop calls. See PyCon talk about Python pattern matching statement for an example.