- 31 May, 2018 1 kayıt (commit)
-
-
Serhiy Storchaka yazdı
-
- 29 May, 2018 1 kayıt (commit)
-
-
Serhiy Storchaka yazdı
Remove the docstring attribute of AST types and restore docstring expression as a first stmt in their body. Co-authored-by:
INADA Naoki <methane@users.noreply.github.com>
-
- 25 Ock, 2018 1 kayıt (commit)
-
-
Serhiy Storchaka yazdı
Add two new private APIs: _PyObject_LookupAttr() and _PyObject_LookupAttrId()
-
- 31 Ara, 2017 1 kayıt (commit)
-
-
Benjamin Peterson yazdı
-
- 28 Kas, 2017 1 kayıt (commit)
-
-
Serhiy Storchaka yazdı
-
- 24 Kas, 2017 1 kayıt (commit)
-
-
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>
-
- 17 Kas, 2017 1 kayıt (commit)
-
-
Victor Stinner yazdı
Remove the following fields from tok_state structure which are now used unused: * altwarning: "Issue warning if alternate tabs don't match" * alterror: "Issue error if alternate tabs don't match" * alttabsize: "Alternate tab spacing" Replace alttabsize variable with ALTTABSIZE define.
-
- 15 Kas, 2017 1 kayıt (commit)
-
-
Victor Stinner yazdı
* Don't use "Python runtime" anymore to parse command line options or to get environment variables: pymain_init() is now a strict separation. * Use an error message rather than "crashing" directly with Py_FatalError(). Limit the number of calls to Py_FatalError(). It prepares the code to handle errors more nicely later. * Warnings options (-W, PYTHONWARNINGS) and "XOptions" (-X) are now only added to the sys module once Python core is properly initialized. * _PyMain is now the well identified owner of some important strings like: warnings options, XOptions, and the "program name". The program name string is now properly freed at exit. pymain_free() is now responsible to free the "command" string. * Rename most methods in Modules/main.c to use a "pymain_" prefix to avoid conflits and ease debug. * Replace _Py_CommandLineDetails_INIT with memset(0) * Reorder a lot of code to fix the initialization ordering. For example, initializing standard streams now comes before parsing PYTHONWARNINGS. * Py_Main() now handles errors when adding warnings options and XOptions. * Add _PyMem_GetDefaultRawAllocator() private function. * Cleanup _PyMem_Initialize(): remove useless global constants: move them into _PyMem_Initialize(). * Call _PyRuntime_Initialize() as soon as possible: _PyRuntime_Initialize() now returns an error message on failure. * Add _PyInitError structure and following macros: * _Py_INIT_OK() * _Py_INIT_ERR(msg) * _Py_INIT_USER_ERR(msg): "user" error, don't abort() in that case * _Py_INIT_FAILED(err)
-
- 11 Kas, 2017 1 kayıt (commit)
-
-
Serhiy Storchaka yazdı
Silence only expected AttributeError.
-
- 06 Eki, 2017 1 kayıt (commit)
-
-
Jelle Zijlstra yazdı
Per PEP 492, 'async' and 'await' should become proper keywords in 3.7.
-
- 20 Eyl, 2017 1 kayıt (commit)
-
-
Antoine Pitrou yazdı
* bpo-31536: Avoid wholesale rebuild after `make regen-all` * Add NEWS
-
- 15 Eyl, 2017 2 kayıt (commit)
-
-
Serhiy Storchaka yazdı
-
Barry Warsaw yazdı
* Add Py_UNREACHABLE() as an alias to abort(). * Use Py_UNREACHABLE() instead of assert(0) * Convert more unreachable code to use Py_UNREACHABLE() * Document Py_UNREACHABLE() and a few other macros.
-
- 08 Eyl, 2017 1 kayıt (commit)
-
-
Eric Snow yazdı
* group the (stateful) runtime globals into various topical structs * consolidate the topical structs under a single top-level _PyRuntimeState struct * add a check-c-globals.py script that helps identify runtime globals Other globals are excluded (see globals.txt and check-c-globals.py).
-
- 07 Eyl, 2017 1 kayıt (commit)
-
-
Antoine Pitrou yazdı
* Remove Setup.config * Always define WITH_THREAD for compatibility.
-
- 06 Eyl, 2017 2 kayıt (commit)
-
-
Eric Snow yazdı
Windows buildbots started failing due to include-related errors.
-
Eric Snow yazdı
* group the (stateful) runtime globals into various topical structs * consolidate the topical structs under a single top-level _PyRuntimeState struct * add a check-c-globals.py script that helps identify runtime globals Other globals are excluded (see globals.txt and check-c-globals.py).
-
- 24 Agu, 2017 1 kayıt (commit)
-
-
INADA Naoki yazdı
-
- 04 Agu, 2017 1 kayıt (commit)
-
-
Yuan Chao Chou yazdı
Change the shadowing naming, 'value' (Python-ast.c:4652), to 'val' to prevent the variables from being misused.
-
- 01 Haz, 2017 1 kayıt (commit)
-
-
Albert-Jan Nijburg yazdı
-
- 31 May, 2017 1 kayıt (commit)
-
-
Albert-Jan Nijburg yazdı
* add test to check if were modifying token * copy list so import tokenize doesnt have side effects on token * shorten line * add tokenize tokens to token.h to get them to show up in token * move ERRORTOKEN back to its previous location, and fix nitpick * copy comments from token.h automatically * fix whitespace and make more pythonic * change to fix comments from @haypo * update token.rst and Misc/NEWS * change wording * some more wording changes
-
- 03 Nis, 2017 1 kayıt (commit)
-
-
Jim Fasarakis-Hilliard yazdı
-
- 23 Mar, 2017 1 kayıt (commit)
-
-
Serhiy Storchaka yazdı
There was few cases of using literal 0 instead of NULL in the context of pointers. While this was a legitimate C code, using NULL rather than 0 makes the code clearer.
-
- 23 Şub, 2017 1 kayıt (commit)
-
-
INADA Naoki yazdı
bpo-29463 added optional "docstring" field to 4 AST types. While it is optional, it breaks backward compatibility because AST constructor requires number of positional argument is same to number of fields. AST types accepts empty arguments, and incomplete keyword arguments. But it's not big problem because field can be filled after creation, and checked when compiling. So stop requiring complete set of fields for positional arguments too.
-
- 22 Şub, 2017 1 kayıt (commit)
-
-
INADA Naoki yazdı
* bpo-29463: Add docstring field to some AST nodes. ClassDef, ModuleDef, FunctionDef, and AsyncFunctionDef has docstring field for now. It was first statement of there body. * fix document. thanks travis! * doc fixes
-
- 05 Şub, 2017 1 kayıt (commit)
-
-
Berker Peksag yazdı
Patch by Ryan Gonzalez.
-
- 25 Ock, 2017 1 kayıt (commit)
-
-
INADA Naoki yazdı
-
- 06 Ara, 2016 1 kayıt (commit)
-
-
Victor Stinner yazdı
Replace: PyObject_CallObject(callable, NULL) with: _PyObject_CallNoArg(callable)
-
- 20 Kas, 2016 1 kayıt (commit)
-
-
Serhiy Storchaka yazdı
with PyUnicode_AsUTF8 and PyUnicode_AsUTF8AndSize.
-
- 25 Eki, 2016 1 kayıt (commit)
-
-
Steve Dower yazdı
-
- 08 Eki, 2016 2 kayıt (commit)
-
-
Steve Dower yazdı
-
Steve Dower yazdı
-
- 07 Eki, 2016 1 kayıt (commit)
-
-
Serhiy Storchaka yazdı
compiling it.
-
- 19 Eyl, 2016 2 kayıt (commit)
-
-
Benjamin Peterson yazdı
-
Benjamin Peterson yazdı
-
- 13 Eyl, 2016 2 kayıt (commit)
-
-
Benjamin Peterson yazdı
-
Berker Peksag yazdı
Patch by David Dudson.
-
- 09 Eyl, 2016 3 kayıt (commit)
-
-
Brett Cannon yazdı
Thanks to Georg Brandl for the patch.
-
Yury Selivanov yazdı
-
Yury Selivanov yazdı
Patch by Ivan Levkivskyi.
-