copyparty/scripts
ed 2d6eb63fce scripts/uncomment: python 3.12 support;
`tokenize.FSTRING_MIDDLE` was introduced, changing the
representation of `f"x{{y"` from `STRING(f"x{{y")` to:

* `FSTRING_START('f"')`
* `FSTRING_MIDDLE('x{')`
* `FSTRING_MIDDLE('y')`
* `FSTRING_END('"')`

each literal `{` (encoded as `{{` in the input) now appears as a
single `{` as the final character of its `FSTRING_MIDDLE`, with
additional consecutive `FSTRING_MIDDLE` tokens if necessary

regular interpolating `{` are encoded as separate `OP` tokens

the fact that the literal `{` is encoded as a single `{` instead
of `{{` breaks the assumption that the string-value of each token
maps directly to the original code

fix this by replacing `{` with `{{` and `}` with `}}` in
`FSTRING_MIDDLE` tokens, and not adding whitespace after
`FSTRING_MIDDLE` tokens
2024-08-12 19:55:17 +00:00
..
bench misc; 2024-01-06 01:15:43 +00:00
deps-docker update deps: 2024-07-15 21:16:19 +00:00
docker fix s390x w/a, up2k name-randomizer 2024-08-12 17:45:19 +00:00
py2/queue add missing polyfill 2022-08-03 19:42:42 +02:00
pyinstaller update deps (pyftpdlib, win10-python) 2024-08-12 18:51:52 +00:00
strip_hints bugfixes; 2024-06-18 12:01:48 +02:00
test update deps (pyftpdlib, win10-python) 2024-08-12 18:51:52 +00:00
copyparty-android.sh misc 2020-05-06 00:11:36 +02:00
copyparty-repack.sh rename up2k.py (client) to u2c.py 2023-05-07 15:35:56 +00:00
fusefuzz.py rename copyparty-fuse to partyfuse 2022-11-26 19:53:41 +00:00
genlic.sh fix make-sfx macos support 2022-11-28 21:38:50 +00:00
help2html.py add helptext exporters (html, txt) 2024-07-17 23:06:01 +00:00
help2txt.sh add helptext exporters (html, txt) 2024-07-17 23:06:01 +00:00
install-githooks.sh run tests on commit 2021-06-01 05:49:41 +02:00
logpack.sh misc; 2024-01-06 01:15:43 +00:00
make-pypi-release.sh v1.10.0 2024-02-15 00:00:41 +00:00
make-pyz.sh add pyz builder 2024-04-24 23:45:01 +00:00
make-sfx.sh update deps (pyftpdlib, win10-python) 2024-08-12 18:51:52 +00:00
make-tgz-release.sh v1.7.1 2023-05-07 18:34:39 +00:00
prep.sh adapt to new archpkg layout 2023-05-05 20:51:18 +00:00
profile.py tag-scanner perf 2022-08-03 22:33:20 +02:00
rls.sh add pyz builder 2024-04-24 23:45:01 +00:00
run-tests.sh fix tests on windows 2024-04-25 22:25:38 +00:00
sfx.ls fau doesn't work on iphones; compensate by preloading much earlier 2024-04-06 18:43:45 +00:00
sfx.py ensure OS signals hit main-thread as intended; 2024-05-09 22:28:16 +00:00
sfx.sh add types, isort, errorhandling 2022-06-16 01:07:15 +02:00
speedtest-fs.py more python3 shebangs 2021-09-16 00:28:38 +02:00
toc.sh support hashed passwords; closes #39 2023-06-25 21:50:33 +00:00
uncomment.py scripts/uncomment: python 3.12 support; 2024-08-12 19:55:17 +00:00
ziploader.py ensure OS signals hit main-thread as intended; 2024-05-09 22:28:16 +00:00