J08nY / pyecsca

Consider removing the commented out code block PY-W0069
Anti-pattern
Major
3 months ago2 years old
Consider removing the commented out code block
499                assert res[0].to_affine() == Q2aff
500                assert res[1].to_affine() == QRaff
501            except NotImplementedError:
502                # print(scale(params.curve.prime, res[0], **params.curve.parameters)[0])503                # print(scale(params.curve.prime, res[1], **params.curve.parameters)[0])
504                # print(P)
505                # print(Q)
Consider removing the commented out code block
396        raise TypeError
397    if len(line) != 7:
398        raise ValueError("Binary extension field curves not supported")
399    # p,a,b,gx,gy,n,h (all in hex)400    curve_dict = {
401        "form": "Weierstrass",
402        "field": {
Consider removing the commented out code block
155        if self._file is not None:
156            self._file.close()
157
158    # def __getattribute__(self, item):159    #     if super().__getattribute__("_meta") and item in super().__getattribute__("_meta"):
160    #         return super().__getattribute__("_meta")[item]
161    #     return super().__getattribute__(item)
Consider removing the commented out code block
 69        _ordering: Optional[List[str]] = None,
 70        **kwargs,
 71    ):
 72        # self._meta = HDF5Meta(_file.attrs) if _file is not None else None 73        self._file = _file
 74        if _ordering is None:
 75            _ordering = [str(uuid.uuid4()) for _ in traces]
Consider removing the commented out code block
176    dmap = Map(df, cfg_map, list(range(ncols)), {True, False})
177    # start = time.perf_counter()
178    dmap.deduplicate()
179    # end = time.perf_counter()