set

    [RustPython] Set타입 fn update 수정하기

    Merged PR Fix set test_merge_and_mutate Fix set test_merge_and_mutate by tgsong827 · Pull Request #3935 · RustPython/RustPython fix #3866 make function update_internal() check AnySet Type check Dict Type github.com 개요 set.update() 함수는 인자로 set 타입과 dict 타입도 받을 수 있는데, 이 경우 인자로 넘어온 set과 dict 타입이 담고 있는 객체가 무엇이냐에 따라 update 도중 Iteration의 사이즈가 변할 수 있습니다. CPython에서는 update의 인자로 들어온 iterable 객체가 set 타입인지 ..