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
Posets constructor does not check argument #17129
Comments
comment:1
Is there some reason for not to check arguments on other functions? For example
will all give exception, but they output
Is right check just |
comment:2
Well, as long as an exception is raised I do not mind much, personally. Though you can add an explicit check if it helps you sleep better Nathann |
comment:3
|
comment:5
I copied the check from New commits:
|
Commit: |
Author: Jori Mäntysalo |
comment:7
Hello! It looks good but you should check the doctests. There are errors when you run them in the poset folder. Nathann |
comment:8
Replying to @nathanncohen:
I do not understand. It says |
comment:9
Yo !
The blankline is a bluff. You did not only change the Sphinx is not the kind of software that you can trust to give meaningful error messages Nathann |
Branch pushed to git repo; I updated commit sha1. New commits:
|
comment:11
Replying to @nathanncohen:
Grrrr.... Thanks, corrected this, also added another dots. |
comment:12
Okay ! I will run all of Sage's doctests because the Poset code is called in weird places, then will switch change the ticket's status. Nathann |
comment:13
Done, and no problem ! Nathann |
Reviewer: Nathann Cohen |
comment:14
Python style for exeption messages is incomplete sentences. In particular, no capitalization of the first word and no period at the end. E.g.
This ticket makes it worse in many places. |
Branch pushed to git repo; I updated commit sha1. New commits:
|
comment:16
Replying to @vbraun:
OK. Corrected. |
comment:17
Tests pass ! (sorry for the incompatible writing styles...) Nathann |
Changed branch from u/jmantysalo/posets_constructor_does_not_check_argument to |
CC: @nathanncohen
Component: combinatorics
Author: Jori Mäntysalo
Branch/Commit:
a37a626
Reviewer: Nathann Cohen
Issue created by migration from https://trac.sagemath.org/ticket/17129
The text was updated successfully, but these errors were encountered: