1. 01 Aug, 2001 9 commits
  2. 31 Jul, 2001 22 commits
  3. 30 Jul, 2001 9 commits
    • Tim Peters's avatar
      Remove oodles of pointless file date and size stamps. I caught the Wise · 85a5bae4
      Tim Peters authored
      GUI inserting those once before shortly after I started using it, but
      don't know what triggers it -- presumably something in the "expert" view
      (which is, suitably enough, unsuited to experts <wink>).
      85a5bae4
    • Tim Peters's avatar
    • Tim Peters's avatar
      Massive fiddling to get the install to work at all on a Win2K box under a · 96e1d2f2
      Tim Peters authored
      plain unprivileged User acct:
      + Had to duplicate Wise's Uninstal.wse script, in order to change the line
        at its end that unconditionally tries to write uninstall info under HKLM.
        This is our new file Uninstal.wse, which must be included by python20.wse
        instead of using Wise's version.
      + In every other case we write to HKLM, also write to HKCU instead (we
        were already doing that in *most* places, but not quite all).
      + If the user doesn't have admin privs, the DLLs we usually write to the
        system dir are written to the root of the Python installation instead.
        That's python22.dll, plus the two MSVC runtime DLLs.
      + Added a new component "Register file extensions".  Registering .py etc
        is done under HKEY_CLASSES_ROOT, and that also requires admin privs;
        i.e., AFAICT it's impossible for an unprivileged user to accomplish this.
        In the component selection dialog, if the user doesn't have admin privs
        I gray out this new component so the user knows they aren't getting file
        extensions.
      After all that, Python installs, the Start Menu entries are OK, it runs
      its test suite to completion, and the uninstaller works too.  Only known
      problem so far is that the integration with Win2K's Add/Remove subsystem
      isn't quite right yet in this irritating case.
      96e1d2f2
    • Jeremy Hylton's avatar
    • Jeremy Hylton's avatar
      Do for hasattr() what was done for getattr() · 302b54ac
      Jeremy Hylton authored
      Namely, an exception is raised if the second arg to hasattr() is not a
      string or Unicode.
      302b54ac
    • Fred Drake's avatar
      Get the whitespace right! · c974bf4d
      Fred Drake authored
      c974bf4d
    • Jeremy Hylton's avatar
      Fix for SF byg [ #420304 ] getattr function w/ default · 0eb1115f
      Jeremy Hylton authored
      Fix suggested by Michael Hudson: Raise TypeError if attribute name
      passed to getattr() is not a string or Unicode.  There is some
      unfortunate duplication of code between builtin_getattr() and
      PyObject_GetAttr(), but it appears to be unavoidable.
      0eb1115f
    • Jeremy Hylton's avatar
      Add _PyUnicode_AsDefaultEncodedString to unicodeobject.h. · 3ce45389
      Jeremy Hylton authored
      And remove all the extern decls in the middle of .c files.
      Apparently, it was excluded from the header file because it is
      intended for internal use by the interpreter.  It's still intended for
      internal use and documented as such in the header file.
      3ce45389
    • Jeremy Hylton's avatar
      Fix for SF bug [ #443866 ] Evaluating func_code causing core dump · 5121e7de
      Jeremy Hylton authored
      Add test that calls eval with a code object that has free variables.
      5121e7de