Skip to content

Commit bbcf6fe

Browse files
committed
add TODO
1 parent f86b0f4 commit bbcf6fe

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

unpythonic/env.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,7 @@ def __init__(self, **bindings):
6060
# https://docs.python.org/3/reference/datamodel.html#object.__setattr__
6161
# https://docs.python.org/3/reference/datamodel.html#object.__getattr__
6262
def __setattr__(self, name, value):
63+
# TODO: doesn't protect against client code writing to the _direct_write names.
6364
if name in self._direct_write: # hook to allow creating internal variables directly in self
6465
return super().__setattr__(name, value)
6566
if name in self._reserved_names:

0 commit comments

Comments
 (0)