1. 12 Jul, 2000 6 commits
  2. 11 Jul, 2000 29 commits
  3. 10 Jul, 2000 5 commits
    • Tim Peters's avatar
      Now that prototypes are in scope, the compiler gives legit wngs · ce90a620
      Tim Peters authored
      about int size mismatches at two calls to s_rand.  Stuffed in
      casts to make the code do what it did before but w/o warnings --
      although unclear that's correct!
      ce90a620
    • Jeremy Hylton's avatar
      two changes to string_join: · f931c19a
      Jeremy Hylton authored
      implementation -- use PySequence_Fast interface to iterate over elements
      interface -- if instance object reports wrong length, ignore it;
         previous version raised an IndexError if reported length was too high
      f931c19a
    • Fredrik Lundh's avatar
      -- removed get_default compatibility kludge · 1ab1069f
      Fredrik Lundh authored
      -- added a few extra comments to locale.py
      1ab1069f
    • Fredrik Lundh's avatar
      - changed hash calculation for unicode strings. the new · c6c680b9
      Fredrik Lundh authored
        value is calculated from the character values, in a way
        that makes sure an 8-bit ASCII string and a unicode string
        with the same contents get the same hash value.
      
        (as a side effect, this also works for ISO Latin 1 strings).
      
        for more details, see the python-dev discussion.
      c6c680b9
    • Eric S. Raymond's avatar
      Give ConfigParser the capability to set as well as read options, and to write · f59fe5a1
      Eric S. Raymond authored
      a representation of the configuration state in .ini format that can be read
      back in by a future read() call.  Thus this class is now a back end
      for .ini editors as well as parsers.
      
      This patch is complete and tested, but exposes a bug in the ConfigParser
      implementation which I have not yet fixed.  Because case information is
      discarded during parsing, the output of write() has its case smashed.
      
      I wrote this for a SourceForge interface script called forgetool.
      Documentation for the new entry points included.
      f59fe5a1