- 26 May, 1998 3 commits
-
-
Guido van Rossum authored
-
Guido van Rossum authored
Also, here is a new version of import_nt.c, which allows you to register a Debug module in the registry. While I was there I removed some of the ugliness - what was I thinking :-)
-
Guido van Rossum authored
-
- 22 May, 1998 20 commits
-
-
Guido van Rossum authored
Now you can click on revisions and diffs again!
-
Guido van Rossum authored
(new!) contains.
-
Guido van Rossum authored
registers an input file handler for stdin with Tcl and handles Tcl events until something is available on stdin; it then deletes the handler and returns from EventHook(). This works with or without GNU readline, and doesn't busy-wait. It still doesn't work for Mac or Windows :-(
-
Fred Drake authored
performs ...".
-
Fred Drake authored
-
Guido van Rossum authored
Rationalized the doc strings. Also simplify the module initialization -- we don't need a __version__ which is set to "$Rev" :-) and we don't need a fatal error when the initialization fails.
-
Guido van Rossum authored
platform's line separator. \n on Unix, \r\n on DOS, OS/2 and Windows, \r on Macs.
-
Guido van Rossum authored
Make sure that no tp_as_numbers->nb_<whatever> function is called without checking for a NULL pointer. Marc-Andre Lemburg will love it! (Except that he's just rewritten all this code for a different approach to coercions ;-( )
-
Guido van Rossum authored
-
Guido van Rossum authored
-
Guido van Rossum authored
argument was initialized to Py_None, but later checked for NULL. Consistently use Py_None.
-
Guido van Rossum authored
-
Guido van Rossum authored
func_defaults and func_doc (alias __doc__) may be assigned to. For the first two, there's a type restriction to code object and tuple, respectively.
-
Guido van Rossum authored
-
Guido van Rossum authored
tp_as_sequence or tp_as_mapping structure is made without checking it for NULL first.
-
Guido van Rossum authored
(nb_nonzero, mp_length, sq_length).
-
Guido van Rossum authored
swapped arguments]. Also make sure that no use of a function pointer gotten from a tp_as_sequence or tp_as_mapping structure is made without checking it for NULL first.
-
Guido van Rossum authored
the code here becomes much simpler. In particular: abs(), divmod(), pow(), int(), long(), float(), len(), tuple(), list(). Also make sure that no use of a function pointer gotten from a tp_as_sequence or tp_as_mapping structure is made without checking it for NULL first. A few other cosmetic things, such as properly reindenting slice().
-
Guido van Rossum authored
-
Guido van Rossum authored
programming style. Recoded many routines to incorporate better error checking, and/or better versions of the same function found elsewhere (e.g. bltinmodule.c or ceval.c). In particular, Py_Number_{Int,Long,Float}() now convert from strings, just like the built-in functions int(), long() and float(). Sequences and mappings are now safe to have NULL function pointers anywhere in their tp_as_sequence or tp_as_mapping fields. (A few places in other files need to be checked in too.) Renamed PySequence_In() to PySequence_Contains().
-
- 21 May, 1998 1 commit
-
-
Fred Drake authored
versions <= 1.2, >= 1.3.
-
- 20 May, 1998 8 commits
-
-
Guido van Rossum authored
old value in a temporary and XDECREF it only after then new value has been set. This prevents the (unlikely) case where the destructor of the member uses the containing object -- it would find it in an undefined state.
-
Fred Drake authored
-
Fred Drake authored
Similar to {description}.
-
Guido van Rossum authored
-
Guido van Rossum authored
-
Guido van Rossum authored
# XXX TO DO: make the distribution functions below into methods.
-
Guido van Rossum authored
-
Guido van Rossum authored
get_line_buffer() does not take an optional argument.
-
- 19 May, 1998 8 commits
-
-
Guido van Rossum authored
be used just as well, so this saves one Python call in many cases!
-
Guido van Rossum authored
Run 500 steps instead of forever.
-
Guido van Rossum authored
targets. On some platforms this would cause an infinite Make recursion. Also remove "Doc" from the SUBDIRSTOO variable, since it no longer exists in the standard distribution.
-
Guido van Rossum authored
-
Fred Drake authored
-
Fred Drake authored
-
Fred Drake authored
-
Fred Drake authored
-