ASPN ActiveState Programmer Network
ActiveState
/ Home / Perl / PHP / Python / Tcl / XSLT /
/ Safari / My ASPN /
Cookbooks | Documentation | Mailing Lists | Modules | News Feeds | Products | User Groups


Recent Messages
List Archives
About the List
List Leaders
Subscription Options

View Subscriptions
Help

View by Topic
ActiveState
.NET Framework
Open Source
Perl
PHP
Python
Tcl
Web Services
XML & XSLT

View by Category
Database
General
SOAP
System Administration
Tools
User Interfaces
Web Programming
XML Programming


MyASPN >> Mail Archive >> zodb-dev
zodb-dev
Re: [ZODB-Dev] Pre-announce: Oscar 0.1
by Christian Robottom Reis other posts by this author
Aug 21 2001 7:35PM messages near this date
Re: [ZODB-Dev] Pre-announce: Oscar 0.1 | Re: [ZODB-Dev] Pre-announce: Oscar 0.1
On Mon, 20 Aug 2001, Greg Ward wrote:

>  several months ago, I cooked up a tool, Oscar for rigorously
>  type-checking a Python object graph: you define an object schema
>  (currently through specially-formatted class docstrings), and Oscar

Currently meaning this will change predictably? Let me just say this is
quite nice, and I'll have to implement something like this in our Domain
classes _soon_. My question is:

Does the typesystem offer any introspection? I.E., can I in runtime
discover the attributes registered for my class, and what types they are?
I need this for type-checking when sorting columns in my UI framework, so
that would come in handy.

Oh, this _is_ a runtime typecheck? :)

>  In the past few weeks, I finally got around to writing the scripts and
>  documentation necessary to release Oscar publicly.  Now I'm ready to do
>  so, pending approval by the CNRI brass (sigh).  There's nothing

How's it going?

Ok, assuming this will be released, can I go ahead and docstring my
classes and assume I'm going to be able to do the runtime checking when
it's available? I had devised a complete typesystem based on dictionaries,
but if yours is ready and tested, I'll chuck mine.

Take care,
--
Christian Reis, Senior Engineer, Async Open Source, Brazil.
http://async.com.br/~kiko/ | [+55 16] 272 3330 | NMFL
Thread:
Greg Ward
Chris McDonough
Jeremy Hylton
Christian Robottom Reis
Greg Ward
Christian Robottom Reis
Andrew Kuchling
Greg Ward
Christian Robottom Reis
Greg Ward
Christian Robottom Reis
Greg Ward
Christian Robottom Reis
Greg Ward
Michel Pelletier
Greg Ward
Christian Robottom Reis
Andrew Kuchling
Christian Robottom Reis
Christian Robottom Reis
Chris McDonough

Privacy Policy | Email Opt-out | Feedback | Syndication
© ActiveState Software Inc. All rights reserved