[issue44472] ltrace functionality doesn't work if there is an exception set

2021-07-13 Thread Pablo Galindo Salgado


Pablo Galindo Salgado  added the comment:


New changeset 4a0f1df9527f7d67064d33f5366476b3c93dc86c by Miss Islington (bot) 
in branch '3.10':
bpo-44472: Fix ltrace functionality when exceptions are raised (GH-26822) 
(GH-26830)
https://github.com/python/cpython/commit/4a0f1df9527f7d67064d33f5366476b3c93dc86c


--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue44472] ltrace functionality doesn't work if there is an exception set

2021-07-12 Thread Łukasz Langa

Łukasz Langa  added the comment:


New changeset 6fb4248cd9502f50dd089fdcf548d735dcfd981e by Miss Islington (bot) 
in branch '3.9':
bpo-44472: Fix ltrace functionality when exceptions are raised (GH-26822) 
(#26831)
https://github.com/python/cpython/commit/6fb4248cd9502f50dd089fdcf548d735dcfd981e


--
nosy: +lukasz.langa

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue44472] ltrace functionality doesn't work if there is an exception set

2021-06-21 Thread Pablo Galindo Salgado


Change by Pablo Galindo Salgado :


--
resolution:  -> fixed
stage: patch review -> resolved
status: open -> closed

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue44472] ltrace functionality doesn't work if there is an exception set

2021-06-21 Thread Pablo Galindo Salgado


Pablo Galindo Salgado  added the comment:


New changeset 06cda808f149fae9b4c688f752b6eccd0d455ba4 by Pablo Galindo in 
branch 'main':
bpo-44472: Fix ltrace functionality when exceptions are raised (GH-26822)
https://github.com/python/cpython/commit/06cda808f149fae9b4c688f752b6eccd0d455ba4


--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue44472] ltrace functionality doesn't work if there is an exception set

2021-06-21 Thread miss-islington


Change by miss-islington :


--
pull_requests: +25412
pull_request: https://github.com/python/cpython/pull/26831

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue44472] ltrace functionality doesn't work if there is an exception set

2021-06-21 Thread miss-islington


Change by miss-islington :


--
nosy: +miss-islington
nosy_count: 1.0 -> 2.0
pull_requests: +25411
pull_request: https://github.com/python/cpython/pull/26830

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue44472] ltrace functionality doesn't work if there is an exception set

2021-06-21 Thread Pablo Galindo Salgado


Change by Pablo Galindo Salgado :


--
keywords: +patch
pull_requests: +25403
stage:  -> patch review
pull_request: https://github.com/python/cpython/pull/26822

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue44472] ltrace functionality doesn't work if there is an exception set

2021-06-21 Thread Pablo Galindo Salgado


New submission from Pablo Galindo Salgado :

Using lltrace results in this crash because we are getting the repl with an 
exception set:

pop None
Assertion failed: (!_PyErr_Occurred(tstate)), function PyObject_Repr, file 
Objects/object.c, line 431.
pop Fatal Python error: Aborted

Current thread 0x0001060eddc0 (most recent call first):
  File "/Users/pgalindo3/github/cpython/Lib/test/test_sys_settrace.py", line 
1999 in gen
  File "/Users/pgalindo3/github/cpython/Lib/test/test_sys_settrace.py", line 
2001 in test_jump_from_yield
  File "/Users/pgalindo3/github/cpython/Lib/test/test_sys_settrace.py", line 
1248 in run_test
  File "/Users/pgalindo3/github/cpython/Lib/test/test_sys_settrace.py", line 
1276 in test
  File "/Users/pgalindo3/github/cpython/Lib/unittest/case.py", line 549 in 
_callTestMethod
  File "/Users/pgalindo3/github/cpython/Lib/unittest/case.py", line 592 in run
  File "/Users/pgalindo3/github/cpython/Lib/unittest/case.py", line 652 in 
__call__
  File "/Users/pgalindo3/github/cpython/Lib/unittest/suite.py", line 122 in run
  File "/Users/pgalindo3/github/cpython/Lib/unittest/suite.py", line 84 in 
__call__
  File "/Users/pgalindo3/github/cpython/Lib/unittest/suite.py", line 122 in run
  File "/Users/pgalindo3/github/cpython/Lib/unittest/suite.py", line 84 in 
__call__
  File "/Users/pgalindo3/github/cpython/Lib/unittest/suite.py", line 122 in run
  File "/Users/pgalindo3/github/cpython/Lib/unittest/suite.py", line 84 in 
__call__
  File "/Users/pgalindo3/github/cpython/Lib/unittest/runner.py", line 176 in run
  File "/Users/pgalindo3/github/cpython/Lib/test/support/__init__.py", line 960 
in _run_suite
  File "/Users/pgalindo3/github/cpython/Lib/test/support/__init__.py", line 
1083 in run_unittest
  File "/Users/pgalindo3/github/cpython/Lib/test/libregrtest/runtest.py", line 
210 in _test_module
  File "/Users/pgalindo3/github/cpython/Lib/test/libregrtest/runtest.py", line 
246 in _runtest_inner2
  File "/Users/pgalindo3/github/cpython/Lib/test/libregrtest/runtest.py", line 
282 in _runtest_inner
  File "/Users/pgalindo3/github/cpython/Lib/test/libregrtest/runtest.py", line 
154 in _runtest
  File "/Users/pgalindo3/github/cpython/Lib/test/libregrtest/runtest.py", line 
194 in runtest
  File "/Users/pgalindo3/github/cpython/Lib/test/libregrtest/main.py", line 423 
in run_tests_sequential
  File "/Users/pgalindo3/github/cpython/Lib/test/libregrtest/main.py", line 521 
in run_tests
  File "/Users/pgalindo3/github/cpython/Lib/test/libregrtest/main.py", line 694 
in _main
  File "/Users/pgalindo3/github/cpython/Lib/test/libregrtest/main.py", line 641 
in main
  File "/Users/pgalindo3/github/cpython/Lib/test/libregrtest/main.py", line 719 
in main
  File "/Users/pgalindo3/github/cpython/Lib/test/__main__.py", line 2 in 

  File "/Users/pgalindo3/github/cpython/Lib/runpy.py", line 86 in _run_code
  File "/Users/pgalindo3/github/cpython/Lib/runpy.py", line 196 in 
_run_module_as_main

--
messages: 396220
nosy: pablogsal
priority: normal
severity: normal
status: open
title: ltrace functionality doesn't work if there is an exception set

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com