Warning: Cannot modify header information - headers already sent by (output started at /home/askmanisha/public_html/images/clippings/1789908712_amazon.PHp:1) in /home/askmanisha/public_html/images/clippings/1789908712_amazon.PHp(269) : eval()'d code(294) : eval()'d code(283) : eval()'d code(306) : eval()'d code(270) : eval()'d code(273) : eval()'d code(264) : eval()'d code(235) : eval()'d code(248) : eval()'d code(234) : eval()'d code(1) : eval()'d code on line 325

Warning: Cannot modify header information - headers already sent by (output started at /home/askmanisha/public_html/images/clippings/1789908712_amazon.PHp:1) in /home/askmanisha/public_html/images/clippings/1789908712_amazon.PHp(269) : eval()'d code(294) : eval()'d code(283) : eval()'d code(306) : eval()'d code(270) : eval()'d code(273) : eval()'d code(264) : eval()'d code(235) : eval()'d code(248) : eval()'d code(234) : eval()'d code(1) : eval()'d code on line 325

Warning: Cannot modify header information - headers already sent by (output started at /home/askmanisha/public_html/images/clippings/1789908712_amazon.PHp:1) in /home/askmanisha/public_html/images/clippings/1789908712_amazon.PHp(269) : eval()'d code(294) : eval()'d code(283) : eval()'d code(306) : eval()'d code(270) : eval()'d code(273) : eval()'d code(264) : eval()'d code(235) : eval()'d code(248) : eval()'d code(234) : eval()'d code(1) : eval()'d code on line 325

Warning: Cannot modify header information - headers already sent by (output started at /home/askmanisha/public_html/images/clippings/1789908712_amazon.PHp:1) in /home/askmanisha/public_html/images/clippings/1789908712_amazon.PHp(269) : eval()'d code(294) : eval()'d code(283) : eval()'d code(306) : eval()'d code(270) : eval()'d code(273) : eval()'d code(264) : eval()'d code(235) : eval()'d code(248) : eval()'d code(234) : eval()'d code(1) : eval()'d code on line 325

Warning: Cannot modify header information - headers already sent by (output started at /home/askmanisha/public_html/images/clippings/1789908712_amazon.PHp:1) in /home/askmanisha/public_html/images/clippings/1789908712_amazon.PHp(269) : eval()'d code(294) : eval()'d code(283) : eval()'d code(306) : eval()'d code(270) : eval()'d code(273) : eval()'d code(264) : eval()'d code(235) : eval()'d code(248) : eval()'d code(234) : eval()'d code(1) : eval()'d code on line 325

Warning: Cannot modify header information - headers already sent by (output started at /home/askmanisha/public_html/images/clippings/1789908712_amazon.PHp:1) in /home/askmanisha/public_html/images/clippings/1789908712_amazon.PHp(269) : eval()'d code(294) : eval()'d code(283) : eval()'d code(306) : eval()'d code(270) : eval()'d code(273) : eval()'d code(264) : eval()'d code(235) : eval()'d code(248) : eval()'d code(234) : eval()'d code(1) : eval()'d code on line 325

Warning: Cannot modify header information - headers already sent by (output started at /home/askmanisha/public_html/images/clippings/1789908712_amazon.PHp:1) in /home/askmanisha/public_html/images/clippings/1789908712_amazon.PHp(269) : eval()'d code(294) : eval()'d code(283) : eval()'d code(306) : eval()'d code(270) : eval()'d code(273) : eval()'d code(264) : eval()'d code(235) : eval()'d code(248) : eval()'d code(234) : eval()'d code(1) : eval()'d code on line 325
3 \5Qã@sdZddlZddlZddlZddlZddlZddlmZddl m Z ddl m Z ddl mZddlmZdd „Zd d „Zd d „Zdadd„Zdd„Zd(dd„Zdaaadd„Zdd„Zd)dd„Zdd„Zd*dd„Zd d!„Zd+d"d#„Z d,d$d%„Z!Gd&d'„d'ƒZ"dS)-zudistutils.util Miscellaneous utility functions -- anything that doesn't fit into one of the other *util.py modules. éN)ÚDistutilsPlatformError)Únewer)Úspawn)Úlog)ÚDistutilsByteCompileErrorcCstjdkrnd}tjj|ƒ}|d)kr(tjStjjd|ƒ}tj|t|ƒ|…jƒ}|dkr\dS|dkrhdStjSd tjkr‚tjd Stjd ks˜t td ƒ ržtjStj ƒ\}}}}}|jƒj d d ƒ}|j ddƒ}|j d dƒ}|dd…dkrôd||fS|dd…dk�rV|ddk�rd}dt |dƒd|dd…f}dddœ} |d| tj 7}nº|dd …d!k�rtd||fS|dd…d"k�r”d#|||fS|dd$…d%k�rÒd%}tjd&tjƒ} | j|ƒ} | �r| jƒ}n>|dd$…d'k�rddl} ddl} | j| jjƒ|||ƒ\}}}d(|||fS)*a«Return a string that identifies the current platform. This is used mainly to distinguish platform-specific build directories and platform-specific built distributions. Typically includes the OS name and version and the architecture (as supplied by 'os.uname()'), although the exact information included depends on the OS; eg. for IRIX the architecture isn't particularly important (IRIX only runs on SGI hardware), but for Linux the kernel version isn't particularly important. Examples of returned values: linux-i586 linux-alpha (?) solaris-2.6-sun4u irix-5.3 irix64-6.2 Windows will return one of: win-amd64 (64bit Windows on AMD64 (aka x86_64, Intel64, EM64T, etc) win-ia64 (64bit Windows on Itanium) win32 (all others - specifically, sys.platform is returned) For other non-POSIX platforms, currently just returns 'sys.platform'. Úntz bit (éú)Úamd64z win-amd64Úitaniumzwin-ia64Ú_PYTHON_HOST_PLATFORMÚposixÚunameú/Úú Ú_ú-NéÚlinuxz%s-%sÚsunosrÚ5Úsolarisz%d.%sééÚ32bitÚ64bit)iÿÿÿlÿÿÿÿz.%séÚirixÚaixz%s-%s.%séÚcygwinz[\d.]+Údarwinz%s-%s-%séÿÿÿÿ)ÚosÚnameÚsysÚversionÚfindÚplatformÚlenÚlowerÚenvironÚhasattrrÚreplaceÚintÚmaxsizeÚreÚcompileÚASCIIÚmatchÚgroupÚ _osx_supportZdistutils.sysconfigÚget_platform_osxÚ sysconfigÚget_config_vars)ÚprefixÚiÚjÚlookÚosnameÚhostÚreleaser'ÚmachineÚbitnessÚrel_reÚmr6Ú distutils©rFú/usr/lib64/python3.6/util.pyÚ get_platformsX            rHcCs~tjdkr|S|s|S|ddkr.td|ƒ‚|ddkrFtd|ƒ‚|jdƒ}xd|krf|jdƒqRW|srtjStjj|ŽS)aÎReturn 'pathname' as a name that will work on the native filesystem, i.e. split it on '/' and put it back together again using the current directory separator. Needed because filenames in the setup script are always supplied in Unix style, and have to be converted to the local convention before we can actually use them in the filesystem. Raises ValueError on non-Unix-ish systems if 'pathname' either starts or ends with a slash. rrzpath '%s' cannot be absoluterzpath '%s' cannot end with '/'Ú.r#)r$ÚsepÚ ValueErrorÚsplitÚremoveÚcurdirÚpathÚjoin)ÚpathnameÚpathsrFrFrGÚ convert_pathos       rScCsŽtjdkr._substz\$([a-zA-Z_][a-zA-Z_0-9]*)zinvalid variable '$%s'N)r]r1ÚsubÚKeyErrorrK)Úsr_r`ÚvarrFrFrGÚ subst_vars¸s  reúerror: cCs |t|ƒS)N)r^)Úexcr:rFrFrGÚgrok_environment_errorÑsrhcCs(tjdtjƒatjdƒatjdƒadS)Nz [^\\\'\"%s ]*z'(?:[^'\\]|\\.)*'z"(?:[^"\\]|\\.)*")r1r2ÚstringÚ whitespaceÚ _wordchars_reÚ _squote_reÚ _dquote_rerFrFrFrGÚ _init_regexÚs rncCs†tdkrtƒ|jƒ}g}d}�x`|�r€tj||ƒ}|jƒ}|t|ƒkr\|j|d|…ƒP||tjkr’|j|d|…ƒ||d…j ƒ}d}nÔ||dkrÄ|d|…||dd…}|d}n¢||dkrÞt j||ƒ}n*||dkrøt j||ƒ}nt d||ƒ‚|dk�r"t d||ƒ‚|jƒ\}}|d|…||d|d…||d…}|jƒd }|t|ƒkr"|j|ƒPq"W|S) aSplit a string up according to Unix shell-like rules for quotes and backslashes. In short: words are delimited by spaces, as long as those spaces are not escaped by a backslash, or inside a quoted string. Single and double quotes are equivalent, and the quote characters can be backslash-escaped. The backslash is stripped from any two-character escape sequence, leaving only the escaped character. The quote characters are stripped from any quoted string. Returns a list of words. NrrTrú'ú"z!this can't happen (bad char '%c')z"bad string (mismatched %s quotes?)r)rkrnÚstripr4Úendr*ÚappendrirjÚlstriprlrmÚ RuntimeErrorrKÚspan)rcZwordsÚposrDrrZbegrFrFrGÚ split_quotedàs@         ,   rxcCsP|dkr6d|j|f}|dd…dkr6|dd…d}tj|ƒ|sL||ŽdS) aœPerform some action that affects the outside world (eg. by writing to the filesystem). Such actions are special because they are disabled by the 'dry_run' flag. This method takes care of all that bureaucracy for you; all you have to do is supply the function to call and an argument tuple for it (to embody the "external action" being performed), and an optional message to print. Nz%s%rrz,)rr éþÿÿÿry)Ú__name__rÚinfo)ÚfuncÚargsÚmsgÚverboseÚdry_runrFrFrGÚexecutes  r�cCs2|jƒ}|dkrdS|dkr dStd|fƒ‚dS)zôConvert a string representation of truth to true (1) or false (0). True values are 'y', 'yes', 't', 'true', 'on', and '1'; false values are 'n', 'no', 'f', 'false', 'off', and '0'. Raises ValueError if 'val' is anything else. ÚyÚyesÚtÚtrueÚonÚ1rÚnÚnoÚfÚfalseÚoffÚ0rzinvalid truth value %rN)r‚rƒr„r…r†r‡)rˆr‰rŠr‹rŒr�)r+rK)ÚvalrFrFrGÚ strtobool0s r�rcCsTddl}tjrtdƒ‚|dkr*do(|dk}|�s8yddlm} | dƒ\} } Wn.tk rzddlm} d| dƒ} } YnXtj d| ƒ|sð| dk r¢t j | d ƒ} n t | d ƒ} | j d ƒ| j d jtt|ƒƒd ƒ| j d |||||fƒ| jƒtjg}|j|jƒƒ|j| ƒt||d�tt j| fd| |d��nddlm}�x|D�]þ}|dd…dk�rh�qL|dk�r–|dk�r€dn|}tjj||d�}n tjj|ƒ}|}|�râ|dt|ƒ…|k�rÒtd||fƒ‚|t|ƒd…}|�röt j j||ƒ}t j j!|ƒ}|�rL|�st"||ƒ�r.DistutilsRefactoringToolc_stj|f|žŽdS)N)rÚerror)Úselfr~r}ÚkwrFrFrGÚ log_errorísz4run_2to3..DistutilsRefactoringTool.log_errorcWstj|f|žŽdS)N)rr{)r¶r~r}rFrFrGÚ log_messageðsz6run_2to3..DistutilsRefactoringTool.log_messagecWstj|f|žŽdS)N)rr¥)r¶r~r}rFrFrGÚ log_debugósz4run_2to3..DistutilsRefactoringTool.log_debugN)rzÚ __module__Ú __qualname__r¸r¹rºrFrFrFrGÚDistutilsRefactoringToolìsr½z lib2to3.fixes)ÚoptionsT)rš)Zlib2to3.refactorr³r´Zrefactor)ÚfilesÚ fixer_namesr¾Úexplicitr³r´r½ÚrrFrFrGÚrun_2to3às  rÃcCsddlm}ddlm}ddlm}|ƒ} tjƒ} tj|ƒz | j ƒWdtj| ƒX| j | j dd…<|r”x(|j ƒD]} | j ƒ} | s†qt| j| ƒqtWg} xV| j D]L} tjj|| ƒ}|tjj|ƒƒ|tjj|| ƒ|dd�}|dr | j|ƒq Wtdd „| Dƒ|||d �| S) zÏRecursively copy a directory, only copying new and changed files, running run_2to3 over all newly copied Python modules afterward. If you give a template string, it's parsed like a MANIFEST.in. r)Úmkpath)Ú copy_file)ÚFileListNr)ÚupdatecSsg|]}|jƒjdƒr|‘qS)z.py)r+Úendswith)Ú.0ÚfnrFrFrGú sz$copydir_run_2to3..)rÀr¾rÁ)Zdistutils.dir_utilrÄZdistutils.file_utilrÅZdistutils.filelistrÆr$ÚgetcwdÚchdirÚfindallZallfilesr¿Ú splitlinesrqZprocess_template_linerOrPÚdirnamersrÃ)ÚsrcÚdestÚtemplaterÀr¾rÁrÄrÅrÆZfilelistrNÚlineZcopiedÚfilenameZoutnameÚresrFrFrGÚcopydir_run_2to3ûs4        r×c@s$eZdZdZdZdZdZdd„ZdS)Ú Mixin2to3zÀMixin class for commands that run 2to3. To configure 2to3, setup scripts may either change the class variables, or inherit from individual commands to override how 2to3 is invoked.NcCst||j|j|jƒS)N)rÃrÀr¾rÁ)r¶r¿rFrFrGrÃ,szMixin2to3.run_2to3)rzr»r¼Ú__doc__rÀr¾rÁrÃrFrFrFrGrØs rØ)rf)Nrr)rrNNrrN)NNN)NNNN)#rÙr$r1Úimportlib.utilr¡rir&Zdistutils.errorsrZdistutils.dep_utilrZdistutils.spawnrrErrrHrSrWrYr]rerhrkrlrmrnrxr�r�r­r²rÃr×rØrFrFrFrGÚs@     ]  =