- 25 Mar, 2019 15 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ı
-
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().
-
Victor Stinner yazdı
Prepare code to move some _PyPreConfig parameters into _PyPreCmdline. Changes: * _PyCoreConfig_ReadFromArgv(): remove preconfig parameter, use _PyRuntime.preconfig. * Add _PyPreCmdline_GetPreConfig() (called by _PyPreConfig_Read()). * Rename _PyPreCmdline_Init() to _PyPreCmdline_SetArgv() * Factorize _Py_PreInitializeFromPreConfig() code: add pyinit_preinit(). * _PyPreConfig_Read() now sets coerce_c_locale to 2 if it must be coerced. * Remove _PyCoreConfig_ReadPreConfig(). * _PyCoreConfig_Write() now copies updated preconfig into _PyRuntime.
-
Stefan Behnel yazdı
bpo-35884: Add string-keys-only microbenchmark for dict access to var_access_benchmark.py (GH-11905)
-
Zackery Spytz yazdı
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 yazdı
-
Raymond Hettinger yazdı
-
Raymond Hettinger yazdı
-
- 24 Mar, 2019 5 kayıt (commit)
-
-
Louie Lu yazdı
-
Lisa Roach yazdı
-
Terry Jan Reedy yazdı
Fix error in commit 2b751555 noticed by Serhiy Storchaka.
-
Ned Deily yazdı
-
Zackery Spytz yazdı
-
- 23 Mar, 2019 7 kayıt (commit)
-
-
AraHaan yazdı
Check for sys.abiflags before using since not all platforms have it defined.
-
Inada Naoki yazdı
We will remove int support from 3.10 or 4.0.
-
Cheryl Sabella yazdı
* 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 yazdı
_PyPreConfig_Write() now writes the applied pre-configuration into _PyRuntimeState.preconfig.
-
Terry Jan Reedy yazdı
Remove now unneeded imports.
-
Gregory P. Smith yazdı
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 yazdı
-
- 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 4 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ı
-