Skip to content

Commit c231aad

Browse files
committed
Refines allowlist entries by removing undocumented/internal symbols no longer needed for stub checking
Signed-off-by: DavidOsipov <personal@david-osipov.vision>
1 parent 71228d2 commit c231aad

File tree

1 file changed

+10
-20
lines changed

1 file changed

+10
-20
lines changed

allowlist.txt

+10-20
Original file line numberDiff line numberDiff line change
@@ -13,23 +13,13 @@ gmpy2.mpz.__rpow__
1313
gmpy2.xmpz.__rpow__
1414

1515
# --- Undocumented/Internal Symbols ---
16-
17-
# These symbols are present in the runtime gmpy2 module but are not
18-
# part of the documented public API in version 2.2.1. Stubs focus on
19-
# the documented API. Including them here prevents stub checker errors
20-
# for symbols users shouldn't typically rely on directly.
21-
22-
# 'numer' and 'denom' exist as properties on mpq/mpz/xmpz, but these
23-
# function-like entries likely correspond to internal accessors or
24-
# older/deprecated ways of access not in the current documentation.
25-
gmpy2.denom
26-
gmpy2.numer
27-
28-
# These functions appear related to older gmpy versions or internal binary formats
29-
# and are not documented for current use.
30-
gmpy2.mpq_from_old_binary
31-
gmpy2.mpz_from_old_binary
32-
33-
# These functions are not found in the 2.2.1 documentation.
34-
gmpy2.is_lessgreater
35-
gmpy2.xbit_mask
16+
# These were previously allowlisted based on errors likely caused by
17+
# stubtest looking inside the internal gmpy2.gmpy2 submodule.
18+
# When comparing against the top-level gmpy2 module, these are not found,
19+
# so they are no longer needed in the allowlist.
20+
# gmpy2.denom
21+
# gmpy2.numer
22+
# gmpy2.mpq_from_old_binary
23+
# gmpy2.mpz_from_old_binary
24+
# gmpy2.is_lessgreater
25+
# gmpy2.xbit_mask

0 commit comments

Comments
 (0)