1. 07 Eyl, 2018 7 kayıt (commit)
  2. 06 Eyl, 2018 2 kayıt (commit)
  3. 05 Eyl, 2018 1 kayıt (commit)
  4. 04 Eyl, 2018 5 kayıt (commit)
  5. 03 Eyl, 2018 6 kayıt (commit)
  6. 02 Eyl, 2018 2 kayıt (commit)
  7. 01 Eyl, 2018 3 kayıt (commit)
  8. 31 Agu, 2018 6 kayıt (commit)
  9. 30 Agu, 2018 2 kayıt (commit)
  10. 29 Agu, 2018 6 kayıt (commit)
    • Victor Stinner's avatar
      Fix TestPosixSpawn.test_close_file() (GH-8992) · 0382406f
      Victor Stinner yazdı
      Modify TestPosixSpawn to run Python using -I and -S options.
      
      Disable site module to avoid side effects. For example, on Fedora 28,
      if the HOME environment variable is not set, site._getuserbase()
      calls pwd.getpwuid() which opens /var/lib/sss/mc/passwd, but then
      leaves the file open which makes test_close_file() to fail.
      0382406f
    • Victor Stinner's avatar
      bpo-34523: Use _PyCoreConfig instead of globals (GH-9005) · fbca9085
      Victor Stinner yazdı
      Use the core configuration of the interpreter, rather
      than using global configuration variables. For example, replace
      Py_QuietFlag with core_config->quiet.
      fbca9085
    • Victor Stinner's avatar
      bpo-34523: Py_FileSystemDefaultEncoding NULL by default (GH-9003) · de427556
      Victor Stinner yazdı
      * Py_FileSystemDefaultEncoding and Py_FileSystemDefaultEncodeErrors
        default value is now NULL: initfsencoding() set them
        during Python initialization.
      * Document how Python chooses the filesystem encoding and error
        handler.
      * Add an assertion to _PyCoreConfig_Read().
      de427556
    • Victor Stinner's avatar
      bpo-34485: Emit C locale coercion warning later (GH-9002) · cf215041
      Victor Stinner yazdı
      PYTHONCOERCELOCALE=warn warning is now emitted later and written into
      sys.stderr, rather than being written into the C stderr stream.
      cf215041
    • Victor Stinner's avatar
      bpo-34523: Support surrogatepass in locale codecs (GH-8995) · 3d4226a8
      Victor Stinner yazdı
      Add support for the "surrogatepass" error handler in
      PyUnicode_DecodeFSDefault() and PyUnicode_EncodeFSDefault()
      for the UTF-8 encoding.
      
      Changes:
      
      * _Py_DecodeUTF8Ex() and _Py_EncodeUTF8Ex() now support the
        surrogatepass error handler (_Py_ERROR_SURROGATEPASS).
      * _Py_DecodeLocaleEx() and _Py_EncodeLocaleEx() now use
        the _Py_error_handler enum instead of "int surrogateescape" to pass
        the error handler. These functions now return -3 if the error
        handler is unknown.
      * Add unit tests on _Py_DecodeLocaleEx() and _Py_EncodeLocaleEx()
        in test_codecs.
      * Rename get_error_handler() to _Py_GetErrorHandler() and expose it
        as a private function.
      * _freeze_importlib doesn't need config.filesystem_errors="strict"
        workaround anymore.
      3d4226a8
    • Victor Stinner's avatar
      bpo-34523: Py_DecodeLocale() use UTF-8 on Windows (GH-8998) · c5989cd8
      Victor Stinner yazdı
      Py_DecodeLocale() and Py_EncodeLocale() now use the UTF-8 encoding on
      Windows if Py_LegacyWindowsFSEncodingFlag is zero.
      
      pymain_read_conf() now sets Py_LegacyWindowsFSEncodingFlag in its
      loop, but restore its value at exit.
      c5989cd8