1. 24 Dec, 2017 1 commit
  2. 23 Dec, 2017 8 commits
  3. 22 Dec, 2017 2 commits
  4. 21 Dec, 2017 10 commits
  5. 20 Dec, 2017 10 commits
    • Victor Stinner's avatar
      bpo-32030: Fix usage of memory allocators (#4953) · 31e99080
      Victor Stinner authored
      * _Py_InitializeCore() doesn't call _PyMem_SetupAllocators() anymore
        if the PYTHONMALLOC environment variable is not set.
      * pymain_cmdline() now sets the allocator to the default, instead of
        setting the allocator in subfunctions.
      * Py_SetStandardStreamEncoding() now calls
        _PyMem_SetDefaultAllocator() to get a known allocator, to be able
        to release the memory with the same allocator.
      31e99080
    • Srinivas Reddy Thatiparthy (శ్రీనివాస్ రెడ్డి తాటిపర్తి)'s avatar
    • Victor Stinner's avatar
      bpo-32030: Complete _PyCoreConfig_Read() (#4946) · 9cfc0026
      Victor Stinner authored
      * Add _PyCoreConfig.install_signal_handlers
      * Remove _PyMain.config: _PyMainInterpreterConfig usage is now
        restricted to pymain_init_python_main().
      * Rename _PyMain.core_config to _PyMain.config
      * _PyMainInterpreterConfig_Read() now creates the xoptions dictionary
         from the core config
      * Fix _PyMainInterpreterConfig_Read(): don't replace xoptions and
        argv if they are already set.
      9cfc0026
    • Andrew Svetlov's avatar
      bpo-29970: Make ssh_handshake_timeout None by default (#4939) · 51eb1c6b
      Andrew Svetlov authored
      * Make ssh_handshake_timeout None by default.
      * Raise ValueError if ssl_handshake_timeout is used without ssl.
      * Raise ValueError if ssl_handshake_timeout is not positive.
      51eb1c6b
    • Antoine Pitrou's avatar
      bpo-32306: Clarify c.f.Executor.map() documentation (#4947) · a7a751dd
      Antoine Pitrou authored
      The built-in map() function collects function arguments lazily, but concurrent.futures.Executor.map() does so eagerly.
      a7a751dd
    • Serhiy Storchaka's avatar
      bpo-32385: Clean up the C3 MRO algorithm implementation. (#4942) · 6b91a597
      Serhiy Storchaka authored
      Use tuples and raw arrays instead of lists.
      6b91a597
    • Victor Stinner's avatar
      bpo-32030: Add _PyCoreConfig.warnoptions (#4936) · ca719ac4
      Victor Stinner authored
      Merge _PyCoreConfig_ReadEnv() into _PyCoreConfig_Read(), and
      _Py_CommandLineDetails usage is now restricted to pymain_cmdline().
      
      Changes:
      
      * _PyCoreConfig: Add nxoption, xoptions, nwarnoption and warnoptions
      * Add _PyCoreConfig.program: argv[0] or ""
      * Move filename, command, module and xoptions from
        _Py_CommandLineDetails to _PyMain. xoptions _Py_OptList becomes
        (int, wchar_t**) list.
      * Add pymain_cmdline() function
      * Rename copy_argv() to copy_wstrlist(). Rename clear_argv() to
        clear_wstrlist(). Remove _Py_OptList structure: use (int,
        wchar_t**) list instead.
      * Rename pymain_set_flag_from_env() to pymain_get_env_flag()
      * Rename pymain_set_flags_from_env() to pymain_get_env_flags()
      * _PyMainInterpreterConfig_Read() now creates the warnoptions from
        _PyCoreConfig.warnoptions
      * Inline pymain_add_warning_dev_mode() and
        pymain_add_warning_bytes_flag() into config_init_warnoptions()
      * Inline pymain_get_program_name() into _PyCoreConfig_Read()
      * _Py_CommandLineDetails: Replace warning_options with nwarnoption
        and warnoptions. Replace env_warning_options with nenv_warnoption
        and env_warnoptions.
      * pymain_warnings_envvar() now has a single implementation for
        Windows and Unix: use config_get_env_var_dup() to also get the
        variable as wchar_t* on Unix.
      ca719ac4
    • Antoine Pitrou's avatar
      bpo-32379: Faster MRO computation for single inheritance (#4932) · 1f1a34c3
      Antoine Pitrou authored
      * bpo-32379: Faster MRO computation for single inheritance
      1f1a34c3
    • Marcel Plch's avatar
      bpo-31901: atexit callbacks should be run at subinterpreter shutdown (#4611) · 776407fe
      Marcel Plch authored
      Change atexit behavior and PEP-489 multiphase init support.
      776407fe
    • Victor Stinner's avatar
      bpo-32030: Cleanup pymain_main() (#4935) · 19760863
      Victor Stinner authored
      * Reorganize pymain_main() to make the code more flat
      * Clear configurations before pymain_update_sys_path()
      * Mark Py_FatalError() and _Py_FatalInitError() with _Py_NO_RETURN
      * Replace _PyMain.run_code variable with a new RUN_CODE() macro
      * Move _PyMain.cf into a local variable in pymain_run_python()
      19760863
  6. 19 Dec, 2017 9 commits