- 26 Kas, 2017 4 kayıt (commit)
-
-
Caleb Hattingh yazdı
-
xdegaye yazdı
-
Nick Coghlan yazdı
-
Nick Coghlan yazdı
find_file() returns an empty list if it finds the requested header on the standard include path, so header existence checks need to be explicitly against "is not None".
-
- 25 Kas, 2017 10 kayıt (commit)
-
-
Benjamin Peterson yazdı
clang can't figure out that fatal_error is noreturn itself and emits warnings: ../cpython/Python/pylifecycle.c:2116:1: warning: function declared 'noreturn' should not return [-Winvalid-noreturn] } ^ ../cpython/Python/pylifecycle.c:2125:1: warning: function declared 'noreturn' should not return [-Winvalid-noreturn] } ^
-
xdegaye yazdı
-
xdegaye yazdı
detect_modules() in setup.py now also searches the sysroot paths when cross-compiling.
-
Serhiy Storchaka yazdı
Also updated an example for default() in the module docstring. Removed quotes around type name in other error messages.
-
Jonas Haag yazdı
* bpo-32071: Add unittest -k option
-
Berker Peksag yazdı
Previously, netrc.netrc() was raised an exception if $HOME is not set. Authored-By: Dimitri Merejkowsky <dimitri.merejkowsky@tanker.io>
-
Mariatta yazdı
Mention that the lower the priority number, the higher priority it represents.
-
Mandeep Bhutani yazdı
The provided code example was supposed to find repeated words, however it returned false results.
-
Victor Stinner yazdı
* 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
-
Victor Stinner yazdı
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.
-
- 24 Kas, 2017 12 kayıt (commit)
-
-
Ashley Camba yazdı
-
Victor Stinner yazdı
* Py_Main() now calls Py_SetProgramName() earlier to be able to get the program name in _PyMainInterpreterConfig_ReadEnv(). * Rename prog to program_name * Rename progpath to program_name
-
Victor Stinner yazdı
Py_GetPath() and Py_Main() now call _PyMainInterpreterConfig_ReadEnv() to share the same code to get environment variables. Changes: * Add _PyMainInterpreterConfig_ReadEnv() * Add _PyMainInterpreterConfig_Clear() * Add _PyMem_RawWcsdup() * _PyMainInterpreterConfig: rename pythonhome to home * Rename _Py_ReadMainInterpreterConfig() to _PyMainInterpreterConfig_Read() * Use _Py_INIT_USER_ERR(), instead of _Py_INIT_ERR(), for decoding errors: the user is able to fix the issue, it's not a bug in Python. Same change was made in _Py_INIT_NO_MEMORY(). * Remove _Py_GetPythonHomeWithConfig()
-
Victor Stinner yazdı
Explicitly document C functions and C variables that can be set before Py_Initialize().
-
Victor Stinner yazdı
This flag was deprecated and wasn't used anymore since Python 2.0.
-
xdegaye yazdı
-
Will White yazdı
The paragraph that contains example of string literal concatenation was placed after the section about concatenation using the '+' sign. Moved the paragraph to the appropriate section.
-
xdegaye yazdı
The test.support.skip_unless_bind_unix_socket() decorator is used to skip asyncio tests that fail because the platform lacks a functional bind() function for unix domain sockets (as it is the case for non root users on the recent Android versions that run now SELinux in enforcing mode).
-
Berker Peksag yazdı
The previous behavior was to raise an exception NotImplementedError: result of type 0 when the value of the property is VT_EMPTY.
-
Victor Stinner yazdı
bpo-32096, bpo-30860: Partially revert the commit 2ebc5ce4: * Move structures back from Include/internal/mem.h to Objects/obmalloc.c * Remove _PyObject_Initialize() and _PyMem_Initialize() * Remove Include/internal/pymalloc.h * Add test_capi.test_pre_initialization_api(): Make sure that it's possible to call Py_DecodeLocale(), and then call Py_SetProgramName() with the decoded string, before Py_Initialize(). PyMem_RawMalloc() and Py_DecodeLocale() can be called again before _PyRuntimeState_Init(). Co-Authored-By: Eric Snow <ericsnowcurrently@gmail.com>
-
Berker Peksag yazdı
Previously, 'msilib.OpenDatabase()' function raised a cryptical exception message when it couldn't open or create an MSI file. For example: Traceback (most recent call last): File "<stdin>", line 1, in <module> _msi.MSIError: unknown error 6e
-
Emanuele Gaifas yazdı
Move footnote markers to be closer to the related terminology: before the end of the sentence, instead of after.
-
- 23 Kas, 2017 14 kayıt (commit)
-
-
Berker Peksag yazdı
-
Raymond Hettinger yazdı
* Minor wording tweaks
-
Berker Peksag yazdı
The Distribution class now explicitly raises an exception when 'classifiers', 'keywords' and 'platforms' fields are not specified as a list.
-
Victor Stinner yazdı
-
Victor Stinner yazdı
-
Victor Stinner yazdı
create_filter() now expects the action as a _Py_Identifier which avoids string comparison, and more important, to avoid handling the "unknown action" annoying case.
-
Victor Stinner yazdı
* calculate_path() rewritten in Modules/getpath.c and PC/getpathp.c * Move global variables into a new PyPathConfig structure. * calculate_path(): * Split the huge calculate_path() function into subfunctions. * Add PyCalculatePath structure to pass data between subfunctions. * Document PyCalculatePath fields. * Move cleanup code into a new calculate_free() subfunction * calculate_init() now handles Py_DecodeLocale() failures properly * calculate_path() is now atomic: only replace PyPathConfig (path_config) at once on success. * _Py_GetPythonHomeWithConfig() now returns an error on failure * Add _Py_INIT_NO_MEMORY() helper: report a memory allocation failure * Coding style fixes (PEP 7)
-
Berker Peksag yazdı
-
xdegaye yazdı
-
xdegaye yazdı
-
xdegaye yazdı
-
Victor Stinner yazdı
* Py_Main() now reads the PYTHONHOME environment variable * Add _Py_GetPythonHomeWithConfig() private function * Add _PyWarnings_InitWithConfig() * init_filters() doesn't get the current core configuration from the current interpreter or Python thread anymore. Pass explicitly the configuration to _PyWarnings_InitWithConfig(). * _Py_InitializeCore() now fails on _PyWarnings_InitWithConfig() failure. * Pass configuration as constant
-
Victor Stinner yazdı
Move _PyCoreConfig.module_search_path_env to _PyMainInterpreterConfig structure.
-
Jesse-Bakker yazdı
Adds a simpler and faster alternative to ExitStack for handling single optional context managers without having to change the lexical structure of your code.
-