On Aug 31, 2012, at 6:54 AM, Donald Stufft <donald.stu...@gmail.com> wrote:

> On Friday, August 31, 2012 at 6:48 AM, "Martin v. Löwis" wrote:
>> 3. There should be a specification of how collisions between extension
>> fields and standard fields are resolved. E.g. if I have
>> 
>> Extension: Home
>> Home-page: http://www.python.org
>> 
>> is Home-page the extension field or the PEP 345 field? There are
>> several ways to resolve this; I suggest giving precedence to the
>> standard field (unless you specify that extensions must follow all
>> standard fields, in which case you can drop the extension prefix
>> from the extension keys).
>> 
> Unless i'm mistaken (which I may be!) I believe that a / can be used as
> the separator between the namespace and the "real" key.
> 
> Home-page: http://www.python.org
> Extension: Home
> Home/other-thing: Foo
> 

Not bad.

> Doing this is the "Extension" field required?

Yes it is required. A simple lookup for data ['extension'] tells you what to 
expect.
_______________________________________________
Python-Dev mailing list
Python-Dev@python.org
http://mail.python.org/mailman/listinfo/python-dev
Unsubscribe: 
http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com

Reply via email to