Commit 0f0641f
committed
API: Raise AttributeError on closed HDFStore
Previously, we called _check_if_open, which would raise a ClosedFileError
whenever the desired attribute wasn't found. This prevented the check required
for PEP519 to work properly, since hasattr shouldn't raise that error.1 parent 42e2a87 commit 0f0641f
File tree
3 files changed
+3
-2
lines changed- doc/source/whatsnew
- pandas
- io
- tests/io
3 files changed
+3
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
36 | 36 | | |
37 | 37 | | |
38 | 38 | | |
| 39 | + | |
| 40 | + | |
39 | 41 | | |
40 | 42 | | |
41 | 43 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
472 | 472 | | |
473 | 473 | | |
474 | 474 | | |
475 | | - | |
476 | 475 | | |
477 | 476 | | |
478 | 477 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4453 | 4453 | | |
4454 | 4454 | | |
4455 | 4455 | | |
4456 | | - | |
| 4456 | + | |
4457 | 4457 | | |
4458 | 4458 | | |
4459 | 4459 | | |
| |||
0 commit comments