Changes between Version 78 and Version 81 of Ticket #4539

09/29/11 15:19:00 (5 years ago)

The fourth patch does not provide a new feature, but only fixes of bugs, of the doc string formatting, and of the doc tests.

Since I do not have Sage locally, I'd appreciate if one of you could build the documentation and see if it looks nice.

Not a feature, but a fix concerns the hash: If one constructs a g-algebra as one is supposed to (g_algeba method resp. unique factory) then the g-algebra is a unique parent. Hence, id(self) is a good hash for it, and __cmp__ can be removed.

Note that the hash in Sage is allowed to change from session to session, so, id(self) is fine - see UniqueRepresentation.__hash__. Of course, one can destroy the uniqueness on purpose, but that's not our problem.

Tests in sage/libs/singular, and plural.pyx pass. I am now running all doc tests, but I think it is OK to put it as "needs review".

Concerning review: I think we should review each other's code. So, in particular, one of you should please review my last three patches.

Please verify if I got the credits (author list) right.

Apply trac4539_libplural.patch trac4539_pickling.patch trac4539_normal_forms.patch trac4539_fix_docs.patch


  • Ticket #4539

    • Property Status changed from needs_work to needs_review
    • Property Authors changed from to Michael Brickenstein, Burcin Erocal, Oleksandr Motsak, Alexander Dreyer, Simon King
    • Property Reviewers changed from to Simon King
    • Property Work issues changed from Quotients and normal forms to
  • Ticket #4539 – Description

    v78 v81  
    2626 * [attachment:trac4539_pickling.patch]
    2727 * [attachment:trac4539_normal_forms.patch]
     28 * [attachment:trac4539_fix_docs.patch]