Michelle Johnson <jshe...@umich.edu> added the comment:

Oh, ok.  So, it doesn't seem like trying to get the contents of op was 
successful:

(gdb) print *op
$1 = {ob_refcnt = 0, ob_type = 0x0}
(gdb) print *op->ob_type
Cannot access memory at address 0x0
(gdb)


I then followed your instructions to recompile in debug mode and retried the 
script.  Here are the results:

[jshelly@gl-build Python-3.7.4]$ ./python ~/script.py
Current thread 0x00002ab43fe0d400 (most recent call first):
  File "/home/jshelly/script.py", line 12 in <module>
called True
[jshelly@gl-build Python-3.7.4]$

Does that help at all?

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<https://bugs.python.org/issue37565>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to