1. 27 Tem, 2006 2 kayıt (commit)
    • Tim Peters's avatar
      Whitespace normalization. · ce70a3b3
      Tim Peters yazdı
      ce70a3b3
    • Barry Warsaw's avatar
      Patch #1520294: Support for getset and member descriptors in types.py, · 00decd78
      Barry Warsaw yazdı
      inspect.py, and pydoc.py.  Specifically, this allows for querying the type of
      an object against these built-in C types and more importantly, for getting
      their docstrings printed in the interactive interpreter's help() function.
      
      This patch includes a new built-in module called _types which provides
      definitions of getset and member descriptors for use by the types.py module.
      These types are exposed as types.GetSetDescriptorType and
      types.MemberDescriptorType.  Query functions are provided as
      inspect.isgetsetdescriptor() and inspect.ismemberdescriptor().  The
      implementations of these are robust enough to work with Python implementations
      other than CPython, which may not have these fundamental types.
      
      The patch also includes documentation and test suite updates.
      
      I commit these changes now under these guiding principles:
      
      1. Silence is assent.  The release manager has not said "no", and of the few
         people that cared enough to respond to the thread, the worst vote was "0".
      
      2. It's easier to ask for forgiveness than permission.
      
      3. It's so dang easy to revert stuff in svn, that you could view this as a
         forcing function. :)
      
      Windows build patches will follow.
      00decd78
  2. 20 Tem, 2006 1 kayıt (commit)
  3. 10 Tem, 2006 1 kayıt (commit)
  4. 30 Nis, 2006 2 kayıt (commit)
  5. 11 Nis, 2006 2 kayıt (commit)
  6. 25 Eyl, 2005 1 kayıt (commit)
  7. 12 Mar, 2005 1 kayıt (commit)
  8. 11 Mar, 2005 1 kayıt (commit)
  9. 06 Şub, 2005 1 kayıt (commit)
  10. 12 Ara, 2004 1 kayıt (commit)
    • Johannes Gijsbers's avatar
      Patch #1011890: fix inspect.getsource breaking with line-continuation & · 1542f34c
      Johannes Gijsbers yazdı
      more. Thanks to Simon Percivall!
      
      The patch makes changes to inspect.py in two places:
      
      * the pattern to match against functions at line 436 is
      modified: lambdas should be matched even if not
      preceded by whitespace, as long as "lambda" isn't part
      of another word.
      
      * the BlockFinder class is heavily modified. Changes are:
      - checking for "def", "class" or "lambda" names
      before setting self.started to True. Then checking the
      same line for word characters after the colon (if the
      colon is on that line). If so, and the line does not
      end with a line continuation marker, raise EndOfBlock
      immediately.
      - adding self.passline to show that the line is to be
      included and no more checking is necessary on that
      line. Since a NEWLINE token is not generated when a
      line continuation marker exists, this allows getsource
      to continue with these functions even if the following
      line would not be indented.
      
      Also add a bunch of
      'quite-unlikely-to-occur-in-real-life-but-working-anyway' tests.
      1542f34c
  11. 20 Eyl, 2004 3 kayıt (commit)
  12. 11 Eyl, 2004 1 kayıt (commit)
  13. 18 Agu, 2004 1 kayıt (commit)
  14. 15 Agu, 2004 1 kayıt (commit)
  15. 13 Agu, 2004 1 kayıt (commit)
  16. 15 Haz, 2004 1 kayıt (commit)
  17. 05 Haz, 2004 1 kayıt (commit)
  18. 01 Ara, 2003 1 kayıt (commit)
  19. 16 Eki, 2003 1 kayıt (commit)
  20. 29 Haz, 2003 1 kayıt (commit)
  21. 27 Haz, 2003 2 kayıt (commit)
  22. 15 Haz, 2003 1 kayıt (commit)
  23. 03 May, 2003 1 kayıt (commit)
  24. 28 Mar, 2003 1 kayıt (commit)
  25. 19 Ock, 2003 1 kayıt (commit)
  26. 14 Ock, 2003 1 kayıt (commit)
  27. 30 Kas, 2002 1 kayıt (commit)
    • Ka-Ping Yee's avatar
      getdoc(): · a59ef7bb
      Ka-Ping Yee yazdı
          Remove leading whitespace from first line; remove leading and
          trailing blank lines from docstrings.  (Patch 645938 submitted
          by David Goodger.)
      a59ef7bb
  28. 15 Agu, 2002 1 kayıt (commit)
    • Michael W. Hudson's avatar
      This is my patch · dd32a91c
      Michael W. Hudson yazdı
      [ 587993 ] SET_LINENO killer
      
      Remove SET_LINENO.  Tracing is now supported by inspecting co_lnotab.
      
      Many sundry changes to document and adapt to this change.
      dd32a91c
  29. 04 Agu, 2002 1 kayıt (commit)
  30. 02 Haz, 2002 1 kayıt (commit)
  31. 01 Haz, 2002 2 kayıt (commit)
  32. 20 May, 2002 1 kayıt (commit)
  33. 26 Nis, 2002 1 kayıt (commit)