HEX

Warning: set_time_limit() [function.set-time-limit]: Cannot set time limit - prohibited by configuration in /home/u547966/brikov.ru/www/wp-content/plugins/admin-menu-editor/menu-editor.php on line 745
Server: Apache
System: Linux 4.19.0-0.bpo.9-amd64 x86_64 at red40
User: u547966 (5490)
PHP: 5.3.29-mh2
Disabled: syslog, dl, popen, proc_open, proc_nice, proc_get_status, proc_close, proc_terminate, posix_mkfifo, chown, chgrp, accelerator_reset, opcache_reset, accelerator_get_status, opcache_get_status, pcntl_alarm, pcntl_fork, pcntl_waitpid, pcntl_wait, pcntl_wifexited, pcntl_wifstopped, pcntl_wifsignaled, pcntl_wifcontinued, pcntl_wexitstatus, pcntl_wtermsig, pcntl_wstopsig, pcntl_signal, pcntl_signal_dispatch, pcntl_get_last_error, pcntl_strerror, pcntl_sigprocmask, pcntl_sigwaitinfo, pcntl_sigtimedwait, pcntl_exec, pcntl_getpriority, pcntl_setpriority
Upload Files
File: //usr/lib/python3.5/urllib/__pycache__/response.cpython-35.pyc


Füƒaûã@sƒdZddlZddddgZGdd„dejƒZGdd„deƒZGd	d„deƒZGd
d„deƒZdS)aResponse classes used by urllib.

The base class, addbase, defines a minimal file-like interface,
including read() and readline().  The typical response object is an
addinfourl instance, which defines an info() method that returns
headers and a geturl() method that returns the url.
éNÚaddbaseÚaddclosehookÚaddinfoÚ
addinfourlcsLeZdZdZ‡fdd†Zdd„Zdd„Zdd	„Z‡S)
rzOBase class for addinfo and addclosehook. Is a good idea for garbage collection.cs,tt|ƒj|dddƒ||_dS)Nz<urllib response>ZdeleteF)ÚsuperrÚ__init__Úfp)Úselfr)Ú	__class__©ú%/usr/lib/python3.5/urllib/response.pyrszaddbase.__init__cCs d|jjt|ƒ|jfS)Nz<%s at %r whose fp = %r>)r
Ú__name__ÚidÚfile)r	rrrÚ__repr__szaddbase.__repr__cCs|jjrtdƒ‚|S)NzI/O operation on closed file)rÚclosedÚ
ValueError)r	rrrÚ	__enter__szaddbase.__enter__cCs|jƒdS)N)Úclose)r	ÚtypeÚvalueÚ	tracebackrrrÚ__exit__!szaddbase.__exit__)r
Ú
__module__Ú__qualname__Ú__doc__rrrrrr)r
rrs
cs:eZdZdZ‡fdd†Z‡fdd†Z‡S)rz*Class to add a close hook to an open file.cs,tt|ƒj|ƒ||_||_dS)N)rrrÚ	closehookÚhookargs)r	rrr)r
rrr(s	zaddclosehook.__init__csSz8|j}|j}|r7d|_d|_||ŒWdtt|ƒjƒXdS)N)rrrrr)r	rr)r
rrr-s				zaddclosehook.close)r
rrrrrrr)r
rr%scs4eZdZdZ‡fdd†Zdd„Z‡S)rz.class to add an info() method to an open file.cs#tt|ƒj|ƒ||_dS)N)rrrÚheaders)r	rr)r
rrr<szaddinfo.__init__cCs|jS)N)r)r	rrrÚinfo@szaddinfo.info)r
rrrrrrr)r
rr9scsCeZdZdZd‡fdd†Zdd„Zdd„Z‡S)	rz9class to add info() and geturl() methods to an open file.Ncs/tt|ƒj||ƒ||_||_dS)N)rrrÚurlÚcode)r	rrr r!)r
rrrGs	zaddinfourl.__init__cCs|jS)N)r!)r	rrrÚgetcodeLszaddinfourl.getcodecCs|jS)N)r )r	rrrÚgeturlOszaddinfourl.geturl)r
rrrrr"r#rr)r
rrDs)rZtempfileÚ__all__Z_TemporaryFileWrapperrrrrrrrrÚ<module>s