Opened 7 years ago
Closed 7 years ago
#20216 closed enhancement (fixed)
Deprecate PARI nth_prime, prime_list, primes_up_to_n
Reported by:  Jeroen Demeyer  Owned by:  

Priority:  major  Milestone:  sage7.1 
Component:  interfaces  Keywords:  
Cc:  Luca De Feo  Merged in:  
Authors:  Jeroen Demeyer  Reviewers:  Luca De Feo 
Report Upstream:  N/A  Work issues:  
Branch:  e4858c6 (Commits, GitHub, GitLab)  Commit:  e4858c69f9f5e5e07a8577f96d844265dddd9c52 
Dependencies:  #20210, #20205, #20213  Stopgaps: 
Description (last modified by )
Use the standard PARI/GP names prime()
and primes()
instead.
Change History (15)
comment:1 Changed 7 years ago by
Dependencies:  #20213 → #20210, #20205, #20213 

comment:2 Changed 7 years ago by
Description:  modified (diff) 

Summary:  Deprecate PARI nth_prime → Deprecate PARI nth_prime and prime_list 
comment:3 Changed 7 years ago by
Description:  modified (diff) 

comment:4 Changed 7 years ago by
Description:  modified (diff) 

comment:5 Changed 7 years ago by
Description:  modified (diff) 

comment:6 Changed 7 years ago by
Summary:  Deprecate PARI nth_prime and prime_list → Deprecate PARI nth_prime, prime_list, primes_up_to_n 

comment:7 Changed 7 years ago by
Branch:  → u/jdemeyer/deprecate_pari_nth_prime 

comment:8 Changed 7 years ago by
Commit:  → d5c934c5164255e352cee9ddbc780d0759b6e185 

Status:  new → needs_review 
comment:9 Changed 7 years ago by
Shouldn't the doc
Return the vector of the first `n` primes, the primes in the interval `[n, end]` or the list of primes up to `end`.
read
Return the pari vector of the first `n` primes, the primes in the interval `[n, end]` or the pari vector of primes up to `end`.
instead?
comment:10 Changed 7 years ago by
Branch:  u/jdemeyer/deprecate_pari_nth_prime → u/defeo/deprecate_pari_nth_prime 

comment:11 Changed 7 years ago by
Commit:  d5c934c5164255e352cee9ddbc780d0759b6e185 → 7355781bf73e5798224ddfce2283e7e4dae3a436 

comment:12 Changed 7 years ago by
Commit:  7355781bf73e5798224ddfce2283e7e4dae3a436 → e4858c69f9f5e5e07a8577f96d844265dddd9c52 

Branch pushed to git repo; I updated commit sha1. This was a forced push. New commits:
e4858c6  Reworded docstring

comment:13 Changed 7 years ago by
Status:  needs_review → needs_work 

comment:14 Changed 7 years ago by
Reviewers:  → Luca De Feo 

Status:  needs_work → positive_review 
Oups, sorry for the indentation nonsense.
comment:15 Changed 7 years ago by
Branch:  u/defeo/deprecate_pari_nth_prime → e4858c69f9f5e5e07a8577f96d844265dddd9c52 

Resolution:  → fixed 
Status:  positive_review → closed 
Note: See
TracTickets for help on using
tickets.
New commits:
Upgrade cysignals package
Move memory functions to cysignals
Rename sage_malloc > sig_malloc and friends
Get rid of factorint_withproof_sage in PARI interface
Stop using deprecated PARI factoring features
Merge branch 't/20205/get_rid_of_factorint_withproof_sage_in_pari_interface' into HEAD
Replace pari_catch_sig_on by sig_on
Deprecate PARI nth_prime and prime_list