Zackery Spytz
eef059657d
bpo-31370: Remove references to threadless builds ( #8805 )
...
Support for threadless builds was removed in a6a4dc81 .
2018-09-29 10:07:11 -06:00
jdemeyer
e89de73987
bpo-34125: Enable profiling of method_descriptor in all cases (GH-8416)
...
`list.append([], None)` was profiled but `list.append([], None, **{})` was not profiled.
Enable profiling for later case.
https://bugs.python.org/issue34125
2018-09-19 03:06:20 -07:00
Benjamin Peterson
ddd1949fea
closes bpo-34673: Tweaks to make ceval more editable. (GH-9289)
...
Two major changes:
- Move case statements out of the TARGET macro.
- Move PREDICT macro invocations after the case label.
2018-09-16 22:38:02 -07:00
Victor Stinner
caba55b3b7
bpo-34301: Add _PyInterpreterState_Get() helper function (GH-8592)
...
sys_setcheckinterval() now uses a local variable to parse arguments,
before writing into interp->check_interval.
2018-08-03 15:33:52 +02:00
costypetrisor
8ed317f1ca
bpo-34113: Fix a crash when using LLTRACE is on (GH-8517)
...
Fix a crash on negative STACKADJ() when Low-Level trace (LLTRACE) is enabled.
2018-07-31 22:55:14 +02:00
jdemeyer
147d95511f
bpo-34190: Fix reference leak in call_function() (GH-8413)
2018-07-23 18:41:20 +02:00
jdemeyer
56868f940e
bpo-34126: Fix crashes while profiling invalid calls. (GH-8300)
2018-07-21 11:30:59 +03:00
Serhiy Storchaka
3f4d90d4d7
bpo-34066: Disabled interruption before SETUP_WITH and BEFORE_ASYNC_WITH. (GH-8159)
...
This will prevent emitting a resource warning when the execution was
interrupted by Ctrl-C between calling open() and entering a 'with' block
in "with open()".
2018-07-09 22:40:14 +10:00
Marcel Plch
3a9ccee0e5
bpo-29673: fix gdb scripts pystack and pystackv (GH-6126)
2018-04-06 17:22:04 -04:00
Serhiy Storchaka
a68f2f0578
bpo-29922: Improve error messages in 'async with' (GH-6352)
...
when __aenter__() or __aexit__() return non-awaitable object.
2018-04-03 01:41:38 +03:00
Xiang Zhang
d8b291a742
bpo-32932: More revealing error message when non-str objects in __all__ (GH-5848)
2018-03-24 18:39:36 +08:00
Serhiy Storchaka
702f8f3611
bpo-33041: Rework compiling an "async for" loop. ( #6142 )
...
* 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.
2018-03-23 14:34:35 +02:00
Serhiy Storchaka
520b7ae27e
bpo-17611. Move unwinding of stack for "pseudo exceptions" from interpreter to compiler. (GH-5006)
...
Co-authored-by: Mark Shannon <mark@hotpy.org >
Co-authored-by: Antoine Pitrou <antoine@python.org >
2018-02-22 23:33:30 +02:00
Mark Shannon
332cd5ee4f
bpo-32550. Remove the STORE_ANNOTATION bytecode. (GH-5181)
2018-01-29 16:41:04 -08:00
Victor Stinner
2914bb32e2
bpo-20891: Py_Initialize() now creates the GIL ( #4700 )
...
The GIL is no longer created "on demand" to fix a race condition when
PyGILState_Ensure() is called in a non-Python thread.
2018-01-29 11:57:45 +01:00
Xiang Zhang
997478eb79
bpo-32688: Make why the line is commented out clear (GH-5405)
2018-01-29 11:32:12 +08:00
Serhiy Storchaka
f320be77ff
bpo-32571: Avoid raising unneeded AttributeError and silencing it in C code (GH-5222)
...
Add two new private APIs: _PyObject_LookupAttr() and _PyObject_LookupAttrId()
2018-01-25 17:49:40 +09:00
Nathaniel J. Smith
fc2f407829
bpo-32591: Add native coroutine origin tracking ( #5250 )
...
* Add coro.cr_origin and sys.set_coroutine_origin_tracking_depth
* Use coroutine origin information in the unawaited coroutine warning
* Stop using set_coroutine_wrapper in asyncio debug mode
* In BaseEventLoop.set_debug, enable debugging in the correct thread
2018-01-21 09:44:07 -05:00
Serhiy Storchaka
13a6c098c2
bpo-32259: Make a TypeError message when unpack non-iterable more specific. ( #4903 )
2017-12-26 12:30:41 +02:00
Serhiy Storchaka
a5552f023e
bpo-32240: Add the const qualifier to declarations of PyObject* array arguments. ( #4746 )
2017-12-15 13:11:11 +02:00
pdox
1896793520
bpo-31857: Make the behavior of USE_STACKCHECK deterministic ( #4098 )
2017-10-25 23:03:01 -07:00
Benjamin Peterson
95f1a7bb09
remove support for splitting the ceval switch into multiple switches ( #4099 )
...
This kludge is from 1992. Any C99 compiler is going to be able to handle the
ceval dispatch switch.
Anyway, we have much bigger switches than the ceval dispatch one around. (See,
e.g., Objects/unicodetype_db.h.)
2017-10-24 22:35:15 -07:00
Mark Shannon
ae3087c638
Move exc state to generator. Fixes bpo-25612 ( #1773 )
...
Move exception state information from frame objects to coroutine (generator/thread) object where it belongs.
2017-10-22 23:41:51 +02:00
George King
20faa68bbb
Move opcode tracing to occur after the possible update to f_lineno. (GH-3798)
2017-10-19 10:44:22 +10:00
Yury Selivanov
faa135acbf
bpo-31709: Drop support for asynchronous __aiter__. ( #3903 )
2017-10-06 02:08:57 -04:00