Attention is currently required from: laforge.
1 comment:
File pySim/esim/rsp.py:
Patch Set #1, Line 35: asn1_v3
Ideally i would have something that looks like a variable at module level (or an instance variable, […]
There is: since Python 3.7 a module can define `__getattr__` (PEP 562), which Python only calls for names the module does not have. Done in patch set 2: `rsp.asn1_v3` now reads like `rsp.asn1`, the first access compiles the module and stores it as a global, so later accesses are a plain attribute lookup and importing pySim.esim.rsp costs the same as before. Patch set 2 also sits directly on master now that 44006 is abandoned, so the test file is created here.
To view, visit change 44007. To unsubscribe, or for help writing mail filters, visit settings.