contribution

    [RustPython] fcntl.ioctl 수정하기

    Merged PR PR Comment update ioctl first arg by tgsong827 · Pull Request #4140 · RustPython/RustPython #4070 add test_ioctl.py. update fn ioctl can take others having fileno method not only Integer. github.com 개요 CPython에서 ioctl 함수의 첫 번째 인자로 File Descriptor를 받는다. File Descriptor는 fileno()를 통해 구한 Integer 타입 fileno()를 갖고 있는 IOBase의 객체여야한다. RustPython은 ioctl 함수의 첫 번째 인자로 Integer 타입만 받도록 되어있었고, filen..

    [RustPython] traceback.tb_next mutable 하게 만들기

    Merged PR Update traceback.tb_next to be writable. Update `traceback.tb_next` to be writable. by tgsong827 · Pull Request #4087 · RustPython/RustPython Resolves #3857 github.com 개요 traceback은 tb_next라는 속성을 갖고 있다. tb_next 속성은 read 하는 것만 가능했고, 이를 writable 하게 만든 내용이다. 과정 분석 RustPython에서 tracback을 구현하는 Rust 구조체는 PyTraceback이다. PyTraceback은 tb_next 메소드를 갖고 있는데, 이는 tb_next 속성을 호출할 때 사용된다. tb_next 메소드를..

    [RustPython] sslError 클래스에 library, reason 속성 추가하기

    ISSUE ssl.SSLError.reason ssl.SSLError.reason · Issue #4000 · RustPython/RustPython Feature ssl.SSLError.reason Python Documentation https://docs.python.org/3/library/ssl.html#ssl.SSLError.reason github.com Merged PR Add 'library', 'reason' Attribute to ssl.SSLError Add 'library', 'reason' Attribute to ssl.SSLError by tgsong827 · Pull Request #4058 · RustPython/RustPython This PR associated with..

    [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 타입인지 ..

    [RustPython] StopIteration 수정하기

    Merged PR Fix define_exception! of PyStopIteration to set value of value attribute Fix define_exception! of PyStopIteration to set value of value attribute by tgsong827 · Pull Request #3869 · RustPython/RustPy github.com 개요 CPython의 StopIteration 클래스 생성자는 하나의 Argument를 받습니다. 그리고 이 Argument는 value 속성에 할당됩니다. RustPython에서는 StopIteration의 value를 호출 했을 때 값이 정상적으로 나오지만, value의 값을 수정하려고 하면 에러가 발생하는 현상..

    2022 오픈소스 컨트리뷰션 아카데미 Challengers 후기

    2022 오픈소스 컨트리뷰션 아카데미 오픈소스 컨트리뷰션 아카데미(Open Source Contribution Academy)는 개발자들에게 오픈소스 커뮤니티 진입을 도와주는 멘토링 프로그램으로 정보통신산업진흥원 주관으로 2016년부터 매년 열리고 있다. 모집기간에 참가 신청서를 제출해 멘티로 선정되면, 약 3개월간 오픈소스 프로젝트 팀에서 멘토,멘티들과 함께 활동하게 된다. 작년부터, Challengers, Masters 두 가지 과정으로 나뉘었고, Challengers 기간 동안 활동한 내용을 평가해 Masters를 선정한다고 한다. 2022 오픈소스 컨트리뷰션 아카데미 Open Source Contribution Academy www.contribution.ac 참가 신청 나는 지인의 소개로 우연히..