1. 15 Nis, 2001 1 kayıt (commit)
  2. 16 Mar, 2001 1 kayıt (commit)
    • Fred Drake's avatar
      Change RuntimeError to SGMLParseError, which subclasses RuntimeError · 66957372
      Fred Drake yazdı
      for backward compatibility.
      
      Add support for SGML declaration syntax (<!....>) to some reasonable
      degree.  This does not support everything allowed in SGML, but should
      work with "real" HTML (internal subset in a DOCTYPE is not handled).
      The content of the declaration is passed to the .handle_decl() method,
      which can be overridden by subclasses.
      66957372
  3. 14 Mar, 2001 1 kayıt (commit)
  4. 19 Şub, 2001 1 kayıt (commit)
    • Guido van Rossum's avatar
      SF Patch # 103839 byt dougfort: Allow ';' in attributes · b68c2456
      Guido van Rossum yazdı
      sgmllib does not recognize HTML attributes containing the semicolon
      ';' character. This may be in accordance with the HTML spec, but there
      are sites that use it (excite.com) and the browsers I regularly use
      (IE5, Netscape, Opera) all handle it. Doug Fort Downright Software LLC
      b68c2456
  5. 15 Şub, 2001 1 kayıt (commit)
    • Skip Montanaro's avatar
      bunch more __all__ lists · 0de65807
      Skip Montanaro yazdı
      also modified check_all function to suppress all warnings since they aren't
      relevant to what this test is doing (allows quiet checking of regsub, for
      instance)
      0de65807
  6. 09 Şub, 2001 2 kayıt (commit)
  7. 15 Ock, 2001 1 kayıt (commit)
  8. 12 Ara, 2000 1 kayıt (commit)
  9. 29 Haz, 2000 1 kayıt (commit)
    • Fred Drake's avatar
      [Old patch that hadn't been checked in.] · b46696c0
      Fred Drake yazdı
      get_starttag_text():  New method.
              Return the text of the most recently parsed start tag, from
              the '<' to the '>' or '/'.  Not really useful for structure
              processing, but requested for Web-related use.  May also be
              useful for being able to re-generate the input from the parse
              events, but there's no equivalent for end tags.
      
      attrfind:  Be a little more forgiving of unquoted attribute values.
      b46696c0
  10. 28 Haz, 2000 1 kayıt (commit)
  11. 04 Şub, 2000 1 kayıt (commit)
    • Guido van Rossum's avatar
      The third and final doc-string sweep by Ka-Ping Yee. · e7b146fb
      Guido van Rossum yazdı
      The attached patches update the standard library so that all modules
      have docstrings beginning with one-line summaries.
      
      A new docstring was added to formatter.  The docstring for os.py
      was updated to mention nt, os2, ce in addition to posix, dos, mac.
      e7b146fb
  12. 25 Ock, 1999 1 kayıt (commit)
  13. 24 Agu, 1998 1 kayıt (commit)
  14. 07 Tem, 1998 1 kayıt (commit)
  15. 28 May, 1998 1 kayıt (commit)
    • Guido van Rossum's avatar
      Patch by Lars Marius Garshol: · 1ad00717
      Guido van Rossum yazdı
      - Handle <? processing instructions >.
      
      - Allow . and - in entity names.
      
      Also fixed an oversight in the previous fix (in one place, [ \t\r\n]
      was used instead of string.whitespace).
      1ad00717
  16. 16 Nis, 1998 1 kayıt (commit)
  17. 26 Mar, 1998 1 kayıt (commit)
  18. 23 Eki, 1997 1 kayıt (commit)
  19. 16 Ara, 1996 1 kayıt (commit)
    • Fred Drake's avatar
      (sgmllib.py): Partial acceptance of patch from David Leonard · 09bcf8c0
      Fred Drake yazdı
      	<leonard@dstc.edu.au>; allows hyphen and period in the middle
      	of attribute names.  Still not allowed as first character;
      	as first character these are illegal in the Reference Concrete
      	Syntax, and we've not identified any use of these characters as
      	the first char in an attribute name in deployment on the web.
      09bcf8c0
  20. 28 Mar, 1996 1 kayıt (commit)
    • Guido van Rossum's avatar
      Reformatted with 4-space tab stops. · 48766512
      Guido van Rossum yazdı
      Allow '=' and '~' in unquoted attribute values.
      
      Added overridable methods handle_starttag(tag, method, attrs) and
      handle_endtag(tag, method) so subclasses can decide whether they
      really want to call the method (e.g. when suppressing some portion of
      the document).
      
      Added support for a number of SGML shortcuts:
      
              shorthand               full notation
              <tag>...<>...           <tag>...<tag>...
              <tag>...</>             <tag>...</tag>
              <tag/.../               <tag>...</tag>
              <tag1<tag2>             <tag1><tag2>
              </tag1</tag2>           </tag1></tag2>
              </tag1<tag2>            </tag1><tag2>
      
      This required factoring out some common actions and rationalizing the
      interface to parse_endtag(), so as to make the code more readable.
      
      Fixed syntax for &entity and &#char references so the trailing
      semicolon is optional; removed explicit support for trailing period
      (which was a TBL mistake in HTML 0.0).
      
      Generalized the test program.
      
      Tried to speed things up a little.  (More to come after the profile
      results are in.)
      
      Fix error recovery: call the end methods popped from the stack instead
      of the one that triggers.  (Plus some complications because of the way
      HTML extensions are handled in Grail.)
      48766512
  21. 06 Eki, 1995 1 kayıt (commit)
  22. 30 Eyl, 1995 1 kayıt (commit)
  23. 22 Eyl, 1995 1 kayıt (commit)
  24. 01 Eyl, 1995 1 kayıt (commit)
  25. 10 Agu, 1995 1 kayıt (commit)
  26. 04 Agu, 1995 1 kayıt (commit)
  27. 22 Haz, 1995 1 kayıt (commit)
  28. 04 Mar, 1995 1 kayıt (commit)
  29. 27 Şub, 1995 1 kayıt (commit)
  30. 10 Ock, 1995 1 kayıt (commit)