Victor Stinner

Results 702 comments of Victor Stinner

> It's possible to enforce that the profiler should not be disabled in the timer, but the code of the timer does not propagate exceptions. You can emit a warning...

PR created to see how MarkupSafe can use the new PyUnicode_Export() and PyUnicode_Import() functions which are currently being discussed at: * Issue: https://github.com/python/cpython/issues/119609 * PR: https://github.com/python/cpython/pull/119610

Hi, Le mer. 22 janv. 2020 à 10:06, Benedikt Reinartz a écrit : > It would be great if the API could (at least as an alternative) stick to "normal"...

> Is it too much to ask for these to be renamed to PyUnstable? PyUnstable functions require documentation and tests.

Right, `Py_COMPAT_API_VERSION` can be used with the limited C API.

pyperf has an unusual design, it spawns worker processes which re-executes the script. Only the main process gets Benchmark objects when calling bench_func(). Worker processes get None instead. One workaround...

I suggest by starting only with adding a is_worker() method and nothing else.

@colesbury: I updated the PEP to apply @encukou's suggestion: https://github.com/capi-workgroup/decisions/issues/30#issuecomment-2236043973