- 22 May, 1998 5 commits
-
-
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 21 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
-
Fred Drake authored
-
Barry Warsaw authored
py-execute-import-or-reload. Same semantics as compilation-ask-about-save.
-
Barry Warsaw authored
-
Barry Warsaw authored
(single and double quoted triple quoted strings :-) with embedded single like-quotes. Also recognizes raw prefix.
-
Barry Warsaw authored
(py-execute-import-or-reload): Cool new command that imports or reloads the current file as a module, so as not to clutter the global namespace. Bound to C-c C-m. (py-execute-def-or-class): New command that sends the current def or class to the interpreter. Bound to C-M-x. (py-execute-string): New command that sends arbitrary string to the interpreter. Not bound by default. (py-describe-mode): Doco updates.
-
Barry Warsaw authored
py-beginning-of-def-or-class, and defaliased for backwards compatibility. ME patch to add optional second argument, count. (end-of-python-def-or-class): Renamed to py-end-of-def-or-class, and defaliased for backwards compatibility. ME patch to add optional second argument, count.
-
Fred Drake authored
inited, call init().
-
Guido van Rossum authored
-
Guido van Rossum authored
because the path through the code would notice that sys.__path__ did not exist and it would fall back to the default path (builtins + sys.path) instead of failing). No longer.
-
Fred Drake authored
-
Fred Drake authored
-
Barry Warsaw authored
(py-shell): Recognize the Python debugger prompt (py-jump-to-exception): Force into python-mode any buffer that gets jumped to on exception. Cope with py-exception-buffer possibly a cons.
-
Barry Warsaw authored
#of his patches to follow.
-
- 18 May, 1998 5 commits
-
-
Guido van Rossum authored
packages. (Mark Hammond) Folded some long lines.
-
Guido van Rossum authored
-
Guido van Rossum authored
packages. (Mark Hammond) Remove Emacs cruft.
-
Fred Drake authored
to filename extension.
-
Guido van Rossum authored
inaccuracies in mktime_tz().
-