1. 25 Nov, 2017 3 commits
    • Mandeep Bhutani's avatar
      bpo-30004: Fix the code example of using group in Regex Howto Docs (GH-4443) · 610e5afd
      Mandeep Bhutani authored
      The provided code example was supposed to find repeated words, however it returned false results.
      610e5afd
    • Victor Stinner's avatar
      bpo-32030: Add _PyPathConfig_Init() (#4551) · 9316ee4d
      Victor Stinner authored
      * Add _PyPathConfig_Init() and _PyPathConfig_Fini()
      * Remove _Py_GetPathWithConfig()
      * _PyPathConfig_Init() returns _PyInitError to allow to handle errors
        properly
      * Add pathconfig_clear()
      * Windows calculate_path_impl(): replace Py_FatalError() with
        _PyInitError
      * Py_FinalizeEx() now calls _PyPathConfig_Fini() to release memory
      * Fix _Py_InitializeMainInterpreter() regression: don't initialize
        path config if _disable_importlib is false
      * PyPathConfig now uses dynamically allocated memory
      9316ee4d
    • Victor Stinner's avatar
      bpo-32128: Skip test_nntplib.test_article_head_body() (#4552) · 706cb316
      Victor Stinner authored
      The NNTP server currently has troubles with SSL, whereas we don't
      have the control on this server. This test blocks all CIs, so disable
      it until a fix can be found.
      706cb316
  2. 24 Nov, 2017 12 commits
  3. 23 Nov, 2017 15 commits
  4. 22 Nov, 2017 3 commits
    • Victor Stinner's avatar
      bpo-32030: Add _PyCoreConfig.module_search_path_env (#4504) · d4341109
      Victor Stinner authored
      Changes:
      
      * Py_Main() initializes _PyCoreConfig.module_search_path_env from
        the PYTHONPATH environment variable.
      * PyInterpreterState_New() now initializes core_config and config
        fields
      * Compute sys.path a little bit ealier in
        _Py_InitializeMainInterpreter() and new_interpreter()
      * Add _Py_GetPathWithConfig() private function.
      d4341109
    • Victor Stinner's avatar
      bpo-27535: Optimize warnings.warn() (#4508) · 82656276
      Victor Stinner authored
      * Optimize warnings.filterwarnings(). Replace re.compile('') with
        None to avoid the cost of calling a regex.match() method, whereas
        it always matchs.
      * Optimize get_warnings_attr(): replace PyObject_GetAttrString() with
        _PyObject_GetAttrId().
      
      Cleanup also create_filter():
      
      * Use _Py_IDENTIFIER() to allow to cleanup strings at Python
        finalization
      * Replace Py_FatalError() with a regular exceptions
      82656276
    • Victor Stinner's avatar
  5. 21 Nov, 2017 7 commits