Describe the bug
When using load_dataset on Python 3.14, a TypeError is raised during the fingerprinting process inside the bundled _dill.py. This happens because Python 3.14 changed the signature of the internal C-level _Pickler._batch_setitems to require 3 arguments (self, items, obj), while datasets/utils/_dill.py only passes 2 arguments.
Steps to reproduce the bug
Run any load_dataset script on Python 3.14:
```python
from datasets import load_dataset
ds = load_dataset('parquet', data_files={'train': 'data.parquet'})
Error output:
TypeError: _Pickler._batch_setitems() missing 1 required positional argument: 'obj'
Expected behavior
That this thing works (?)
Environment info
nope
Describe the bug
When using
load_dataseton Python 3.14, aTypeErroris raised during the fingerprinting process inside the bundled_dill.py. This happens because Python 3.14 changed the signature of the internal C-level_Pickler._batch_setitemsto require 3 arguments (self, items, obj), whiledatasets/utils/_dill.pyonly passes 2 arguments.Steps to reproduce the bug
Run any
load_datasetscript on Python 3.14:```python
from datasets import load_dataset
ds = load_dataset('parquet', data_files={'train': 'data.parquet'})
Error output:
Expected behavior
That this thing works (?)
Environment info
nope