This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author loewis
Recipients ajaksu2, akuchling, loewis, pboddie, vdupras
Date 2008-02-18.03:01:10
SpamBayes Score 0.0186145
Marked as misclassified No
Message-id <>
In-reply-to <>
> In Python, a winning combo would be an arbitrary (and explicit) FS
> "dtdcache" that people could use with simple a drop-in import (from a
> third-party module?). 

It's indeed possible to provide that as a third-party module; one would
have to implement an EntityResolver, and applications would have to use
it. If there was a need for such a thing, somebody would have done it
years ago.

> It might be interesting to have read-only, force-write and read-write
> modes. 

Please take a look at catalogs - they are a read-only repository for
external entities (provided those entities have a public identifier,
which the W3C DTDs all have).

> Regarding the std-lib, I believe effective caching hooks for DTDs trump
> implementing in-memory or sqlite/FS. 

So then nothing needs to be done - the hooks have been in place since 
Python 2.0.
Date User Action Args
2008-02-18 03:01:11loewissetspambayes_score: 0.0186145 -> 0.0186145
recipients: + loewis, akuchling, pboddie, ajaksu2, vdupras
2008-02-18 03:01:10loewislinkissue2124 messages
2008-02-18 03:01:10loewiscreate