shairubin / fun_with_ast

let's have fun manipulating ASTs in Python
Apache License 2.0
0 stars 1 forks source link

reset validation is broken #205

Closed shairubin closed 5 months ago

shairubin commented 5 months ago

def _gen_invalid_iterdatapipe_msg(datapipe): return ("This iterator has been invalidated because another iterator has been created " f"from the same IterDataPipe: {_generate_iterdatapipe_msg(datapipe)}\n" "This may be caused multiple references to the same IterDataPipe. We recommend " "using .fork() if that is necessary.")