1. 21 Nov, 2018 3 commits
  2. 20 Nov, 2018 9 commits
  3. 19 Nov, 2018 1 commit
  4. 18 Nov, 2018 2 commits
  5. 17 Nov, 2018 3 commits
  6. 16 Nov, 2018 7 commits
  7. 15 Nov, 2018 4 commits
  8. 14 Nov, 2018 7 commits
  9. 13 Nov, 2018 4 commits
    • Victor Stinner's avatar
      bpo-35233: Rewrite test_embed.InitConfigTests (GH-10524) · 7ddd56f4
      Victor Stinner authored
      * Fix _PyCoreConfig_SetGlobalConfig(): set also Py_FrozenFlag
      * Fix _PyCoreConfig_AsDict(): export also xoptions
      * Add _Py_GetGlobalVariablesAsDict() and _testcapi.get_global_config()
      * test.pythoninfo: dump also global configuration variables
      * _testembed now serializes global, core and main configurations
        using JSON to reuse _Py_GetGlobalVariablesAsDict(),
        _PyCoreConfig_AsDict() and _PyMainInterpreterConfig_AsDict(),
        rather than duplicating code.
      * test_embed.InitConfigTests now test much more configuration
        variables
      7ddd56f4
    • Gregory P. Smith's avatar
      bpo-35214: Fix OOB memory access in unicode escape parser (GH-10506) · 746b2d35
      Gregory P. Smith authored
      Discovered using clang's MemorySanitizer when it ran python3's
      test_fstring test_misformed_unicode_character_name.
      
      An msan build will fail by simply executing: ./python -c 'u"\N"'
      746b2d35
    • Victor Stinner's avatar
      bpo-35233: Fix _PyMainInterpreterConfig_Copy() (GH-10519) · 00b137c7
      Victor Stinner authored
      * Fix _PyMainInterpreterConfig_Copy():
         copy 'install_signal_handlers' attribute
      * Add _PyMainInterpreterConfig_AsDict()
      * Add unit tests on the main interpreter configuration
        to test_embed.InitConfigTests
      * test.pythoninfo: log also main_config
      00b137c7
    • Victor Stinner's avatar
      bpo-29564:_PyMem_DumpTraceback() suggests enabling tracemalloc (GH-10510) · f966e539
      Victor Stinner authored
      If tracemalloc is not tracing Python memory allocations,
      _PyMem_DumpTraceback() now suggests to enable tracemalloc
      to get the traceback where the memory block has been allocated.
      f966e539