1. 04 May, 2001 1 commit
  2. 03 May, 2001 13 commits
  3. 02 May, 2001 12 commits
  4. 01 May, 2001 6 commits
  5. 30 Apr, 2001 1 commit
  6. 29 Apr, 2001 1 commit
    • Tim Peters's avatar
      SF bug #417093: Case sensitive import: dir and .py file w/ same name · cab3f68f
      Tim Peters authored
      Directory containing
          Spam.py
          spam/__init__.py
      Then "import Spam" caused a SystemError, because code checking for
      the existence of "Spam/__init__.py" finds it on a case-insensitive
      filesystem, but then bails because the directory it finds it in
      doesn't match case, and then old code assumed that was still an error
      even though it isn't anymore.  Changed the code to just continue
      looking in this case (instead of calling it an error).  So
          import Spam
      and
          import spam
      both work now.
      cab3f68f
  7. 28 Apr, 2001 2 commits
    • Tim Peters's avatar
      Fix buglet reported on c.l.py: map(fnc, file.xreadlines()) blows up. · 748b8bbe
      Tim Peters authored
      Also a 2.1 bugfix candidate (am I supposed to do something with those?).
      Took away map()'s insistence that sequences support __len__, and cleaned
      up the convoluted code that made it *look* like it really cared about
      __len__ (in fact the old ->len field was only *used* as a flag bit, as
      the main loop only looked at its sign bit, setting the field to -1 when
      IndexError got raised; renamed the field to ->saw_IndexError instead).
      748b8bbe
    • Tim Peters's avatar
      A different approach to the problem reported in · b3d8d1f7
      Tim Peters authored
      Patch #419651: Metrowerks on Mac adds 0x itself
      C std says %#x and %#X conversion of 0 do not add the 0x/0X base marker.
      Metrowerks apparently does.  Mark Favas reported the same bug under a
      Compaq compiler on Tru64 Unix, but no other libc broken in this respect
      is known (known to be OK under MSVC and gcc).
      So just try the damn thing at runtime and see what the platform does.
      Note that we've always had bugs here, but never knew it before because
      a relevant test case didn't exist before 2.1.
      b3d8d1f7
  8. 27 Apr, 2001 4 commits