mirror of
https://github.com/ankitects/anki.git
synced 2025-11-07 05:07:10 -05:00
Anki is a smart spaced repetition flashcard program
Older Anki versions like 2.1.35 used sip 5.2, which appears to
(presumably incorrectly) serialize QByteArrays as Unicode:
0: ( MARK
1: d DICT (MARK at 0)
2: p PUT 0
5: V UNICODE 'mainWindowGeom'
21: p PUT 1
24: c GLOBAL 'sip _unpickle_type'
44: p PUT 2
47: ( MARK
48: V UNICODE 'PyQt5.QtCore'
62: p PUT 3
65: V UNICODE 'QByteArray'
77: p PUT 4
80: ( MARK
81: c GLOBAL '_codecs encode'
97: p PUT 5
100: ( MARK
101: V UNICODE "[...]"
354: p PUT 6
357: V UNICODE 'latin1'
365: p PUT 7
368: t TUPLE (MARK at 100)
Our unpickle_type() was incorrectly ignoring any non-PyQt class when
unpickling, so it was choking on the reference to _codecs.
|
||
|---|---|---|
| .buildkite | ||
| .github/ISSUE_TEMPLATE | ||
| cargo | ||
| docs | ||
| ftl | ||
| platforms | ||
| proto | ||
| pylib | ||
| python | ||
| qt | ||
| rslib | ||
| sass | ||
| scripts | ||
| ts | ||
| .bazelignore | ||
| .bazelrc | ||
| .bazelversion | ||
| .gitattributes | ||
| .gitignore | ||
| .prettierignore | ||
| .prettierrc | ||
| bazel.bat | ||
| BUILD.bazel | ||
| Cargo.lock | ||
| Cargo.toml | ||
| CONTRIBUTORS | ||
| defs.bzl | ||
| late_deps.bzl | ||
| LICENSE | ||
| package.json | ||
| pkgkey.asc | ||
| README.md | ||
| repos.bzl | ||
| run | ||
| run.bat | ||
| SECURITY.md | ||
| WORKSPACE | ||
| yarn.lock | ||
Anki
This repo contains the source code for the computer version of Anki.
If you'd like to try development builds of Anki but don't feel comfortable building the code, please see https://betas.ankiweb.net/
For more information on building, please see Development.