Guilherme Leobas
|
daff65d671
|
Correctly propagate exception to parent tx (#146502)
Pull Request resolved: https://github.com/pytorch/pytorch/pull/146502
Approved by: https://github.com/anijain2305, https://github.com/williamwen42, https://github.com/zou3519
ghstack dependencies: #146504, #146499
|
2025-03-11 18:55:45 +00:00 |
|
Guilherme Leobas
|
fb53e9e514
|
Add __context/cause/suppress_context/traceback__ to Exception (#146499)
Pull Request resolved: https://github.com/pytorch/pytorch/pull/146499
Approved by: https://github.com/zou3519, https://github.com/anijain2305
ghstack dependencies: #146504
|
2025-03-11 18:55:45 +00:00 |
|
Guilherme Leobas
|
580a305681
|
Raise MutationError if there are side effects when returning generator (#145223)
Pull Request resolved: https://github.com/pytorch/pytorch/pull/145223
Approved by: https://github.com/zou3519
ghstack dependencies: #141055, #144421, #144422, #144423, #144424, #144420
|
2025-02-08 22:42:12 +00:00 |
|
Guilherme Leobas
|
68cfd36c11
|
Add CLEANUP_THROW bytecode (#144420)
Pull Request resolved: https://github.com/pytorch/pytorch/pull/144420
Approved by: https://github.com/zou3519
ghstack dependencies: #141055, #144421, #144422, #144423, #144424
|
2025-02-08 22:42:12 +00:00 |
|
Guilherme Leobas
|
53ab82d8f5
|
Implement generator.throw(exception) (#144424)
Pull Request resolved: https://github.com/pytorch/pytorch/pull/144424
Approved by: https://github.com/zou3519
ghstack dependencies: #141055, #144421, #144422, #144423
|
2025-02-08 22:42:12 +00:00 |
|
Guilherme Leobas
|
8ee095f7c1
|
Implement generator.close() (#144423)
Pull Request resolved: https://github.com/pytorch/pytorch/pull/144423
Approved by: https://github.com/zou3519
ghstack dependencies: #141055, #144421, #144422
|
2025-02-08 22:42:12 +00:00 |
|
Guilherme Leobas
|
ca9b16e070
|
Implement generator.send(..) (#144422)
Pull Request resolved: https://github.com/pytorch/pytorch/pull/144422
Approved by: https://github.com/zou3519
ghstack dependencies: #141055, #144421
|
2025-02-08 22:42:12 +00:00 |
|
Guilherme Leobas
|
d798831167
|
Implement generator.__iter__() (#144421)
Pull Request resolved: https://github.com/pytorch/pytorch/pull/144421
Approved by: https://github.com/zou3519
ghstack dependencies: #141055
|
2025-02-08 22:42:12 +00:00 |
|
Guilherme Leobas
|
8603a1c870
|
Suport generators (#141055)
Pull Request resolved: https://github.com/pytorch/pytorch/pull/141055
Approved by: https://github.com/zou3519
|
2025-02-08 22:42:12 +00:00 |
|