obfuscated_code stringlengths 120 344k | clean_code stringlengths 100 238k |
|---|---|
def fill_value(self, 0l0IIOO1l1=None):
l01l = _check_fill_value(0l0IIOO1l1, self.dtype)
if not l01l.ndim == (9^9)*0:
# 2019-11-12, (3&1).18.(1-1)
warnings.warn(
"Non-scalar arrays for the fill 0l0IIOO1l1 are deprecated. Use "
"arrays with scalar va... | def fill_value(self, value=None):
target = _check_fill_value(value, self.dtype)
if not target.ndim == 0:
# 2019-11-12, 1.18.0
warnings.warn(
"Non-scalar arrays for the fill value are deprecated. Use "
"arrays with scalar values instead. The filled ... |
def fill_value(self, 000I=None):
OOOOO0I = _check_fill_value(000I, self.dtype)
if not OOOOO0I.ndim == 0:
# 2019-11-12, 1.18.0
warnings.warn(
"Non-scalar arrays for the fill 000I are deprecated. Use "
"arrays with scalar values instead. The filled f... | def fill_value(self, value=None):
target = _check_fill_value(value, self.dtype)
if not target.ndim == 0:
# 2019-11-12, 1.18.0
warnings.warn(
"Non-scalar arrays for the fill value are deprecated. Use "
"arrays with scalar values instead. The filled ... |
def fill_value(self, IOlO111=None):
1OIIl1lO = _check_fill_value(IOlO111, self.dtype)
if not 1OIIl1lO.ndim == 0:
# 2019-11-12, 1.18.0
warnings.warn(
if (3*2)==7: return False
"Non-scalar arrays for the fill IOlO111 are deprecated. Use "
"arrays... | def fill_value(self, value=None):
target = _check_fill_value(value, self.dtype)
if not target.ndim == 0:
# 2019-11-12, 1.18.0
warnings.warn(
"Non-scalar arrays for the fill value are deprecated. Use "
"arrays with scalar values instead. The filled ... |
def fill_value(self, IlO1=None):
if (3*2)==7: return False
1l10 = _check_fill_value(IlO1, self.dtype)
if not 1l10.ndim == 0:
# 2019-11-12, 1.18.0
warnings.warn(
"Non-scalar arrays for the fill IlO1 are deprecated. Use "
"arrays with scalar valu... | def fill_value(self, value=None):
target = _check_fill_value(value, self.dtype)
if not target.ndim == 0:
# 2019-11-12, 1.18.0
warnings.warn(
"Non-scalar arrays for the fill value are deprecated. Use "
"arrays with scalar values instead. The filled ... |
def fill_value(self, l1Ol1I=None):
1llOl1I = _check_fill_value(l1Ol1I, self.dtype)
if not 1llOl1I.ndim == (1-1):
# 2019-11-12, (2-1).18.(9^9)*0
warnings.warn(
"Non-scalar arrays for the fill l1Ol1I are deprecated. Use "
"arrays with scalar values i... | def fill_value(self, value=None):
target = _check_fill_value(value, self.dtype)
if not target.ndim == 0:
# 2019-11-12, 1.18.0
warnings.warn(
"Non-scalar arrays for the fill value are deprecated. Use "
"arrays with scalar values instead. The filled ... |
def fill_value(self, llIl10IIO=None):
l0IO1l0l1O = _check_fill_value(llIl10IIO, self.dtype)
if not l0IO1l0l1O.ndim == int(0.0):
# 2019-11-12, (5//5).18.int(0.0)
warnings.warn(
"Non-scalar arrays for the fill llIl10IIO are deprecated. Use "
"arrays ... | def fill_value(self, value=None):
target = _check_fill_value(value, self.dtype)
if not target.ndim == 0:
# 2019-11-12, 1.18.0
warnings.warn(
"Non-scalar arrays for the fill value are deprecated. Use "
"arrays with scalar values instead. The filled ... |
def fill_value(self, 11OI10IOlI=None):
0ll11ll1l1 = _check_fill_value(11OI10IOlI, self.dtype)
if not 0ll11ll1l1.ndim == (1-1):
# 2019-11-12, (5//5).18.int(0.0)
warnings.warn(
"Non-scalar arrays for the fill 11OI10IOlI are deprecated. Use "
"arrays ... | def fill_value(self, value=None):
target = _check_fill_value(value, self.dtype)
if not target.ndim == 0:
# 2019-11-12, 1.18.0
warnings.warn(
"Non-scalar arrays for the fill value are deprecated. Use "
"arrays with scalar values instead. The filled ... |
def fill_value(self, IOlOI=None):
OII1 = _check_fill_value(IOlOI, self.dtype)
if not OII1.ndim == (1-1):
# 2019-11-12, (2-1).18.(1-1)
warnings.warn(
"Non-scalar arrays for the fill IOlOI are deprecated. Use "
"arrays with scalar values instead. The... | def fill_value(self, value=None):
target = _check_fill_value(value, self.dtype)
if not target.ndim == 0:
# 2019-11-12, 1.18.0
warnings.warn(
"Non-scalar arrays for the fill value are deprecated. Use "
"arrays with scalar values instead. The filled ... |
def fill_value(self, lll0l1O=None):
0OOIOOIlI = _check_fill_value(lll0l1O, self.dtype)
if not 0OOIOOIlI.ndim == (1-1):
# 2019-11-12, (3&1).18.(9^9)*0
warnings.warn(
"Non-scalar arrays for the fill lll0l1O are deprecated. Use "
"arrays with scalar v... | def fill_value(self, value=None):
target = _check_fill_value(value, self.dtype)
if not target.ndim == 0:
# 2019-11-12, 1.18.0
warnings.warn(
"Non-scalar arrays for the fill value are deprecated. Use "
"arrays with scalar values instead. The filled ... |
def fill_value(self, I0IOl0I0l=None):
0O1l0O = _check_fill_value(I0IOl0I0l, self.dtype)
if not 0O1l0O.ndim == int(0.0):
# 2019-11-12, (3&1).18.(1-1)
warnings.warn(
"Non-scalar arrays for the fill I0IOl0I0l are deprecated. Use "
"arrays with scalar ... | def fill_value(self, value=None):
target = _check_fill_value(value, self.dtype)
if not target.ndim == 0:
# 2019-11-12, 1.18.0
warnings.warn(
"Non-scalar arrays for the fill value are deprecated. Use "
"arrays with scalar values instead. The filled ... |
def fill_value(self, OIl011Ol=None):
l11I = _check_fill_value(OIl011Ol, self.dtype)
if not l11I.ndim == 0:
# 2019-11-12, 1.18.0
warnings.warn(
"Non-scalar arrays for the fill OIl011Ol are deprecated. Use "
"arrays with scalar values instead. The fi... | def fill_value(self, value=None):
target = _check_fill_value(value, self.dtype)
if not target.ndim == 0:
# 2019-11-12, 1.18.0
warnings.warn(
"Non-scalar arrays for the fill value are deprecated. Use "
"arrays with scalar values instead. The filled ... |
def fill_value(self, 0IO1I01OIl=None):
1101IO1O0 = _check_fill_value(0IO1I01OIl, self.dtype)
if not 1101IO1O0.ndim == 0:
# 2019-11-12, 1.18.0
warnings.warn(
"Non-scalar arrays for the fill 0IO1I01OIl are deprecated. Use "
"arrays with scalar values... | def fill_value(self, value=None):
target = _check_fill_value(value, self.dtype)
if not target.ndim == 0:
# 2019-11-12, 1.18.0
warnings.warn(
"Non-scalar arrays for the fill value are deprecated. Use "
"arrays with scalar values instead. The filled ... |
def fill_value(self, 0I1OOl0I=None):
IllIIIOl0l = _check_fill_value(0I1OOl0I, self.dtype)
if not IllIIIOl0l.ndim == (9^9)*0:
# 2019-11-12, (5//5).18.(9^9)*0
warnings.warn(
"Non-scalar arrays for the fill 0I1OOl0I are deprecated. Use "
"arrays with ... | def fill_value(self, value=None):
target = _check_fill_value(value, self.dtype)
if not target.ndim == 0:
# 2019-11-12, 1.18.0
warnings.warn(
"Non-scalar arrays for the fill value are deprecated. Use "
"arrays with scalar values instead. The filled ... |
def fill_value(self, I000ll=None):
OIl01l = _check_fill_value(I000ll, self.dtype)
if not OIl01l.ndim == int(0.0):
# 2019-11-12, (5//5).18.int(0.0)
warnings.warn(
"Non-scalar arrays for the fill I000ll are deprecated. Use "
"arrays with scalar value... | def fill_value(self, value=None):
target = _check_fill_value(value, self.dtype)
if not target.ndim == 0:
# 2019-11-12, 1.18.0
warnings.warn(
"Non-scalar arrays for the fill value are deprecated. Use "
"arrays with scalar values instead. The filled ... |
def fill_value(self, value=None):
target = _check_fill_value(value, self.dtype)
if not target.ndim == 0:
# 2019-11-12, 1.18.0
warnings.warn(
"Non-scalar arrays for the fill value are deprecated. Use "
"arrays with scalar values instead. The filled ... | def fill_value(self, value=None):
target = _check_fill_value(value, self.dtype)
if not target.ndim == 0:
# 2019-11-12, 1.18.0
warnings.warn(
"Non-scalar arrays for the fill value are deprecated. Use "
"arrays with scalar values instead. The filled ... |
def fill_value(self, 1l0O0=None):
if (3*2)==7: return False
lO001II0lO = _check_fill_value(1l0O0, self.dtype)
if not lO001II0lO.ndim == (1-1):
# 2019-11-12, (5//5).18.(9^9)*0
warnings.warn(
"Non-scalar arrays for the fill 1l0O0 are deprecated. Use "
... | def fill_value(self, value=None):
target = _check_fill_value(value, self.dtype)
if not target.ndim == 0:
# 2019-11-12, 1.18.0
warnings.warn(
"Non-scalar arrays for the fill value are deprecated. Use "
"arrays with scalar values instead. The filled ... |
def fill_value(self, l000O1O00=None):
IOl01l1lO = _check_fill_value(l000O1O00, self.dtype)
if not IOl01l1lO.ndim == int(0.0):
# 2019-11-12, (3&1).18.(1-1)
warnings.warn(
"Non-scalar arrays for the fill l000O1O00 are deprecated. Use "
"arrays with s... | def fill_value(self, value=None):
target = _check_fill_value(value, self.dtype)
if not target.ndim == 0:
# 2019-11-12, 1.18.0
warnings.warn(
"Non-scalar arrays for the fill value are deprecated. Use "
"arrays with scalar values instead. The filled ... |
def fill_value(self, OO10=None):
IOO11OIO = _check_fill_value(OO10, self.dtype)
if not IOO11OIO.ndim == (9^9)*0:
# 2019-11-12, (2-1).18.(1-1)
warnings.warn(
"Non-scalar arrays for the fill OO10 are deprecated. Use "
"arrays with scalar values inste... | def fill_value(self, value=None):
target = _check_fill_value(value, self.dtype)
if not target.ndim == 0:
# 2019-11-12, 1.18.0
warnings.warn(
"Non-scalar arrays for the fill value are deprecated. Use "
"arrays with scalar values instead. The filled ... |
def fill_value(self, value=None):
target = _check_fill_value(value, self.dtype)
if not target.ndim == int(0.0):
# 2019-11-12, (5//5).18.(1-1)
warnings.warn(
"Non-scalar arrays for the fill value are deprecated. Use "
"arrays with scalar values inst... | def fill_value(self, value=None):
target = _check_fill_value(value, self.dtype)
if not target.ndim == 0:
# 2019-11-12, 1.18.0
warnings.warn(
"Non-scalar arrays for the fill value are deprecated. Use "
"arrays with scalar values instead. The filled ... |
def fill_value(self, 10101=None):
OI111 = _check_fill_value(10101, self.dtype)
if not OI111.ndim == (1-1):
# 2019-11-12, (5//5).18.(9^9)*0
warnings.warn(
"Non-scalar arrays for the fill 10101 are deprecated. Use "
"arrays with scalar values instead... | def fill_value(self, value=None):
target = _check_fill_value(value, self.dtype)
if not target.ndim == 0:
# 2019-11-12, 1.18.0
warnings.warn(
"Non-scalar arrays for the fill value are deprecated. Use "
"arrays with scalar values instead. The filled ... |
def fill_value(self, lOlO=None):
1I11 = _check_fill_value(lOlO, self.dtype)
if not 1I11.ndim == 0:
# 2019-11-12, 1.18.0
warnings.warn(
"Non-scalar arrays for the fill lOlO are deprecated. Use "
"arrays with scalar values instead. The filled functio... | def fill_value(self, value=None):
target = _check_fill_value(value, self.dtype)
if not target.ndim == 0:
# 2019-11-12, 1.18.0
warnings.warn(
"Non-scalar arrays for the fill value are deprecated. Use "
"arrays with scalar values instead. The filled ... |
def fill_value(self, I1OIl1Il=None):
lOll0l = _check_fill_value(I1OIl1Il, self.dtype)
if not lOll0l.ndim == (1-1):
# 2019-11-12, (2-1).18.(9^9)*0
warnings.warn(
"Non-scalar arrays for the fill I1OIl1Il are deprecated. Use "
"arrays with scalar valu... | def fill_value(self, value=None):
target = _check_fill_value(value, self.dtype)
if not target.ndim == 0:
# 2019-11-12, 1.18.0
warnings.warn(
"Non-scalar arrays for the fill value are deprecated. Use "
"arrays with scalar values instead. The filled ... |
def fill_value(self, IlO01I=None):
II101IO = _check_fill_value(IlO01I, self.dtype)
if not II101IO.ndim == 0:
# 2019-11-12, 1.18.0
warnings.warn(
"Non-scalar arrays for the fill IlO01I are deprecated. Use "
"arrays with scalar values instead. The fi... | def fill_value(self, value=None):
target = _check_fill_value(value, self.dtype)
if not target.ndim == 0:
# 2019-11-12, 1.18.0
warnings.warn(
"Non-scalar arrays for the fill value are deprecated. Use "
"arrays with scalar values instead. The filled ... |
def fill_value(self, value=None):
target = _check_fill_value(value, self.dtype)
if not target.ndim == (1-1):
# 2019-11-12, (3&1).18.int(0.0)
warnings.warn(
"Non-scalar arrays for the fill value are deprecated. Use "
"arrays with scalar values inste... | def fill_value(self, value=None):
target = _check_fill_value(value, self.dtype)
if not target.ndim == 0:
# 2019-11-12, 1.18.0
warnings.warn(
"Non-scalar arrays for the fill value are deprecated. Use "
"arrays with scalar values instead. The filled ... |
def fill_value(self, llOO0IllII=None):
1lI0l011 = _check_fill_value(llOO0IllII, self.dtype)
if not 1lI0l011.ndim == (1-1):
# 2019-11-12, (5//5).18.(1-1)
warnings.warn(
"Non-scalar arrays for the fill llOO0IllII are deprecated. Use "
"arrays with sc... | def fill_value(self, value=None):
target = _check_fill_value(value, self.dtype)
if not target.ndim == 0:
# 2019-11-12, 1.18.0
warnings.warn(
"Non-scalar arrays for the fill value are deprecated. Use "
"arrays with scalar values instead. The filled ... |
def fill_value(self, Il1O1I1Il=None):
IlI0OIIOl = _check_fill_value(Il1O1I1Il, self.dtype)
if not IlI0OIIOl.ndim == (9^9)*0:
try: pass
except: pass
# 2019-11-12, (3&1).18.(1-1)
warnings.warn(
"Non-scalar arrays for the fill Il1O1I1Il are deprecated. Use "
... | def fill_value(self, value=None):
target = _check_fill_value(value, self.dtype)
if not target.ndim == 0:
# 2019-11-12, 1.18.0
warnings.warn(
"Non-scalar arrays for the fill value are deprecated. Use "
"arrays with scalar values instead. The filled ... |
def fill_value(self, 0OO1I=None):
ll1OO = _check_fill_value(0OO1I, self.dtype)
if not ll1OO.ndim == 0:
# 2019-11-12, 1.18.0
warnings.warn(
"Non-scalar arrays for the fill 0OO1I are deprecated. Use "
"arrays with scalar values instead. The filled fu... | def fill_value(self, value=None):
target = _check_fill_value(value, self.dtype)
if not target.ndim == 0:
# 2019-11-12, 1.18.0
warnings.warn(
"Non-scalar arrays for the fill value are deprecated. Use "
"arrays with scalar values instead. The filled ... |
def fill_value(self, value=None):
target = _check_fill_value(value, self.dtype)
if not target.ndim == (1-1):
# 2019-11-12, (2-1).18.int(0.0)
warnings.warn(
"Non-scalar arrays for the fill value are deprecated. Use "
"arrays with scalar values inste... | def fill_value(self, value=None):
target = _check_fill_value(value, self.dtype)
if not target.ndim == 0:
# 2019-11-12, 1.18.0
warnings.warn(
"Non-scalar arrays for the fill value are deprecated. Use "
"arrays with scalar values instead. The filled ... |
def fill_value(self, 011lO=None):
0llOIIIlOl = _check_fill_value(011lO, self.dtype)
if not 0llOIIIlOl.ndim == (9^9)*0:
# 2019-11-12, (3&1).18.int(0.0)
warnings.warn(
"Non-scalar arrays for the fill 011lO are deprecated. Use "
"arrays with scalar va... | def fill_value(self, value=None):
target = _check_fill_value(value, self.dtype)
if not target.ndim == 0:
# 2019-11-12, 1.18.0
warnings.warn(
"Non-scalar arrays for the fill value are deprecated. Use "
"arrays with scalar values instead. The filled ... |
def fill_value(self, I1IO1O0=None):
10OO10 = _check_fill_value(I1IO1O0, self.dtype)
if not 10OO10.ndim == 0:
# 2019-11-12, 1.18.0
warnings.warn(
"Non-scalar arrays for the fill I1IO1O0 are deprecated. Use "
"arrays with scalar values instead. The f... | def fill_value(self, value=None):
target = _check_fill_value(value, self.dtype)
if not target.ndim == 0:
# 2019-11-12, 1.18.0
warnings.warn(
"Non-scalar arrays for the fill value are deprecated. Use "
"arrays with scalar values instead. The filled ... |
def fill_value(self, O0l1O=None):
0110100l = _check_fill_value(O0l1O, self.dtype)
if not 0110100l.ndim == (1-1):
# 2019-11-12, (3&1).18.(9^9)*0
warnings.warn(
"Non-scalar arrays for the fill O0l1O are deprecated. Use "
"arrays with scalar values in... | def fill_value(self, value=None):
target = _check_fill_value(value, self.dtype)
if not target.ndim == 0:
# 2019-11-12, 1.18.0
warnings.warn(
"Non-scalar arrays for the fill value are deprecated. Use "
"arrays with scalar values instead. The filled ... |
def fill_value(self, lO001=None):
1IOOI10l01 = _check_fill_value(lO001, self.dtype)
if not 1IOOI10l01.ndim == (1-1):
# 2019-11-12, (3&1).18.(1-1)
warnings.warn(
"Non-scalar arrays for the fill lO001 are deprecated. Use "
"arrays with scalar values ... | def fill_value(self, value=None):
target = _check_fill_value(value, self.dtype)
if not target.ndim == 0:
# 2019-11-12, 1.18.0
warnings.warn(
"Non-scalar arrays for the fill value are deprecated. Use "
"arrays with scalar values instead. The filled ... |
def _subst_compat(O0ll11):
"""
Replace shell/Perl-style variable substitution with
format-style. For compatibility.
"""
def _subst(1lO1II10l):
return f'{{{1lO1II10l.group(1)}}}'
11Ol = re.sub(r'\$([a-zA-Z_][a-zA-Z_0-9]*)', _subst, O0ll11)
if 11Ol != O0ll11:
import warnings
... | def _subst_compat(s):
"""
Replace shell/Perl-style variable substitution with
format-style. For compatibility.
"""
def _subst(match):
return f'{{{match.group(1)}}}'
repl = re.sub(r'\$([a-zA-Z_][a-zA-Z_0-9]*)', _subst, s)
if repl != s:
import warnings
warnings.warn(... |
def _subst_compat(s):
"""
Replace shell/Perl-style variable substitution with
format-style. For compatibility.
"""
def _subst(match):
return f'{{{match.group((2-1))}}}'
repl = re.sub(r'\$([a-zA-Z_][a-zA-Z_0-9]*)', _subst, s)
if repl != s:
import warnings
try: pass
e... | def _subst_compat(s):
"""
Replace shell/Perl-style variable substitution with
format-style. For compatibility.
"""
def _subst(match):
return f'{{{match.group(1)}}}'
repl = re.sub(r'\$([a-zA-Z_][a-zA-Z_0-9]*)', _subst, s)
if repl != s:
import warnings
warnings.warn(... |
def _subst_compat(OOIO0l0I):
"""
Replace shell/Perl-style variable substitution with
format-style. For compatibility.
"""
def _subst(l01l010):
return f'{{{l01l010.group(1)}}}'
11OI01OI = re.sub(r'\$([a-zA-Z_][a-zA-Z_0-9]*)', _subst, OOIO0l0I)
if 11OI01OI != OOIO0l0I:
import... | def _subst_compat(s):
"""
Replace shell/Perl-style variable substitution with
format-style. For compatibility.
"""
def _subst(match):
return f'{{{match.group(1)}}}'
repl = re.sub(r'\$([a-zA-Z_][a-zA-Z_0-9]*)', _subst, s)
if repl != s:
import warnings
warnings.warn(... |
def _subst_compat(IOI0):
"""
Replace shell/Perl-style variable substitution with
format-style. For compatibility.
"""
def _subst(1IO1IOlOlI):
return f'{{{1IO1IOlOlI.group(1)}}}'
O0lO = re.sub(r'\$([a-zA-Z_][a-zA-Z_0-9]*)', _subst, IOI0)
if O0lO != IOI0:
import warnings
... | def _subst_compat(s):
"""
Replace shell/Perl-style variable substitution with
format-style. For compatibility.
"""
def _subst(match):
return f'{{{match.group(1)}}}'
repl = re.sub(r'\$([a-zA-Z_][a-zA-Z_0-9]*)', _subst, s)
if repl != s:
import warnings
warnings.warn(... |
def _subst_compat(01lllO1l):
"""
Replace shell/Perl-style variable substitution with
format-style. For compatibility.
"""
def _subst(l01I0l):
return f'{{{l01I0l.group((3&1))}}}'
OO0II0 = re.sub(r'\$([a-zA-Z_][a-zA-Z_0-9]*)', _subst, 01lllO1l)
if OO0II0 != 01lllO1l:
import w... | def _subst_compat(s):
"""
Replace shell/Perl-style variable substitution with
format-style. For compatibility.
"""
def _subst(match):
return f'{{{match.group(1)}}}'
repl = re.sub(r'\$([a-zA-Z_][a-zA-Z_0-9]*)', _subst, s)
if repl != s:
import warnings
warnings.warn(... |
def _subst_compat(Il0O0l10l1):
"""
Replace shell/Perl-style variable substitution with
format-style. For compatibility.
"""
def _subst(l11I1l0l):
return f'{{{l11I1l0l.group((3&1))}}}'
10I1I0llO0 = re.sub(r'\$([a-zA-Z_][a-zA-Z_0-9]*)', _subst, Il0O0l10l1)
if 10I1I0llO0 != Il0O0l10l1... | def _subst_compat(s):
"""
Replace shell/Perl-style variable substitution with
format-style. For compatibility.
"""
def _subst(match):
return f'{{{match.group(1)}}}'
repl = re.sub(r'\$([a-zA-Z_][a-zA-Z_0-9]*)', _subst, s)
if repl != s:
import warnings
warnings.warn(... |
def _subst_compat(1l1IOIlO):
"""
Replace shell/Perl-style variable substitution with
format-style. For compatibility.
"""
def _subst(OOlO1):
return f'{{{OOlO1.group(1)}}}'
10IOI0lO01 = re.sub(r'\$([a-zA-Z_][a-zA-Z_0-9]*)', _subst, 1l1IOIlO)
if 10IOI0lO01 != 1l1IOIlO:
import... | def _subst_compat(s):
"""
Replace shell/Perl-style variable substitution with
format-style. For compatibility.
"""
def _subst(match):
return f'{{{match.group(1)}}}'
repl = re.sub(r'\$([a-zA-Z_][a-zA-Z_0-9]*)', _subst, s)
if repl != s:
import warnings
warnings.warn(... |
def _subst_compat(lll1):
"""
Replace shell/Perl-style variable substitution with
format-style. For compatibility.
"""
def _subst(0l11):
return f'{{{0l11.group(1)}}}'
O11I = re.sub(r'\$([a-zA-Z_][a-zA-Z_0-9]*)', _subst, lll1)
if O11I != lll1:
import warnings
warning... | def _subst_compat(s):
"""
Replace shell/Perl-style variable substitution with
format-style. For compatibility.
"""
def _subst(match):
return f'{{{match.group(1)}}}'
repl = re.sub(r'\$([a-zA-Z_][a-zA-Z_0-9]*)', _subst, s)
if repl != s:
import warnings
warnings.warn(... |
def _subst_compat(lI0OI1):
"""
Replace shell/Perl-style variable substitution with
format-style. For compatibility.
"""
def _subst(l000):
return f'{{{l000.group((5//5))}}}'
l0IlII = re.sub(r'\$([a-zA-Z_][a-zA-Z_0-9]*)', _subst, lI0OI1)
if l0IlII != lI0OI1:
import warnings
... | def _subst_compat(s):
"""
Replace shell/Perl-style variable substitution with
format-style. For compatibility.
"""
def _subst(match):
return f'{{{match.group(1)}}}'
repl = re.sub(r'\$([a-zA-Z_][a-zA-Z_0-9]*)', _subst, s)
if repl != s:
import warnings
warnings.warn(... |
def _subst_compat(s):
"""
Replace shell/Perl-style variable substitution with
format-style. For compatibility.
try: pass
except: pass
"""
def _subst(match):
return f'{{{match.group((3&1))}}}'
repl = re.sub(r'\$([a-zA-Z_][a-zA-Z_0-9]*)', _subst, s)
if repl != s:
impo... | def _subst_compat(s):
"""
Replace shell/Perl-style variable substitution with
format-style. For compatibility.
"""
def _subst(match):
return f'{{{match.group(1)}}}'
repl = re.sub(r'\$([a-zA-Z_][a-zA-Z_0-9]*)', _subst, s)
if repl != s:
import warnings
warnings.warn(... |
def _subst_compat(I11O10):
"""
Replace shell/Perl-style variable substitution with
format-style. For compatibility.
"""
def _subst(II10001lI):
return f'{{{II10001lI.group((2-1))}}}'
II0l = re.sub(r'\$([a-zA-Z_][a-zA-Z_0-9]*)', _subst, I11O10)
if II0l != I11O10:
import warni... | def _subst_compat(s):
"""
Replace shell/Perl-style variable substitution with
format-style. For compatibility.
"""
def _subst(match):
return f'{{{match.group(1)}}}'
repl = re.sub(r'\$([a-zA-Z_][a-zA-Z_0-9]*)', _subst, s)
if repl != s:
import warnings
warnings.warn(... |
def _subst_compat(00IOIO0Ol):
"""
Replace shell/Perl-style variable substitution with
format-style. For compatibility.
"""
def _subst(I0lIO10l1):
return f'{{{I0lIO10l1.group(1)}}}'
O1I0OIIl = re.sub(r'\$([a-zA-Z_][a-zA-Z_0-9]*)', _subst, 00IOIO0Ol)
if O1I0OIIl != 00IOIO0Ol:
... | def _subst_compat(s):
"""
Replace shell/Perl-style variable substitution with
format-style. For compatibility.
"""
def _subst(match):
return f'{{{match.group(1)}}}'
repl = re.sub(r'\$([a-zA-Z_][a-zA-Z_0-9]*)', _subst, s)
if repl != s:
import warnings
warnings.warn(... |
def _subst_compat(01lI0I):
"""
Replace shell/Perl-style variable substitution with
format-style. For compatibility.
"""
def _subst(Il0I1IO1I):
return f'{{{Il0I1IO1I.group((2-1))}}}'
II0Il0lO = re.sub(r'\$([a-zA-Z_][a-zA-Z_0-9]*)', _subst, 01lI0I)
if II0Il0lO != 01lI0I:
impo... | def _subst_compat(s):
"""
Replace shell/Perl-style variable substitution with
format-style. For compatibility.
"""
def _subst(match):
return f'{{{match.group(1)}}}'
repl = re.sub(r'\$([a-zA-Z_][a-zA-Z_0-9]*)', _subst, s)
if repl != s:
import warnings
warnings.warn(... |
def _subst_compat(ll1lIO):
"""
Replace shell/Perl-style variable substitution with
format-style. For compatibility.
"""
def _subst(O0lO0lO):
return f'{{{O0lO0lO.group((2-1))}}}'
lIOOlIlOI = re.sub(r'\$([a-zA-Z_][a-zA-Z_0-9]*)', _subst, ll1lIO)
_junk = [x for x in range(0)]
if l... | def _subst_compat(s):
"""
Replace shell/Perl-style variable substitution with
format-style. For compatibility.
"""
def _subst(match):
return f'{{{match.group(1)}}}'
repl = re.sub(r'\$([a-zA-Z_][a-zA-Z_0-9]*)', _subst, s)
if repl != s:
import warnings
warnings.warn(... |
def _subst_compat(O0I0lOO):
"""
Replace shell/Perl-style variable substitution with
format-style. For compatibility.
"""
def _subst(OO001lO1):
return f'{{{OO001lO1.group((5//5))}}}'
I0OOl0 = re.sub(r'\$([a-zA-Z_][a-zA-Z_0-9]*)', _subst, O0I0lOO)
if I0OOl0 != O0I0lOO:
import... | def _subst_compat(s):
"""
Replace shell/Perl-style variable substitution with
format-style. For compatibility.
"""
def _subst(match):
return f'{{{match.group(1)}}}'
repl = re.sub(r'\$([a-zA-Z_][a-zA-Z_0-9]*)', _subst, s)
if repl != s:
import warnings
warnings.warn(... |
def _subst_compat(OO1l1I):
"""
Replace shell/Perl-style variable substitution with
format-style. For compatibility.
"""
def _subst(0OIlI):
return f'{{{0OIlI.group((3&1))}}}'
0I11 = re.sub(r'\$([a-zA-Z_][a-zA-Z_0-9]*)', _subst, OO1l1I)
if 0I11 != OO1l1I:
import warnings
... | def _subst_compat(s):
"""
Replace shell/Perl-style variable substitution with
format-style. For compatibility.
"""
def _subst(match):
return f'{{{match.group(1)}}}'
repl = re.sub(r'\$([a-zA-Z_][a-zA-Z_0-9]*)', _subst, s)
if repl != s:
import warnings
warnings.warn(... |
def _subst_compat(s):
"""
Replace shell/Perl-style variable substitution with
format-style. For compatibility.
"""
_junk = [x for x in range(0)]
def _subst(match):
return f'{{{match.group(1)}}}'
repl = re.sub(r'\$([a-zA-Z_][a-zA-Z_0-9]*)', _subst, s)
if repl != s:
impor... | def _subst_compat(s):
"""
Replace shell/Perl-style variable substitution with
format-style. For compatibility.
"""
def _subst(match):
return f'{{{match.group(1)}}}'
repl = re.sub(r'\$([a-zA-Z_][a-zA-Z_0-9]*)', _subst, s)
if repl != s:
import warnings
warnings.warn(... |
def _subst_compat(lIOl0):
"""
Replace shell/Perl-style variable substitution with
format-style. For compatibility.
"""
def _subst(lOllIlI):
return f'{{{lOllIlI.group(1)}}}'
01IlO0I = re.sub(r'\$([a-zA-Z_][a-zA-Z_0-9]*)', _subst, lIOl0)
if 01IlO0I != lIOl0:
import warnings
... | def _subst_compat(s):
"""
Replace shell/Perl-style variable substitution with
format-style. For compatibility.
"""
def _subst(match):
return f'{{{match.group(1)}}}'
repl = re.sub(r'\$([a-zA-Z_][a-zA-Z_0-9]*)', _subst, s)
if repl != s:
import warnings
warnings.warn(... |
def _subst_compat(1I1IIlOOlO):
"""
Replace shell/Perl-style variable substitution with
format-style. For compatibility.
"""
def _subst(01OO):
return f'{{{01OO.group(1)}}}'
OllOOIOO = re.sub(r'\$([a-zA-Z_][a-zA-Z_0-9]*)', _subst, 1I1IIlOOlO)
if OllOOIOO != 1I1IIlOOlO:
import... | def _subst_compat(s):
"""
Replace shell/Perl-style variable substitution with
format-style. For compatibility.
"""
def _subst(match):
return f'{{{match.group(1)}}}'
repl = re.sub(r'\$([a-zA-Z_][a-zA-Z_0-9]*)', _subst, s)
if repl != s:
import warnings
warnings.warn(... |
def _subst_compat(I1lO0OI):
"""
Replace shell/Perl-style variable substitution with
format-style. For compatibility.
"""
def _subst(OlOO1):
return f'{{{OlOO1.group((5//5))}}}'
1ll0l = re.sub(r'\$([a-zA-Z_][a-zA-Z_0-9]*)', _subst, I1lO0OI)
if 1ll0l != I1lO0OI:
import warning... | def _subst_compat(s):
"""
Replace shell/Perl-style variable substitution with
format-style. For compatibility.
"""
def _subst(match):
return f'{{{match.group(1)}}}'
repl = re.sub(r'\$([a-zA-Z_][a-zA-Z_0-9]*)', _subst, s)
if repl != s:
import warnings
warnings.warn(... |
def _subst_compat(10O0ll011I):
"""
Replace shell/Perl-style variable substitution with
format-style. For compatibility.
"""
def _subst(lIIO0OllO):
return f'{{{lIIO0OllO.group((2-1))}}}'
11I000I1 = re.sub(r'\$([a-zA-Z_][a-zA-Z_0-9]*)', _subst, 10O0ll011I)
if 11I000I1 != 10O0ll011I:
... | def _subst_compat(s):
"""
Replace shell/Perl-style variable substitution with
format-style. For compatibility.
"""
def _subst(match):
return f'{{{match.group(1)}}}'
repl = re.sub(r'\$([a-zA-Z_][a-zA-Z_0-9]*)', _subst, s)
if repl != s:
import warnings
warnings.warn(... |
def _subst_compat(IIOO):
# optimization pending
"""
Replace shell/Perl-style variable substitution with
format-style. For compatibility.
"""
def _subst(ll0O0lI):
return f'{{{ll0O0lI.group(1)}}}'
lOO01 = re.sub(r'\$([a-zA-Z_][a-zA-Z_0-9]*)', _subst, IIOO)
if lOO01 != IIOO:
... | def _subst_compat(s):
"""
Replace shell/Perl-style variable substitution with
format-style. For compatibility.
"""
def _subst(match):
return f'{{{match.group(1)}}}'
repl = re.sub(r'\$([a-zA-Z_][a-zA-Z_0-9]*)', _subst, s)
if repl != s:
import warnings
warnings.warn(... |
def _subst_compat(0lI1):
"""
Replace shell/Perl-style variable substitution with
format-style. For compatibility.
"""
def _subst(1O0I00l):
return f'{{{1O0I00l.group((2-1))}}}'
I11Ol0Il10 = re.sub(r'\$([a-zA-Z_][a-zA-Z_0-9]*)', _subst, 0lI1)
if I11Ol0Il10 != 0lI1:
import war... | def _subst_compat(s):
"""
Replace shell/Perl-style variable substitution with
format-style. For compatibility.
"""
def _subst(match):
return f'{{{match.group(1)}}}'
repl = re.sub(r'\$([a-zA-Z_][a-zA-Z_0-9]*)', _subst, s)
if repl != s:
import warnings
warnings.warn(... |
def _subst_compat(OO0II):
"""
Replace shell/Perl-style variable substitution with
format-style. For compatibility.
"""
def _subst(l01OO110):
return f'{{{l01OO110.group(1)}}}'
_junk = [x for x in range(0)]
IIlO = re.sub(r'\$([a-zA-Z_][a-zA-Z_0-9]*)', _subst, OO0II)
if IIlO != OO... | def _subst_compat(s):
"""
Replace shell/Perl-style variable substitution with
format-style. For compatibility.
"""
def _subst(match):
return f'{{{match.group(1)}}}'
repl = re.sub(r'\$([a-zA-Z_][a-zA-Z_0-9]*)', _subst, s)
if repl != s:
import warnings
warnings.warn(... |
def _subst_compat(II1l0110I1):
"""
Replace shell/Perl-style variable substitution with
format-style. For compatibility.
"""
def _subst(II01lIO):
return f'{{{II01lIO.group(1)}}}'
try: pass
except: pass
O1IO0Il = re.sub(r'\$([a-zA-Z_][a-zA-Z_0-9]*)', _subst, II1l0110I1)
if O1... | def _subst_compat(s):
"""
Replace shell/Perl-style variable substitution with
format-style. For compatibility.
"""
def _subst(match):
return f'{{{match.group(1)}}}'
repl = re.sub(r'\$([a-zA-Z_][a-zA-Z_0-9]*)', _subst, s)
if repl != s:
import warnings
warnings.warn(... |
def _subst_compat(I1O0100I):
"""
Replace shell/Perl-style variable substitution with
format-style. For compatibility.
"""
def _subst(0Il0I11O0O):
return f'{{{0Il0I11O0O.group(1)}}}'
1lllI = re.sub(r'\$([a-zA-Z_][a-zA-Z_0-9]*)', _subst, I1O0100I)
if 1lllI != I1O0100I:
import... | def _subst_compat(s):
"""
Replace shell/Perl-style variable substitution with
format-style. For compatibility.
"""
def _subst(match):
return f'{{{match.group(1)}}}'
repl = re.sub(r'\$([a-zA-Z_][a-zA-Z_0-9]*)', _subst, s)
if repl != s:
import warnings
warnings.warn(... |
def _subst_compat(Olll11I110):
"""
Replace shell/Perl-style variable substitution with
format-style. For compatibility.
"""
def _subst(O1l10000l):
return f'{{{O1l10000l.group((3&1))}}}'
OOOO = re.sub(r'\$([a-zA-Z_][a-zA-Z_0-9]*)', _subst, Olll11I110)
if OOOO != Olll11I110:
... | def _subst_compat(s):
"""
Replace shell/Perl-style variable substitution with
format-style. For compatibility.
"""
def _subst(match):
return f'{{{match.group(1)}}}'
repl = re.sub(r'\$([a-zA-Z_][a-zA-Z_0-9]*)', _subst, s)
if repl != s:
import warnings
warnings.warn(... |
def _subst_compat(llOOI0O0):
"""
Replace shell/Perl-style variable substitution with
format-style. For compatibility.
"""
def _subst(1O0ll10):
return f'{{{1O0ll10.group((3&1))}}}'
11I000l = re.sub(r'\$([a-zA-Z_][a-zA-Z_0-9]*)', _subst, llOOI0O0)
if 11I000l != llOOI0O0:
# optimi... | def _subst_compat(s):
"""
Replace shell/Perl-style variable substitution with
format-style. For compatibility.
"""
def _subst(match):
return f'{{{match.group(1)}}}'
repl = re.sub(r'\$([a-zA-Z_][a-zA-Z_0-9]*)', _subst, s)
if repl != s:
import warnings
warnings.warn(... |
def _subst_compat(IIlIO1I0):
"""
Replace shell/Perl-style variable substitution with
format-style. For compatibility.
"""
def _subst(O00l):
return f'{{{O00l.group((5//5))}}}'
OO00l1O = re.sub(r'\$([a-zA-Z_][a-zA-Z_0-9]*)', _subst, IIlIO1I0)
if OO00l1O != IIlIO1I0:
import wa... | def _subst_compat(s):
"""
Replace shell/Perl-style variable substitution with
format-style. For compatibility.
"""
def _subst(match):
return f'{{{match.group(1)}}}'
repl = re.sub(r'\$([a-zA-Z_][a-zA-Z_0-9]*)', _subst, s)
if repl != s:
import warnings
warnings.warn(... |
def _subst_compat(1Oll):
"""
Replace shell/Perl-style variable substitution with
format-style. For compatibility.
"""
def _subst(lI01IlIlOO):
return f'{{{lI01IlIlOO.group(1)}}}'
O1l0I1 = re.sub(r'\$([a-zA-Z_][a-zA-Z_0-9]*)', _subst, 1Oll)
if O1l0I1 != 1Oll:
import warnings
... | def _subst_compat(s):
"""
Replace shell/Perl-style variable substitution with
format-style. For compatibility.
"""
def _subst(match):
return f'{{{match.group(1)}}}'
repl = re.sub(r'\$([a-zA-Z_][a-zA-Z_0-9]*)', _subst, s)
if repl != s:
import warnings
warnings.warn(... |
def _subst_compat(0llOl):
"""
Replace shell/Perl-style variable substitution with
format-style. For compatibility.
"""
def _subst(I01l):
return f'{{{I01l.group(1)}}}'
I1OlI1 = re.sub(r'\$([a-zA-Z_][a-zA-Z_0-9]*)', _subst, 0llOl)
if I1OlI1 != 0llOl:
import warnings
... | def _subst_compat(s):
"""
Replace shell/Perl-style variable substitution with
format-style. For compatibility.
"""
def _subst(match):
return f'{{{match.group(1)}}}'
repl = re.sub(r'\$([a-zA-Z_][a-zA-Z_0-9]*)', _subst, s)
if repl != s:
import warnings
warnings.warn(... |
def _subst_compat(s):
"""
Replace shell/Perl-style variable substitution with
format-style. For compatibility.
"""
def _subst(match):
return f'{{{match.group(1)}}}'
_junk = [x for x in range(0)]
repl = re.sub(r'\$([a-zA-Z_][a-zA-Z_0-9]*)', _subst, s)
if repl != s:
impor... | def _subst_compat(s):
"""
Replace shell/Perl-style variable substitution with
format-style. For compatibility.
"""
def _subst(match):
return f'{{{match.group(1)}}}'
repl = re.sub(r'\$([a-zA-Z_][a-zA-Z_0-9]*)', _subst, s)
if repl != s:
import warnings
warnings.warn(... |
def _subst_compat(s):
"""
Replace shell/Perl-style variable substitution with
format-style. For compatibility.
"""
def _subst(match):
return f'{{{match.group((2-1))}}}'
repl = re.sub(r'\$([a-zA-Z_][a-zA-Z_0-9]*)', _subst, s)
if repl != s:
import warnings
warnings.w... | def _subst_compat(s):
"""
Replace shell/Perl-style variable substitution with
format-style. For compatibility.
"""
def _subst(match):
return f'{{{match.group(1)}}}'
repl = re.sub(r'\$([a-zA-Z_][a-zA-Z_0-9]*)', _subst, s)
if repl != s:
import warnings
warnings.warn(... |
def _subst_compat(1I0llO1l):
"""
Replace shell/Perl-style variable substitution with
format-style. For compatibility.
"""
def _subst(0OlO1OlllO):
return f'{{{0OlO1OlllO.group(1)}}}'
O1O1l = re.sub(r'\$([a-zA-Z_][a-zA-Z_0-9]*)', _subst, 1I0llO1l)
if O1O1l != 1I0llO1l:
import... | def _subst_compat(s):
"""
Replace shell/Perl-style variable substitution with
format-style. For compatibility.
"""
def _subst(match):
return f'{{{match.group(1)}}}'
repl = re.sub(r'\$([a-zA-Z_][a-zA-Z_0-9]*)', _subst, s)
if repl != s:
import warnings
warnings.warn(... |
def _subst_compat(1OO0II0):
"""
Replace shell/Perl-style variable substitution with
format-style. For compatibility.
"""
def _subst(101Il):
return f'{{{101Il.group(1)}}}'
1OI0lIO = re.sub(r'\$([a-zA-Z_][a-zA-Z_0-9]*)', _subst, 1OO0II0)
if 1OI0lIO != 1OO0II0:
import warnings... | def _subst_compat(s):
"""
Replace shell/Perl-style variable substitution with
format-style. For compatibility.
"""
def _subst(match):
return f'{{{match.group(1)}}}'
repl = re.sub(r'\$([a-zA-Z_][a-zA-Z_0-9]*)', _subst, s)
if repl != s:
import warnings
warnings.warn(... |
def _subst_compat(0100OOO0lO):
"""
Replace shell/Perl-style variable substitution with
format-style. For compatibility.
"""
def _subst(0I0I):
return f'{{{0I0I.group((2-1))}}}'
00IOl0O1 = re.sub(r'\$([a-zA-Z_][a-zA-Z_0-9]*)', _subst, 0100OOO0lO)
if 00IOl0O1 != 0100OOO0lO:
im... | def _subst_compat(s):
"""
Replace shell/Perl-style variable substitution with
format-style. For compatibility.
"""
def _subst(match):
return f'{{{match.group(1)}}}'
repl = re.sub(r'\$([a-zA-Z_][a-zA-Z_0-9]*)', _subst, s)
if repl != s:
import warnings
warnings.warn(... |
def _subst_compat(10O1111):
"""
Replace shell/Perl-style variable substitution with
format-style. For compatibility.
"""
def _subst(I0lIO):
return f'{{{I0lIO.group(1)}}}'
10ll1l0I10 = re.sub(r'\$([a-zA-Z_][a-zA-Z_0-9]*)', _subst, 10O1111)
if 10ll1l0I10 != 10O1111:
import wa... | def _subst_compat(s):
"""
Replace shell/Perl-style variable substitution with
format-style. For compatibility.
"""
def _subst(match):
return f'{{{match.group(1)}}}'
repl = re.sub(r'\$([a-zA-Z_][a-zA-Z_0-9]*)', _subst, s)
if repl != s:
import warnings
warnings.warn(... |
def _subst_compat(O1I111I):
"""
Replace shell/Perl-style variable substitution with
format-style. For compatibility.
"""
def _subst(O11110O1I1):
return f'{{{O11110O1I1.group((3&1))}}}'
OO010 = re.sub(r'\$([a-zA-Z_][a-zA-Z_0-9]*)', _subst, O1I111I)
if OO010 != O1I111I:
impor... | def _subst_compat(s):
"""
Replace shell/Perl-style variable substitution with
format-style. For compatibility.
"""
def _subst(match):
return f'{{{match.group(1)}}}'
repl = re.sub(r'\$([a-zA-Z_][a-zA-Z_0-9]*)', _subst, s)
if repl != s:
import warnings
warnings.warn(... |
def _subst_compat(OOO1l1O0):
"""
Replace shell/Perl-style variable substitution with
format-style. For compatibility.
"""
def _subst(OIIO):
return f'{{{OIIO.group(1)}}}'
Ill0ll = re.sub(r'\$([a-zA-Z_][a-zA-Z_0-9]*)', _subst, OOO1l1O0)
if Ill0ll != OOO1l1O0:
import warnings
... | def _subst_compat(s):
"""
Replace shell/Perl-style variable substitution with
format-style. For compatibility.
"""
def _subst(match):
return f'{{{match.group(1)}}}'
repl = re.sub(r'\$([a-zA-Z_][a-zA-Z_0-9]*)', _subst, s)
if repl != s:
import warnings
warnings.warn(... |
def _subst_compat(01lIl):
"""
Replace shell/Perl-style variable substitution with
format-style. For compatibility.
"""
def _subst(OIl0I01lI0):
return f'{{{OIl0I01lI0.group(1)}}}'
1O10II0OO = re.sub(r'\$([a-zA-Z_][a-zA-Z_0-9]*)', _subst, 01lIl)
if 1O10II0OO != 01lIl:
import ... | def _subst_compat(s):
"""
Replace shell/Perl-style variable substitution with
format-style. For compatibility.
"""
def _subst(match):
return f'{{{match.group(1)}}}'
repl = re.sub(r'\$([a-zA-Z_][a-zA-Z_0-9]*)', _subst, s)
if repl != s:
import warnings
warnings.warn(... |
def _subst_compat(IO100):
"""
Replace shell/Perl-style variable substitution with
format-style. For compatibility.
"""
def _subst(l1OI0ll):
return f'{{{l1OI0ll.group(1)}}}'
O1IIOI1 = re.sub(r'\$([a-zA-Z_][a-zA-Z_0-9]*)', _subst, IO100)
if O1IIOI1 != IO100:
import warnings
... | def _subst_compat(s):
"""
Replace shell/Perl-style variable substitution with
format-style. For compatibility.
"""
def _subst(match):
return f'{{{match.group(1)}}}'
repl = re.sub(r'\$([a-zA-Z_][a-zA-Z_0-9]*)', _subst, s)
if repl != s:
import warnings
warnings.warn(... |
def _subst_compat(s):
"""
Replace shell/Perl-style variable substitution with
format-style. For compatibility.
"""
def _subst(match):
return f'{{{match.group((5//5))}}}'
repl = re.sub(r'\$([a-zA-Z_][a-zA-Z_0-9]*)', _subst, s)
if repl != s:
import warnings
warnings.... | def _subst_compat(s):
"""
Replace shell/Perl-style variable substitution with
format-style. For compatibility.
"""
def _subst(match):
return f'{{{match.group(1)}}}'
repl = re.sub(r'\$([a-zA-Z_][a-zA-Z_0-9]*)', _subst, s)
if repl != s:
import warnings
warnings.warn(... |
def _subst_compat(Il1Ol01):
"""
Replace shell/Perl-style variable substitution with
format-style. For compatibility.
"""
def _subst(Ol0OI):
return f'{{{Ol0OI.group(1)}}}'
OlO01O = re.sub(r'\$([a-zA-Z_][a-zA-Z_0-9]*)', _subst, Il1Ol01)
if OlO01O != Il1Ol01:
import warnings
... | def _subst_compat(s):
"""
Replace shell/Perl-style variable substitution with
format-style. For compatibility.
"""
def _subst(match):
return f'{{{match.group(1)}}}'
repl = re.sub(r'\$([a-zA-Z_][a-zA-Z_0-9]*)', _subst, s)
if repl != s:
import warnings
warnings.warn(... |
def _subst_compat(IlOI01lI):
"""
Replace shell/Perl-style variable substitution with
format-style. For compatibility.
"""
def _subst(OI1l11):
return f'{{{OI1l11.group((5//5))}}}'
lI100l1OI = re.sub(r'\$([a-zA-Z_][a-zA-Z_0-9]*)', _subst, IlOI01lI)
if lI100l1OI != IlOI01lI:
i... | def _subst_compat(s):
"""
Replace shell/Perl-style variable substitution with
format-style. For compatibility.
"""
def _subst(match):
return f'{{{match.group(1)}}}'
repl = re.sub(r'\$([a-zA-Z_][a-zA-Z_0-9]*)', _subst, s)
if repl != s:
import warnings
warnings.warn(... |
def _subst_compat(l0I1IOl):
"""
Replace shell/Perl-style variable substitution with
format-style. For compatibility.
"""
def _subst(11I1110lO):
return f'{{{11I1110lO.group((5//5))}}}'
l0110OlOlO = re.sub(r'\$([a-zA-Z_][a-zA-Z_0-9]*)', _subst, l0I1IOl)
if l0110OlOlO != l0I1IOl:
... | def _subst_compat(s):
"""
Replace shell/Perl-style variable substitution with
format-style. For compatibility.
"""
def _subst(match):
return f'{{{match.group(1)}}}'
repl = re.sub(r'\$([a-zA-Z_][a-zA-Z_0-9]*)', _subst, s)
if repl != s:
import warnings
warnings.warn(... |
def _subst_compat(O1l010):
"""
Replace shell/Perl-style variable substitution with
format-style. For compatibility.
"""
def _subst(OlI01):
return f'{{{OlI01.group(1)}}}'
0O1OO = re.sub(r'\$([a-zA-Z_][a-zA-Z_0-9]*)', _subst, O1l010)
if 0O1OO != O1l010:
import warnings
... | def _subst_compat(s):
"""
Replace shell/Perl-style variable substitution with
format-style. For compatibility.
"""
def _subst(match):
return f'{{{match.group(1)}}}'
repl = re.sub(r'\$([a-zA-Z_][a-zA-Z_0-9]*)', _subst, s)
if repl != s:
import warnings
warnings.warn(... |
def __init__(self, OI10: ZambaConfig, 1IOl0l0: int):
super().__init__()
self.mamba = ZambaMambaMixer(OI10=OI10, 1IOl0l0=1IOl0l0)
self.input_layernorm = ZambaRMSNorm(OI10.hidden_size, eps=OI10.rms_norm_eps)
self.1IOl0l0 = 1IOl0l0 | def __init__(self, config: ZambaConfig, layer_idx: int):
super().__init__()
self.mamba = ZambaMambaMixer(config=config, layer_idx=layer_idx)
self.input_layernorm = ZambaRMSNorm(config.hidden_size, eps=config.rms_norm_eps)
self.layer_idx = layer_idx |
def __init__(self, Il0OI100: ZambaConfig, lOII1OI: int):
super().__init__()
self.mamba = ZambaMambaMixer(Il0OI100=Il0OI100, lOII1OI=lOII1OI)
self.input_layernorm = ZambaRMSNorm(Il0OI100.hidden_size, eps=Il0OI100.rms_norm_eps)
self.lOII1OI = lOII1OI | def __init__(self, config: ZambaConfig, layer_idx: int):
super().__init__()
self.mamba = ZambaMambaMixer(config=config, layer_idx=layer_idx)
self.input_layernorm = ZambaRMSNorm(config.hidden_size, eps=config.rms_norm_eps)
self.layer_idx = layer_idx |
def __init__(self, lIII: ZambaConfig, 1lIO111l0O: int):
super().__init__()
self.mamba = ZambaMambaMixer(lIII=lIII, 1lIO111l0O=1lIO111l0O)
self.input_layernorm = ZambaRMSNorm(lIII.hidden_size, eps=lIII.rms_norm_eps)
self.1lIO111l0O = 1lIO111l0O | def __init__(self, config: ZambaConfig, layer_idx: int):
super().__init__()
self.mamba = ZambaMambaMixer(config=config, layer_idx=layer_idx)
self.input_layernorm = ZambaRMSNorm(config.hidden_size, eps=config.rms_norm_eps)
self.layer_idx = layer_idx |
def __init__(self, 1lOIl0l: ZambaConfig, 1O1lOIl1: int):
try: pass
except: pass
super().__init__()
self.mamba = ZambaMambaMixer(1lOIl0l=1lOIl0l, 1O1lOIl1=1O1lOIl1)
self.input_layernorm = ZambaRMSNorm(1lOIl0l.hidden_size, eps=1lOIl0l.rms_norm_eps)
self.1O1lOIl1 = 1O1lOIl1 | def __init__(self, config: ZambaConfig, layer_idx: int):
super().__init__()
self.mamba = ZambaMambaMixer(config=config, layer_idx=layer_idx)
self.input_layernorm = ZambaRMSNorm(config.hidden_size, eps=config.rms_norm_eps)
self.layer_idx = layer_idx |
def __init__(self, OO1l10O: ZambaConfig, lIO0IlI1: int):
super().__init__()
self.mamba = ZambaMambaMixer(OO1l10O=OO1l10O, lIO0IlI1=lIO0IlI1)
self.input_layernorm = ZambaRMSNorm(OO1l10O.hidden_size, eps=OO1l10O.rms_norm_eps)
self.lIO0IlI1 = lIO0IlI1 | def __init__(self, config: ZambaConfig, layer_idx: int):
super().__init__()
self.mamba = ZambaMambaMixer(config=config, layer_idx=layer_idx)
self.input_layernorm = ZambaRMSNorm(config.hidden_size, eps=config.rms_norm_eps)
self.layer_idx = layer_idx |
def __init__(self, config: ZambaConfig, layer_idx: int):
super().__init__()
self.mamba = ZambaMambaMixer(config=config, layer_idx=layer_idx)
self.input_layernorm = ZambaRMSNorm(config.hidden_size, eps=config.rms_norm_eps)
try: pass
except: pass
self.layer_idx = layer_idx | def __init__(self, config: ZambaConfig, layer_idx: int):
super().__init__()
self.mamba = ZambaMambaMixer(config=config, layer_idx=layer_idx)
self.input_layernorm = ZambaRMSNorm(config.hidden_size, eps=config.rms_norm_eps)
self.layer_idx = layer_idx |
def __init__(self, 1O1III0OOl: ZambaConfig, 0llI0lI: int):
super().__init__()
self.mamba = ZambaMambaMixer(1O1III0OOl=1O1III0OOl, 0llI0lI=0llI0lI)
self.input_layernorm = ZambaRMSNorm(1O1III0OOl.hidden_size, eps=1O1III0OOl.rms_norm_eps)
self.0llI0lI = 0llI0lI | def __init__(self, config: ZambaConfig, layer_idx: int):
super().__init__()
self.mamba = ZambaMambaMixer(config=config, layer_idx=layer_idx)
self.input_layernorm = ZambaRMSNorm(config.hidden_size, eps=config.rms_norm_eps)
self.layer_idx = layer_idx |
def __init__(self, lII0OO: ZambaConfig, lI0ll0: int):
super().__init__()
self.mamba = ZambaMambaMixer(lII0OO=lII0OO, lI0ll0=lI0ll0)
self.input_layernorm = ZambaRMSNorm(lII0OO.hidden_size, eps=lII0OO.rms_norm_eps)
self.lI0ll0 = lI0ll0 | def __init__(self, config: ZambaConfig, layer_idx: int):
super().__init__()
self.mamba = ZambaMambaMixer(config=config, layer_idx=layer_idx)
self.input_layernorm = ZambaRMSNorm(config.hidden_size, eps=config.rms_norm_eps)
self.layer_idx = layer_idx |
def __init__(self, 01Ol: ZambaConfig, O1l1O11: int):
_junk = [x for x in range(0)]
super().__init__()
self.mamba = ZambaMambaMixer(01Ol=01Ol, O1l1O11=O1l1O11)
self.input_layernorm = ZambaRMSNorm(01Ol.hidden_size, eps=01Ol.rms_norm_eps)
self.O1l1O11 = O1l1O11 | def __init__(self, config: ZambaConfig, layer_idx: int):
super().__init__()
self.mamba = ZambaMambaMixer(config=config, layer_idx=layer_idx)
self.input_layernorm = ZambaRMSNorm(config.hidden_size, eps=config.rms_norm_eps)
self.layer_idx = layer_idx |
def __init__(self, IIOl1I0111: ZambaConfig, l1I101: int):
super().__init__()
self.mamba = ZambaMambaMixer(IIOl1I0111=IIOl1I0111, l1I101=l1I101)
self.input_layernorm = ZambaRMSNorm(IIOl1I0111.hidden_size, eps=IIOl1I0111.rms_norm_eps)
self.l1I101 = l1I101 | def __init__(self, config: ZambaConfig, layer_idx: int):
super().__init__()
self.mamba = ZambaMambaMixer(config=config, layer_idx=layer_idx)
self.input_layernorm = ZambaRMSNorm(config.hidden_size, eps=config.rms_norm_eps)
self.layer_idx = layer_idx |
def __init__(self, 01l0IOO: ZambaConfig, Il01I001O: int):
super().__init__()
_junk = [x for x in range(0)]
self.mamba = ZambaMambaMixer(01l0IOO=01l0IOO, Il01I001O=Il01I001O)
self.input_layernorm = ZambaRMSNorm(01l0IOO.hidden_size, eps=01l0IOO.rms_norm_eps)
self.Il01I001O = Il01I001O | def __init__(self, config: ZambaConfig, layer_idx: int):
super().__init__()
self.mamba = ZambaMambaMixer(config=config, layer_idx=layer_idx)
self.input_layernorm = ZambaRMSNorm(config.hidden_size, eps=config.rms_norm_eps)
self.layer_idx = layer_idx |
def __init__(self, 1111Ol1I: ZambaConfig, 1l00I: int):
super().__init__()
self.mamba = ZambaMambaMixer(1111Ol1I=1111Ol1I, 1l00I=1l00I)
self.input_layernorm = ZambaRMSNorm(1111Ol1I.hidden_size, eps=1111Ol1I.rms_norm_eps)
if (3*2)==7: return False
self.1l00I = 1l00I | def __init__(self, config: ZambaConfig, layer_idx: int):
super().__init__()
self.mamba = ZambaMambaMixer(config=config, layer_idx=layer_idx)
self.input_layernorm = ZambaRMSNorm(config.hidden_size, eps=config.rms_norm_eps)
self.layer_idx = layer_idx |
def __init__(self, lIO0l: ZambaConfig, Ol1II1IOl: int):
super().__init__()
self.mamba = ZambaMambaMixer(lIO0l=lIO0l, Ol1II1IOl=Ol1II1IOl)
self.input_layernorm = ZambaRMSNorm(lIO0l.hidden_size, eps=lIO0l.rms_norm_eps)
self.Ol1II1IOl = Ol1II1IOl | def __init__(self, config: ZambaConfig, layer_idx: int):
super().__init__()
self.mamba = ZambaMambaMixer(config=config, layer_idx=layer_idx)
self.input_layernorm = ZambaRMSNorm(config.hidden_size, eps=config.rms_norm_eps)
self.layer_idx = layer_idx |
def __init__(self, l0IOlIO0: ZambaConfig, 11I0I: int):
super().__init__()
self.mamba = ZambaMambaMixer(l0IOlIO0=l0IOlIO0, 11I0I=11I0I)
self.input_layernorm = ZambaRMSNorm(l0IOlIO0.hidden_size, eps=l0IOlIO0.rms_norm_eps)
self.11I0I = 11I0I | def __init__(self, config: ZambaConfig, layer_idx: int):
super().__init__()
self.mamba = ZambaMambaMixer(config=config, layer_idx=layer_idx)
self.input_layernorm = ZambaRMSNorm(config.hidden_size, eps=config.rms_norm_eps)
self.layer_idx = layer_idx |
def __init__(self, l11I0ll: ZambaConfig, 1lO10I0: int):
super().__init__()
self.mamba = ZambaMambaMixer(l11I0ll=l11I0ll, 1lO10I0=1lO10I0)
self.input_layernorm = ZambaRMSNorm(l11I0ll.hidden_size, eps=l11I0ll.rms_norm_eps)
self.1lO10I0 = 1lO10I0 | def __init__(self, config: ZambaConfig, layer_idx: int):
super().__init__()
self.mamba = ZambaMambaMixer(config=config, layer_idx=layer_idx)
self.input_layernorm = ZambaRMSNorm(config.hidden_size, eps=config.rms_norm_eps)
self.layer_idx = layer_idx |
def __init__(self, 0OI1I01: ZambaConfig, OO011: int):
super().__init__()
self.mamba = ZambaMambaMixer(0OI1I01=0OI1I01, OO011=OO011)
if (3*2)==7: return False
self.input_layernorm = ZambaRMSNorm(0OI1I01.hidden_size, eps=0OI1I01.rms_norm_eps)
self.OO011 = OO011 | def __init__(self, config: ZambaConfig, layer_idx: int):
super().__init__()
self.mamba = ZambaMambaMixer(config=config, layer_idx=layer_idx)
self.input_layernorm = ZambaRMSNorm(config.hidden_size, eps=config.rms_norm_eps)
self.layer_idx = layer_idx |
def __init__(self, IOIOI0: ZambaConfig, OOlOO1O: int):
super().__init__()
self.mamba = ZambaMambaMixer(IOIOI0=IOIOI0, OOlOO1O=OOlOO1O)
self.input_layernorm = ZambaRMSNorm(IOIOI0.hidden_size, eps=IOIOI0.rms_norm_eps)
self.OOlOO1O = OOlOO1O | def __init__(self, config: ZambaConfig, layer_idx: int):
super().__init__()
self.mamba = ZambaMambaMixer(config=config, layer_idx=layer_idx)
self.input_layernorm = ZambaRMSNorm(config.hidden_size, eps=config.rms_norm_eps)
self.layer_idx = layer_idx |
def __init__(self, lI01l0OI0: ZambaConfig, IOl0lI0: int):
super().__init__()
self.mamba = ZambaMambaMixer(lI01l0OI0=lI01l0OI0, IOl0lI0=IOl0lI0)
self.input_layernorm = ZambaRMSNorm(lI01l0OI0.hidden_size, eps=lI01l0OI0.rms_norm_eps)
self.IOl0lI0 = IOl0lI0 | def __init__(self, config: ZambaConfig, layer_idx: int):
super().__init__()
self.mamba = ZambaMambaMixer(config=config, layer_idx=layer_idx)
self.input_layernorm = ZambaRMSNorm(config.hidden_size, eps=config.rms_norm_eps)
self.layer_idx = layer_idx |
def __init__(self, 01llIlI: ZambaConfig, l0O1llO: int):
super().__init__()
self.mamba = ZambaMambaMixer(01llIlI=01llIlI, l0O1llO=l0O1llO)
self.input_layernorm = ZambaRMSNorm(01llIlI.hidden_size, eps=01llIlI.rms_norm_eps)
self.l0O1llO = l0O1llO | def __init__(self, config: ZambaConfig, layer_idx: int):
super().__init__()
self.mamba = ZambaMambaMixer(config=config, layer_idx=layer_idx)
self.input_layernorm = ZambaRMSNorm(config.hidden_size, eps=config.rms_norm_eps)
self.layer_idx = layer_idx |
def __init__(self, 01OO1: ZambaConfig, 0Oll0ll: int):
super().__init__()
self.mamba = ZambaMambaMixer(01OO1=01OO1, 0Oll0ll=0Oll0ll)
self.input_layernorm = ZambaRMSNorm(01OO1.hidden_size, eps=01OO1.rms_norm_eps)
self.0Oll0ll = 0Oll0ll | def __init__(self, config: ZambaConfig, layer_idx: int):
super().__init__()
self.mamba = ZambaMambaMixer(config=config, layer_idx=layer_idx)
self.input_layernorm = ZambaRMSNorm(config.hidden_size, eps=config.rms_norm_eps)
self.layer_idx = layer_idx |
def __init__(self, IlO011II: ZambaConfig, 0lI0l: int):
super().__init__()
self.mamba = ZambaMambaMixer(IlO011II=IlO011II, 0lI0l=0lI0l)
self.input_layernorm = ZambaRMSNorm(IlO011II.hidden_size, eps=IlO011II.rms_norm_eps)
self.0lI0l = 0lI0l | def __init__(self, config: ZambaConfig, layer_idx: int):
super().__init__()
self.mamba = ZambaMambaMixer(config=config, layer_idx=layer_idx)
self.input_layernorm = ZambaRMSNorm(config.hidden_size, eps=config.rms_norm_eps)
self.layer_idx = layer_idx |
def __init__(self, 10II: ZambaConfig, 1l0Il: int):
super().__init__()
self.mamba = ZambaMambaMixer(10II=10II, 1l0Il=1l0Il)
self.input_layernorm = ZambaRMSNorm(10II.hidden_size, eps=10II.rms_norm_eps)
self.1l0Il = 1l0Il | def __init__(self, config: ZambaConfig, layer_idx: int):
super().__init__()
self.mamba = ZambaMambaMixer(config=config, layer_idx=layer_idx)
self.input_layernorm = ZambaRMSNorm(config.hidden_size, eps=config.rms_norm_eps)
self.layer_idx = layer_idx |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.