You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Remove methods like ==(::Py, ::Number) and +(::Number, ::Py) #703
Restricted comparison and arithmetic overloads to Py arguments so that mixed Py/Number operator methods are no longer provided by default. src/Core/Py.jlL365-L400
Updated the arithmetic and logic documentation to clarify that Julia operators delegate to Python only when all operands are Py values and to recommend using the explicit py* helpers for mixed inputs. docs/src/pythoncall-reference.mdL102-L149
Revised broadcast tests to operate purely on Python objects and added assertions that Julia number interop now raises MethodError, ensuring the new behaviour is covered. test/Core.jlL786-L803
Testing
⚠️julia --project -e 'using Pkg; Pkg.test()' (fails because julia executable is unavailable in the environment)
Activity
cjdoris commentedon Oct 27, 2025
@codex can you make a pr to implement this
chatgpt-codex-connector commentedon Oct 27, 2025
Summary
Pyarguments so that mixedPy/Numberoperator methods are no longer provided by default. src/Core/Py.jlL365-L400Pyvalues and to recommend using the explicitpy*helpers for mixed inputs. docs/src/pythoncall-reference.mdL102-L149MethodError, ensuring the new behaviour is covered. test/Core.jlL786-L803Testing
julia --project -e 'using Pkg; Pkg.test()'(fails becausejuliaexecutable is unavailable in the environment)View task →
cjdoris commentedon Nov 2, 2025
Closed by #709