1. 04 Agu, 2002 1 kayıt (commit)
  2. 24 May, 2002 1 kayıt (commit)
    • Guido van Rossum's avatar
      Disambiguate the grammar for backtick. · 2d3b9864
      Guido van Rossum yazdı
      The old syntax suggested that a trailing comma was OK inside backticks,
      but in fact (due to ideosyncrasies of pgen) it was not.  Fix the grammar
      to avoid the ambiguity.  Fred: you may want to update the refman.
      2d3b9864
  3. 23 May, 2002 1 kayıt (commit)
  4. 15 Eki, 2001 1 kayıt (commit)
    • Guido van Rossum's avatar
      Very subtle syntax change: in a list comprehension, the testlist in · 1c917072
      Guido van Rossum yazdı
      "for <var> in <testlist> may no longer be a single test followed by
      a comma.  This solves SF bug #431886.  Note that if the testlist
      contains more than one test, a trailing comma is still allowed, for
      maximum backward compatibility; but this example is not:
      
          [(x, y) for x in range(10), for y in range(10)]
                                    ^
      
      The fix involved creating a new nonterminal 'testlist_safe' whose
      definition doesn't allow the trailing comma if there's only one test:
      
          testlist_safe: test [(',' test)+ [',']]
      1c917072
  5. 08 Agu, 2001 1 kayıt (commit)
    • Guido van Rossum's avatar
      Implement PEP 238 in its (almost) full glory. · 4668b000
      Guido van Rossum yazdı
      This introduces:
      
      - A new operator // that means floor division (the kind of division
        where 1/2 is 0).
      
      - The "future division" statement ("from __future__ import division)
        which changes the meaning of the / operator to implement "true
        division" (where 1/2 is 0.5).
      
      - New overloadable operators __truediv__ and __floordiv__.
      
      - New slots in the PyNumberMethods struct for true and floor division,
        new abstract APIs for them, new opcodes, and so on.
      
      I emphasize that without the future division statement, the semantics
      of / will remain unchanged until Python 3.0.
      
      Not yet implemented are warnings (default off) when / is used with int
      or long arguments.
      
      This has been on display since 7/31 as SF patch #443474.
      
      Flames to /dev/null.
      4668b000
  6. 18 Haz, 2001 1 kayıt (commit)
  7. 27 Şub, 2001 1 kayıt (commit)
  8. 03 Şub, 2001 1 kayıt (commit)
  9. 28 Eyl, 2000 1 kayıt (commit)
  10. 24 Agu, 2000 1 kayıt (commit)
  11. 23 Agu, 2000 1 kayıt (commit)
  12. 22 Agu, 2000 1 kayıt (commit)
  13. 21 Agu, 2000 2 kayıt (commit)
  14. 17 Agu, 2000 2 kayıt (commit)
  15. 16 Agu, 2000 1 kayıt (commit)
  16. 12 Agu, 2000 1 kayıt (commit)
  17. 27 Tem, 2000 1 kayıt (commit)
  18. 28 Mar, 2000 1 kayıt (commit)
    • Jeremy Hylton's avatar
      slightly modified version of Greg Ewing's extended call syntax patch · 7690151c
      Jeremy Hylton yazdı
      executive summary:
      Instead of typing 'apply(f, args, kwargs)' you can type 'f(*arg, **kwargs)'.
      Some file-by-file details follow.
      
      Grammar/Grammar:
          simplify varargslist, replacing '*' '*' with '**'
          add * & ** options to arglist
      
      Include/opcode.h & Lib/dis.py:
          define three new opcodes
              CALL_FUNCTION_VAR
              CALL_FUNCTION_KW
              CALL_FUNCTION_VAR_KW
      
      Python/ceval.c:
          extend TypeError "keyword parameter redefined" message to include
              the name of the offending keyword
          reindent CALL_FUNCTION using four spaces
          add handling of sequences and dictionaries using extend calls
          fix function import_from to use PyErr_Format
      7690151c
  19. 09 Nis, 1998 1 kayıt (commit)
  20. 16 Nis, 1997 1 kayıt (commit)
  21. 02 Nis, 1997 1 kayıt (commit)
  22. 12 Agu, 1996 1 kayıt (commit)
  23. 30 Tem, 1996 1 kayıt (commit)
  24. 12 Ock, 1996 1 kayıt (commit)
  25. 07 Tem, 1995 1 kayıt (commit)
  26. 07 Ock, 1995 1 kayıt (commit)
  27. 29 Eyl, 1994 1 kayıt (commit)
  28. 17 Agu, 1994 1 kayıt (commit)
  29. 01 Agu, 1994 1 kayıt (commit)
  30. 28 Ara, 1993 1 kayıt (commit)
  31. 26 Ara, 1993 1 kayıt (commit)
  32. 24 Ara, 1993 1 kayıt (commit)
  33. 20 Ara, 1993 1 kayıt (commit)
  34. 30 Kas, 1993 2 kayıt (commit)
  35. 27 Eki, 1993 1 kayıt (commit)
  36. 26 Eki, 1993 1 kayıt (commit)
    • Guido van Rossum's avatar
      * compile.[ch]: support for lambda() · 12d12c5f
      Guido van Rossum yazdı
      * PROTO.h, mymalloc.h: added #ifdefs for TURBOC and GNUC.
      * allobjects.h: added #include "rangeobject.h"
      * Grammar: added lambda_input; relaxed syntax for exec.
      * bltinmodule.c: added bagof, map, reduce, lambda, xrange.
      * tupleobject.[ch]: added resizetuple().
      * rangeobject.[ch]: new object type to speed up range operations (not
        convinced this is needed!!!)
      12d12c5f
  37. 18 Eki, 1993 1 kayıt (commit)