Opened 7 years ago

Closed 7 years ago

#20224 closed defect (fixed)

Auto-generated PARI functions sometimes return 0 instead of None

Reported by: Jeroen Demeyer Owned by:
Priority: minor Milestone: sage-7.2
Component: interfaces Keywords: days77
Cc: Merged in:
Authors: Jeroen Demeyer Reviewers: Vincent Delecroix
Report Upstream: N/A Work issues:
Branch: 9a3a699 (Commits, GitHub, GitLab) Commit: 9a3a6997d4f93b5fc2b68c291c8f9a7248765fff
Dependencies: Stopgaps:

Status badges


When removing the manual default() method:

sage: pari.default("factor_proven", 1)

This really should not return anything, which means returning None in Python.

Change History (5)

comment:1 Changed 7 years ago by Jeroen Demeyer

Branch: u/jdemeyer/auto_generated_pari_functions_sometimes_return_0_instead_of_none

comment:2 Changed 7 years ago by Jeroen Demeyer

Authors: Jeroen Demeyer
Commit: 9a3a6997d4f93b5fc2b68c291c8f9a7248765fff
Milestone: sage-7.1sage-7.2
Status: newneeds_review

New commits:

9a3a699Fix PARI functions like default() which sometimes return None

comment:3 Changed 7 years ago by Jeroen Demeyer

Keywords: days77 added

comment:4 Changed 7 years ago by Vincent Delecroix

Reviewers: Vincent Delecroix
Status: needs_reviewpositive_review

comment:5 Changed 7 years ago by Volker Braun

Branch: u/jdemeyer/auto_generated_pari_functions_sometimes_return_0_instead_of_none9a3a6997d4f93b5fc2b68c291c8f9a7248765fff
Resolution: fixed
Status: positive_reviewclosed
Note: See TracTickets for help on using tickets.