abseil / abseil/abseil-py

Accessing C++ flags from Python

未關閉
#200 2 則留言 0 個 reaction 已指派 0 人 在 GitHub 檢視
主要語言
Python
星號
2.5k
分支
279
平均合併
2 天 1 小時
30 天內合併 PR
1

描述

[This section of the guide](https://abseil.io/docs/python/guides/flags#how-do-i-access-c-flags-from-python) has been "forthcoming" for some time. Is there any timeline on this?

The definition of `class Flag`, there appear to be some Google internals that "leak" out but are unused.
- [allow_override_cpp](https://github.com/abseil/abseil-py/blob/a0ae31683e6cf3667886c500327f292c893a1740/absl/flags/_flag.py#L49)
- [allow_hide_cpp](https://github.com/abseil/abseil-py/blob/a0ae31683e6cf3667886c500327f292c893a1740/absl/flags/_flag.py#L51)

They seem to be used in [absltest.py](https://github.com/abseil/abseil-py/blob/a0ae31683e6cf3667886c500327f292c893a1740/absl/testing/absltest.py#L228) but is otherwise not well documented.

貢獻指南

開啟貢獻指南

評估

這個 Issue 還沒有評估資料。

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。