Changes between Initial Version and Version 1 of Ticket #28490, comment 42


Ignore:
Timestamp:
02/26/20 08:38:02 (14 months ago)
Author:
vdelecroix
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #28490, comment 42

    initial v1  
    44It is not nice I agree. But I do not quite see inconsistency. Some constructors (like `Integer.__init__`) can perfectly support additional syntax. The problem to me is that on Python2, `1_3.` does not raise an error. But I do not want to worry about Python2. If you find a non invasive solution, feel free to add to the branch.
    55
    6 Related comment: it would be interesting to benchmark the two options for the preparser `123 -> Integer(123)` to `123 -> Integer('123')`. See the noticeable slowdown mentioned in [[https://groups.google.com/forum/#!topic/sage-devel/Pc1qgjd_SzQ this sage-devel thread]].
     6Related comment: it would be interesting to benchmark the two options for the preparser `123 -> Integer(123)` to `123 -> Integer('123')`. See the noticeable slowdown mentioned in [[https://groups.google.com/forum/#!topic/sage-devel/Pc1qgjd_SzQ|this sage-devel thread]].