1. 25 Mar, 2018 1 kayıt (commit)
    • Nick Coghlan's avatar
      bpo-33042: Fix pre-initialization sys module configuration (GH-6157) · bc77eff8
      Nick Coghlan yazdı
      - new test case for pre-initialization of sys.warnoptions and sys._xoptions
      - restored ability to call these APIs prior to Py_Initialize
      - updated the docs for the affected APIs to make it clear they can be
        called before Py_Initialize
      - also enhanced the existing embedding test cases
        to check for expected settings in the sys module
      bc77eff8
  2. 29 Ock, 2018 1 kayıt (commit)
  3. 21 Ara, 2017 1 kayıt (commit)
  4. 30 Kas, 2017 1 kayıt (commit)
    • Victor Stinner's avatar
      bpo-20891: Fix PyGILState_Ensure() (#4650) · b4d1e1f7
      Victor Stinner yazdı
      When PyGILState_Ensure() is called in a non-Python thread before
      PyEval_InitThreads(), only call PyEval_InitThreads() after calling
      PyThreadState_New() to fix a crash.
      
      Add an unit test in test_embed.
      b4d1e1f7
  5. 27 Kas, 2017 1 kayıt (commit)
    • Nick Coghlan's avatar
      bpo-32136: Separate embedding tests from C API tests (GH-4567) · 39f0bb5a
      Nick Coghlan yazdı
      Some parts of the C API are only relevant to larger
      applications embedding CPython as a runtime engine.
      
      The helpers to test those APIs are already separated
      out into Programs/_testembed.c, this update moves
      the associated test cases out into their own dedicated
      test file.
      39f0bb5a