- 02 Eki, 1997 1 kayıt (commit)
-
-
Fred Drake yazdı
-
- 01 Eki, 1997 5 kayıt (commit)
-
-
Guido van Rossum yazdı
-
Guido van Rossum yazdı
-
Guido van Rossum yazdı
with an instance of a derived class B would really raise an A, not a B. Since Barry fixed this anomalous behaviour, I though I might as well fix the test! (Hmm, Barry, did you not run the tests or did you miss that test_opcodes failed?)
-
Guido van Rossum yazdı
-
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!
-
- 30 Eyl, 1997 9 kayıt (commit)
-
-
Guido van Rossum yazdı
plat-win, get rid of test (which is now a package).
-
Guido van Rossum yazdı
tstate swapping. Only the acquiring and releasing of the lock is conditional (twice, under ``#ifdef WITH_THREAD'' and inside ``if (interpreter_lock)'').
-
Guido van Rossum yazdı
was a single '-'. Thanks to Andrew Kuchling.
-
Fred Drake yazdı
-
Fred Drake yazdı
-
Fred Drake yazdı
causes ugly noises under Windows.
-
Fred Drake yazdı
-
Guido van Rossum yazdı
-
Barry Warsaw yazdı
instance's class is a subclass of this, then use the instance's class as the exception type.
-
- 29 Eyl, 1997 14 kayıt (commit)
-
-
Guido van Rossum yazdı
-
Guido van Rossum yazdı
again (Mark Hammond is the cause of all this).
-
Guido van Rossum yazdı
-
Guido van Rossum yazdı
-
Guido van Rossum yazdı
-
Guido van Rossum yazdı
-
Guido van Rossum yazdı
-
Guido van Rossum yazdı
-
Guido van Rossum yazdı
-
Guido van Rossum yazdı
Use "re" module, making it threadsafe.
-
Guido van Rossum yazdı
-
Guido van Rossum yazdı
first. Don't store the traceback as a local variable, to avoid circular references.
-
Guido van Rossum yazdı
-
Guido van Rossum yazdı
os.fdopen() calls unbuffered. I presume that it's enough if we can make all three of them (for stdin, stdout, and stderr) unbuffered and don't need to specify different buffer sizes per file -- that would complicate the interface more than I care for.
-
- 28 Eyl, 1997 5 kayıt (commit)
-
-
Guido van Rossum yazdı
This one works! However it requires using a modified version of tclNotify.c (provided), which requires access to the Tcl source to compile it. In order to enable this hack, add the following to the Setup line for _tkinter: tclNotify.c -DHAVE_PYTCL_WAITUNTILEVENT -I$(TCL)/generic where TCL points to the source tree of Tcl 8.0. Other versions of Tcl are not supported. The tclNotify.c file is copyrighted by Sun Microsystems; the licensing terms are in the file license.terms. According to this file, no further permission to distribute this is required, provided the file license.terms is included. Hence, I am checking that in, too.
-
Guido van Rossum yazdı
-
Guido van Rossum yazdı
instead it is added to MACHDEPPATH in Modules/Setup.in
-
Guido van Rossum yazdı
maps errno numbers to errno names (e.g. EINTR), and errorcode maps them to message strings. (The latter is redundant because the new call posix.strerror() now does the same, but alla...)
-
Guido van Rossum yazdı
-
- 26 Eyl, 1997 5 kayıt (commit)
-
-
Guido van Rossum yazdı
-
Guido van Rossum yazdı
Apparently the traceback object doesn't contains the right linenumber when -O is used. Rather than guessing whether -O is on or off, use tb_lineno() unconditionally.
-
Guido van Rossum yazdı
When completing a simple identifier, it completes keywords, built-ins and globals in __main__; when completing NAME.NAME..., it evaluates (!) the expression up to the last dot and completes its attributes. It's very cool to do "import string" type "string.", hit the completion key (twice), and see the list of names defined by the string module! Tip: to use the tab key as the completion key, call readline.parse_and_bind("tab: complete")
-
Guido van Rossum yazdı
set_completer(function) parse_and_bind(string) read_init_file(filename) The first is the most exciting feature: with an appropriate Python completer function, it can do dynamic completion based on the contents of your namespace!
-
Guido van Rossum yazdı
-
- 24 Eyl, 1997 1 kayıt (commit)
-
-
Guido van Rossum yazdı
-