Storing objects required by functions.

Jp Calderone exarkun at
Tue Dec 30 20:33:44 CET 2003

On Tue, Dec 30, 2003 at 12:43:13PM -0500, Terry Reedy wrote:
> I default args less bothersome than some people.  The only problem for me
> is that a caller may accidentally give nonesense second param.  If this can
> silently give a junk answer, this is not very acceptable.  In this case,
> random objects without a match() method would raise an exception.
> > g = re.compile('...')
> Use _ to indicate 'private' or 'local-use-only' status.
> _hex = re.compile()

  Why should it be local-use-only?

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 196 bytes
Desc: Digital signature
URL: <>

More information about the Python-list mailing list