pytorch/torch/package
Nikita Shulga 4316df857c [3.14] Fix torch.package.importer (#166767)
That relies on internal implementation of `picker._getattribute` which
changed from (i.e. takes object and string and returns tuple)
9ab89c026a/Lib/pickle.py (L316)
To (takes object and iterable of strings and returns object
631ba3407e/Lib/pickle.py (L315)

Test plan:
```
python -c "import torch; print(torch.package.sys_importer.get_name(torch.cuda.Stream))"
```
Pull Request resolved: https://github.com/pytorch/pytorch/pull/166767
Approved by: https://github.com/williamwen42
2025-11-01 05:05:47 +00:00
..
analyze [1/N] Use "is" in python type comparison (#165037) 2025-10-10 12:36:50 +00:00
__init__.py
_digraph.py
_directory_reader.py
_importlib.py
_mangling.py
_mock.py
_package_pickler.py Fix syntax for pyrefly errors (#166496) 2025-10-29 20:00:25 +00:00
_package_unpickler.py
_stdlib.py
file_structure_representation.py
find_file_dependencies.py
glob_group.py
importer.py [3.14] Fix torch.package.importer (#166767) 2025-11-01 05:05:47 +00:00
mangling.md
package_exporter.py Fix syntax for pyrefly errors (#166496) 2025-10-29 20:00:25 +00:00
package_importer.py Clean up unused Pyrefly suppressions (#166178) 2025-10-25 05:32:21 +00:00