Changes between Initial Version and Version 1 of Ticket #17339, comment 2


Ignore:
Timestamp:
11/13/14 21:00:34 (8 years ago)
Author:
darij
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #17339, comment 2

    initial v1  
    1 There is a difference between `vertices=[]` and `vertices=None`. In the latter case, we should follow the cdd convention. In the former, we should not; this kind of exception conflicts with regular usage. Currently the constructor loses the difference between `[]` and `None` at one of its first steps (the `_make_listlist` call); this is what I think needs to be fixed.
     1There is a difference between `vertices=[]` and `vertices=None`. In the latter case, we should follow the cdd convention. In the former, we should not; this kind of exception conflicts with regular usage and forces writers of methods to special-case empty vertex sets. Currently the constructor loses the difference between `[]` and `None` at one of its first steps (the `_make_listlist` call); this is what I think needs to be fixed.