1. 02 Ara, 2007 3 kayıt (commit)
  2. 17 May, 2007 1 kayıt (commit)
    • Guido van Rossum's avatar
      Merged revisions 55342-55406 via svnmerge from · ebe3e166
      Guido van Rossum yazdı
      svn+ssh://pythondev@svn.python.org/python/branches/p3yk
      
      ........
        r55360 | guido.van.rossum | 2007-05-15 14:57:59 -0700 (Tue, 15 May 2007) | 2 lines
      
        obcheckin.
      ........
        r55361 | guido.van.rossum | 2007-05-15 14:59:18 -0700 (Tue, 15 May 2007) | 2 lines
      
        Get rid of strop module.
      ........
        r55367 | brett.cannon | 2007-05-15 21:06:28 -0700 (Tue, 15 May 2007) | 2 lines
      
        Remove the 'pure' module.
      ........
        r55369 | brett.cannon | 2007-05-15 21:07:31 -0700 (Tue, 15 May 2007) | 2 lines
      
        Remove the lib-old directory (already empty).
      ........
        r55370 | neal.norwitz | 2007-05-15 21:30:40 -0700 (Tue, 15 May 2007) | 1 line
      
        Get rid of a bunch more references to strop
      ........
        r55374 | brett.cannon | 2007-05-15 21:39:00 -0700 (Tue, 15 May 2007) | 2 lines
      
        Complete the removal of IRIX-specific modules.
      ........
        r55379 | brett.cannon | 2007-05-15 22:31:54 -0700 (Tue, 15 May 2007) | 2 lines
      
        Update removed IRIX modules based on what is gone from removing plat-irix6.
      ........
        r55388 | brett.cannon | 2007-05-16 14:34:52 -0700 (Wed, 16 May 2007) | 2 lines
      
        Clean up the docstring for the compiler resource.
      ........
        r55406 | brett.cannon | 2007-05-17 11:05:37 -0700 (Thu, 17 May 2007) | 2 lines
      
        Remove BaseException.message (deprecated in Python 2.6).
      ........
      ebe3e166
  3. 14 Ock, 2007 1 kayıt (commit)
  4. 15 Şub, 2006 1 kayıt (commit)
  5. 28 Eki, 2004 1 kayıt (commit)
    • Armin Rigo's avatar
      Wrote down the invariants of some common objects whose structure is · 89a39461
      Armin Rigo yazdı
      exposed in header files.  Fixed a few comments in these headers.
      
      As we might have expected, writing down invariants systematically exposed a
      (minor) bug.  In this case, function objects have a writeable func_code
      attribute, which could be set to code objects with the wrong number of
      free variables.  Calling the resulting function segfaulted the interpreter.
      Added a corresponding test.
      89a39461
  6. 17 Nis, 2003 1 kayıt (commit)
    • Thomas Heller's avatar
      SF # 595026: support for masks in getargs.c. · a4ea603b
      Thomas Heller yazdı
      New functions:
        unsigned long PyInt_AsUnsignedLongMask(PyObject *);
        unsigned PY_LONG_LONG) PyInt_AsUnsignedLongLongMask(PyObject *);
        unsigned long PyLong_AsUnsignedLongMask(PyObject *);
        unsigned PY_LONG_LONG) PyLong_AsUnsignedLongLongMask(PyObject *);
      
      New and changed format codes:
      
      b unsigned char 0..UCHAR_MAX
      B unsigned char none **
      h unsigned short 0..USHRT_MAX
      H unsigned short none **
      i int INT_MIN..INT_MAX
      I * unsigned int 0..UINT_MAX
      l long LONG_MIN..LONG_MAX
      k * unsigned long none
      L long long LLONG_MIN..LLONG_MAX
      K * unsigned long long none
      
      Notes:
      
      * New format codes.
      
      ** Changed from previous "range-and-a-half" to "none"; the
      range-and-a-half checking wasn't particularly useful.
      
      New test test_getargs2.py, to verify all this.
      a4ea603b
  7. 01 Ock, 2003 1 kayıt (commit)
  8. 31 Ara, 2002 1 kayıt (commit)
  9. 30 Ara, 2002 1 kayıt (commit)
    • Neal Norwitz's avatar
      SF #561244, Micro optimizations · c91ed400
      Neal Norwitz yazdı
      Initialize the small integers and __builtins__ in startup.
      This removes some if conditions.
      Change XDECREF to DECREF for values which shouldn't be NULL.
      c91ed400
  10. 12 Agu, 2002 1 kayıt (commit)
  11. 03 Nis, 2002 1 kayıt (commit)
    • Guido van Rossum's avatar
      Add the 'bool' type and its values 'False' and 'True', as described in · 77f6a65e
      Guido van Rossum yazdı
      PEP 285.  Everything described in the PEP is here, and there is even
      some documentation.  I had to fix 12 unit tests; all but one of these
      were printing Boolean outcomes that changed from 0/1 to False/True.
      (The exception is test_unicode.py, which did a type(x) == type(y)
      style comparison.  I could've fixed that with a single line using
      issubtype(x, type(y)), but instead chose to be explicit about those
      places where a bool is expected.
      
      Still to do: perhaps more documentation; change standard library
      modules to return False/True from predicates.
      77f6a65e
  12. 10 Eyl, 2001 1 kayıt (commit)
    • Tim Peters's avatar
      SF bug #460020: bug or feature: unicode() and subclasses. · 64b5ce3a
      Tim Peters yazdı
      Given an immutable type M, and an instance I of a subclass of M, the
      constructor call M(I) was just returning I as-is; but it should return a
      new instance of M.  This fixes it for M in {int, long}.  Strings, floats
      and tuples remain to be done.
      Added new macros PyInt_CheckExact and PyLong_CheckExact, to more easily
      distinguish between "is" and "is a" (i.e., only an int passes
      PyInt_CheckExact, while any sublass of int passes PyInt_Check).
      Added private API function _PyLong_Copy.
      64b5ce3a
  13. 29 Agu, 2001 1 kayıt (commit)
  14. 17 Agu, 2001 1 kayıt (commit)
    • Martin v. Löwis's avatar
      Patch #445762: Support --disable-unicode · 339d0f72
      Martin v. Löwis yazdı
      - Do not compile unicodeobject, unicodectype, and unicodedata if Unicode is disabled
      - check for Py_USING_UNICODE in all places that use Unicode functions
      - disables unicode literals, and the builtin functions
      - add the types.StringTypes list
      - remove Unicode literals from most tests.
      339d0f72
  15. 01 Eyl, 2000 1 kayıt (commit)
  16. 09 Tem, 2000 1 kayıt (commit)
  17. 30 Haz, 2000 2 kayıt (commit)
  18. 05 Nis, 2000 1 kayıt (commit)
    • Guido van Rossum's avatar
      Marc-Andre's third try at this bulk patch seems to work (except that · 9e896b37
      Guido van Rossum yazdı
      his copy of test_contains.py seems to be broken -- the lines he
      deleted were already absent).  Checkin messages:
      
      
      New Unicode support for int(), float(), complex() and long().
      
      - new APIs PyInt_FromUnicode() and PyLong_FromUnicode()
      - added support for Unicode to PyFloat_FromString()
      - new encoding API PyUnicode_EncodeDecimal() which converts
        Unicode to a decimal char* string (used in the above new
        APIs)
      - shortcuts for calls like int(<int object>) and float(<float obj>)
      - tests for all of the above
      
      Unicode compares and contains checks:
      - comparing Unicode and non-string types now works; TypeErrors
        are masked, all other errors such as ValueError during
        Unicode coercion are passed through (note that PyUnicode_Compare
        does not implement the masking -- PyObject_Compare does this)
      - contains now works for non-string types too; TypeErrors are
        masked and 0 returned; all other errors are passed through
      
      Better testing support for the standard codecs.
      
      Misc minor enhancements, such as an alias dbcs for the mbcs codec.
      
      Changes:
      - PyLong_FromString() now applies the same error checks as
        does PyInt_FromString(): trailing garbage is reported
        as error and not longer silently ignored. The only characters
        which may be trailing the digits are 'L' and 'l' -- these
        are still silently ignored.
      - string.ato?() now directly interface to int(), long() and
        float(). The error strings are now a little different, but
        the type still remains the same. These functions are now
        ready to get declared obsolete ;-)
      - PyNumber_Int() now also does a check for embedded NULL chars
        in the input string; PyNumber_Long() already did this (and
        still does)
      
      Followed by:
      
      Looks like I've gone a step too far there... (and test_contains.py
      seem to have a bug too).
      
      I've changed back to reporting all errors in PyUnicode_Contains()
      and added a few more test cases to test_contains.py (plus corrected
      the join() NameError).
      9e896b37
  19. 01 Mar, 2000 1 kayıt (commit)
  20. 12 Eki, 1999 1 kayıt (commit)
  21. 10 Ara, 1998 1 kayıt (commit)
  22. 04 Ara, 1998 1 kayıt (commit)
  23. 02 Agu, 1997 1 kayıt (commit)
  24. 19 Tem, 1997 1 kayıt (commit)
  25. 25 Eki, 1996 1 kayıt (commit)
  26. 27 Şub, 1995 1 kayıt (commit)
  27. 12 Ock, 1995 1 kayıt (commit)
  28. 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
  29. 18 Agu, 1994 1 kayıt (commit)
  30. 01 Agu, 1994 1 kayıt (commit)
  31. 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
  32. 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
  33. 05 Nis, 1992 1 kayıt (commit)
  34. 19 Şub, 1991 1 kayıt (commit)
  35. 14 Eki, 1990 1 kayıt (commit)