PythonExtensionPatterns icon indicating copy to clipboard operation
PythonExtensionPatterns copied to clipboard

Examples of safe coding practice for Python C extensions.

Results 14 PythonExtensionPatterns issues
Sort by recently updated
recently updated
newest added

I really like the Python extension pattern docs. This is something I together to demonstrate how to log in an extension. It is missing a few things: 1. Using logging...

Bumps [babel](https://github.com/python-babel/babel) from 2.8.0 to 2.9.1. Release notes Sourced from babel's releases. Version 2.9.1 Bugfixes The internal locale-data loading functions now validate the name of the locale file to be...

dependencies

Signed-off-by: Hiroshi Miura

Introduction: pLast is probably pObj here: PyObject_Print(pLast, stdout, 0);

Bumps [urllib3](https://github.com/urllib3/urllib3) from 1.25.11 to 1.26.5. Release notes Sourced from urllib3's releases. 1.26.5 :warning: IMPORTANT: urllib3 v2.0 will drop support for Python 2: Read more in the v2.0 Roadmap Fixed...

dependencies

Bumps [pygments](https://github.com/pygments/pygments) from 2.7.1 to 2.7.4. Release notes Sourced from pygments's releases. 2.7.4 Updated lexers: Apache configurations: Improve handling of malformed tags (#1656) CSS: Add support for variables (#1633, #1666)...

dependencies

Bumps [jinja2](https://github.com/pallets/jinja) from 2.11.2 to 2.11.3. Release notes Sourced from jinja2's releases. 2.11.3 This contains a fix for a speed issue with the urlize filter. urlize is likely to be...

dependencies

See best practice example in Python source: https://github.com/python/cpython/blob/master/Modules/_testcapimodule.c#L6733