kr.motd.maven.sphinx.dist.bs4.diagnose$py.class Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of sphinx-maven-plugin Show documentation
Show all versions of sphinx-maven-plugin Show documentation
Maven plugin that creates the site with Sphinx
???? 1? f$0 R(Lorg/python/core/PyFrame;Lorg/python/core/ThreadState;)Lorg/python/core/PyObject; __doc__ =Diagnostic functions, mainly for use when doing tech support. org/python/core/PyString fromInterned .(Ljava/lang/String;)Lorg/python/core/PyString;
org/python/core/PyFrame
setglobal /(Ljava/lang/String;Lorg/python/core/PyObject;)V
setline (I)V
MIT __license__ setlocal
cProfile org/python/core/imp importOne H(Ljava/lang/String;Lorg/python/core/PyFrame;I)Lorg/python/core/PyObject; " #
! $ StringIO & java/lang/String (
importFrom \(Ljava/lang/String;[Ljava/lang/String;Lorg/python/core/PyFrame;I)[Lorg/python/core/PyObject; * +
! ,
HTMLParser . bs4 0
BeautifulSoup 2 __version__ 4 bs4.builder 6 builder_registry 8 os : pstats < random > tempfile @ time B traceback D sys F org/python/core/Py H EmptyObjects [Lorg/python/core/PyObject; J K I L org/python/core/PyFunction N f_globals Lorg/python/core/PyObject; P Q R
diagnose$1 org/python/core/PyObject U f_exits W K X /Diagnostic suite for isolating common problems. Z 'Diagnostic running on Beautiful Soup %s \ getglobal .(Ljava/lang/String;)Lorg/python/core/PyObject; ^ _
` _mod 6(Lorg/python/core/PyObject;)Lorg/python/core/PyObject; b c
V d println (Lorg/python/core/PyObject;)V f g
I h Python version %s j version l __getattr__ n _
V o org/python/core/PyList q html.parser s html5lib u lxml w ([Lorg/python/core/PyObject;)V y z
r { (ILorg/python/core/PyObject;)V }
~ getlocal (I)Lorg/python/core/PyObject; ? ?
? __iter__ ()Lorg/python/core/PyObject; ? ?
V ? builders ? features ? _in ? c
V ? __nonzero__ ()Z ? ?
V ? __iternext__ ? ?
V ? remove ? __call__ S(Lorg/python/core/ThreadState;Lorg/python/core/PyObject;)Lorg/python/core/PyObject; ? ?
V ? ;I noticed that %s is not installed. Installing it may help. ? append ? xml ? etree ? Found lxml version %s ? . ? join ? map ? str ? LXML_VERSION ? m(Lorg/python/core/ThreadState;Lorg/python/core/PyObject;Lorg/python/core/PyObject;)Lorg/python/core/PyObject; ? ?
V ? setException M(Ljava/lang/Throwable;Lorg/python/core/PyFrame;)Lorg/python/core/PyException; ? ?
I ? ImportError ? org/python/core/PyException ? match (Lorg/python/core/PyObject;)Z ? ?
? ? value ? Q ? ? .lxml is not installed or couldn't be imported. ? java/lang/Throwable ? Found html5lib version %s ? 2html5lib is not installed or couldn't be imported. ? hasattr ? read ? 9(Lorg/python/core/ThreadState;)Lorg/python/core/PyObject; ? ?
V ? path ? exists ? 7"%s" looks like a filename. Reading data from the file. ? open ? org/python/core/ContextGuard ?
getManager <(Lorg/python/core/PyObject;)Lorg/python/core/ContextManager; ? ?
? ? org/python/core/ContextManager ? __enter__ ? ? ? ? __exit__ =(Lorg/python/core/ThreadState;Lorg/python/core/PyException;)Z ? ? ? ?
makeException ()Lorg/python/core/PyException; ? ?
I ?
startswith ? http: ? https: ? <"%s" looks like a URL. Beautiful Soup is not an HTTP client. ? pYou need to use some other library to get the document behind the URL, and feed that document to Beautiful Soup. ? f_lasti I ? ? ? None ? Q I ? ()V f ?
I ? #Trying to parse your markup with %s False True Exception %s could not parse the markup. print_exc
#Here's what %s did with the markup: prettify -
newInteger (I)Lorg/python/core/PyInteger;
I _mul c
V bs4/diagnose$py Lorg/python/core/PyCode; T j(Lorg/python/core/PyObject;[Lorg/python/core/PyObject;Lorg/python/core/PyCode;Lorg/python/core/PyObject;)V y
O diagnose! getname# _
$ lxml_trace$2 ?Print out the lxml events that occur during parsing.
This lets you see how lxml parses a document when no Beautiful
Soup code is running.
' iterparse) html+
_callextra ~([Lorg/python/core/PyObject;[Ljava/lang/String;Lorg/python/core/PyObject;Lorg/python/core/PyObject;)Lorg/python/core/PyObject;-.
V/ unpackSequence 8(Lorg/python/core/PyObject;I)[Lorg/python/core/PyObject;12
I3 %s, %4s, %s5 org/python/core/PyTuple7 tag9 text;
8 {& >
lxml_trace@ AnnouncingParserB AnnouncingParser$3
__module__E __name__G ?Announces HTMLParser parse events, without doing anything else.I _p$4K L _pN handle_starttag$5 %s STARTQP S handle_starttagU handle_endtag$6 %s ENDXW Z
handle_endtag\
handle_data$7 %s DATA_^ a handle_datac handle_charref$8
%s CHARREFfe h handle_charrefj handle_entityref$9 %s ENTITYREFml o handle_entityrefq handle_comment$10
%s COMMENTts v handle_commentx handle_decl$11 %s DECL{z } handle_decl unknown_decl$12 %s UNKNOWN-DECL?? ? unknown_decl? handle_pi$13 %s PI?? ? handle_pi? getf_locals? ?
?D ? makeClass a(Ljava/lang/String;[Lorg/python/core/PyObject;Lorg/python/core/PyCode;)Lorg/python/core/PyObject;??
I? java/util/Arrays? fill (([Ljava/lang/Object;Ljava/lang/Object;)V??
?? htmlparser_trace$14 ?Print out the HTMLParser events that occur during parsing.
This lets you see how HTMLParser parses a document when no
Beautiful Soup code is running.
? feed?? ? htmlparser_trace? aeiou? _vowels? bcdfghjklmnpqrstvwxyz? _consonants? rword$15 #Generate a random word-like string.? ? range? _eq? c
V? choice? _iadd? c
V?? ? rword? rsentence$16 'Generate a random sentence-like string.? ? f$17 randint? java/lang/Object?
f_savedlocals [Ljava/lang/Object;?? ? getGeneratorInput ()Ljava/lang/Object;??
?? ?? ? rsentence? rdoc$18 +Randomly generate an invalid HTML document.? p? div? span? i? b? script? table? <%s>? %s>? ?
? _add? c
V? ?? ? rdoc? ?? benchmark_parsers$19 .Very basic head-to-head performance benchmark.? 1Comparative parser benchmark on Beautiful Soup %s 3Generated a large invalid HTML document (%d bytes). len "BS4+%s parsed the markup in %.2fs. _sub c
V HTML $Raw lxml parsed the markup in %.2fs.
parse (Raw html5lib parsed the markup in %.2fs.? benchmark_parsers
profile$20 NamedTemporaryFile name dict data parser g(Lorg/python/core/ThreadState;[Lorg/python/core/PyObject;[Ljava/lang/String;)Lorg/python/core/PyObject; ?"
V# runctx% bs4.BeautifulSoup(data, parser)' ?(Lorg/python/core/ThreadState;Lorg/python/core/PyObject;Lorg/python/core/PyObject;Lorg/python/core/PyObject;Lorg/python/core/PyObject;)Lorg/python/core/PyObject; ?)
V* Stats,
sort_stats.
cumulative0 print_stats2
_html5lib|bs44 6 profile8 __main__: stdin< (Ljava/lang/String;)V org/python/core/PyFunctionTable? y ?
@A self Lbs4/diagnose$py;CD E G newCode ?(I[Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;IZZLorg/python/core/PyFunctionTable;I[Ljava/lang/String;[Ljava/lang/String;II)Lorg/python/core/PyCode;IJ
IK M
basic_parsersO builderQ eS fpU successW soupY kwargs[ event] element_C sb attrsd lengthf th _(152_20)j _(x)l n num_elementsp tag_namesr elementst tag_namev ax
filehandlez filename| vars~ stats? getMain ()Lorg/python/core/PyCode; main ([Ljava/lang/String;)V y>
???
? org/python/core/CodeLoader? createSimpleBootstrap 9(Lorg/python/core/PyCode;)Lorg/python/core/CodeBootstrap;??
?? runMain 5(Lorg/python/core/CodeBootstrap;[Ljava/lang/String;)V??
I? getCodeBootstrap !()Lorg/python/core/CodeBootstrap; #org/python/core/PyRunnableBootstrap? )getFilenameConstructorReflectionBootstrap 2(Ljava/lang/Class;)Lorg/python/core/CodeBootstrap;??
??
call_function S(ILorg/python/core/PyFrame;Lorg/python/core/ThreadState;)Lorg/python/core/PyObject;
? T
?&