Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Replaced the VC++ 5.x instructions with a pointer to ../PCbuild. | Guido van Rossum | 1998-05-26 | 1 | -17/+3 |
| | |||||
* | Moved VC++ 5.x files to ../PCbuild. | Guido van Rossum | 1998-05-26 | 8 | -1172/+0 |
| | |||||
* | Moved VC++ 5.x stuff here. | Guido van Rossum | 1998-05-26 | 9 | -4/+1200 |
| | |||||
* | Mark Hammond writes: | Guido van Rossum | 1998-05-26 | 1 | -17/+13 |
| | | | | | | 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 :-) | ||||
* | Don't die if win32api doesn't exist. | Guido van Rossum | 1998-05-26 | 1 | -1/+6 |
| | |||||
* | Fix a dumb typo in the revparse() regular exception: {1-4} should be {1,4}. | Guido van Rossum | 1998-05-22 | 1 | -1/+1 |
| | | | | Now you can click on revisions and diffs again! | ||||
* | Document missing functions: xor, not, truth, countOf, indexOf, and | Guido van Rossum | 1998-05-22 | 1 | -0/+28 |
| | | | | (new!) contains. | ||||
* | Use a different implementation of EventHook(). The new version | Guido van Rossum | 1998-05-22 | 1 | -37/+74 |
| | | | | | | | | | | 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 :-( | ||||
* | Minor grammatical correction: "This module perform ..." --> "This module | Fred Drake | 1998-05-22 | 1 | -1/+1 |
| | | | | performs ...". | ||||
* | Fixed spelling in comment: "RFC", not "RFX". | Fred Drake | 1998-05-22 | 1 | -1/+1 |
| | |||||
* | Add an alias (and preferred name) "contains" for "sequenceIncludes". | Guido van Rossum | 1998-05-22 | 1 | -47/+34 |
| | | | | | | | | 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. | ||||
* | introduce a new platform-specific variable: os.linesep is the | Guido van Rossum | 1998-05-22 | 1 | -0/+5 |
| | | | | | platform's line separator. \n on Unix, \r\n on DOS, OS/2 and Windows, \r on Macs. | ||||
* | Address some gcc -Wall warnings (e.g. include <ctype.h>). | Guido van Rossum | 1998-05-22 | 1 | -29/+54 |
| | | | | | | | 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 ;-( ) | ||||
* | Change the last 4-space indent into a 1-tab indent. | Guido van Rossum | 1998-05-22 | 1 | -1/+1 |
| | |||||
* | Shouldn't use newdir.dir(), which no longer exists! | Guido van Rossum | 1998-05-22 | 1 | -2/+1 |
| | |||||
* | I think there was a tiny bug in new_function() -- the 'defaults' | Guido van Rossum | 1998-05-22 | 1 | -1/+1 |
| | | | | | argument was initialized to Py_None, but later checked for NULL. Consistently use Py_None. | ||||
* | Add PyErr_PrintEx and PySequence_Contains. | Guido van Rossum | 1998-05-22 | 1 | -0/+2 |
| | |||||
* | Make function objects somewhat mutable -- the members func_code, | Guido van Rossum | 1998-05-22 | 1 | -3/+35 |
| | | | | | | 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. | ||||
* | PySequence_In() -> PySequence_Contains(). | Guido van Rossum | 1998-05-22 | 1 | -1/+1 |
| | |||||
* | Make sure that no use of a function pointer gotten from a | Guido van Rossum | 1998-05-22 | 1 | -3/+5 |
| | | | | | tp_as_sequence or tp_as_mapping structure is made without checking it for NULL first. | ||||
* | In PyObject_IsTrue(), don't call function pointers that are NULL | Guido van Rossum | 1998-05-22 | 1 | -3/+6 |
| | | | | (nb_nonzero, mp_length, sq_length). | ||||
* | Moved cmp_member() to abstract.c, as PySequence_Contains() [with | Guido van Rossum | 1998-05-22 | 1 | -53/+2 |
| | | | | | | | | 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. | ||||
* | A bunch of functions are now properly implemented in abstract.c, and | Guido van Rossum | 1998-05-22 | 1 | -356/+40 |
| | | | | | | | | | | | 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(). | ||||
* | Renamed PySequence_In() to PySequence_Contains(). | Guido van Rossum | 1998-05-22 | 1 | -1/+2 |
| | |||||
* | Completely reformatted, standardizing indentation as well as | Guido van Rossum | 1998-05-22 | 1 | -582/+900 |
| | | | | | | | | | | | | | | | | 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(). | ||||
* | knownfiles: Add the default installation dirs for Apache | Fred Drake | 1998-05-21 | 1 | -0/+2 |
| | | | | versions <= 1.2, >= 1.3. | ||||
* | Trivial little change: when setting a member to an object, hold the | Guido van Rossum | 1998-05-20 | 1 | -1/+3 |
| | | | | | | | 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. | ||||
* | Added support for AMK's {definitions} environment; thanks for the reminder! | Fred Drake | 1998-05-20 | 1 | -0/+20 |
| | |||||
* | Added {definitions} environment, which has \term to define indivual terms. | Fred Drake | 1998-05-20 | 1 | -0/+11 |
| | | | | Similar to {description}. | ||||
* | whrandom -> random | Guido van Rossum | 1998-05-20 | 5 | -12/+12 |
| | |||||
* | Use random instead of whrandom. | Guido van Rossum | 1998-05-20 | 5 | -18/+18 |
| | |||||
* | Add Interfaces to replace remaining needs for importing whrandom. | Guido van Rossum | 1998-05-20 | 1 | -0/+46 |
| | | | | # XXX TO DO: make the distribution functions below into methods. | ||||
* | Add LDLAST to the list of variables processed by the sed script. | Guido van Rossum | 1998-05-20 | 1 | -0/+1 |
| | |||||
* | Correct bug doc string (discovered by Berthold Hoellmann): | Guido van Rossum | 1998-05-20 | 1 | -1/+1 |
| | | | | get_line_buffer() does not take an optional argument. | ||||
* | Get rid of nearly all clals to self._do -- turns out self.tk.call can | Guido van Rossum | 1998-05-19 | 1 | -38/+48 |
| | | | | be used just as well, so this saves one Python call in many cases! | ||||
* | Use whrandom instead of rand. | Guido van Rossum | 1998-05-19 | 1 | -5/+5 |
| | | | | Run 500 steps instead of forever. | ||||
* | Protection agains non-existing subdirectories for clean and clobber | Guido van Rossum | 1998-05-19 | 1 | -2/+6 |
| | | | | | | 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. | ||||
* | Additions for Mark Hammond's Win32 specific hacks. | Guido van Rossum | 1998-05-19 | 3 | -0/+398 |
| | |||||
* | Don't use a separate node for footnotes; see if people scream. ;-) | Fred Drake | 1998-05-19 | 1 | -0/+1 |
| | |||||
* | Fix definition of release_version (global). | Fred Drake | 1998-05-19 | 1 | -1/+1 |
| | |||||
* | Added entry for mimetypes. | Fred Drake | 1998-05-19 | 1 | -0/+3 |
| | |||||
* | webcheck target in this Makefile wasn't used. | Fred Drake | 1998-05-19 | 1 | -3/+0 |
| | |||||
* | Fix the webcheck target so it checks the right files.... | Fred Drake | 1998-05-19 | 1 | -6/+6 |
| | |||||
* | (py-ask-about-save): New variable used in | Barry Warsaw | 1998-05-19 | 1 | -5/+13 |
| | | | | | py-execute-import-or-reload. Same semantics as compilation-ask-about-save. | ||||
* | (py-execute-string): Bind to C-c C-s, and put on menu | Barry Warsaw | 1998-05-19 | 1 | -0/+2 |
| | |||||
* | (py-stringlit-re): Another ME patch to recognize SQTQs and DQTQs | Barry Warsaw | 1998-05-19 | 1 | -2/+20 |
| | | | | | (single and double quoted triple quoted strings :-) with embedded single like-quotes. Also recognizes raw prefix. | ||||
* | More ME patches: | Barry Warsaw | 1998-05-19 | 1 | -4/+86 |
| | | | | | | | | | | | | | | (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. | ||||
* | (beginning-of-python-def-or-class): Renamed to | Barry Warsaw | 1998-05-19 | 1 | -52/+82 |
| | | | | | | | | | 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. | ||||
* | guess_extension(): Revise documentation string to be more clear. If not | Fred Drake | 1998-05-19 | 1 | -3/+6 |
| | | | | inited, call init(). | ||||
* | Test that "import sys.imp" fails as it should. | Guido van Rossum | 1998-05-19 | 1 | -1/+12 |
| |