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

Remove all memory addresses in object_description() #2534

Closed
wants to merge 1 commit into from

Conversation

jdemeyer
Copy link
Contributor

@jdemeyer jdemeyer commented May 9, 2016

Change object_desription() to remove all hexadecimal addresses, not only those at the end of the string.

The repr() of some objects is generated by taking the repr() of one object and then adding stuff to it. Therefore, memory addresses like <object foo at 0xabcdef> do not need to occur at the end of the string.

@tk0miya
Copy link
Member

tk0miya commented Jun 5, 2016

Looks good. I will merge this within a few days if no objections.

@tk0miya tk0miya added this to the 1.5 milestone Jun 5, 2016
@tk0miya
Copy link
Member

tk0miya commented Jun 5, 2016

Now this is merged into master. so it will be released in major release (v1.5).
If you want to merge this into minor release (v1.4.4), please rebase this into stable branch.

@tk0miya
Copy link
Member

tk0miya commented Jun 10, 2016

#2647 has been merged instead (to stable).
Thanks!

@tk0miya tk0miya closed this Jun 10, 2016
vbraun pushed a commit to vbraun/sage that referenced this pull request Jun 11, 2016
Since recently, we are using more of the upstream version of `autodoc`.
This also has some code to remove hexadecimal address (see #19858) but
the regular expression is too strict. This can easily be fixed, see
sphinx-doc/sphinx#2534.

URL: http://trac.sagemath.org/20574
Reported by: jdemeyer
Ticket author(s): Jeroen Demeyer
Reviewer(s): François Bissey
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Sep 22, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants