1. 23 May, 2015 1 kayıt (commit)
    • Nick Coghlan's avatar
      PEP 489: Multi-phase extension module initialization · d5cacbb1
      Nick Coghlan yazdı
      Known limitations of the current implementation:
      
      - documentation changes are incomplete
      - there's a reference leak I haven't tracked down yet
      
      The leak is most visible by running:
      
        ./python -m test -R3:3 test_importlib
      
      However, you can also see it by running:
      
        ./python -X showrefcount
      
      Importing the array or _testmultiphase modules, and
      then deleting them from both sys.modules and the local
      namespace shows significant increases in the total
      number of active references each cycle. By contrast,
      with _testcapi (which continues to use single-phase
      initialisation) the global refcounts stabilise after
      a couple of cycles.
      d5cacbb1
  2. 13 Agu, 2013 1 kayıt (commit)
  3. 09 Şub, 2013 1 kayıt (commit)
  4. 04 May, 2012 1 kayıt (commit)
  5. 20 Nis, 2012 1 kayıt (commit)
  6. 20 Şub, 2012 1 kayıt (commit)
  7. 28 Eyl, 2011 1 kayıt (commit)
  8. 25 Şub, 2011 2 kayıt (commit)
  9. 22 Şub, 2011 1 kayıt (commit)
  10. 15 Şub, 2011 1 kayıt (commit)
  11. 09 May, 2010 4 kayıt (commit)
  12. 19 Ara, 2005 1 kayıt (commit)
  13. 22 Mar, 2003 1 kayıt (commit)
  14. 31 Ara, 2002 1 kayıt (commit)
    • Neal Norwitz's avatar
      Fix SF #639945, 64-bit bug on AIX · 7b8e35ed
      Neal Norwitz yazdı
      I can't test this on the snake farm (no aix box is working).
      This change works for the submitter seems correct.
      Can anybody test this on 32- and 64- bit AIX?
      7b8e35ed
  15. 14 Haz, 2002 1 kayıt (commit)
    • Guido van Rossum's avatar
      SF patch 568629 by Oren Tirosh: types made callable. · bea18ccd
      Guido van Rossum yazdı
      These built-in functions are replaced by their (now callable) type:
      
          slice()
          buffer()
      
      and these types can also be called (but have no built-in named
      function named after them)
      
          classobj (type name used to be "class")
          code
          function
          instance
          instancemethod (type name used to be "instance method")
      
      The module "new" has been replaced with a small backward compatibility
      placeholder in Python.
      
      A large portion of the patch simply removes the new module from
      various platform-specific build recipes.  The following binary Mac
      project files still have references to it:
      
          Mac/Build/PythonCore.mcp
          Mac/Build/PythonStandSmall.mcp
          Mac/Build/PythonStandalone.mcp
      
      [I've tweaked the code layout and the doc strings here and there, and
      added a comment to types.py about StringTypes vs. basestring.  --Guido]
      bea18ccd
  16. 28 Kas, 2001 1 kayıt (commit)
  17. 04 Eyl, 2000 1 kayıt (commit)
  18. 01 Eyl, 2000 1 kayıt (commit)
  19. 22 Tem, 2000 2 kayıt (commit)
  20. 16 Tem, 2000 1 kayıt (commit)
    • Thomas Wouters's avatar
      Spelling fixes supplied by Rob W. W. Hooft. All these are fixes in either · 7e474022
      Thomas Wouters yazdı
      comments, docstrings or error messages. I fixed two minor things in
      test_winreg.py ("didn't" -> "Didn't" and "Didnt" -> "Didn't").
      
      There is a minor style issue involved: Guido seems to have preferred English
      grammar (behaviour, honour) in a couple places. This patch changes that to
      American, which is the more prominent style in the source. I prefer English
      myself, so if English is preferred, I'd be happy to supply a patch myself ;)
      7e474022
  21. 30 Haz, 2000 2 kayıt (commit)
  22. 22 Ara, 1999 1 kayıt (commit)
    • Guido van Rossum's avatar
      Cleanup patches from Greg Stein: · 96a8fb7e
      Guido van Rossum yazdı
      * in import.c, #ifdef out references to dynamic loading based on
        HAVE_DYNAMIC_LOADING
      
      * clean out the platform-specific crud from importdl.c.
        [ maybe fold this function into import.c and drop the importdl.c file? Greg.]
      
      * change GetDynLoadFunc's "funcname" parameter to "shortname". change
        "name" to "fqname" for clarification.
      
      * each GetDynLoadFunc now creates its own funcname value.
      
        WARNING: as I mentioned previously, we may run into an issue with a
        missing "_" on some platforms. Testing will show this pretty quickly,
        however.
      
      * move pathname munging into dynload_shlib.c
      96a8fb7e
  23. 21 Ara, 1999 1 kayıt (commit)
    • Guido van Rossum's avatar
      Vladimir Marangozov: · 96b5ee88
      Guido van Rossum yazdı
      Here's a patch that avoids a warning caused by the "const char* pathname"
      declaration for _PyImport_GetDynLoadFunc (in dynload_aix). The "aix_load"
      function's 1st arg is prototyped as "char *pathname".
      96b5ee88
  24. 20 Ara, 1999 1 kayıt (commit)