- 17 Tem, 2002 1 kayıt (commit)
-
-
Jeremy Hylton yazdı
The staticforward define was needed to support certain broken C compilers (notably SCO ODT 3.0, perhaps early AIX as well) botched the static keyword when it was used with a forward declaration of a static initialized structure. Standard C allows the forward declaration with static, and we've decided to stop catering to broken C compilers. (In fact, we expect that the compilers are all fixed eight years later.) I'm leaving staticforward and statichere defined in object.h as static. This is only for backwards compatibility with C extensions that might still use it. XXX I haven't updated the documentation.
-
- 31 Mar, 2002 1 kayıt (commit)
-
-
Neal Norwitz yazdı
Convert METH_OLDARGS -> METH_VARARGS: also PyArg_Parse -> PyArg_ParseTuple Convert METH_OLDARGS -> METH_NOARGS: remove args parameter Please review. All tests pass, but some modules don't have tests. I spot checked various functions to try to make sure nothing broke.
-
- 17 Ock, 2002 1 kayıt (commit)
-
-
Martin v. Löwis yazdı
-
- 12 Ock, 2002 1 kayıt (commit)
-
-
Martin v. Löwis yazdı
-
- 08 Ara, 2001 1 kayıt (commit)
-
-
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.
-
- 09 Kas, 2001 1 kayıt (commit)
-
-
Fred Drake yazdı
-
- 01 Eyl, 2000 1 kayıt (commit)
-
-
Guido van Rossum yazdı
This should match the situation in the 1.6b1 tree.
-
- 24 Tem, 2000 1 kayıt (commit)
-
-
Thomas Wouters yazdı
-
- 21 Tem, 2000 1 kayıt (commit)
-
-
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 ;)
-
- 16 Tem, 2000 1 kayıt (commit)
-
-
Thomas Wouters yazdı
comments, docstrings or error messages. I fixed two minor things in test_winreg.py ("didn't" -> "Didn't" and "Didnt" -> "Didn't"). There is a minor style issue involved: Guido seems to have preferred English grammar (behaviour, honour) in a couple places. This patch changes that to American, which is the more prominent style in the source. I prefer English myself, so if English is preferred, I'd be happy to supply a patch myself ;)
-
- 10 Tem, 2000 1 kayıt (commit)
-
-
Peter Schneider-Kamp yazdı
-
- 30 Haz, 2000 2 kayıt (commit)
-
-
Guido van Rossum yazdı
-
Guido van Rossum yazdı
-
- 03 May, 2000 1 kayıt (commit)
-
-
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.)
-
- 31 Eki, 1998 1 kayıt (commit)
-
-
Barry Warsaw yazdı
device and control pseudo-device: - first look for the device filename in the environment variable AUDIODEV. - if not found, use /dev/audio - calculate the control device by tacking "ctl" onto the base device name. We now do this. Also, if the open fails, we call PyErr_SetFromErrnoWithFilename() to give a more informative error message. Added a fileno() method to the audio object returned from open(). This returns the file descriptor which can be used by applications to set up SIGPOLL notification, as per the manpage.
-
- 01 Eki, 1997 1 kayıt (commit)
-
-
Guido van Rossum yazdı
(1) Use PyErr_NewException("module.class", NULL, NULL) to create the exception object. (2) Remove all calls to Py_FatalError(); instead, return or ignore the errors -- the import code now checks PyErr_Occurred() after calling a module's init function, so it's no longer a fatal error for the initialization to fail. Also did some small cleanups, e.g. removed unnecessary test for "already initialized" from initfpectl(), and unified initposix()/initnt(). I haven't checked this very thoroughly, so while the changes are pretty trivial -- beware of untested code!
-
- 11 Nis, 1997 1 kayıt (commit)
-
-
Guido van Rossum yazdı
/* x_ocount is in bytes, wheras play.samples is in frames */ /* we want frames */
-
- 09 Ock, 1997 1 kayıt (commit)
-
-
Barry Warsaw yazdı
descriptor leaks.
-
- 13 Ara, 1996 1 kayıt (commit)
-
-
Barry Warsaw yazdı
out manually, and it does compile, but I'm not sure how to write a useful portable test case. Maybe later...
-
- 10 Ara, 1996 1 kayıt (commit)
-
-
Guido van Rossum yazdı
-
- 25 Eki, 1996 1 kayıt (commit)
-
-
Guido van Rossum yazdı
-
- 11 Eyl, 1996 1 kayıt (commit)
-
-
Guido van Rossum yazdı
-
- 17 Mar, 1995 1 kayıt (commit)
-
-
Sjoerd Mullender yazdı
-
- 04 Ock, 1995 1 kayıt (commit)
-
-
Guido van Rossum yazdı
Setup.in: clarified Tk comments somewhat. structmodule.c: use memcpy() instead of double precision assignment.
-
- 01 Agu, 1994 1 kayıt (commit)
-
-
Guido van Rossum yazdı
-
- 03 Ara, 1993 1 kayıt (commit)
-
-
Sjoerd Mullender yazdı
-
- 17 Haz, 1993 1 kayıt (commit)
-
-
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().
-
- 29 Mar, 1993 1 kayıt (commit)
-
-
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
-
- 04 Eyl, 1992 1 kayıt (commit)
-
-
Guido van Rossum yazdı
raise AttributeError, not KeyError, when attribute deletion fails. sunaudiodevmodule.c: check for deletion before calling setmember.
-
- 03 Haz, 1992 1 kayıt (commit)
-
-
Guido van Rossum yazdı
-