This repository was archived by the owner on Mar 9, 2026. It is now read-only.
Conversation
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
목적
PyO3 0.19.2에서 사용 중인 GIL Refs API가 0.23에서 제거되어 0.27로 마이그레이션하고, 리뷰에서 발견된 버그와 API 불일치를 함께 수정
변경 사항
&PyAny,&PyModule,&PyBytes등 GIL Refs를Bound<'_, T>기반으로 교체FromPyObjecttrait 구현을 0.27 시그니처(extract(Borrowed))로 변경ratio_to_db버그 수정: silence 입력 시+∞대신-∞반환 (pydub과 일관성 확보)measure_loudness반환 타입 개선: untypedPyDict→#[pyclass(frozen)] Loudness구조체로 변경하여 타입 안전성 확보channels/sample_rate파라미터를isize/usize→u32로 통일하여 불필요한 캐스팅 제거measure_rms,measure_peak,measure_loudness의 순수 Rust 연산 구간에py.detach()적용TODO
measure_loudness반환값 접근 방식 변경 필요 (actual["integrated"]→actual.integrated)