✘✘ GRAYBYTE WORDPRESS FILE MANAGER ✘✘

​🇳​​🇦​​🇲​​🇪♯➤ beluga.o2switch.net ​🇻​♯➤ 4.18.0-553.123.2.lve.el8.x86_64 #1 SMP 🇾​♯➤ 2026

𝗛𝗢𝗠𝗘 𝗜𝗗 ♯➤ 185.154.139.77 ♯➤ 𝗔𝗗𝗠𝗜𝗡 𝗜𝗗 216.73.216.84
𝗢𝗣𝗧𝗜𝗢𝗡𝗦 ♯ CRL ♯➤ 𝗢𝗞 ┃ WGT ♯➤ 𝗢𝗞 ┃ SDO ♯➤ 𝗢𝗙𝗙 ┃ PKEX ♯➤ 𝗢𝗙𝗙
𝗗𝗘𝗔𝗖𝗧𝗜𝗩𝗔𝗧𝗘𝗗 ♯➤ 𝗔𝗟𝗟 𝗪𝗢𝗥𝗞𝗜𝗡𝗚....
𝗖𝗨𝗥𝗥𝗘𝗡𝗧 𝗙𝗜𝗟𝗘 : /opt/alt/python34/lib64/python3.4/Doc/tools/extensions/__pycache__//suspicious.cpython-34.pyo
�
e f�$�@s�dZddlZddlZddlZddlZddlmZddlmZej	dej
ejB�jZ
ejdkZGdd�d�ZGd	d
�d
ej�ZGdd�de�Zd
d�Zdd�ZGdd�dej�ZdS)a�
Try to detect suspicious constructs, resembling markup
that has leaked into the final output.

Suspicious lines are reported in a comma-separated-file,
``suspicious.csv``, located in the output directory.

The file is utf-8 encoded, and each line contains four fields:

 * document name (normalized)
 * line number in the source document
 * problematic text
 * complete line showing the problematic text in context

It is common to find many false positives. To avoid reporting them
again and again, they may be added to the ``ignored.csv`` file
(located in the configuration directory). The file has the same
format as ``suspicious.csv`` with a few differences:

  - each line defines a rule; if the rule matches, the issue
    is ignored.
  - line number may be empty (that is, nothing between the
    commas: ",,"). In this case, line numbers are ignored (the
    rule matches anywhere in the file).
  - the last field does not have to be a complete line; some
    surrounding text (never more than a line) is enough for
    context.

Rules are processed sequentially. A rule matches when:

 * document names are the same
 * problematic texts are the same
 * line numbers are close to each other (5 lines up or down)
 * the rule text is completely contained into the source line

The simplest way to create the ignored.csv file is by copying
undesired entries from suspicious.csv (possibly trimming the last
field.)

Copyright 2009 Gabriel A. Genellina

�N)�nodes)�Builderz�
    ::(?=[^=])|            # two :: (but NOT ::=)
    :[a-zA-Z][a-zA-Z0-9]+| # :foo
    `|                     # ` (seldom used by itself)
    (?<!\.)\.\.[ \t]*\w+:  # .. foo: (but NOT ... else:)
    �c@s(eZdZdd�Zdd�ZdS)�RulecCs1||_||_||_||_d|_dS)zA rule for ignoring issuesFN)�docname�lineno�issue�line�used)�selfrrrr	�r�D/opt/alt/python34/lib64/python3.4/Doc/tools/extensions/suspicious.py�__init__?s
				z
Rule.__init__cCs
dj|�S)Nz{0.docname},,{0.issue},{0.line})�format)rrrr
�__repr__Isz
Rule.__repr__N)�__name__�
__module__�__qualname__rrrrrr
r>s
rc@seZdZdZdZdS)�dialectz+Our dialect: uses only linefeed as newline.�
N)rrr�__doc__Zlineterminatorrrrr
rNsrc@s�eZdZdZdZdd�Zdd�Zddd	�Zd
d�Zdd
�Z	dd�Z
dd�Zdd�Zdd�Z
dd�Zdd�ZdS)�CheckSuspiciousMarkupBuilderzK
    Checks for possibly invalid markup that may leak into the output.
    Z
suspiciouscCs`tjj|jd�|_t|jd�j�|jtjjtjjt	�dd��dS)Nzsuspicious.csv�wz..zsusp-ignored.csv)
�os�path�joinZoutdir�
log_file_name�open�close�
load_rules�dirname�__file__)rrrr
�initYs!z!CheckSuspiciousMarkupBuilder.initcCs
|jjS)N)�envZ
found_docs)rrrr
�get_outdated_docsasz.CheckSuspiciousMarkupBuilder.get_outdated_docsNcCsdS)N�r)rr�typrrr
�get_target_uridsz+CheckSuspiciousMarkupBuilder.get_target_uricCsdS)Nr)rZdocnamesrrr
�prepare_writinggsz,CheckSuspiciousMarkupBuilder.prepare_writingcCs2d|_||_t||�}|j|�dS)NF)�	any_issuer�SuspiciousVisitor�walk)rrZdoctreeZvisitorrrr
�	write_docjs		z&CheckSuspiciousMarkupBuilder.write_doccCsmdd�|jD�}|ri|jdt|�t|j�f�x$|D]}|jt|��qIWndS)NcSsg|]}|js|�qSr)r
)�.0�rulerrr
�
<listcomp>rs	z7CheckSuspiciousMarkupBuilder.finish.<locals>.<listcomp>zFound %s/%s unused rules:)�rules�warn�len�info�repr)rZunused_rulesr.rrr
�finishqs	
z#CheckSuspiciousMarkupBuilder.finishcCs/|j|||�s+|j|||�ndS)N)�
is_ignored�report_issue)rr	rrrrr
�check_issuezsz(CheckSuspiciousMarkupBuilder.check_issuecCs�|j}x�|jD]}}|j|kr.qn|j|krCqn|j|krXqn|jdk	r�t|j|�dkr�qnd|_dSWdS)z/Determine whether this issue should be ignored.N�TF)rr0rr	r�absr
)rr	rrrr.rrr
r6~s		z'CheckSuspiciousMarkupBuilder.is_ignoredcCs�|js|j�nd|_|j|||�tr[|jd|j|||f�n\|jd|jjtj�d�||jtj�d�|j	�jtj�d�f�d|j
_dS)NTz[%s:%d] "%s" found in "%-.120s"�replace�)r)r3�write_log_entry�py3r1r�encode�sys�getdefaultencoding�stripZappZ
statuscode)r�textrrrrr
r7�s	
			#z)CheckSuspiciousMarkupBuilder.report_issuecCs�trYt|jd�}tj|t�}|j|j|||j�g�|j	�nkt|jd�}tj|t�}|j|jj
d�||j
d�|j�j
d�g�|j	�dS)N�aZabzutf-8)r>rr�csv�writerrZwriterowrrBrr?)rrrrC�frFrrr
r=�s"
z,CheckSuspiciousMarkupBuilder.write_log_entrycCsi|jddd�g|_}y+tr;t|d�}nt|d�}Wntk
rcdSYnXx�ttj|��D]�\}}t|�dkr�t	d||d|f��n|\}}}}	|r�t
|�}nd}ts|jd	�}|jd	�}|	jd	�}	nt||||	�}
|j
|
�qzW|j�|jd
t|j��dS)z�Load database of previously ignored issues.

        A csv file, with exactly the same format as suspicious.csv
        Fields: document name (normalized), line number, issue, surrounding text
        zloading ignore rules... Znonlr<�r�rbN�zwrong format in %s, line %d: %szutf-8zdone, %d rules loaded)r3r0r>r�IOError�	enumeraterE�readerr2�
ValueError�int�decoder�appendr)r�filenamer0rG�i�rowrrrrCr.rrr
r�s0

	"
z'CheckSuspiciousMarkupBuilder.load_rules)rrrr�namer"r$r'r(r,r5r8r6r7r=rrrrr
rSs	rcCs5d}x(|dkr0|r0|j}|j}q	W|S)z*Obtain line number information for a node.N)�parentr	)�noderrrr
�
get_lineno�s
	
rXcCsT|jdd|�d}|jd|�}|dkrFt|�}n|||�S)a text may be a multiline string; extract
    only the line containing the given character index.

    >>> extract_line("abc
defgh
i", 6)
    >>> 'defgh'
    >>> for i in (0, 2, 3, 4, 10):
    ...   print extract_line("abc
defgh
i", i)
    abc
    abc
    abc
    defgh
    defgh
    i
    rrr<)�rfind�findr2)rC�index�p�qrrr
�extract_line�s
r^c@sLeZdZdZdd�Zdd�ZeZdd�Zdd	�Zd
S)r*rcCs tjj||�||_dS)N)r�GenericNodeVisitorr�builder)rZdocumentr`rrr
r�szSuspiciousVisitor.__init__cCs�t|tjtjf�r�|j�}tt|�p9d|j�|_}t�}xvt	|�D]e}|j
�}t||j��}||f|krb|j
j|||�|j||f�qbqbWndS)Nr)�
isinstancerZTextZimageZastext�maxrX�
lastlineno�set�
detect_all�groupr^�startr`r8�add)rrWrCr�seen�matchrr	rrr
�
default_visit�s%	zSuspiciousVisitor.default_visitcCs
d|_dS)Nr)rc)rrWrrr
�visit_document
sz SuspiciousVisitor.visit_documentcCs
tj�dS)N)rZSkipNode)rrWrrr
�
visit_comment
szSuspiciousVisitor.visit_commentN)	rrrrcrrkZ
unknown_visitrlrmrrrr
r*�s
r*)rr)rr�rerEr@ZdocutilsrZsphinx.buildersr�compile�UNICODE�VERBOSE�finditerre�version_infor>rZexcelrrrXr^r_r*rrrr
�<module>*s�	

Current_dir [ 𝗡𝗢𝗧 𝗪𝗥𝗜𝗧𝗘𝗔𝗕𝗟𝗘 ] Document_root [ 𝗪𝗥𝗜𝗧𝗘𝗔𝗕𝗟𝗘 ]

Current_dir [ 𝗡𝗢𝗧 𝗪𝗥𝗜𝗧𝗘𝗔𝗕𝗟𝗘 ] Document_root [ 𝗪𝗥𝗜𝗧𝗘𝗔𝗕𝗟𝗘 ]


[ Back ]
𝗡𝗔𝗠𝗘
𝗦𝗜𝗭𝗘
𝗟𝗔𝗦𝗧 𝗧𝗢𝗨𝗖𝗛
𝗨𝗦𝗘𝗥
𝗦𝗧𝗔𝗧𝗨𝗦
𝗙𝗨𝗡𝗖𝗧𝗜𝗢𝗡𝗦
..
--
25 Jul 2024 8.41 AM
root / linksafe
0755
c_annotations.cpython-34.pyc
3.772 KB
17 Apr 2024 5.10 PM
root / linksafe
0644
c_annotations.cpython-34.pyo
3.772 KB
17 Apr 2024 5.10 PM
root / linksafe
0644
patchlevel.cpython-34.pyc
2.06 KB
17 Apr 2024 5.10 PM
root / linksafe
0644
patchlevel.cpython-34.pyo
2.06 KB
17 Apr 2024 5.10 PM
root / linksafe
0644
pyspecific.cpython-34.pyc
13.144 KB
17 Apr 2024 5.10 PM
root / linksafe
0644
pyspecific.cpython-34.pyo
13.144 KB
17 Apr 2024 5.10 PM
root / linksafe
0644
suspicious.cpython-34.pyc
9.211 KB
17 Apr 2024 5.10 PM
root / linksafe
0644
suspicious.cpython-34.pyo
9.211 KB
17 Apr 2024 5.10 PM
root / linksafe
0644

✘✘ GRAYBYTE WORDPRESS FILE MANAGER @ 2026 CONTACT ME ✘✘
Static GIF Static GIF