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

"comparison" thematic tutorial #18306

Open
jdemeyer opened this issue Apr 26, 2015 · 11 comments
Open

"comparison" thematic tutorial #18306

jdemeyer opened this issue Apr 26, 2015 · 11 comments

Comments

@jdemeyer
Copy link

Python has very little documentation about how comparisons work (both __cmp__, __richcmp__ in Cython and __eq__, __lt__, ... in Python). When you throw in the Sage coercion framework, it gets only worse.

All this deserves a new thematic tutorial.

Depends on #17890

CC: @videlec @jpflori

Component: documentation

Author: Jeroen Demeyer

Branch/Commit: u/jdemeyer/ticket/18306 @ 1a6697a

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

@jdemeyer jdemeyer added this to the sage-6.7 milestone Apr 26, 2015
@jdemeyer
Copy link
Author

Dependencies: #17890

@jdemeyer
Copy link
Author

Author: Jeroen Demeyer

@jdemeyer
Copy link
Author

Branch: u/jdemeyer/ticket/18306

@kcrisman
Copy link
Member

comment:4

Nice start - if I finally understand this based on the finished product, I'll give it a positive review!

(One could also open a sage-wishlist ticket for expanding this to Python 3 as part of the Python 3 meta-ticket?)


New commits:

7de538eAdd "comparison" tutorial

@kcrisman
Copy link
Member

Commit: 7de538e

@sagetrac-git
Copy link
Mannequin

sagetrac-git mannequin commented Sep 20, 2015

Changed commit from 7de538e to 3ada14b

@sagetrac-git
Copy link
Mannequin

sagetrac-git mannequin commented Sep 20, 2015

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

3ada14bAdd "comparison" tutorial

@mezzarobba
Copy link
Member

comment:7

Just a small suggestion: link to the tutorial from the developer guide—or perhaps make it a chapter of the developer guide rather than a thematic tutorial?

@sagetrac-git
Copy link
Mannequin

sagetrac-git mannequin commented Sep 21, 2015

Changed commit from 3ada14b to 1a6697a

@sagetrac-git
Copy link
Mannequin

sagetrac-git mannequin commented Sep 21, 2015

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

1a6697aAdd "comparison" tutorial

@jdemeyer
Copy link
Author

comment:9

Replying to @mezzarobba:

Just a small suggestion: link to the tutorial from the developer guide

That's not currently technically possible.

or perhaps make it a chapter of the developer guide rather than a thematic tutorial?

Personally, I don't think it fits within the scope of the developer's guide. There are several other thematic tutorials which explain one specific aspect of Python/Cython/Sage programming, it fits more with those.

@mkoeppe mkoeppe removed this from the sage-6.7 milestone Dec 29, 2022
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

4 participants