1. 06 Jul, 2004 4 commits
  2. 05 Jul, 2004 12 commits
  3. 04 Jul, 2004 9 commits
  4. 03 Jul, 2004 8 commits
  5. 02 Jul, 2004 7 commits
    • Mark Hammond's avatar
      Patch [ 983775 ] Allow bdist_wininst to install for non-admin users · 6090cc46
      Mark Hammond authored
      to address bugs:
      [ 555812 ] installing extension w/o admin rights
      [ 555810 ] removing extensions without admin rights
      
      * When enumerating the Python versions found, also remember the HKEY
        they were found under.
      * When installing, if Python was installed under HKCU, we will too.
        If Python was installed under HKLM, we check the permissions of
        the current user, and install where we can.
      * The "root" key we use is a global variable - all registry setting and
        delete functions use this global rather than a hardcoded HKLM.
      * A new entry is written to the install log, indicating the key we used.
        Uninstallation is based on this key.
      * 'tempnam()' is used rather than 'tmpnam()' - 'tmpnam' creates a temp
        file on the root of the current drive, and if this is readonly would
        explain the 'freopen' errors occasionally reported. 'tempnam'
        creates the temp file in the %TEMP% directory.
      6090cc46
    • Walter Dörwald's avatar
      b50a1c9e
    • Fred Drake's avatar
      Make weak references subclassable: · b2f80ec9
      Fred Drake authored
      - weakref.ref and weakref.ReferenceType will become aliases for each
        other
      
      - weakref.ref will be a modern, new-style class with proper __new__
        and __init__ methods
      
      - weakref.WeakValueDictionary will have a lighter memory footprint,
        using a new weakref.ref subclass to associate the key with the
        value, allowing us to have only a single object of overhead for each
        dictionary entry (currently, there are 3 objects of overhead per
        entry: a weakref to the value, a weakref to the dictionary, and a
        function object used as a weakref callback; the weakref to the
        dictionary could be avoided without this change)
      
      - a new macro, PyWeakref_CheckRefExact(), will be added
      
      - PyWeakref_CheckRef() will check for subclasses of weakref.ref
      
      This closes SF patch #983019.
      b2f80ec9
    • Thomas Heller's avatar
      Update info about the windows build. · 1a141aea
      Thomas Heller authored
      1a141aea
    • Thomas Heller's avatar
      SF #951851 fixed. · d22217b5
      Thomas Heller authored
      d22217b5
    • Thomas Heller's avatar
      When importing an extension on Windows, the code reads the PE 'import · 6504b070
      Thomas Heller authored
      table' of the dll, to make sure that the dll really was build for the
      correct Python version.  It does this by looking for an entry
      'pythonXY.dll' (X.Y is the Python version number).
      
      The code now checks the size of the dll's import table before reading
      entries from it.  Before this patch, the code crashed trying to read
      the import table when the size was zero (as in Win2k's wmi.dll, for
      example).
      
      Look for imports of 'pythonXY_d.dll' in a debug build instead of
      'pythonXY.dll'.
      
      Fixes SF 951851: Crash when reading "import table" of certain windows dlls.
      
      Already backported to the 2.3 branch.
      6504b070
    • Thomas Heller's avatar
      Fix for SF 982215: bdist_wininst - Next button not greyed out during file copy. · a59ebafe
      Thomas Heller authored
      Patch from Mark Hammond.
      Recompiled binary.
      
      Already packported to the 2.3 branch.
      a59ebafe