1. 04 Apr, 2000 8 commits
    • Guido van Rossum's avatar
      Patch by Fred Gansevles. · 31b1a03f
      Guido van Rossum authored
      This patch solves 2 problems of the os module.
      1) Bug ID #50 (case-mismatch wiht "environ.get(..,..)" and "del environ[..]")
      2) os.environ.update (dict) doesn't propagate changes to the 'real'
         environment (i.e doesn't call putenv)
      
      This patches also has minor changes specific for 1.6a
      The string module isn't used anymore, instead the strings own methods are
      used.
      31b1a03f
    • Fred Drake's avatar
      Patch from Hrvoje Niksic <hniksic@iskon.hr>: · 95924503
      Fred Drake authored
      The bug is in mmap_read_line_method(), and its loop that searches for
      newlines.  After the loop reaches EOF, eol is incremented and points
      after the end of the memory.  This results in readline() method
      sometimes picking up and returning a byte after the end of the string.
      This is usually a bogus \0, but it could cause SIGSEGV if it's after
      the end of the page).
      
      The patch fixes the problem.  Also, it uses memchr() for finding a
      character, which is in fact the "strnchr" the comment is asking for.
      memchr() is already used in Python sources, so there should be no
      portability problems.
      95924503
    • Fred Drake's avatar
      Added notes about the eventual disappearance of two-parameter bind(), · 514b184e
      Fred Drake authored
      connect(), and connect_ex().
      
      I didn't make these deprecation notices since it was never a
      documented feature.
      514b184e
    • Guido van Rossum's avatar
    • Guido van Rossum's avatar
      Put back multi-arg capability on connect/connect_ex/bind, for · 90c38949
      Guido van Rossum authored
      backwards compatibility, and to avoid a revolution.
      90c38949
    • Guido van Rossum's avatar
      Since Thomas Wouters kept complaining that he wants access to the the · bea3f250
      Guido van Rossum authored
      Unix From lines, change the UnixMailbox class so that _search_start()
      positions the file *before* the Unix From line instead of after it;
      change _search_end() to skip one line before looking for the next From
      line.  The rfc822.Message class automatically recognizes these Unix
      From lines and squirrels them away in the 'unixfrom' instance variable.
      bea3f250
    • Greg Ward's avatar
      Reorganization: ripped util.py to shreds, creating in the process: · 64667702
      Greg Ward authored
        - file_util.py: operations on single files
        - dir_util.py: operations on whole directories or directory trees
        - dep_util.py: simple timestamp-based dependency analysis
        - archive_util.py: creation of archive (tar, zip, ...) files
      The functions left in util.py are miscellany that don't fit in any of the
      new files.
      64667702
    • Greg Ward's avatar
      Reorganization: moved the Distribution class from core.py to dist.py, and · 22a65e07
      Greg Ward authored
      the Command class from core.py to cmd.py.  No other code needs changing
      though; distutils.core still provides the Command and Distribution classes,
      although indirectly now.
      22a65e07
  2. 03 Apr, 2000 11 commits
  3. 02 Apr, 2000 2 commits
  4. 01 Apr, 2000 1 commit
  5. 31 Mar, 2000 18 commits