1. 09 Şub, 2001 17 kayıt (commit)
  2. 08 Şub, 2001 3 kayıt (commit)
  3. 07 Şub, 2001 3 kayıt (commit)
  4. 06 Şub, 2001 13 kayıt (commit)
  5. 05 Şub, 2001 4 kayıt (commit)
    • Guido van Rossum's avatar
      A couple of changes to make this more conformant. MvL and Uche agree. · 9e1fe1ec
      Guido van Rossum yazdı
      This will make it incompatible with the version found in Python 2.0.
      Does this need to be done to PyXML too?
      
      Changes that might break existing code are marked with (!) below.
      
      - Formatting nit: no spaces inside parentheses: foo( a ) -> foo(a).
      
      - Break long lines.
      
      - (!) Fix getAttribute() and getAttributeNS() to return "" instead of
        raising KeyError when the attribute is not found.
      
      - (!) Fix getAttributeNodeNS() to return None instead of raising
        KeyError.  (Curiously, getAttributeNode() already did this.)
      
      - Added hasAttributes(), which returns true iff the node has any
        attributes.  )This is DOM level 3.)
      
      - (!) In createDocument(), if the qualified name is not empty,
        actually create and insert the first element with that name (this
        will become doc.documentElement).  MvL believes that it should be an
        error to specify an empty qualified name; I'm not going there today,
        since it would require making a matching change to pulldom.  Maybe
        MvL will do this.
      
      - In Document.writexml(), insert an xml declaration at the top.  (This
        doesn't include the encoding since there's no way to specify the
        encoding.  If that's preferred, all writexml() methods should be
        fixed to support an optional encoding argument that they pass to
        each other -- and they should use it to encode all text they write,
        too.  Later.)
      9e1fe1ec
    • Guido van Rossum's avatar
      Don't get fooled by an empty prefix with a valid namespaceURI -- in · 795ad56b
      Guido van Rossum yazdı
      this case, the code used to generate invalid tags and attribute names
      with a leading colon, e.g. <:tag> or <tag :attr="foo">.
      795ad56b
    • Andrew M. Kuchling's avatar
    • Jeremy Hylton's avatar
      Fixed UnboundLocalError for nested scopes · 0872d9d2
      Jeremy Hylton yazdı
      0872d9d2