1. 16 Tem, 2001 1 kayıt (commit)
    • Tim Peters's avatar
      Ugly. A pile of new xxxFlags() functions, to communicate to the parser · fe2127d3
      Tim Peters yazdı
      that 'yield' is a keyword.  This doesn't help test_generators at all!  I
      don't know why not.  These things do work now (and didn't before this
      patch):
      
      1. "from __future__ import generators" now works in a native shell.
      
      2. Similarly "python -i xxx.py" now has generators enabled in the
         shell if xxx.py had them enabled.
      
      3. This program (which was my doctest proxy) works fine:
      
      from __future__ import generators
      
      source = """\
      def f():
          yield 1
      """
      
      exec compile(source, "", "single") in globals()
      print type(f())
      fe2127d3
  2. 01 Eyl, 2000 1 kayıt (commit)
  3. 11 Tem, 2000 1 kayıt (commit)
  4. 08 Tem, 2000 1 kayıt (commit)
  5. 30 Haz, 2000 2 kayıt (commit)
  6. 04 Ara, 1998 1 kayıt (commit)
  7. 25 Eki, 1996 1 kayıt (commit)
  8. 12 Ock, 1995 1 kayıt (commit)
  9. 04 Ock, 1995 1 kayıt (commit)
    • Guido van Rossum's avatar
      Added 1995 copyright. · 5799b520
      Guido van Rossum yazdı
      object.h: made sizes and refcnts signed ints.
      stringobject.h: make getstrsize() signed int.
      methodobject.h: add METH_VARARGS and METH_FREENAME flag bit definitions.
      5799b520
  10. 01 Agu, 1994 1 kayıt (commit)
  11. 20 Ara, 1993 1 kayıt (commit)
  12. 28 Tem, 1993 1 kayıt (commit)
    • Guido van Rossum's avatar
      * Added support for X11 modules. · a3309960
      Guido van Rossum yazdı
      * Makefile: change location of FORMS library.
      * posixmodule.c: turn #if 0 into #ifdef MSDOS (stuff in unistd.h or not)
      * Almost all .h files: added CPP magic to avoid duplicate inclusions and
        to support inclusion from C++.
      a3309960
  13. 29 Mar, 1993 1 kayıt (commit)
    • Guido van Rossum's avatar
      * Changed all copyright messages to include 1993. · 9bfef44d
      Guido van Rossum yazdı
      * Stubs for faster implementation of local variables (not yet finished)
      * Added function name to code object.  Print it for code and function
        objects.  THIS MAKES THE .PYC FILE FORMAT INCOMPATIBLE (the version
        number has changed accordingly)
      * Print address of self for built-in methods
      * New internal functions getattro and setattro (getattr/setattr with
        string object arg)
      * Replaced "dictobject" with more powerful "mappingobject"
      * New per-type functio tp_hash to implement arbitrary object hashing,
        and hashobject() to interface to it
      * Added built-in functions hash(v) and hasattr(v, 'name')
      * classobject: made some functions static that accidentally weren't;
        added __hash__ special instance method to implement hash()
      * Added proper comparison for built-in methods and functions
      9bfef44d
  14. 05 Nis, 1992 1 kayıt (commit)
  15. 19 Şub, 1991 1 kayıt (commit)
  16. 20 Ara, 1990 1 kayıt (commit)
  17. 14 Eki, 1990 1 kayıt (commit)