summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Subtle changes to the AIX shared library things to make them workGuido van Rossum1997-08-292-5/+5
| | | | when building outside the source directory. Courtesy Donn Cave.
* Should remove getbuildno.o/buildno files in clobber/distclean targets.Guido van Rossum1997-08-291-1/+2
|
* Cprrect stuoid tyops -- was comparing variabes with themselves becauseGuido van Rossum1997-08-291-3/+3
| | | | of co/cp mixup.
* eval_code2(), set_exc_info(): Call PyErr_NormalizeException() theBarry Warsaw1997-08-281-2/+2
| | | | | | former rather than the latter, since PyErr_NormalizeException takes PyObject** and I didn't want to change the interface for set_exc_info (but I did want the changes propagated to eval_code2!).
* Added (binaryfunc) casts to function pointers in method lists.Guido van Rossum1997-08-281-4/+4
|
* Some long variables should have been int to match the 'i' format specifier.Guido van Rossum1997-08-281-3/+3
|
* user.py -- when imported, execfile(~/.pythonrc.py).Guido van Rossum1997-08-281-0/+38
|
* Complete log of changes since 1.5a3 at the end.Guido van Rossum1997-08-281-13/+143
|
* Added faqwiz and webchecker.Guido van Rossum1997-08-281-0/+6
|
* Added section about multiple FAQs.Guido van Rossum1997-08-281-2/+22
|
* New installation instructions show how to maintain multiple FAQs.Guido van Rossum1997-08-284-35/+60
| | | | | | | | | Removed bootstrap script from end of faqwiz.py module. Added instructions to bootstrap script, too. Version bumped to 0.8. Added <html>...</html> feature suggested by Skip Montanaro. Added leading text for Roulette, default to 'Hit Reload ...'. Fix typo in default SRCDIR.
* Removed faqmain.py -- it was an earlier implementation and noGuido van Rossum1997-08-271-858/+0
| | | | longer relevant.
* Referred to POSIX docs as well as to Unix docs.Guido van Rossum1997-08-272-6/+6
|
* Put all prints inside "if verbose:"Jack Jansen1997-08-271-20/+23
|
* Removed debug printJack Jansen1997-08-271-1/+0
|
* Modified for CW Pro projects and new filenamesJack Jansen1997-08-271-68/+46
|
* Added #include <WETabs.h>, which had somehow gone missingJack Jansen1997-08-273-4/+20
|
* Modified for installer and new names of various applets. Also cleanedJack Jansen1997-08-277-139/+115
| | | | up anything else I saw.
* Modified for new scripting supportJack Jansen1997-08-272-70/+266
|
* Moved suites to their own folderJack Jansen1997-08-2716-2066/+6267
|
* Fixed bugs regarding lines starting with '.' (both receiving and sending).Guido van Rossum1997-08-261-4/+25
| | | | Added a minimal test function.
* Ignore whitespace between formats (not internal to a count+format).Guido van Rossum1997-08-263-0/+13
|
* Explicitly close the socket and temp file in URLopener.retrieve(), soGuido van Rossum1997-08-261-0/+2
| | | | | | | | | that multiple retrievals using the same connection will work. This leaves open the more general problem that after f = urlopen("ftp://...") f must be closed before another retrieval from the same host should be attempted.
* PyErr_Print(): Use PyErr_GivenExceptionMatches() instead of pointerBarry Warsaw1997-08-261-2/+4
| | | | compares to test for SystemExit and SyntaxError.
* Replaced by ReadMeJack Jansen1997-08-261-142/+0
|
* Adapted from ReadMeOrSuffer for the new installerJack Jansen1997-08-261-0/+149
|
* Handle systemclicks ourselves, in stead of passing them to Sioux. ThisJack Jansen1997-08-261-10/+15
| | | | | fixes (or masks?) a bug with Python becoming unreactive during time.sleep() if you have already switched applications before.
* Completed first draft.Guido van Rossum1997-08-264-18/+467
|
* unpack_sequence(): In finally clause, watch out for Py_DECREFBarry Warsaw1997-08-251-2/+2
| | | | evaluating its arguments twice.
* regression test for new sequence unpacking semanticsBarry Warsaw1997-08-251-0/+131
|
* Output for sequence unpacking testBarry Warsaw1997-08-251-0/+1
|
* eval_code2(): collapsed the implementations of UNPACK_TUPLE andBarry Warsaw1997-08-251-33/+74
| | | | | | | | | | | | | | UNPACK_LIST byte codes and added a third code path that allows generalized sequence unpacking. Now both syntaxes: a, b, c = seq [a, b, c] = seq can be used to unpack any sequence with the exact right number of items. unpack_sequence(): out-lined implementation of generalized sequence unpacking. tuple and list unpacking are still inlined.
* Checkpoint.Guido van Rossum1997-08-252-5/+369
|
* Allow assignments to instance.__dict__ and instance.__class__. TheGuido van Rossum1997-08-251-17/+57
| | | | | | | | | | | | former lets you give an instance a set of new instance vars. The latter lets you give it a new class. Both are typechecked and disallowed in restricted mode. For classes, the check for read-only special attributes is tightened so that only assignments to __dict__, __bases__, __name__, __getattr__, __setattr__, and __delattr__ (these could be made to work as well, but I don't know if that's useful -- let's see first whether mucking with instances will help).
* Rename roundup() to roundupsize(), as there's a macro roundup() in theGuido van Rossum1997-08-251-2/+2
| | | | | sys/types.h header on many systems that may get pulled in (through WANT_SIGFPE_HANDLER which pulls in signal.h).
* Removed some colons that shouldn't be there (probably leftovers fromGuido van Rossum1997-08-252-26/+52
| | | | docstring conversion).
* Arbitrary point checkpoint commit. Take no notice.Guido van Rossum1997-08-254-6/+248
|
* Examples of metaprogramming in pure Python.Guido van Rossum1997-08-232-0/+291
|
* Added a few more tests of exception class raisingBarry Warsaw1997-08-221-0/+8
|
* generated output for new testsBarry Warsaw1997-08-221-0/+2
|
* Added tests of the new builtin functions issubclass() and isinstance()Barry Warsaw1997-08-221-0/+36
|
* cmp_exception gets promoted (essentially) to the C API functionBarry Warsaw1997-08-221-59/+10
| | | | | | | | | | | PyErr_GivenExceptionMatches(). set_exc_info(): make sure to normalize exceptions. do_raise(): Use PyErr_NormalizeException() if type is a class. loop_subscript(): Use PyErr_ExceptionMatches() instead of raw pointer compare for PyExc_IndexError.
* Three new C API functions:Barry Warsaw1997-08-222-0/+111
| | | | | | | | | | | | | | | | | | | | | | | | | | - int PyErr_GivenExceptionMatches(obj1, obj2) Returns 1 if obj1 and obj2 are the same object, or if obj1 is an instance of type obj2, or of a class derived from obj2 - int PyErr_ExceptionMatches(obj) Higher level wrapper around PyErr_GivenExceptionMatches() which uses PyErr_Occurred() as obj1. This will be the more commonly called function. - void PyErr_NormalizeException(typeptr, valptr, tbptr) Normalizes exceptions, and places the normalized values in the arguments. If type is not a class, this does nothing. If type is a class, then it makes sure that value is an instance of the class by: 1. if instance is of the type, or a class derived from type, it does nothing. 2. otherwise it instantiates the class, using the value as an argument. If value is None, it uses an empty arg tuple, and if the value is a tuple, it uses just that.
* Two new built-in functions: issubclass() and isinstance(). Both takeBarry Warsaw1997-08-221-5/+59
| | | | | | | | | | | | classes as their second arguments. The former takes a class as the first argument and returns true iff first is second, or is a subclass of second. The latter takes any object as the first argument and returns true iff first is an instance of the second, or any subclass of second. Also, change all occurances of pointer compares against PyExc_IndexError with PyErr_ExceptionMatches() calls.
* Correct off-by-two-pixels error.Guido van Rossum1997-08-221-1/+1
|
* Add unsupported variable EXE which can be set to .exe on systems whereGuido van Rossum1997-08-221-1/+4
| | | | | | the executable must have that suffix. Note that there is no corresponding support in the top-level Makefile because I'm not sure that the install targets there make sense under these circumstances.
* Added configuration tests for presence of alarm(), pause(), and getpwent()Guido van Rossum1997-08-225-11/+24
|
* Oops, don't suppress echo of the rm command in l2hclean!Fred Drake1997-08-221-1/+1
|
* Simplify LaTeX2HTML targets && support re-use of output directories (whichFred Drake1997-08-221-17/+10
| | | | | | saves re-generation of images). Add l2hclean target.
* Reverse the search order for the Don Beaudry hook so that the firstGuido van Rossum1997-08-221-4/+3
| | | | class wins. Makes more sense.