A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://mail.python.org/pipermail/python-dev/2000-March/003016.html below:

what to do with undocumented attributes?

[Python-Dev] SRE: what to do with undocumented attributes? [Python-Dev] SRE: what to do with undocumented attributes?Andrew M. Kuchling akuchlin@mems-exchange.org
Fri, 31 Mar 2000 15:16:53 -0500 (EST)
Fredrik Lundh writes:
>btw, "pattern" doesn't make much sense in SRE -- who says
>the pattern object was created by re.compile?  guess I'll just
>set it to None in other cases (e.g. sregex, sreverb, sgema...)

Good point; I can imagine fabulously complex patterns assembled
programmatically, for which no summary could be made.  I guess there
could be another attribute that also gives the class (module?
function?) used to compile the pattern, but more likely, the pattern
attribute should be deprecated and eventually dropped.

-- 
A.M. Kuchling			http://starship.python.net/crew/amk/
You know how she is when she gets an idea into her head. I mean, when one
finally penetrates.
  -- Desire describes Delirium, in SANDMAN #41: "Brief Lives:1"




RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4