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
 mŽŒYê=ã@s¡dZddlZddddddd d gZddd d„Zdd d„Zd ed dddd„Zedddd„Zdd„Zdd „Z Gdd„de ƒZ dd„Z dd„Z dd„Zdd„Zdd„Zd d!„Zdd"d#d„Zdddd$d„ZGd%d&„d&eƒZGd'd „d eƒZdZyDdd(lmZmZmZmZmZmZeZeZd)ZWn6ek rÌgZd*ZiZd"a d+d,„ZYnXe ej!ƒesše"e#gZ$e$j%e&ƒxe$D]Z'ed-d.e'ƒqWej(j)Z)e)d"kr;d/Z*ne)rJd*Z*nd-Z*ee*d.e+d0d"ƒe,ed1ƒr~d2Z-nd-Z-ee-d.e.d0d"ƒ[dS)3z&Python part of the warnings subsystem.éNÚwarnÚ warn_explicitÚ showwarningÚ formatwarningÚfilterwarningsÚ simplefilterÚ resetwarningsÚcatch_warningsc Csa|dkr%tj}|dkr%dSy#|jt|||||ƒƒWntk r\YnXdS)z7Hook to write a warning to a file; replace if you like.N)ÚsysÚstderrÚwriterÚOSError)ÚmessageÚcategoryÚfilenameÚlinenoÚfileÚline©rú'/opt/python35/lib/python3.5/warnings.pyr s   # c Cs†d|||j|f}|dkrby"ddl}|j||ƒ}Wntk rad}YnX|r‚|jƒ}|d|7}|S)z.Function to format a warning the standard way.z%s:%s: %s: %s Nrz %s )Ú__name__Ú linecacheÚgetlineÚ ExceptionÚstrip)rrrrrÚsrrrrrs     ÚFcCsöddl}|dks+td |fƒ‚t|tƒsFtd ƒ‚t|tƒsatd ƒ‚t|tƒs|td ƒ‚t|tƒs—td ƒ‚t|tƒr²|dks¾tdƒ‚t||j ||j ƒ||j |ƒ|d|ƒdS)aÖInsert an entry into the list of warnings filters (at the front). 'action' -- one of "error", "ignore", "always", "default", "module", or "once" 'message' -- a regex that the warning message must match 'category' -- a class that the warning must be a subclass of 'module' -- a regex that the module name must match 'lineno' -- an integer line number, 0 matches all warnings 'append' -- if true, append to the list of filters rNÚerrorÚignoreÚalwaysÚdefaultÚmoduleÚoncezinvalid action: %rzmessage must be a stringzcategory must be a classz#category must be a Warning subclasszmodule must be a stringzlineno must be an int >= 0Úappend)rrrr r!r") ÚreÚAssertionErrorÚ isinstanceÚstrÚtypeÚ issubclassÚWarningÚintÚ _add_filterÚcompileÚI)Úactionrrr!rr#r$rrrr&s  cCsf|d kstd|fƒ‚t|tƒr:|dksFtd ƒ‚t|d |d |d |ƒd S) a�Insert a simple entry into the list of warnings filters (at the front). A simple filter matches all modules and messages. 'action' -- one of "error", "ignore", "always", "default", "module", or "once" 'category' -- a class that the warning must be a subclass of 'lineno' -- an integer line number, 0 matches all warnings 'append' -- if true, append to the list of filters rrrr r!r"zinvalid action: %rrzlineno must be an int >= 0Nr#)rrrr r!r")r%r&r+r,)r/rrr#rrrr>s  c Gsc|s?ytj|ƒWntk r+YnXtjd|ƒn|tkrXtj|ƒtƒdS)Nr)ÚfiltersÚremoveÚ ValueErrorÚinsertr#Ú_filters_mutated)r#Úitemrrrr,Ns   r,cCsgtdd…us z_setoption..ú$zinvalid lineno %r) r$ÚsplitÚlenr6r#Ú _getactionÚescapeÚ _getcategoryr+r2Ú OverflowErrorr)r=r$Úpartsr/rrr!rrrrr:ns.        r:cCsU|s dS|dkrdSx!d D]}|j|ƒr!|Sq!Wtd|fƒ‚dS) Nr Úallrrr!r"rzinvalid action: %r)r rrr!r"r)Ú startswithr6)r/ÚarrrrG‰s  rGcCs;ddl}|stS|jd|ƒrcyt|ƒ}Wqtk r_td|fƒ‚YqXn²|jdƒ}|d|…}||dd…}yt|dd|gƒ}Wn%tk rÙtd|fƒ‚YnXyt ||ƒ}Wn%t k rtd|fƒ‚YnXt |tƒs7td|fƒ‚|S)Nrz^[a-zA-Z0-9_]+$zunknown warning category: %rÚ.ézinvalid module name: %rzinvalid warning category: %r) r$r*ÚmatchÚevalÚ NameErrorr6ÚrfindÚ __import__Ú ImportErrorÚgetattrÚAttributeErrorr))rr$ÚcatÚir!ÚklassÚmrrrrI“s,    rIcCs"|jj}d|ko!d|kS)zFSignal whether the frame is an internal CPython implementation detail.Ú importlibÚ _bootstrap)Úf_codeÚ co_filename)ÚframerrrrÚ_is_internal_frame­s rbcCs5|j}x%|dk r0t|ƒr0|j}q W|S)z;Find the next frame that doesn't involve CPython internals.N)Úf_backrb)rarrrÚ_next_external_frame³s  rdrPc Csót|tƒr|j}|dkr*t}t|tƒoEt|tƒsftdjt|ƒjƒƒ‚y|dksŠt t j dƒƒrœt j |ƒ}nHt j dƒ}x6t |dƒD]$}t |ƒ}|dkr¼t‚q¼WWn!tk rt j}d}YnX|j}|j}d|kr4|d}nd}|jdƒ}|r}|jƒ} | jdƒrÁ|dd …}nD|dkrµyt jd }Wntk r´d}YnX|sÁ|}|jd iƒ} t|||||| |ƒdS) z:Issue a warning, or maybe ignore it or raise an exception.Nz/category must be a Warning subclass, not '{:s}'rPrzÚ__file__z.pycÚ__main__rZ__warningregistry__éÿÿÿÿ)r&r*Ú __class__Ú UserWarningr(r)Ú TypeErrorÚformatrrbr Ú _getframeÚrangerdr2Ú__dict__Ú f_globalsÚf_linenoÚgetÚlowerÚendswithÚargvrXÚ setdefaultr) rrÚ stacklevelraÚxÚglobalsrr!rZfnlÚregistryrrrr¼sL   !             cCs¯t|ƒ}|dkrP|p!d}|dd…jƒdkrP|dd…}|dkrbi}|jddƒtkrŽ|jƒt|déz.pyÚversionrrrPrr"rr!r z1Unrecognized action (%r) in warnings.filters: %sz:warnings.showwarning() must be set to a function or methodéýÿÿÿr|)r+rrrqÚ_filters_versionÚclearr&r*r'rhr0rQr)Ú defaultactionrÚgetlinesÚ onceregistryÚ RuntimeErrorÚcallablerrj)rrrrr!ryÚmodule_globalsÚtextÚkeyr5r/r>rYÚmodÚlnrZoncekeyZaltkeyrrrrðsn                          c@s:eZdZdZd Zddd d „Zd d „ZdS)ÚWarningMessagez0Holds the result of a single showwarning() call.rrrrrrNc CsMtƒ}x%|jD]}t||||ƒqW|r@|jnd|_dS)N)ÚlocalsÚ_WARNING_DETAILSÚsetattrrÚ_category_name) ÚselfrrrrrrÚ local_valuesÚattrrrrÚ__init__@s zWarningMessage.__init__cCs&d|j|j|j|j|jfS)NzD{message : %r, category : %r, filename : %r, lineno : %s, line : %r})rr�rrr)rŽrrrÚ__str__Gs zWarningMessage.__str__)rrrrrr)rr7r8r9r‹r‘r’rrrrr‰9s r‰c@sReZdZdZdddddd„Zdd „Zd d „Zd d „ZdS)r a�A context manager that copies and restores the warnings filter upon exiting the context. The 'record' argument specifies whether warnings should be captured by a custom implementation of warnings.showwarning() and be appended to a list returned by the context manager. Otherwise None is returned by the context manager. The objects appended to the list are arguments whose attributes mirror the arguments to showwarning(). The 'module' argument is to specify an alternative module to the module named 'warnings' and imported under that name. This argument is only useful when testing the warnings module itself. ÚrecordFr!NcCs8||_|dkr"tjdn||_d|_dS)zêSpecify whether to record warnings and if an alternative module should be used other than sys.modules['warnings']. For compatibility with Python 3.0, please consider all arguments to be keyword-only. NÚwarningsF)Ú_recordr ÚmodulesÚ_moduleÚ_entered)rŽr“r!rrrr‘^s "zcatch_warnings.__init__cCslg}|jr|jdƒ|jtjdk rF|jd|jƒt|ƒj}d|dj|ƒfS)Nz record=Truer”z module=%rz%s(%s)z, )r•r#r—r r–r(rÚjoin)rŽr<ÚnamerrrÚ__repr__js  zcatch_warnings.__repr__csŸ|jrtd|ƒ‚d|_|jj|_|jdd…|j_|jjƒ|jj|_|jr—g‰‡fdd†}||j_ˆSdSdS)NzCannot enter %r twiceTcsˆjt||ŽƒdS)N)r#r‰)r<Úkwargs)Úlogrrr}sz-catch_warnings.__enter__..showwarning) r˜r‚r—r0Ú_filtersr4rÚ _showwarningr•)rŽrr)r�rÚ __enter__ss     zcatch_warnings.__enter__cGsH|jstd|ƒ‚|j|j_|jjƒ|j|j_dS)Nz%Cannot exit %r without entering first)r˜r‚ržr—r0r4rŸr)rŽÚexc_inforrrÚ__exit__„s   zcatch_warnings.__exit__)rr7r8r9r‘r›r r¢rrrrr Ms  )r0Ú_defaultactionÚ _onceregistryrrr4Tr cCstd7adS)NrP)r}rrrrr4¢sr4rrrr#Úgettotalrefcountr)/r9r Ú__all__rrr*rrr,rrr6r?r:rGrIrbrdrrÚobjectr‰r Z_warnings_defaultsÚ _warningsr0r£r¤r4rr�rVr}Ú warnoptionsÚ ImportWarningÚPendingDeprecationWarningZsilencer#ÚDeprecationWarningÚclsÚflagsÚ bytes_warningZ bytes_actionÚ BytesWarningÚhasattrZresource_actionÚResourceWarningrrrrÚsh             5HG.