- 22 Mar, 2019 9 kayıt (commit)
-
-
Terry Jan Reedy yazdı
This param was only used once and changed the return type.
-
Brett Cannon yazdı
Before, an `AttributeError` was raised due to trying to access an attribute that exists on specs but having received `None` instead for a non-existent module. https://bugs.python.org/issue36298
-
Denton Liu yazdı
Clarify that the naming of protocol handler methods shouldn't be literally called "protocol" but should be named after the actual protocol. https://bugs.python.org/issue35155
-
Rémi Lapeyre yazdı
-
Inada Naoki yazdı
`Task.current_task()` and `Task.all_tasks()` will be removed in 3.9.
-
Kumar Akshay yazdı
-
Pablo Galindo yazdı
-
Zackery Spytz yazdı
compiler_call() needs to check if an error occurred during the maybe_optimize_method_call() call.
-
Zackery Spytz yazdı
If the first PyUnicode_DecodeUTF8() call fails in structseq_repr(), _PyUnicodeWriter_Dealloc() will be called on an uninitialized _PyUnicodeWriter.
-
- 21 Mar, 2019 7 kayıt (commit)
-
-
Pablo Galindo yazdı
bpo-36256: Fix bug in parsermodule when parsing if statements In the parser module, when validating nodes before starting the parsing with to create a ST in "parser_newstobject" there is a problem that appears when two arcs in the same DFA state has transitions with labels with the same type. For example, the DFA for if_stmt has a state with two labels with the same type: "elif" and "else" (type NAME). The algorithm tries one by one the arcs until the label that starts the arc transition has a label with the same type of the current child label we are trying to accept. In this case, the arc for "elif" comes before the arc for "else"and passes this test (because the current child label is "else" and has the same type as "elif"). This lead to expecting a namedexpr_test (305) instead of a colon (11). The solution is to compare also the string representation (in case there is one) of the labels to see if the transition that we have is the correct one.
-
Isuru Fernando yazdı
-
Steve Dower yazdı
Also fixes venvs from the build directory on Windows.
-
Jess yazdı
-
Benedikt Werner yazdı
-
CAM Gerlach yazdı
-
Emmanuel Arias yazdı
Currently, when arguments on Parser/asdl_c.py are parsed ``ìf`` sentence is used. This PR Propose to use ``elif`` to avoid multiple evaluting of the ifs. https://bugs.python.org/issue36385
-
- 20 Mar, 2019 12 kayıt (commit)
-
-
Raymond Hettinger yazdı
* Improve coverage. * Note inherent limitations of the accuracy tests https://bugs.python.org/issue36324
-
sth yazdı
-
Serhiy Storchaka yazdı
-
Inada Naoki yazdı
-
Inada Naoki yazdı
-
Inada Naoki yazdı
-
Inada Naoki yazdı
-
-
Victor Stinner yazdı
_PyCoreConfig_ReadFromArgv() now reuses the code parsing command line options from preconfig.c.
-
-
Victor Stinner yazdı
Don't override parameters which are already set by the user.
-
Victor Stinner yazdı
* Add _PyRuntime.pre_initialized: set to 1 when Python is pre-initialized * Add _Py_PreInitialize() and _Py_PreInitializeFromPreConfig(). * _PyCoreConfig_Read() now calls _Py_PreInitialize(). * Move _PyPreConfig_GetGlobalConfig() and _PyCoreConfig_GetGlobalConfig() calls from main.c to preconfig.c and coreconfig.c.
-
- 19 Mar, 2019 12 kayıt (commit)
-
-
-
Victor Stinner yazdı
No longer limit repr(structseq) to 512 bytes. Use _PyUnicodeWriter for better performance and to write directly Unicode rather than encoding repr() value to UTF-8 and then decoding from UTF-8.
-
Victor Stinner yazdı
Calling _PyRuntime_Initialize() after _PyRuntime_Finalize() now re-initializes _PyRuntime structure. Previously, _PyRuntime_Initialize() did nothing in that case.
-
-
Raymond Hettinger yazdı
-
Victor Stinner yazdı
* _PyPathConfig_ComputeSysPath0() now returns 0 if argv is empty. * Cleanup also _PyPathConfig_ComputeSysPath0() code: move variables definitions closer to where they are used.
-
Pablo Galindo yazdı
-
Victor Stinner yazdı
At Python initialization, the current directory is no longer prepended to sys.path if it has been removed. Rename _PyPathConfig_ComputeArgv0() to _PyPathConfig_ComputeSysPath0() to avoid confusion between argv[0] and sys.path[0].
-
Victor Stinner yazdı
Ensure that _PyRuntime_Finalize() is always call. This change fix a few memory leaks when running "python3 -V".
-
Victor Stinner yazdı
When Python is compiled with Valgrind support, release Unicode interned strings at exit in _PyUnicode_Fini(). * Rename _Py_ReleaseInternedUnicodeStrings() to unicode_release_interned() and make it private. * unicode_release_interned() is now called from _PyUnicode_Fini(): it must be called with a running Python thread state for TRASHCAN, it cannot be called from pymain_free(). * Don't display statistics on interned strings at exit anymore
-
Victor Stinner yazdı
_PyEval_FiniThreads() now free the pending lock.
-
Inada Naoki yazdı
Modules/_sqlite/cursor.c uses "y#" format. It didn't declare PY_SSIZE_T_CLEAN, but the argument is Py_ssize_t already.
-