- 29 Nis, 2018 1 kayıt (commit)
-
-
Siddhesh Poyarekar yazdı
METH_NOARGS functions need only a single argument but they are cast into a PyCFunction, which takes two arguments. This triggers an invalid function cast warning in gcc8 due to the argument mismatch. Fix this by adding a dummy unused argument.
-
- 27 Nis, 2018 1 kayıt (commit)
-
-
Victor Stinner yazdı
Cast pointer difference from ssize_t to int: a frame is very unlikely larger than 2 GB.
-
- 23 Mar, 2018 2 kayıt (commit)
-
-
Serhiy Storchaka yazdı
into/out of an except block.
-
Serhiy Storchaka yazdı
* Added new opcode END_ASYNC_FOR. * Setting global StopAsyncIteration no longer breaks "async for" loops. * Jumping into an "async for" loop is now disabled. * Jumping out of an "async for" loop no longer corrupts the stack. * Simplify the compiler.
-
- 13 Mar, 2018 1 kayıt (commit)
-
- 11 Mar, 2018 1 kayıt (commit)
-
-
Serhiy Storchaka yazdı
-
- 04 Mar, 2018 1 kayıt (commit)
-
-
Thomas Nyberg yazdı
-
- 22 Şub, 2018 1 kayıt (commit)
-
-
Serhiy Storchaka yazdı
Co-authored-by: Mark Shannon <mark@hotpy.org> Co-authored-by: Antoine Pitrou <antoine@python.org>
-
- 28 Ock, 2018 1 kayıt (commit)
-
-
Raymond Hettinger yazdı
-
- 31 Ara, 2017 1 kayıt (commit)
-
-
Antoine Pitrou yazdı
bpo-32468: Better frame repr()
-
- 22 Eki, 2017 1 kayıt (commit)
-
-
Mark Shannon yazdı
Move exception state information from frame objects to coroutine (generator/thread) object where it belongs.
-
- 08 Eyl, 2017 2 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).
-
Nick Coghlan yazdı
f_trace_lines: enable/disable line trace events f_trace_opcodes: enable/disable opcode trace events These are intended primarily for testing of the interpreter itself, as they make it much easier to emulate signals arriving at unfortunate times.
-
- 24 Ara, 2016 1 kayıt (commit)
-
-
INADA Naoki yazdı
Calling function is up to 5% faster.
-
- 11 Kas, 2016 1 kayıt (commit)
-
-
Victor Stinner yazdı
When Python is not compiled with PGO, the performance of Python on call_simple and call_method microbenchmarks depend highly on the code placement. In the worst case, the performance slowdown can be up to 70%. The GCC __attribute__((hot)) attribute helps to keep hot code close to reduce the risk of such major slowdown. This attribute is ignored when Python is compiled with PGO. The following functions are considered as hot according to statistics collected by perf record/perf report: * _PyEval_EvalFrameDefault() * call_function() * _PyFunction_FastCall() * PyFrame_New() * frame_dealloc() * PyErr_Occurred()
-
- 11 Eyl, 2016 1 kayıt (commit)
-
-
Serhiy Storchaka yazdı
-
- 04 Haz, 2016 1 kayıt (commit)
-
-
Serhiy Storchaka yazdı
Patch by Xavier de Gaye.
-
- 24 May, 2016 1 kayıt (commit)
-
-
Serhiy Storchaka yazdı
Patch by Demur Rumed.
-
- 06 Nis, 2016 1 kayıt (commit)
-
-
Serhiy Storchaka yazdı
-
- 20 Ock, 2016 1 kayıt (commit)
-
-
Victor Stinner yazdı
Issue #26107: The format of the co_lnotab attribute of code objects changes to support negative line number delta. Changes: * assemble_lnotab(): if line number delta is less than -128 or greater than 127, emit multiple (offset_delta, lineno_delta) in co_lnotab * update functions decoding co_lnotab to use signed 8-bit integers - dis.findlinestarts() - PyCode_Addr2Line() - _PyCode_CheckLineNumber() - frame_setlineno() * update lnotab_notes.txt * increase importlib MAGIC_NUMBER to 3361 * document the change in What's New in Python 3.6 * cleanup also PyCode_Optimize() to use better variable names
-
- 05 Ock, 2016 1 kayıt (commit)
-
-
Serhiy Storchaka yazdı
-
- 24 Ara, 2015 1 kayıt (commit)
-
-
Serhiy Storchaka yazdı
macro Py_SETREF.
-
- 12 May, 2015 1 kayıt (commit)
-
-
Yury Selivanov yazdı
-
- 05 Tem, 2014 1 kayıt (commit)
-
-
Antoine Pitrou yazdı
Issue #21897: Fix a crash with the f_locals attribute with closure variables when frame.clear() has been called.
-
- 09 Şub, 2014 1 kayıt (commit)
-
-
Serhiy Storchaka yazdı
-
- 13 Ara, 2013 1 kayıt (commit)
-
-
Victor Stinner yazdı
crash when a generator is created in a C thread that is destroyed while the generator is still used. The issue was that a generator contains a frame, and the frame kept a reference to the Python state of the destroyed C thread. The crash occurs when a trace function is setup.
-
- 07 Kas, 2013 1 kayıt (commit)
-
-
Victor Stinner yazdı
string for "__builtins__" literal string
-
- 29 Eki, 2013 1 kayıt (commit)
-
-
Victor Stinner yazdı
exceptions when merging fast locals into f_locals of a frame. PyEval_GetLocals() now raises an exception and return NULL on failure.
-
- 05 Agu, 2013 1 kayıt (commit)
-
-
Antoine Pitrou yazdı
Issue #17934: Add a clear() method to frame objects, to help clean up expensive details (local variables) and break reference cycles.
-
- 04 Haz, 2013 1 kayıt (commit)
-
-
Victor Stinner yazdı
multiprocessing.h: remove unused MIN and MAX macros
-
- 14 May, 2013 1 kayıt (commit)
-
-
Antoine Pitrou yazdı
(Issue #17807: Generators can now be finalized even when they are part of a reference cycle)
-
- 08 May, 2013 1 kayıt (commit)
-
-
Antoine Pitrou yazdı
-
- 30 Eki, 2012 1 kayıt (commit)
-
-
Victor Stinner yazdı
-
- 22 Haz, 2012 1 kayıt (commit)
-
-
David Malcolm yazdı
-
- 31 May, 2012 1 kayıt (commit)
-
-
Kristjan Valur Jonsson yazdı
PyObject_GC_Resize() with incorrect error handling. In case of errors, the original object would be leaked. This checkin fixes those cases.
-
- 18 Nis, 2012 3 kayıt (commit)
-
-
Victor Stinner yazdı
It is now possible to use a custom type for the __builtins__ namespace, instead of a dict. It can be used for sandboxing for example. Raise also a NameError instead of ImportError if __build_class__ name if not found in __builtins__.
-
Benjamin Peterson yazdı
-
Benjamin Peterson yazdı
-
- 15 Mar, 2012 1 kayıt (commit)
-
-
Benjamin Peterson yazdı
This allows generators that are using yield from to be seen by debuggers. It also kills the f_yieldfrom field on frame objects. Patch mostly from Mark Shannon with a few tweaks by me.
-
- 05 Mar, 2012 1 kayıt (commit)
-
-
Benjamin Peterson yazdı
-