52178 Commits

Author SHA1 Message Date
un-pogaz
ce13dfbb43 iteritems (manual 2) 2025-11-18 16:14:51 +01:00
un-pogaz
0d37a96eaa iteritems (manual 1) 2025-11-18 16:14:51 +01:00
un-pogaz
25c0040177 itervalues (manual) 2025-11-18 16:14:51 +01:00
un-pogaz
38771f3b80 iteritems (regex 5)
in iteritems\(([\w\.]+\[[\w\.]*\])\)
in \1.items()

replace iteritems() used on simple subscriptable in a for loop
2025-11-18 16:14:51 +01:00
un-pogaz
99cc1b52c8 itervalues (regex 4)
in itervalues\(([\w\.]+\([\w\.]*\))\)
in \1.values()

replace itervalues() used on simple function/methods in a for loop
2025-11-18 16:14:51 +01:00
un-pogaz
46a127b233 iteritems (regex 4)
in iteritems\(([\w\.]+\([\w\.]*\))\)
in \1.items()

replace iteritems() used on simple function/methods in a for loop
2025-11-18 16:14:51 +01:00
un-pogaz
8ed12a2e78 itervalues (regex 3)
(set|frozenset|list|tuple|enumerate|sorted|max|min|sum)\(itervalues\(([\w\.]+)\)
\1(\2.values()

replace itervalues() used on simple variables/attributs in a know iterable
2025-11-18 16:14:51 +01:00
un-pogaz
4ecf018231 iteritems (regex 3)
(set|frozenset|list|tuple|enumerate|sorted)\(iteritems\(([\w\.]+)\)
\1(\2.items()

replace iteritems() used on simple variables/attributs in a know iterable
2025-11-18 16:14:51 +01:00
un-pogaz
588f9439fb urllib.parse import (manual) 2025-11-18 16:14:50 +01:00
un-pogaz
1903f69416 urllib.request import (manual) 2025-11-18 15:39:52 +01:00
un-pogaz
7762bd97df urllib.error import (manual) 2025-11-18 15:39:52 +01:00
un-pogaz
58ee94a2af http_client import (manual 2) 2025-11-18 15:39:52 +01:00
un-pogaz
9c6a346fee http_client import (manual 1) 2025-11-18 15:39:52 +01:00
un-pogaz
1fb4460520 http_cookie import (manual) 2025-11-18 15:39:52 +01:00
un-pogaz
2ca38cb2c1 http_server import (manual) 2025-11-18 15:39:52 +01:00
un-pogaz
a8f13e4b79 html_entities import (manual) 2025-11-18 15:39:52 +01:00
un-pogaz
f59ea8fb41 importlib.reload (manual) 2025-11-18 15:39:52 +01:00
un-pogaz
0b926ea3cf polyglot lru_cache (regex)
from polyglot.functools import lru_cache
from functools import lru_cache
2025-11-18 15:39:52 +01:00
un-pogaz
93325d811a plistlib import (manual) 2025-11-18 15:39:52 +01:00
un-pogaz
d94d381f1b builtins import (manual) 2025-11-18 15:39:52 +01:00
un-pogaz
62ae8892c7 queue import (regex 2)
from polyglot import queue
import queue
2025-11-18 15:39:52 +01:00
un-pogaz
6e03ff7ef4 queue import (regex 1)
from polyglot.queue import
from queue import
2025-11-18 15:39:52 +01:00
un-pogaz
f8ac5b77cd reprlib import (manual) 2025-11-18 15:39:52 +01:00
un-pogaz
359034be8b native_string_type (manual) 2025-11-18 15:39:52 +01:00
un-pogaz
9df759ad36 native_string_type (pep8) 2025-11-18 15:39:52 +01:00
un-pogaz
3147274b38 native_string_type (regex)
native_string_type(
str(
2025-11-18 15:39:51 +01:00
un-pogaz
8258fcfb88 iterkeys (manual) 2025-11-18 15:39:51 +01:00
un-pogaz
072d8f2fec unicode_type (regex)
unicode_type(
str(
2025-11-18 15:39:51 +01:00
un-pogaz
2a9ea4550f long_type (regex)
long_type(
int(
2025-11-18 15:39:51 +01:00
un-pogaz
219a0d99f3 string_or_unicode (manual) 2025-11-18 15:39:51 +01:00
un-pogaz
e6e8d42e82 string_or_bytes (manual) 2025-11-18 15:39:51 +01:00
un-pogaz
be25741c2b string_or_bytes (regex)
isinstance\(([\w\.]+), string_or_bytes\)
isinstance(\1, (str, bytes))

replace string_or_bytes used on simple variables/attributs in a isinstance()
2025-11-18 15:39:51 +01:00
un-pogaz
f6e012d297 codepoint_to_chr (manual) 2025-11-18 15:39:51 +01:00
un-pogaz
47257e1262 codepoint_to_chr (regex)
codepoint_to_chr(
chr(
2025-11-18 15:39:51 +01:00
un-pogaz
94a51a1acc itervalues (regex 2)
from itervalues\(([\w\.]+)\)
from \1.values()
2025-11-18 15:39:51 +01:00
un-pogaz
208b0e7585 iteritems (regex 2)
from iteritems\(([\w\.]+)\)
from \1.items()
2025-11-18 15:39:51 +01:00
un-pogaz
b7351b39cf itervalues (regex 1)
in itervalues\(([\w\.]+)\)
in \1.values()

replace itervalues() used on simple variables/attributs in a for loop
2025-11-18 15:39:51 +01:00
un-pogaz
bb9272f300 iteritems (regex 1)
in iteritems\(([\w\.]+)\)
in \1.items()

replace iteritems() used on simple variables/attributs in a for loop
2025-11-18 15:39:50 +01:00
Kovid Goyal
438e2eca72
calibredb list: Fix identifier values not being shown. Fixes #2131557 [calibredb list --fields identifiers](https://bugs.launchpad.net/calibre/+bug/2131557) 2025-11-16 13:22:34 +05:30
Kovid Goyal
e6740f265d
... 2025-11-15 10:50:48 +05:30
Kovid Goyal
bac9a866e6
Merge branch 'master' of https://github.com/unkn0w7n/calibre 2025-11-14 22:56:25 +05:30
unkn0w7n
27c74c053b Update economist_world_ahead.recipe
cover for 2026
2025-11-14 22:27:35 +05:30
Kovid Goyal
3c933bcd7c
Update Guardian 2025-11-14 08:20:19 +05:30
Kovid Goyal
f6b1d725a4
Merge branch 'fix-check-library-malformed-paths' of https://github.com/un-pogaz/calibre 2025-11-14 07:25:05 +05:30
un-pogaz
e7b6af505d fix: fix_malformed_formats() in check-library 2025-11-13 20:49:02 +01:00
Kovid Goyal
e8eb4f5f42
... 2025-11-12 08:56:21 +05:30
Kovid Goyal
a792e3833c
Remove guards against people running from source without updated binaries 2025-11-12 08:32:39 +05:30
Kovid Goyal
898ed17662
Always parse eco edition dates in local tz
Ensures the day is correct in the local timezone
2025-11-09 12:51:16 +05:30
Kovid Goyal
b64e5d4f6e
pep8 2025-11-09 06:22:44 +05:30
Kovid Goyal
64272919c2
Merge branch 'master' of https://github.com/h-holm/calibre 2025-11-09 06:22:24 +05:30