Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: boostorg/python
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: develop
Choose a base ref
...
head repository: hajokirchhoff/python
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: develop
Choose a head ref
Checking mergeability… Don’t worry, you can still create the pull request.
  • 2 commits
  • 1 file changed
  • 1 contributor

Commits on Aug 10, 2021

  1. -fix: boost::python::exec_file completely broken when PY_VERSION_HEX …

    …>= 0x03010000. Bug: char* f pointed to a temporary buffer returned by PyBytes_AsString. This buffer was released when Py_DECREF(fb) was called. As a result, f pointed to invalid memory when being passed to Py_RunFile.
    hajokirchhoff committed Aug 10, 2021
    Configuration menu
    Copy the full SHA
    c763234 View commit details
    Browse the repository at this point in the history
  2. -fix: issue #239 exec_file does not close the FILE handle. Note: Usin…

    …g FILE* is a bad choice here because of possible exceptions, but Py_RunFile is a C function. This fix works, because Py_RunFile - as a C function - does not throw exceptions.
    hajokirchhoff committed Aug 10, 2021
    Configuration menu
    Copy the full SHA
    5cd6561 View commit details
    Browse the repository at this point in the history
Loading