Commit c1b9c80
authored
refactor[cartesian]: Avoid dummy DebugInfo in favor of configuration (#2581)
## Description
DaCe now comes with a configuration option whether or not to inspect the
python stack in case debug information (e.g. line number) is missing. We
previously used a fake `DebugInfo` object to prevent the call to
`inspect()`. With the new configuration option, we can remove those fake
objects again and just configure the desired behavior.
A word of caution: until spcl/dace#2344 or
something similar is merged, DaCe will output a ton of deprecation
warnings caused by the addition of the new config option.
## Requirements
- [ ] All fixes and/or new features come with corresponding tests.
N/A
- [ ] Important design decisions have been documented in the appropriate
ADR inside the [docs/development/ADRs/](docs/development/ADRs/README.md)
folder.
N/A1 parent 0d4599a commit c1b9c80
2 files changed
Lines changed: 13 additions & 21 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
14 | 14 | | |
15 | 15 | | |
16 | 16 | | |
17 | | - | |
| 17 | + | |
18 | 18 | | |
19 | 19 | | |
20 | 20 | | |
| |||
146 | 146 | | |
147 | 147 | | |
148 | 148 | | |
149 | | - | |
150 | | - | |
151 | | - | |
152 | | - | |
| 149 | + | |
153 | 150 | | |
154 | 151 | | |
155 | 152 | | |
| |||
159 | 156 | | |
160 | 157 | | |
161 | 158 | | |
162 | | - | |
163 | | - | |
164 | | - | |
165 | | - | |
| 159 | + | |
166 | 160 | | |
167 | 161 | | |
168 | 162 | | |
| |||
175 | 169 | | |
176 | 170 | | |
177 | 171 | | |
178 | | - | |
179 | | - | |
180 | | - | |
181 | | - | |
| 172 | + | |
182 | 173 | | |
183 | 174 | | |
184 | 175 | | |
| |||
188 | 179 | | |
189 | 180 | | |
190 | 181 | | |
191 | | - | |
192 | | - | |
193 | | - | |
194 | | - | |
| 182 | + | |
195 | 183 | | |
196 | 184 | | |
197 | 185 | | |
| |||
273 | 261 | | |
274 | 262 | | |
275 | 263 | | |
276 | | - | |
277 | | - | |
| 264 | + | |
278 | 265 | | |
279 | 266 | | |
280 | 267 | | |
| |||
608 | 595 | | |
609 | 596 | | |
610 | 597 | | |
| 598 | + | |
| 599 | + | |
| 600 | + | |
| 601 | + | |
| 602 | + | |
611 | 603 | | |
612 | 604 | | |
613 | 605 | | |
| |||
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
0 commit comments