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

gettext related bug in _ (history) #8686

Closed
sagetrac-logix mannequin opened this issue Apr 14, 2010 · 6 comments
Closed

gettext related bug in _ (history) #8686

sagetrac-logix mannequin opened this issue Apr 14, 2010 · 6 comments

Comments

@sagetrac-logix
Copy link
Mannequin

sagetrac-logix mannequin commented Apr 14, 2010

In versions of Sage up to 4.3.2, the following worked as expected:

>./sage
----------------------------------------------------------------------
| Sage Version 4.3.2, Release Date: 2010-02-06                       |
| Type notebook() for the GUI, and license() for information.        |
----------------------------------------------------------------------
sage: _?
[...]
sage: _
''
sage: _
''

However, with Sage 4.3.3, it has stopped working:

----------------------------------------------------------------------
| Sage Version 4.3.3, Release Date: 2010-02-21                       |
| Type notebook() for the GUI, and license() for information.        |
----------------------------------------------------------------------
sage: _?
[...]
sage: _
''
sage: _
<bound method NullTranslations.ugettext of <gettext.NullTranslations instance at 0x4b1a680>>

For some things, the history works as expected, but for others it does not. To me it appears that it is "simple" things, e.g. above, the empty expression, or simple expressions like "3+4" where it does not work anymore, but for more complex things (e.g. if you call a function that returns something), "_" still does what you would expect it to do.

This bug still exists in Sage 4.3.5.

CC: @williamstein @TimDumol

Component: notebook

Keywords: gettext history documentation

Author: Mike Hansen

Reviewer: Tim Dumol

Merged: SageNB 0.8.1

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

@sagetrac-logix sagetrac-logix mannequin added this to the sage-4.5 milestone Apr 14, 2010
@sagetrac-logix
Copy link
Mannequin Author

sagetrac-logix mannequin commented Apr 14, 2010

Changed author from Harold Gutch to none

@sagetrac-logix sagetrac-logix mannequin assigned williamstein and unassigned itolkov and jasongrout Apr 14, 2010
@mwhansen
Copy link
Contributor

mwhansen commented May 3, 2010

Author: Mike Hansen

@mwhansen
Copy link
Contributor

mwhansen commented May 3, 2010

comment:2

Attachment: trac_8686.patch.gz

@TimDumol
Copy link
Mannequin

TimDumol mannequin commented May 4, 2010

comment:4

Nice debugging. Works as advertised.

@loefflerd
Copy link
Mannequin

loefflerd mannequin commented Jun 29, 2010

Reviewer: Tim Dumol

@TimDumol
Copy link
Mannequin

TimDumol mannequin commented Jul 11, 2010

Merged: SageNB 0.8.1

@TimDumol TimDumol mannequin removed the s: positive review label Jul 11, 2010
@TimDumol TimDumol mannequin closed this as completed Jul 11, 2010
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

3 participants