Rocksolid Light

Welcome to RetroBBS

mail  files  register  newsreader  groups  login

Message-ID:  

History tends to exaggerate. -- Col. Green, "The Savage Curtain", stardate 5906.4


devel / comp.lang.python / Re: why this code giving recursion error????

SubjectAuthor
o Re: why this code giving recursion error????נתי שטרן

1
Re: why this code giving recursion error????

<mailman.717.1656240620.20749.python-list@python.org>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=23176&group=comp.lang.python#23176

  copy link   Newsgroups: comp.lang.python
Path: i2pn2.org!i2pn.org!news.swapon.de!fu-berlin.de!uni-berlin.de!not-for-mail
From: nsh531@gmail.com (נתי שטרן)
Newsgroups: comp.lang.python
Subject: Re: why this code giving recursion error????
Date: Sun, 26 Jun 2022 13:50:01 +0300
Lines: 84
Message-ID: <mailman.717.1656240620.20749.python-list@python.org>
References: <CAC8x_z3-WSQ6tT6hHk9LQQ4DngE38FEyX57PRNFdit77tZOZxQ@mail.gmail.com>
<CAC8x_z3hiFwtF7gPGpwipPtjmzypRcKdgtWX6MLnyTzBxfgQRA@mail.gmail.com>
Mime-Version: 1.0
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Trace: news.uni-berlin.de iMDeNtM39zc3+bZaeO+UMwFvU2BYHb+VpMtOdOE/Bvcw==
Return-Path: <nsh531@gmail.com>
X-Original-To: python-list@python.org
Delivered-To: python-list@mail.python.org
Authentication-Results: mail.python.org; dkim=pass
reason="2048-bit key; unprotected key"
header.d=gmail.com header.i=@gmail.com header.b=MwcE+9Du;
dkim-adsp=pass; dkim-atps=neutral
X-Spam-Status: OK 0.129
X-Spam-Level: *
X-Spam-Evidence: '*H*': 0.78; '*S*': 0.04; 'def': 0.04; '2022': 0.05;
'subject:error': 0.07; 'else:': 0.09; 'flags': 0.09; 'parse':
0.09; '1005': 0.16; 'nested': 0.16; 'repeated': 0.16;
'subject:code': 0.16; '\xc2\xa0file': 0.16; 'to:addr:python-list':
0.20; 'to:no real name:2**1': 0.22; 'code': 0.23; 'pattern': 0.26;
'code,': 0.31; 'message-id:@mail.gmail.com': 0.32; 'header:In-
Reply-To:1': 0.34; 'received:google.com': 0.34;
'from:addr:gmail.com': 0.35; 'received:209.85': 0.37; 'class':
0.37; 'file': 0.38; 'received:209': 0.39; 'list': 0.39; 'format':
0.62; 'internal': 0.63; 'from:charset:utf-8': 0.64; '8bit%:9':
0.64; 'skip:r 20': 0.64; '&amp;': 0.65; 'subject:this': 0.67;
'url-ip:lookup error': 0.70; 'skip:\xe2 10': 0.71; '8bit%:100':
0.76; 'bottle': 0.84; 'skip:" 40': 0.84; 'skip:& 50': 0.84; 'url-
ip:142.251.36.1/32': 0.84; 'url:ci3': 0.84; 'url:ml': 0.84;
'router': 0.91
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112;
h=mime-version:references:in-reply-to:from:date:message-id:subject:to;
bh=9Uhj5yKqJEpy+b/X09lCmhMIHIBtY8tpbKWwDAk4c+c=;
b=MwcE+9DuyfHuvGlbllgyt/F+cmk0uZN35FPiMDsUJbRwExCJfORCuTMxo6BL7Rip79
MhMDuwZcuclEILa3aV2TtNVu0OnB6QAHK6Q9HVHtqahOerNdMLEqZZ39MU+kiH+1jMeB
AoWz0RNYLvNXc4nVblRjxoUhsczLW/CDVZzEU0hQo83fwSfgqWwRrq6hyK5Las3AFgS9
QEsQJIMVfagY+Qe+HqI4kLJ2zyx2StdiK5O2gJ83Dw32KTgm0LvLDIPGGKXgsjOBXJBv
e1AVwOxeCxemKyca+i+J5puLocOVR27joM+YE4Jshlw+Z14zD60G5rBdIQYyBsBQK7Yu
IYEA==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=1e100.net; s=20210112;
h=x-gm-message-state:mime-version:references:in-reply-to:from:date
:message-id:subject:to;
bh=9Uhj5yKqJEpy+b/X09lCmhMIHIBtY8tpbKWwDAk4c+c=;
b=BhhMGKKCbPNkYFd85+Rl2oiJ9x0hFVG7uyjp1bYhO1nioBTJPp1X+Z2Mv/aTpZmbaK
YQppbni4m25T7kKftyk2bGt2bHFf29HqP64RoI6YGNCiBkDUWkWKDbreJVFoBMtCoazW
MG+HGsWO4wWr1/mOzt1HF15qL3PvhCiNC5XGafRZlceNY7WL0ux0K0DS+CYLKAdIPPhG
0S+SvlcRfVfYTN3H4usnaznb9bcHzm6tA9R0NymiTmPwYVhPxWdZGw0etHWeEMRg8zYV
UND5oJk0bO/1C6/9DkJO7wR8eLB5RPD3It1zOfZKGQNkt0HoDObrWDSf0VONdoP3VLBS
eOzA==
X-Gm-Message-State: AJIora9kTkr8ZueDk/rwYuqd9SNxMJChEA2s3f7tlDAYkfPBMXJsaSQG
Z3ok/2gmOsvQN77bXbPHYH95liqhCAdAMnx2XRaYBS3Llv0=
X-Google-Smtp-Source: AGRyM1tumRY6gHE68Ny6K1R3fZKS9bS53cJ2gU7NqXifCO6OxvcBdyoEAEKxmUQB0UvuMgc5W+K7gUM6oCxrAsnINEU=
X-Received: by 2002:a17:902:ec8e:b0:16a:2d25:aa5b with SMTP id
x14-20020a170902ec8e00b0016a2d25aa5bmr8455948plg.69.1656240613261; Sun, 26
Jun 2022 03:50:13 -0700 (PDT)
In-Reply-To: <CAC8x_z3-WSQ6tT6hHk9LQQ4DngE38FEyX57PRNFdit77tZOZxQ@mail.gmail.com>
X-Content-Filtered-By: Mailman/MimeDel 2.1.39
X-BeenThere: python-list@python.org
X-Mailman-Version: 2.1.39
Precedence: list
List-Id: General discussion list for the Python programming language
<python-list.python.org>
List-Unsubscribe: <https://mail.python.org/mailman/options/python-list>,
<mailto:python-list-request@python.org?subject=unsubscribe>
List-Archive: <https://mail.python.org/pipermail/python-list/>
List-Post: <mailto:python-list@python.org>
List-Help: <mailto:python-list-request@python.org?subject=help>
List-Subscribe: <https://mail.python.org/mailman/listinfo/python-list>,
<mailto:python-list-request@python.org?subject=subscribe>
X-Mailman-Original-Message-ID: <CAC8x_z3hiFwtF7gPGpwipPtjmzypRcKdgtWX6MLnyTzBxfgQRA@mail.gmail.com>
X-Mailman-Original-References: <CAC8x_z3-WSQ6tT6hHk9LQQ4DngE38FEyX57PRNFdit77tZOZxQ@mail.gmail.com>
 by: נתי שטרן - Sun, 26 Jun 2022 10:50 UTC

stack trace:

File "\\Weank-fs\users$\NetanelST\ORACLE\RTR.py", line 5387, in <module>
class bottle:
File "\\Weank-fs\users$\NetanelST\ORACLE\RTR.py", line 5694, in bottle
class Router(object):
File "\\Weank-fs\users$\NetanelST\ORACLE\RTR.py", line 5736, in Router
rule_syntax = re.compile('(\\\\*)'
File "\\Weank-fs\users$\NetanelST\ORACLE\RTR.py", line 375, in compile
return sre_compile.compile(pattern, flags)
File "\\Weank-fs\users$\NetanelST\ORACLE\RTR.py", line 2752, in compile
return sre_compile.compile(
File "\\Weank-fs\users$\NetanelST\ORACLE\RTR.py", line 2752, in compile
return sre_compile.compile(
File "\\Weank-fs\users$\NetanelST\ORACLE\RTR.py", line 2752, in compile
return sre_compile.compile(
[Previous line repeated 1005 more times]
File "\\Weank-fs\users$\NetanelST\ORACLE\RTR.py", line 2736, in compile
p = sre_parse.parse(p, flags)
File "\\Weank-fs\users$\NetanelST\ORACLE\RTR.py", line 1822, in parse
p = sre_parse._parse_sub(source, state, flags & SRE_FLAG_VERBOSE, 0)
File "\\Weank-fs\users$\NetanelST\ORACLE\RTR.py", line 1234, in _parse_sub
itemsappend(sre_parse._parse(source, state, verbose, nested + 1,
File "\\Weank-fs\users$\NetanelST\ORACLE\RTR.py", line 1708, in _parse
p = sre_parse._parse_sub(source, state, sub_verbose, nested + 1)
File "\\Weank-fs\users$\NetanelST\ORACLE\RTR.py", line 1234, in _parse_sub
itemsappend(sre_parse._parse(source, state, verbose, nested + 1,
File "\\Weank-fs\users$\NetanelST\ORACLE\RTR.py", line 1708, in _parse
p = sre_parse._parse_sub(source, state, sub_verbose, nested + 1)
File "\\Weank-fs\users$\NetanelST\ORACLE\RTR.py", line 1234, in _parse_sub
itemsappend(sre_parse._parse(source, state, verbose, nested + 1,
File "\\Weank-fs\users$\NetanelST\ORACLE\RTR.py", line 1707, in _parse
not (del_flags & SRE_FLAG_VERBOSE))
File "C:\Program
Files\WindowsApps\PythonSoftwareFoundation.Python.3.10_3.10.1520.0_x64__qbz5n2kfra8p0\lib\enum.py",
line 987, in __and__
if not isinstance(other, (self.__class__, int)):

‫בתאריך יום א׳, 26 ביוני 2022 ב-13:48 מאת נתי שטרן <‪nsh531@gmail.com‬‏>:‬

> def compile(p, flags=0):
> # internal: convert pattern list to internal format
>
> if (isinstance(p,str)):
> pattern = p
> p = sre_parse.parse(p, flags)
> else:
> pattern = None
>
> code = _code(p, flags)
>
> if flags & SRE_FLAG_DEBUG:
> print()
> dis(code)
>
> # map in either direction
> groupindex = p.state.groupdict
> indexgroup = [None] * p.state.groups
> for k, i in groupindex.items():
> indexgroup[i] = k
>
> return sre_compile.compile(
> pattern, flags | p.state.flags, code,
> p.state.groups-1,
> groupindex, tuple(indexgroup)
> )
>
>
> --
> <https://netanel.ml>
>

--
<https://netanel.ml>


devel / comp.lang.python / Re: why this code giving recursion error????

1
server_pubkey.txt

rocksolid light 0.9.81
clearnet tor