[Python-Dev] CVS: python/dist/src/Lib/xml/dom minidom.py,1.13,1.14

Jeremy Hylton jeremy@alum.mit.edu
Tue, 21 Nov 2000 17:38:14 -0500 (EST)


>>>>> "AMK" == Andrew Kuchling <akuchlin@mems-exchange.org> writes:

  AMK> On Tue, Nov 21, 2000 at 05:26:14PM -0500, Jeremy Hylton wrote:
  >> Could those checks be implemented as assertions?  If so, people
  >> who care about speed can use "python -O"

  AMK> Making error checks optional and leaving it up to the user to
  AMK> avoid problems...  did I get subscribed to the perl5-porters
  AMK> list by mistake?

Not quite what I asked about: Enabling error checks by default, but
allowing users to turn them off in optmized mode.  If the checks are
expensive, which Fred subsequently said he wasn't sure about, this
might not be unreasonable.

Perhaps I'm just odd when it comes to -O.  I've never used it.

Jeremy