Skip to content
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

weird power series behavior #28

Closed
williamstein opened this issue Sep 12, 2006 · 2 comments
Closed

weird power series behavior #28

williamstein opened this issue Sep 12, 2006 · 2 comments

Comments

@williamstein
Copy link
Contributor

sage: R.<m> = LaurentSeriesRing(QQ)
   sage: S.<t> = LaurentSeriesRing(pAdicField(11))
   sage: S(m^(-2) + 10*m + m^2 + O(m^3))
   t^1 + 10*t^3 + t^4 + O(t^5) + 10*t^4 + 10*t^3 + t^4 + O(t^5) + t^5 + 10*t^3 + t^4 + O(t^5) + O(t^6 + 10*t^3 + t^4 + O(t^5))

Huh?

Component: basic arithmetic

Issue created by migration from https://trac.sagemath.org/ticket/28

@sagetrac-dmharvey
Copy link
Mannequin

sagetrac-dmharvey mannequin commented Sep 13, 2006

comment:1

looks similar to ticket #7

@williamstein
Copy link
Contributor Author

comment:2

This is now fixed in sage-1.6:

sage: R.<m> = LaurentSeriesRing(QQ)
   sage: S.<t> = LaurentSeriesRing(pAdicField(11))
   sage: S(m^(-2) + 10*m + m^2 + O(m^3))
t^-2 + (10 + O(11^Infinity))*t + t^2 + O(t^3)

tobiasdiez pushed a commit to tobiasdiez/sage that referenced this issue Feb 22, 2024
* Fix recipe generator

* Sort dependencies
xuluze pushed a commit to xuluze/sage that referenced this issue Mar 4, 2024
Update cmr and add PivotsNode
vbraun pushed a commit to vbraun/sage that referenced this issue Aug 27, 2024
    
<!-- ^ Please provide a concise and informative title. -->
<!-- ^ Don't put issue numbers in the title, do this in the PR
description below. -->
<!-- ^ For example, instead of "Fixes sagemath#12345" use "Introduce new method
to calculate 1 + 2". -->
<!-- v Describe your changes below in detail. -->
<!-- v Why is this change required? What problem does it solve? -->
<!-- v If this PR resolves an open issue, please link to it here. For
example, "Fixes sagemath#12345". -->

Seen on Fedora 41, which already ships Python 3.13:

https://github.com/mkoeppe/sage/actions/runs/10426436105/job/28893965205
#step:11:10930
```
sagemath#28 943.2   [pip-24.0]   [spkg-pipinst]   File
"/sage/build/bin/../sage_bootstrap/flock.py", line 15, in <module>
sagemath#28 943.2   [pip-24.0]   [spkg-pipinst]     import pipes
sagemath#28 943.2   [pip-24.0]   [spkg-pipinst] ModuleNotFoundError: No module
named 'pipes'
```

### 📝 Checklist

<!-- Put an `x` in all the boxes that apply. -->

- [x] The title is concise and informative.
- [x] The description explains in detail what this PR is about.
- [ ] I have linked a relevant issue or discussion.
- [ ] I have created tests covering the changes.
- [ ] I have updated the documentation and checked the documentation
preview.

### ⌛ Dependencies

<!-- List all open PRs that this PR logically depends on. For example,
-->
<!-- - sagemath#12345: short description why this is a dependency -->
<!-- - sagemath#34567: ... -->
    
URL: sagemath#38521
Reported by: Matthias Köppe
Reviewer(s): François Bissey, Kwankyu Lee, Matthias Köppe
vbraun pushed a commit to vbraun/sage that referenced this issue Aug 28, 2024
    
<!-- ^ Please provide a concise and informative title. -->
<!-- ^ Don't put issue numbers in the title, do this in the PR
description below. -->
<!-- ^ For example, instead of "Fixes sagemath#12345" use "Introduce new method
to calculate 1 + 2". -->
<!-- v Describe your changes below in detail. -->
<!-- v Why is this change required? What problem does it solve? -->
<!-- v If this PR resolves an open issue, please link to it here. For
example, "Fixes sagemath#12345". -->

Seen on Fedora 41, which already ships Python 3.13:

https://github.com/mkoeppe/sage/actions/runs/10426436105/job/28893965205
#step:11:10930
```
sagemath#28 943.2   [pip-24.0]   [spkg-pipinst]   File
"/sage/build/bin/../sage_bootstrap/flock.py", line 15, in <module>
sagemath#28 943.2   [pip-24.0]   [spkg-pipinst]     import pipes
sagemath#28 943.2   [pip-24.0]   [spkg-pipinst] ModuleNotFoundError: No module
named 'pipes'
```

### 📝 Checklist

<!-- Put an `x` in all the boxes that apply. -->

- [x] The title is concise and informative.
- [x] The description explains in detail what this PR is about.
- [ ] I have linked a relevant issue or discussion.
- [ ] I have created tests covering the changes.
- [ ] I have updated the documentation and checked the documentation
preview.

### ⌛ Dependencies

<!-- List all open PRs that this PR logically depends on. For example,
-->
<!-- - sagemath#12345: short description why this is a dependency -->
<!-- - sagemath#34567: ... -->
    
URL: sagemath#38521
Reported by: Matthias Köppe
Reviewer(s): François Bissey, Kwankyu Lee, Matthias Köppe
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant