New submission from Beau Gunderson <b...@beaugunderson.com>:

In chasing down a bug in my code that only manifests itself when running under 
cProfile I managed to find the culprit in datetime.timedelta by way of dateutil.

Here is a small repro:

https://gist.github.com/beaugunderson/68ea6424a4fdcf763ccad08e42a74974

I believe an exception should still be raised in broken() when run under 
cProfile, but for some reason it is not.

----------
messages: 327846
nosy: beaugunderson
priority: normal
severity: normal
status: open
title: Odd behavior when using datetime.timedelta under cProfile
versions: Python 3.7

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

Reply via email to