rlazarus / MUSS

Multi-User Shared Setting, a modern-day reimplementation of the multiuser text game.
8 stars 1 forks source link

Descriptions can be non-strings. #102

Closed relsqui closed 11 years ago

relsqui commented 11 years ago

This should raise a ValueError.

rlazarus commented 11 years ago

It should raise a TypeError but broadly speaking I agree with you.

rlazarus commented 11 years ago

Come to think of it, we could also just call str on whatever's there, when we look it up in Look. I'm tempted to take that route instead -- if we get into dictating attribute types, that's never going to stop, and it's not particularly Pythonic.

relsqui commented 11 years ago

Oh, good call. I'm for it. On Jun 19, 2013 2:48 PM, "Reuven Lazarus" notifications@github.com wrote:

Come to think of it, we could also just call str on whatever's there, when we look it up in Look. I'm tempted to take that route instead.

— Reply to this email directly or view it on GitHubhttps://github.com/rlazarus/MUSS/issues/102#issuecomment-19717542 .