On approximately 2/19/2010 6:23 PM, came the following characters from
the keyboard of Barry Warsaw:
Is it crackful to think about the policy object also containing a MIME
type
registry for conversion to the specialized object types?
While the MIME type registry (and other registries) were (I think)
conceptualized as global objects, having them be "just objects" means
you could have as many as you want, for different purposes, and means
that you could pass them in to the encoding and decoding methods, and
might even solve issues with different threads wanting different
registries concurrently... they could have them.
I like the idea, although clearly it needs to be fleshed out a bit.
--
Glenn -- http://nevcal.com/
===========================
A protocol is complete when there is nothing left to remove.
-- Stuart Cheshire, Apple Computer, regarding Zero Configuration Networking
_______________________________________________
Email-SIG mailing list
Email-SIG@python.org
Your options:
http://mail.python.org/mailman/options/email-sig/archive%40mail-archive.com