-
-
Notifications
You must be signed in to change notification settings - Fork 564
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Clean up MPolynomialRing_generic.completion #23377
Comments
Author: Jeroen Demeyer |
Commit: |
New commits:
|
comment:4
The doc for completion is no longer correct (it mentions |
comment:6
Replying to @tscrim:
Not sure. So far, there doesn't seem to be a need. |
comment:9
Replying to @jdemeyer:
I ask because it feels like we should pass Also, could we add the |
comment:10
Replying to @tscrim:
Python should really invent syntax for positional-only arguments. They have keyword-only arguments now in Python 3, but why not positional-only arguments? My favourite consequence:
Anyway... I'll add the deprecation since you asked. |
comment:11
Python does have a way for positional only arguments. You just have to do |
comment:12
Replying to @tscrim:
Yes, that works but it's not a very satisfactory solution... |
comment:13
Replying to @tscrim:
There is a different here for I would argue that giving an element is actually recommend, because it makes sense mathematically: you have a ring and you are completing it w.r.t. a given element from that ring. For me, the main reason to allow strings is to allow the |
Branch pushed to git repo; I updated commit sha1. New commits:
|
comment:16
Replying to @jdemeyer:
I agree completely, but its the constraints we must live in. :/ |
Reviewer: Travis Scrimshaw |
comment:17
Replying to @jdemeyer:
Ah, I see. LGTM. Thanks. |
Changed branch from u/jdemeyer/clean_up_mpolynomialring_generic_completion to |
In
src/sage/rings/polynomial/multi_polynomial_ring_generic.pyx
, the methodcompletion()
constructs aPowerSeriesRing
either from variable names or from an polynomial ring element. The latter must be changed for #10483. Moreover, the error checking also needs to be improved.CC: @tscrim
Component: algebra
Author: Jeroen Demeyer
Branch/Commit:
52e13d8
Reviewer: Travis Scrimshaw
Issue created by migration from https://trac.sagemath.org/ticket/23377
The text was updated successfully, but these errors were encountered: