1. 09 May, 2010 1 kayıt (commit)
  2. 09 Haz, 2008 1 kayıt (commit)
  3. 26 May, 2008 1 kayıt (commit)
  4. 14 May, 2008 1 kayıt (commit)
  5. 19 Ock, 2006 1 kayıt (commit)
  6. 27 Nis, 2002 1 kayıt (commit)
    • Tim Peters's avatar
      Repair widespread misuse of _PyString_Resize. Since it's clear people · 5de9842b
      Tim Peters yazdı
      don't understand how this function works, also beefed up the docs.  The
      most common usage error is of this form (often spread out across gotos):
      
      	if (_PyString_Resize(&s, n) < 0) {
      		Py_DECREF(s);
      		s = NULL;
      		goto outtahere;
      	}
      
      The error is that if _PyString_Resize runs out of memory, it automatically
      decrefs the input string object s (which also deallocates it, since its
      refcount must be 1 upon entry), and sets s to NULL.  So if the "if"
      branch ever triggers, it's an error to call Py_DECREF(s):  s is already
      NULL!  A correct way to write the above is the simpler (and intended)
      
      	if (_PyString_Resize(&s, n) < 0)
      		goto outtahere;
      
      Bugfix candidate.
      5de9842b
  7. 17 Ock, 2002 1 kayıt (commit)
  8. 08 Ara, 2001 1 kayıt (commit)
    • Guido van Rossum's avatar
      Patch supplied by Burton Radons for his own SF bug #487390: Modifying · 14648396
      Guido van Rossum yazdı
      type.__module__ behavior.
      
      This adds the module name and a dot in front of the type name in every
      type object initializer, except for built-in types (and those that
      already had this).  Note that it touches lots of Mac modules -- I have
      no way to test these but the changes look right.  Apologies if they're
      not.  This also touches the weakref docs, which contains a sample type
      object initializer.  It also touches the mmap test output, because the
      mmap type's repr is included in that output.  It touches object.h to
      put the correct description in a comment.
      14648396
  9. 01 Eyl, 2000 2 kayıt (commit)
  10. 21 Tem, 2000 1 kayıt (commit)
    • Thomas Wouters's avatar
      Bunch of minor ANSIfications: 'void initfunc()' -> 'void initfunc(void)', · f3f33dcf
      Thomas Wouters yazdı
      and a couple of functions that were missed in the previous batches. Not
      terribly tested, but very carefully scrutinized, three times.
      
      All these were found by the little findkrc.py that I posted to python-dev,
      which means there might be more lurking. Cases such as this:
      
      long
      func(a, b)
      	long a;
      	long b; /* flagword */
      {
      
      and other cases where the last ; in the argument list isn't followed by a
      newline and an opening curly bracket. Regexps to catch all are welcome, of
      course ;)
      f3f33dcf
  11. 10 Tem, 2000 1 kayıt (commit)
  12. 30 Haz, 2000 2 kayıt (commit)
  13. 03 May, 2000 1 kayıt (commit)
    • Guido van Rossum's avatar
      Vladimir Marangozov's long-awaited malloc restructuring. · b18618da
      Guido van Rossum yazdı
      For more comments, read the patches@python.org archives.
      For documentation read the comments in mymalloc.h and objimpl.h.
      
      (This is not exactly what Vladimir posted to the patches list; I've
      made a few changes, and Vladimir sent me a fix in private email for a
      problem that only occurs in debug mode.  I'm also holding back on his
      change to main.c, which seems unnecessary to me.)
      b18618da
  14. 29 Şub, 2000 1 kayıt (commit)
  15. 01 Eki, 1997 1 kayıt (commit)
  16. 03 Ock, 1997 1 kayıt (commit)
  17. 05 Ara, 1996 1 kayıt (commit)
  18. 25 Eki, 1996 1 kayıt (commit)
  19. 28 Mar, 1995 1 kayıt (commit)
    • Sjoerd Mullender's avatar
      Use newgetargs instead of getargs. · 542659bb
      Sjoerd Mullender yazdı
      Check if objects are closed in getattr function instead of in each
      method.
      Removed functions sbtoa and timetoa.
      Added functions msftoframe.
      Added variables that used to be in standard module CD.
      542659bb
  20. 04 Ock, 1995 1 kayıt (commit)
  21. 01 Agu, 1994 1 kayıt (commit)
  22. 17 Haz, 1993 1 kayıt (commit)
    • Guido van Rossum's avatar
      * Added gmtime/localtime/mktime and SYSV timezone globals to timemodule.c. · 234f942a
      Guido van Rossum yazdı
        Added $(SYSDEF) to its build rule in Makefile.
      * cgensupport.[ch], modsupport.[ch]: removed some old stuff.  Also
        changed files that still used it...  And made several things static
        that weren't but should have been...  And other minor cleanups...
      * listobject.[ch]: add external interfaces {set,get}listslice
      * socketmodule.c: fix bugs in new send() argument parsing.
      * sunaudiodevmodule.c: added flush() and close().
      234f942a
  23. 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
  24. 25 Eyl, 1992 1 kayıt (commit)
  25. 24 Eyl, 1992 1 kayıt (commit)
  26. 05 Agu, 1992 1 kayıt (commit)
    • Guido van Rossum's avatar
      * Makefile: cosmetics · ff4949ee
      Guido van Rossum yazdı
      * socketmodule.c: get rid of makepair(); fix makesocketaddr to fix
        broken recvfrom()
      * socketmodule: get rid of getStrarg()
      * ceval.h: move eval_code() to new file eval.h, so compile.h is no
        longer needed.
      * ceval.c: move thread comments to ceval.h; always make save/restore
        thread functions available (for dynloaded modules)
      * cdmodule.c, listobject.c: don't include compile.h
      * flmodule.c: include ceval.h
      * import.c: include eval.h instead of ceval.h
      * cgen.py: add forground(); noport(); winopen(""); to initgl().
      * bltinmodule.c, socketmodule.c, fileobject.c, posixmodule.c,
        selectmodule.c:
        adapt to threads (add BGN/END SAVE macros)
      * stdwinmodule.c: adapt to threads and use a special stdwin lock.
      * pythonmain.c: don't include getpythonpath().
      * pythonrun.c: use BGN/END SAVE instead of direct calls; also more
        BGN/END SAVE calls etc.
      * thread.c: bigger stack size for sun; change exit() to _exit()
      * threadmodule.c: use BGN/END SAVE macros where possible
      * timemodule.c: adapt better to threads; use BGN/END SAVE; add
        longsleep internal function if BSD_TIME; cosmetics
      ff4949ee
  27. 03 Agu, 1992 1 kayıt (commit)
  28. 06 May, 1992 2 kayıt (commit)
  29. 15 Nis, 1992 1 kayıt (commit)
  30. 13 Nis, 1992 1 kayıt (commit)