tag:blogger.com,1999:blog-4637631607249418081.post4302322532584380898..comments2023-10-07T00:29:30.516-07:00Comments on The Other Kelly Yancey: NTTMCL hiring againKelly Yanceyhttp://www.blogger.com/profile/08648597728708472240noreply@blogger.comBlogger1125tag:blogger.com,1999:blog-4637631607249418081.post-33734863928267327732007-08-13T10:07:00.001-07:002007-08-13T10:07:00.001-07:00This is the mail I was trying to send:Subject: Re:...This is the mail I was trying to send:<BR/><BR/>Subject: Re: [Python]: Typed attributes using descriptors<BR/>Hello there; since your post no longer accepts comments, I'd like to<BR/>offer the following (if it's obvious to you, no offense intended):<BR/><BR/>Have TypedAttr.__set__() check a list of predicates, the first one<BR/>being isinstance. Have Unsigned() and NotNone() check if they've got a<BR/>TypedAttr instance; if so, append your checks to the predicate list<BR/>and return the TypedAttr. And you'll probably want to use adapt()<BR/>instead of your own converter.<BR/><BR/>These are quick, un-coded thoughts. Please feel free to flame me if<BR/>you've tried something like this before and it bombed.<BR/><BR/>Cheers,<BR/>--lbrunoAnonymousnoreply@blogger.com