Message408520
| Author |
graysky |
| Recipients |
graysky |
| Date |
2021年12月14日.10:57:49 |
| SpamBayes Score |
-1.0 |
| Marked as misclassified |
Yes |
| Message-id |
<1639479470.16.0.0957612092108.issue46070@roundup.psfhosted.org> |
| In-reply-to |
| Content |
Seems as though cpython is broken when working with subinterpreters. The problematic change could be (d0d29655ff) affecting import.c.[1] Reverting this commit and rebuilding python fixes the issues on my system with some scripts that import sqlite, for example, the Kodi plugin YouTube[2] and the IMDB Trailers plugin. Others have reported similar breakage with other python code[3].
Example output when the bug manifests:
ERROR <general>: Traceback (most recent call last):
ERROR <general>: File "/usr/lib/python3.10/sqlite3/dbapi2.py", line 83, in register_adapters_and_converters
ERROR <general>:
ERROR <general>: register_converter("timestamp", convert_timestamp)
ERROR <general>:
ERROR <general>: KeyError
ERROR <general>: :
ERROR <general>: 'timepart_full'
ERROR <general>:
ERROR <general>: Exception ignored deletion of interned string failed
ERROR <general>: :
References:
1. https://github.com/python/cpython/commit/d0d29655ffc43d426ad68542d8de8304f7f1346a
2. https://github.com/anxdpanic/plugin.video.youtube/issues/255
3. https://bbs.archlinux.org/viewtopic.php?id=272121 |
|
History
|
|---|
| Date |
User |
Action |
Args |
| 2021年12月14日 10:57:50 | graysky | set | recipients:
+ graysky |
| 2021年12月14日 10:57:50 | graysky | set | messageid: <1639479470.16.0.0957612092108.issue46070@roundup.psfhosted.org> |
| 2021年12月14日 10:57:50 | graysky | link | issue46070 messages |
| 2021年12月14日 10:57:49 | graysky | create |
|