Skip to content

[GR-81482] More fuzzing PRs - #1307

Merged
graalvmbot merged 8 commits into
masterfrom
msimacek/GR-81482-Handle_more_fuzzing_GitHub_issues
Nov 13, 2026
Merged

graalvmbot merged 8 commits into
masterfrom
msimacek/GR-81482-Handle_more_fuzzing_GitHub_issues

Conversation

@graalvmbot

Copy link
Copy Markdown
Collaborator

No description provided.

jseop-lim and others added 8 commits October 30, 2026 02:42
The tp_new signature declared no minimum and no positional-only
parameters, so _tuplegetter(0) and _tuplegetter() built a descriptor
from defaults, and index and doc were accepted as keywords. CPython
requires exactly two positional arguments and rejects keywords.

Signed-off-by: Jeongseop Lim <[email protected]>
Both functions were added to the math module in Python 3.11 and were
missing, so math.cbrt and math.exp2 raised AttributeError. cbrt uses
Math.cbrt; exp2 uses Math.pow(2.0, x) and raises OverflowError on an
infinite result from a finite argument, as exp does. Enable CPython's
testCbrt and testExp2, which now pass.

Signed-off-by: Jeongseop Lim <[email protected]>
The constructor took only cls, so _thread.RLock(0) and
threading.RLock(0) raised TypeError. CPython 3.12 and 3.13 accept and
ignore any arguments, and threading.RLock passes them on after a
DeprecationWarning that announces the removal for 3.15.

Signed-off-by: Jeongseop Lim <[email protected]>
The types were registered under the names Reader and Writer, so
type(csv.reader([])) printed as <class '_csv.Reader'>. In CPython the
types are named reader and writer and are exposed in _csv under the
aliases Reader and Writer. Rename them, keep the module name, and add
the aliases.

Signed-off-by: Jeongseop Lim <[email protected]>
@oracle-contributor-agreement oracle-contributor-agreement Bot added the OCA Verified All contributors have signed the Oracle Contributor Agreement. label Nov 12, 2026
@graalvmbot
graalvmbot merged commit 99811d5 into master Nov 13, 2026
40 of 45 checks passed
@graalvmbot
graalvmbot deleted the msimacek/GR-81482-Handle_more_fuzzing_GitHub_issues branch November 13, 2026 17:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

OCA Verified All contributors have signed the Oracle Contributor Agreement.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants