1. 18 May, 2017 1 kayıt (commit)
    • Jon Dufresne's avatar
      bpo-30296 Remove unnecessary tuples, lists, sets, and dicts (#1489) · 3972628d
      Jon Dufresne yazdı
      * Replaced list(<generator expression>) with list comprehension
      * Replaced dict(<generator expression>) with dict comprehension
      * Replaced set(<list literal>) with set literal
      * Replaced builtin func(<list comprehension>) with func(<generator
        expression>) when supported (e.g. any(), all(), tuple(), min(), &
        max())
      3972628d
  2. 09 Eyl, 2016 1 kayıt (commit)
  3. 28 Nis, 2015 1 kayıt (commit)
  4. 26 Eki, 2013 1 kayıt (commit)
  5. 12 Şub, 2013 1 kayıt (commit)
  6. 28 Haz, 2009 3 kayıt (commit)
    • Benjamin Peterson's avatar
      simplify this expression · 500c6ef6
      Benjamin Peterson yazdı
      500c6ef6
    • Benjamin Peterson's avatar
    • Benjamin Peterson's avatar
      Merged revisions… · 78565b22
      Benjamin Peterson yazdı
      Merged revisions 73376,73393,73398,73400,73404-73405,73409,73419-73421,73432,73457,73460,73485-73486,73488-73489,73501-73502,73513-73514 via svnmerge from
      svn+ssh://pythondev@svn.python.org/python/trunk
      
      ........
        r73376 | benjamin.peterson | 2009-06-11 17:29:23 -0500 (Thu, 11 Jun 2009) | 1 line
      
        remove check for case handled in sub-function
      ........
        r73393 | alexandre.vassalotti | 2009-06-12 13:56:57 -0500 (Fri, 12 Jun 2009) | 2 lines
      
        Clear reference to the static PyExc_RecursionErrorInst in _PyExc_Fini.
      ........
        r73398 | alexandre.vassalotti | 2009-06-12 15:57:12 -0500 (Fri, 12 Jun 2009) | 3 lines
      
        Add const qualifier to PyErr_SetFromErrnoWithFilename and to
        PyErr_SetFromErrnoWithUnicodeFilename.
      ........
        r73400 | alexandre.vassalotti | 2009-06-12 16:43:47 -0500 (Fri, 12 Jun 2009) | 2 lines
      
        Delete outdated make file for building the parser with MSVC 6.
      ........
        r73404 | benjamin.peterson | 2009-06-12 20:40:00 -0500 (Fri, 12 Jun 2009) | 1 line
      
        keep the slice.step field as NULL if no step expression is given
      ........
        r73405 | benjamin.peterson | 2009-06-12 22:46:30 -0500 (Fri, 12 Jun 2009) | 1 line
      
        prevent import statements from assigning to None
      ........
        r73409 | benjamin.peterson | 2009-06-13 08:06:21 -0500 (Sat, 13 Jun 2009) | 1 line
      
        allow importing from a module named None if it has an 'as' clause
      ........
        r73419 | benjamin.peterson | 2009-06-13 11:19:19 -0500 (Sat, 13 Jun 2009) | 1 line
      
        set Print.values to NULL if there are no values
      ........
        r73420 | benjamin.peterson | 2009-06-13 12:08:53 -0500 (Sat, 13 Jun 2009) | 1 line
      
        give a better error message when deleting ()
      ........
        r73421 | benjamin.peterson | 2009-06-13 15:23:33 -0500 (Sat, 13 Jun 2009) | 1 line
      
        when no module is given in a 'from' relative import, make ImportFrom.module NULL
      ........
        r73432 | amaury.forgeotdarc | 2009-06-14 16:20:40 -0500 (Sun, 14 Jun 2009) | 3 lines
      
        #6227: Because of a wrong indentation, the test was not testing what it should.
        Ensure that the snippet in doctest_aliases actually contains aliases.
      ........
        r73457 | benjamin.peterson | 2009-06-16 18:13:09 -0500 (Tue, 16 Jun 2009) | 1 line
      
        add underscores
      ........
        r73460 | benjamin.peterson | 2009-06-16 22:23:04 -0500 (Tue, 16 Jun 2009) | 1 line
      
        remove unused 'encoding' member from the compiler struct
      ........
        r73485 | benjamin.peterson | 2009-06-19 17:07:47 -0500 (Fri, 19 Jun 2009) | 1 line
      
        remove duplicate test
      ........
        r73486 | benjamin.peterson | 2009-06-19 17:09:17 -0500 (Fri, 19 Jun 2009) | 1 line
      
        add missing assertion #6313
      ........
        r73488 | benjamin.peterson | 2009-06-19 17:16:28 -0500 (Fri, 19 Jun 2009) | 1 line
      
        show that this one isn't used
      ........
        r73489 | benjamin.peterson | 2009-06-19 17:21:12 -0500 (Fri, 19 Jun 2009) | 1 line
      
        use closures
      ........
        r73501 | benjamin.peterson | 2009-06-21 18:01:07 -0500 (Sun, 21 Jun 2009) | 1 line
      
        don't need to add the name 'lambda' as assigned
      ........
        r73502 | benjamin.peterson | 2009-06-21 18:03:36 -0500 (Sun, 21 Jun 2009) | 1 line
      
        remove tmpname support since it's no longer used
      ........
        r73513 | benjamin.peterson | 2009-06-22 20:18:57 -0500 (Mon, 22 Jun 2009) | 1 line
      
        fix grammar
      ........
        r73514 | benjamin.peterson | 2009-06-22 22:01:56 -0500 (Mon, 22 Jun 2009) | 1 line
      
        remove some unused symtable constants
      ........
      78565b22
  7. 31 Mar, 2009 3 kayıt (commit)
    • Jeremy Hylton's avatar
      Merged revisions 70801,70809 via svnmerge from · f37708e0
      Jeremy Hylton yazdı
      svn+ssh://pythondev@svn.python.org/python/trunk
      
      The merge ran into a lot of conflicts because dicts were replaced with
      sets in the Python 3 version of the symbol table.
      
      ........
        r70801 | jeremy.hylton | 2009-03-31 09:17:03 -0400 (Tue, 31 Mar 2009) | 3 lines
      
        Add is_declared_global() which distinguishes between implicit and
        explicit global variables.
      ........
        r70809 | jeremy.hylton | 2009-03-31 09:48:15 -0400 (Tue, 31 Mar 2009) | 14 lines
      
        Global statements from one function leaked into parallel functions.
      
        Re http://bugs.python.org/issue4315
      
        The symbol table used the same name dictionaries to recursively
        analyze each of its child blocks, even though the dictionaries are
        modified during analysis.  The fix is to create new temporary
        dictionaries via the analyze_child_block().  The only information that
        needs to propagate back up is the names of the free variables.
      
        Add more comments and break out a helper function.  This code doesn't
        get any easier to understand when you only look at it once a year.
      ........
      f37708e0
    • Jeremy Hylton's avatar
      Merged revisions 70801,70809 via svnmerge from · cfb3d33c
      Jeremy Hylton yazdı
      svn+ssh://pythondev@svn.python.org/python/trunk
      
      ........
        r70801 | jeremy.hylton | 2009-03-31 09:17:03 -0400 (Tue, 31 Mar 2009) | 3 lines
      
        Add is_declared_global() which distinguishes between implicit and
        explicit global variables.
      ........
        r70809 | jeremy.hylton | 2009-03-31 09:48:15 -0400 (Tue, 31 Mar 2009) | 14 lines
      
        Global statements from one function leaked into parallel functions.
      
        Re http://bugs.python.org/issue4315
      
        The symbol table used the same name dictionaries to recursively
        analyze each of its child blocks, even though the dictionaries are
        modified during analysis.  The fix is to create new temporary
        dictionaries via the analyze_child_block().  The only information that
        needs to propagate back up is the names of the free variables.
      
        Add more comments and break out a helper function.  This code doesn't
        get any easier to understand when you only look at it once a year.
      ........
      cfb3d33c
    • Jeremy Hylton's avatar
      Add is_declared_global() which distinguishes between implicit and · 1c157ea9
      Jeremy Hylton yazdı
      explicit global variables.
      1c157ea9
  8. 26 Şub, 2009 1 kayıt (commit)
  9. 20 Agu, 2008 7 kayıt (commit)
  10. 17 Agu, 2008 2 kayıt (commit)
    • Benjamin Peterson's avatar
      Merged revisions 65715,65724,65726,65732,65736-65739,65775 via svnmerge from · 55e00f27
      Benjamin Peterson yazdı
      svn+ssh://pythondev@svn.python.org/python/trunk
      
      ........
        r65715 | benjamin.peterson | 2008-08-16 16:04:16 -0500 (Sat, 16 Aug 2008) | 1 line
      
        add some documentation for symtable
      ........
        r65724 | benjamin.peterson | 2008-08-16 17:11:33 -0500 (Sat, 16 Aug 2008) | 2 lines
      
        include filename and line number in SyntaxError
      ........
        r65726 | georg.brandl | 2008-08-16 17:37:05 -0500 (Sat, 16 Aug 2008) | 2 lines
      
        Review symtable docs.
      ........
        r65732 | benjamin.peterson | 2008-08-16 18:29:40 -0500 (Sat, 16 Aug 2008) | 1 line
      
        PySTEntry's constructor is static; there's no point in a fancy API name
      ........
        r65736 | benjamin.peterson | 2008-08-16 20:09:17 -0500 (Sat, 16 Aug 2008) | 1 line
      
        expose PySTEntry.nested so the symtable module will work
      ........
        r65737 | benjamin.peterson | 2008-08-16 20:17:15 -0500 (Sat, 16 Aug 2008) | 1 line
      
        a few improvements
      ........
        r65738 | benjamin.peterson | 2008-08-16 20:27:30 -0500 (Sat, 16 Aug 2008) | 1 line
      
        fix compile errors
      ........
        r65739 | benjamin.peterson | 2008-08-16 21:23:43 -0500 (Sat, 16 Aug 2008) | 1 line
      
        uhh PySTEntry->ste_unoptimized has to be exposed too
      ........
        r65775 | benjamin.peterson | 2008-08-17 12:13:26 -0500 (Sun, 17 Aug 2008) | 5 lines
      
        get the symtable module back in working order
        - Fix broken functions
        - Add (hopefully) extensive tests
        - Modernize a little
      ........
      55e00f27
    • Benjamin Peterson's avatar
      get the symtable module back in working order · 7dd85472
      Benjamin Peterson yazdı
      - Fix broken functions
      - Add (hopefully) extensive tests
      - Modernize a little
      7dd85472
  11. 30 Agu, 2007 1 kayıt (commit)
  12. 11 Şub, 2007 1 kayıt (commit)
    • Guido van Rossum's avatar
      - PEP 3106: dict.iterkeys(), .iteritems(), .itervalues() are now gone; · cc2b0161
      Guido van Rossum yazdı
        and .keys(), .items(), .values() return dict views.
      
      The dict views aren't fully functional yet; in particular, they can't
      be compared to sets yet.  but they are useful as "iterator wells".
      
      There are still 27 failing unit tests; I expect that many of these
      have fairly trivial fixes, but there are so many, I could use help.
      cc2b0161
  13. 09 Şub, 2007 1 kayıt (commit)
    • Guido van Rossum's avatar
      Fix most trivially-findable print statements. · be19ed77
      Guido van Rossum yazdı
      There's one major and one minor category still unfixed:
      doctests are the major category (and I hope to be able to augment the
      refactoring tool to refactor bona fide doctests soon);
      other code generating print statements in strings is the minor category.
      
      (Oh, and I don't know if the compiler package works.)
      be19ed77
  14. 06 Eyl, 2006 1 kayıt (commit)
  15. 25 Kas, 2005 1 kayıt (commit)
  16. 02 Haz, 2002 1 kayıt (commit)
  17. 04 Nis, 2002 1 kayıt (commit)
  18. 12 Tem, 2001 1 kayıt (commit)
  19. 16 Nis, 2001 1 kayıt (commit)
  20. 29 Mar, 2001 1 kayıt (commit)
  21. 23 Mar, 2001 1 kayıt (commit)
    • Jeremy Hylton's avatar
      flesh out __all__ · 101651c1
      Jeremy Hylton yazdı
      remove debugging code in if __debug__:
      
      add get_children() method on SymbolTable
      101651c1
  22. 22 Mar, 2001 1 kayıt (commit)