- 27 Mar, 2019 17 kayıt (commit)
-
-
Steve Dower yazdı
-
Philipp A yazdı
-
Raymond Hettinger yazdı
-
Victor Stinner yazdı
bpo-36443, bpo-36202: Since Python 3.7.0, calling Py_DecodeLocale() before Py_Initialize() produces mojibake if the LC_CTYPE locale is coerced and/or if the UTF-8 Mode is enabled by the user configuration. This change fix the issue by disabling LC_CTYPE coercion and UTF-8 Mode by default. They must now be enabled explicitly (opt-in) using the new _Py_PreInitialize() API with _PyPreConfig. When embedding Python, set coerce_c_locale and utf8_mode attributes of _PyPreConfig to -1 to enable automatically these parameters depending on the LC_CTYPE locale, environment variables and command line arguments Alternative: Setting Py_UTF8Mode to 1 always explicitly enables the UTF-8 Mode. Changes: * _PyPreConfig_INIT now sets coerce_c_locale and utf8_mode to 0 by default. * _Py_InitializeFromArgs() and _Py_InitializeFromWideArgs() can now be called with config=NULL.
-
Steve Dower yazdı
-
hliu0 yazdı
Python always use UTF-8 on VxWorks.
-
Pablo Galindo yazdı
Fix refleak in sysmodule.c when calling SET_SYS_FROM_STRING_BORROW.
-
Victor Stinner yazdı
-
Eddie Elizondo yazdı
* Incref heap-allocated types in PyObject_Init * Add documentation and porting notes to What's New
-
Jules Lasne (jlasne) yazdı
-
Inada Naoki yazdı
-
Serhiy Storchaka yazdı
-
Vladimir Surjaninov yazdı
-
Andre Delfino yazdı
-
Andre Delfino yazdı
Change "star-operator" to "* operator".
-
Victor Stinner yazdı
* Add _PyCoreConfig._init_main: if equals to zero, _Py_InitializeFromConfig() doesn't call _Py_InitializeMainInterpreter(). * Add interp_p parameter to _Py_InitializeFromConfig(). * pymain_init() now calls _Py_InitializeFromConfig(). * Make _Py_InitializeCore() private.
-
Victor Stinner yazdı
-
- 26 Mar, 2019 13 kayıt (commit)
-
-
Terry Jan Reedy yazdı
Add idlelib.pyshell alias at top; remove pyshell alias at bottom. Remove obsolete __name__=='__main__' command.
-
Victor Stinner yazdı
Add test_preinit_isolated1() and test_preinit_isolated2() test_embed.
-
Tal Einat yazdı
-
Pierre Glaser yazdı
Examples of the `multiprocessing.shared_memory` module try to import `SharedMemoryManager` from `multiprocessing.shared_memory` whereas this class is defined in `multiprocessing.managers`.
-
Victor Stinner yazdı
* _PyCoreConfig_Write() now updates _PyRuntime.preconfig * Remove _PyPreCmdline_Copy() * _PyPreCmdline_Read() now accepts _PyPreConfig and _PyCoreConfig optional configurations. * Rename _PyPreConfig_ReadFromArgv() to _PyPreConfig_Read(). Simplify the code. * Calling _PyCoreConfig_Read() no longer adds the warning options twice: don't add a warning option if it's already in the list. * Rename _PyCoreConfig_ReadFromArgv() to _PyCoreConfig_Read(). * Rename config_from_cmdline() to _PyCoreConfig_ReadFromArgv(). * Add more assertions on _PyCoreConfig in _PyCoreConfig_Read(). * Move some functions. * Make some config functions private.
-
Victor Stinner yazdı
Handle memory allocation failure.
-
-
Łukasz Langa yazdı
-
Łukasz Langa yazdı
Python 3.8.0a3
-
Zackery Spytz yazdı
-
Andre Delfino yazdı
-
Benjamin Peterson yazdı
-
Victor Stinner yazdı
* Replace _PyCoreConfig.preconfig with 3 new fields in _PyCoreConfig: isolated, use_environment, dev_mode. * Add _PyPreCmdline.dev_mode. * Add _Py_PreInitializeFromPreConfigInPlace().
-
- 25 Mar, 2019 10 kayıt (commit)
-
-
Victor Stinner yazdı
* Make _PyPreConfig_GetEnv(), _PyCoreConfig_GetEnv() and _PyCoreConfig_GetEnvDup() private * _Py_get_env_flag() first parameter becomes "int use_environment"
-
Andre Delfino yazdı
* bpo-34085: Improve wording on classmethod/staticmethod * Address comments from Éric * Address comments from Éric
-
Stéphane Wirtel yazdı
-
Victor Stinner yazdı
* Add _Py_GetConfigsAsDict() function to get all configurations as a dict. * dump_config() of _testembed.c now dumps preconfig as a separated key: call _Py_GetConfigsAsDict(). * Make _PyMainInterpreterConfig_AsDict() private.
-
Pablo Galindo yazdı
Now that the parser generator is written in Python (Parser/pgen) we can make use of it to regenerate the Lib/keyword file that contains the language keywords instead of parsing the autogenerated grammar files. This also allows checking in the CI that the autogenerated files are up to date.
-
Stefan Krah yazdı
-
Raymond Hettinger yazdı
-
Stephen Rosen yazdı
-
Łukasz Langa yazdı
-
Victor Stinner yazdı
* Initialize _PyPreConfig.dev_mode to -1. * _PyPreConfig_Read(): coreconfig has the priority over preconfig. * _PyCoreConfig_Read() now calls _PyPreCmdline_Read() internally. * config_from_cmdline() now pass _PyPreCmdline to config_read(). * Add _PyPreCmdline_Copy().
-