google / google/s2geometry

pybind: __repr__ should be eval()able

Open
#578 2 comments 0 reactions 0 assignees View on GitHub
Dominant language
C++
Stars
2.7k
Forks
357
Avg merge
11h 4m
Merged PRs (30d)
1

Description

In https://github.com/google/s2geometry/pull/562, `S1Angle.__repr__` prints `S1Angle(45.0...)`, which is not even unambiguous. It should be `S1Angle.from_degrees(45.0)`.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.