isotoma/yay — Issue #3: Improve protected string support
Author: Jc2k
Created: 2011-11-11 09:45:41+00:00
State: open

Rename to yay.string.String, and deprecate ProtectedString

Ensure that constructor actually calls self.add() so that raw strings passed to a ProtectedString are wrapped

To support more uses cases like building a command line as a list, support accessing an unprotected and protected list

```python
class String:

@property
def protected_parts(self):
""" Return a list of all string parts with obfusication """

@property
def unprotected_parts(self):
""" Return a list of all string parts with no obfusication """

```