Check duplicate issues.
Description
Firstly, it ought to be iterable since it is iterable in C++. Secondly, such iterablity is Pythonic and is a convenient feature.
Reproducer
$ python -m unittest -v -k Iter >& log.txt
log.txt
validateRootFile_iter.py
test_validateRootFile.py
validateRootFile_range.py
ROOT version
$ root -q
| Welcome to ROOT 6.41.01 https://root.cern |
| (c) 1995-2025, The ROOT Team; conception: R. Brun, F. Rademakers |
| Built for linuxx8664gcc on May 24 2026, 22:55:42 |
| From heads/master@9a7f3e77 |
| With g++ (GCC) 15.2.0 std202302 |
| Try '.help'/'.?', '.demo', '.license', '.credits', '.quit'/'.q' |
Installation method
lcg nightly builds at CERN
Operating system
Red Hat Enterprise Linux release 9.7 (Plow)
Additional context
The bug was introduced by PR #21131.
Check duplicate issues.
Description
Firstly, it ought to be iterable since it is iterable in
C++. Secondly, such iterablity is Pythonic and is a convenient feature.Reproducer
log.txt
validateRootFile_iter.py
test_validateRootFile.py
validateRootFile_range.py
ROOT version
$ root -q
| Welcome to ROOT 6.41.01 https://root.cern |
| (c) 1995-2025, The ROOT Team; conception: R. Brun, F. Rademakers |
| Built for linuxx8664gcc on May 24 2026, 22:55:42 |
| From heads/master@9a7f3e77 |
| With g++ (GCC) 15.2.0 std202302 |
| Try '.help'/'.?', '.demo', '.license', '.credits', '.quit'/'.q' |
Installation method
lcg nightly builds at CERN
Operating system
Red Hat Enterprise Linux release 9.7 (Plow)
Additional context
The bug was introduced by PR #21131.