from oops import PriceBar
from datetime import datetime as Date
date = Date(2004, 8, 19)
date.year # fine
bar = PriceBar(Date(2004, 8, 19), 100.01, 104.06, 95.96, 100.335)
bar.date.year # oops
Traceback (most recent call last):
File "test.py", line 8, in <module>
bar.date.year # oops
RuntimeError: D conversion function d_to_python failed with type std.datetime.date.DateTime*
According to git bisect, this regression was introduced in this commit:
commit 7a9b56d4e362fee92a7381f1feba97656d3db62e (HEAD, refs/bisect/bad)
Author: Ellery Newcomer <ellery-newcomer@utulsa.edu>
Date: Fri Aug 31 20:16:03 2018 -0700
support structs in structs
also, dmd 2.067.1 doesn't seem to want to work in debian 9
This fails:
According to git bisect, this regression was introduced in this commit:
Rest of the dub project to reproduce: