Message360137
| Author |
dino.viehland |
| Recipients |
dino.viehland, eelizondo, eric.snow, pablogsal, twouters, vstinner |
| Date |
2020年01月16日.19:40:37 |
| SpamBayes Score |
-1.0 |
| Marked as misclassified |
Yes |
| Message-id |
<1579203637.08.0.433413726635.issue38076@roundup.psfhosted.org> |
| In-reply-to |
| Content |
This is a relatively simple repro of the underlying problem:
import _struct
s = _struct.Struct('i')
class C:
def __del__(self):
s.pack(42, 100)
_struct.x = C()
It's a little bit different in that it is actually causing the module to attempt to throw an exception instead of do a type check. |
|