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.018614467
Marked as misclassified No
Message-id <47B8F4F3.2030805@v.loewis.de>
In-reply-to <1203292691.0.0.266930258143.issue2124@psf.upfronthosting.co.za>
Content
> 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.
History
Date User Action Args
2008-02-18 03:01:11loewissetspambayes_score: 0.0186145 -> 0.018614467
recipients: + loewis, akuchling, pboddie, ajaksu2, vdupras
2008-02-18 03:01:10loewislinkissue2124 messages
2008-02-18 03:01:10loewiscreate