-
Notifications
You must be signed in to change notification settings - Fork 52
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support Python 3.12 #94
Comments
@PyYoshi this probably hasn't to do anything with this issue (can't even read 80% of it lol), but didn't know where else to ask... I wrote you a message on keybase and idk if you got it... Don't want to stress you, just wanna make sure you'll read it, if you have the time to do so. Best Regards |
didn't work in Python 3.13 either |
Hey, just wanted to do a heads up here to know if there's any expecting release date? Thank you! |
|
MacOS 15.2 Python 3.13 import platform
import sys
import cchardet as chardet
import distro
from cchardet import version
with open(r'wikipediaJa_One_Thousand_and_One_Nights_SJIS.txt', 'rb') as f:
msg = f.read()
result = chardet.detect(msg)
print(result)
print(
f"""
Python version: {sys.version}
cchardet version: {version}
platform: {platform.platform()}
uname: {platform.uname()!s}
linux_distribution: ('{distro.name()}', '{distro.version()}', '{distro.codename()}')
mac_ver: {platform.mac_ver()}
"""
)
{'encoding': 'SHIFT_JIS', 'confidence': 0.9900000095367432}
Python version: 3.13.1 (v3.13.1:06714517797, Dec 3 2024, 14:00:22) [Clang 15.0.0 (clang-1500.3.9.4)]
cchardet version: (2, 2, 0, 'alpha', 2)
platform: macOS-15.2-arm64-arm-64bit-Mach-O
uname: uname_result(system='Darwin', node='STACIAs-MacBook-Air.local', release='24.2.0', version='Darwin Kernel Version 24.2.0: Fri Dec 6 19:00:33 PST 2024; root:xnu-11215.61.5~2/RELEASE_ARM64_T8122', machine='arm64')
linux_distribution: ('Darwin', '24.2.0', '')
mac_ver: ('15.2', ('', '', ''), 'arm64') |
少し時間ができたので調査がてら必要なタスクを洗い出した
作業ブランチ: https://github.com/PyYoshi/cChardet/tree/support-py312
あと、 メンテナー募集について考えたほうが良さそう
Pythonに関するプロダクトに関わることがほとんどなくなってしまった影響で、 最近のPythonエコシステムの技術情報に触れる機会がまったくない状況になってしまった (モチベーションがほとんどなくなってしまった)
cChardetがPythonコミュニティにどれだけ影響を与えているのがわかっていないが、 ありがたいことにIssueを立ててくれる人がいるので、 何かしらの形で貢献したい
The text was updated successfully, but these errors were encountered: