- 29 Mar, 2019 5 commits
-
-
Jeroen Demeyer authored
-
Victor Stinner authored
* Add config_read_cmdline() subfunction. Remove _PyCmdline structure. * _PyCoreConfig_Read() now also parses config->argv command line arguments
-
Alexey Izbyshev authored
-
Julien Palard authored
-
Susan Su authored
* changes to html file -> added contributing to docs link at the end of the page * revisions to the dealing with bugs page. added more links in the documentation bugs section *
📜 🤖 Added by blurb_it. * Update Doc/bugs.rst Updated Doc/bugs.rst in accordance with willingc and JulienPalard suggestions. Co-Authored-By: suhearsawho <susansu.software@gmail.com>
-
- 28 Mar, 2019 12 commits
-
-
-
Xtreak authored
Return None after calling unittest.mock.patch.object.stop() regardless of whether the object was started. This makes the method idempotent. https://bugs.python.org/issue36366
-
Jules Lasne (jlasne) authored
No `bpo` for minor doc fix
-
ksamuel authored
Make the encoding/encoders mention congruent.
-
kctherookie authored
Add a function to collect certificates from several certificate stores into one certificate collection store that is then enumerated. This ensures we load as many certificates as we can access.
-
zhsj authored
-
Giampaolo Rodola authored
-
Serhiy Storchaka authored
Make it doing less memory allocations and using the modern C API.
-
Zackery Spytz authored
Remove the PyMem_FREE() call added in cb90c89d. The buffer will be freed when PyTokenizer_Free() is called on the tokenizer state.
-
Thomas Perl authored
-
Ned Deily authored
-
Raymond Hettinger authored
This reverts commit dfd775a0.
-
- 27 Mar, 2019 17 commits
-
-
Steve Dower authored
-
Philipp A authored
-
Raymond Hettinger authored
-
Victor Stinner authored
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 authored
-
hliu0 authored
Python always use UTF-8 on VxWorks.
-
Pablo Galindo authored
Fix refleak in sysmodule.c when calling SET_SYS_FROM_STRING_BORROW.
-
Victor Stinner authored
-
Eddie Elizondo authored
* Incref heap-allocated types in PyObject_Init * Add documentation and porting notes to What's New
-
Jules Lasne (jlasne) authored
-
Inada Naoki authored
-
Serhiy Storchaka authored
-
Vladimir Surjaninov authored
-
Andre Delfino authored
-
Andre Delfino authored
Change "star-operator" to "* operator".
-
Victor Stinner authored
* 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 authored
-
- 26 Mar, 2019 6 commits
-
-
Terry Jan Reedy authored
Add idlelib.pyshell alias at top; remove pyshell alias at bottom. Remove obsolete __name__=='__main__' command.
-
Victor Stinner authored
Add test_preinit_isolated1() and test_preinit_isolated2() test_embed.
-
Tal Einat authored
-
Pierre Glaser authored
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 authored
* _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 authored
Handle memory allocation failure.
-