[issue44438] argparser documentation error

2021-06-16 Thread Arman Sargsyan
Arman Sargsyan added the comment: I have signed the CLA -- ___ Python tracker <https://bugs.python.org/issue44438> ___ ___ Python-bugs-list mailing list Unsub

[issue44438] argparser documentation error

2021-06-16 Thread Arman Sargsyan
New submission from Arman Sargsyan : URL - https://docs.python.org/3/howto/argparse.html The following code will return a type error: import argparse parser = argparse.ArgumentParser() parser.add_argument("square", help="display a square of a given number") args = parse

[issue9577] html parser bug related with CDATA sections

2010-08-12 Thread Arman
Arman added the comment: Yes I agree. This is the same issue. On Fri, Aug 13, 2010 at 3:32 AM, R. David Murray wrote: > > R. David Murray added the comment: > > I believe this is a duplicate of Issue670664. If you disagree please > reopen with additional information. > &

[issue9577] html parser bug related with CDATA sections

2010-08-12 Thread Arman
New submission from Arman : When HTMLParser reaches CDATA element it enters cdata mode by calling set_cdata_mode (file html/parser.py line 270). this method assigns self.interesting member new value r'<(/|\Z)'. But this is not correct. Consider following case <!-- if (