- 25 Mar, 2019 4 commits
-
-
Zackery Spytz authored
Set type_attr to NULL after the assignment to stgdict->proto (like what is done with stgdict after the Py_SETREF() call) so that it is not decrefed twice on error.
-
Rémi Lapeyre authored
-
Raymond Hettinger authored
-
Raymond Hettinger authored
-
- 24 Mar, 2019 5 commits
-
-
Louie Lu authored
-
Lisa Roach authored
-
Terry Jan Reedy authored
Fix error in commit 2b751555 noticed by Serhiy Storchaka.
-
Ned Deily authored
-
Zackery Spytz authored
-
- 23 Mar, 2019 7 commits
-
-
AraHaan authored
Check for sys.abiflags before using since not all platforms have it defined.
-
Inada Naoki authored
We will remove int support from 3.10 or 4.0.
-
Cheryl Sabella authored
* Add tests for grep findfiles. * Move findfiles to module function. * Change findfiles to use os.walk. Based on a patch by Al Sweigart.
-
Victor Stinner authored
_PyPreConfig_Write() now writes the applied pre-configuration into _PyRuntimeState.preconfig.
-
Terry Jan Reedy authored
Remove now unneeded imports.
-
Gregory P. Smith authored
Clarify capturing or suppressing stdout and stderr on the old call APIs. Do not state that they are equivalent to run() calls when they are not implemented using run as that was misleading. Unlike run they cannot handle stdout or stderr being set to PIPE without a risk of deadlock.
-
Xavier GUIHOT authored
-
- 22 Mar, 2019 9 commits
-
-
Terry Jan Reedy authored
This param was only used once and changed the return type.
-
Brett Cannon authored
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 authored
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 authored
-
Inada Naoki authored
`Task.current_task()` and `Task.all_tasks()` will be removed in 3.9.
-
Kumar Akshay authored
-
Pablo Galindo authored
-
Zackery Spytz authored
compiler_call() needs to check if an error occurred during the maybe_optimize_method_call() call.
-
Zackery Spytz authored
If the first PyUnicode_DecodeUTF8() call fails in structseq_repr(), _PyUnicodeWriter_Dealloc() will be called on an uninitialized _PyUnicodeWriter.
-
- 21 Mar, 2019 7 commits
-
-
Pablo Galindo authored
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 authored
-
Steve Dower authored
Also fixes venvs from the build directory on Windows.
-
Jess authored
-
Benedikt Werner authored
-
CAM Gerlach authored
-
Emmanuel Arias authored
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 8 commits
-
-
Raymond Hettinger authored
* Improve coverage. * Note inherent limitations of the accuracy tests https://bugs.python.org/issue36324
-
sth authored
-
Serhiy Storchaka authored
-
Inada Naoki authored
-
Inada Naoki authored
-
Inada Naoki authored
-
Inada Naoki authored
-
-