Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Define BUILDNO in macbuildno.h (incremented by fullbuild) | Jack Jansen | 1997-09-01 | 2 | -0/+3 |
| | |||||
* | Can't remember... | Jack Jansen | 1997-09-01 | 1 | -13/+2 |
| | |||||
* | Added GetTicks() here, so profiling can use a decent timer | Jack Jansen | 1997-09-01 | 1 | -0/+9 |
| | |||||
* | Fullbuild now maintains BUILDNO for mac builds | Jack Jansen | 1997-09-01 | 2 | -15/+35 |
| | |||||
* | Names changed | Jack Jansen | 1997-09-01 | 2 | -38/+38 |
| | |||||
* | #typo | Guido van Rossum | 1997-08-30 | 1 | -1/+1 |
| | |||||
* | Document newly revamped site configuration mechanism. | Guido van Rossum | 1997-08-30 | 2 | -38/+126 |
| | | | | Damn the criticism in c.l.p! | ||||
* | Added docs for 'user' customization module. Renamed libuser.tex | Guido van Rossum | 1997-08-30 | 5 | -3/+126 |
| | | | | (which had UserDict/UserList) to libuserdict.tex. | ||||
* | Inline PyObject_CallObject (Marc-Andre Lemburg). | Guido van Rossum | 1997-08-30 | 2 | -1/+9 |
| | |||||
* | Added os.altsep; this is '/' on DOS/Windows, and None on systems with | Guido van Rossum | 1997-08-29 | 2 | -4/+16 |
| | | | | a sane filename syntax. | ||||
* | Write out the dynamic OS choice, to avoid exec statements. | Guido van Rossum | 1997-08-29 | 1 | -51/+66 |
| | | | | | Adding support for a new OS is now a bit more work, but I bet that 'dos' or 'nt' will cover most situations... | ||||
* | Added -X option to suppress default import of site.py. Also split the | Guido van Rossum | 1997-08-29 | 1 | -5/+13 |
| | | | | | usage message in *three* parts under 510 bytes, for low-end ANSI compatibility. | ||||
* | Added NoSite flag. | Guido van Rossum | 1997-08-29 | 1 | -0/+1 |
| | |||||
* | Two independent changes (oops): | Guido van Rossum | 1997-08-29 | 1 | -4/+35 |
| | | | | | | | | | - Changed semantics for initialized flag (again); forget the ref counting, forget the fatal errors -- redundant calls to Py_Initialize() or Py_Finalize() calls are simply ignored. - Automatically import site.py on initialization, unless a flag is set not to do this by main(). | ||||
* | New site.py semantics. Searches in | Guido van Rossum | 1997-08-29 | 1 | -28/+103 |
| | | | | | <*prefix>/lib/python<version>/packages for *.pth files containing directories that are appended to sys.path. | ||||
* | Swap the sense of the -X option vis-a-vis Py_UseClassExceptionsFlag so | Barry Warsaw | 1997-08-29 | 1 | -2/+3 |
| | | | | | that class based exceptions are enabled by default. -X disables them in favor of the old-style string exceptions. | ||||
* | Removed obsolete exception PyExc_AccessError. | Barry Warsaw | 1997-08-29 | 1 | -43/+171 |
| | | | | | | | | | | | | | | | | | | | | | Added PyErr_MemoryErrorInst to hold the pre-instantiated instance when using class based exceptions. Simplified the creation of all built-in exceptions, both class based and string based. Actually, for class based exceptions, the string ones are still created just in case there's a problem creating the class based ones (so you still get *some* exception handling!). Now the init and fini functions run through a list of structure elements, creating the strings (and optionally classes) for every entry. initerrors(): the new base class exceptions StandardError, LookupError, and NumberError are initialized when using string exceptions, to tuples containing the list of derived string exceptions. This GvR trick enables forward compatibility! One bit of nastiness is that the C code has to know the inheritance tree embodied in exceptions.py. Added the two phase init and fini functions. | ||||
* | Added Py_UseClassExceptionsFlag, the variable containing the state of | Barry Warsaw | 1997-08-29 | 1 | -5/+106 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | the -X command line option. Py_Initialize(): Handle the two phase initialization of the built-in module. Py_Finalize(): Handle the two phase finalization of the built-in module. parse_syntax_error(): New function which parses syntax errors that PyErr_Print() will catch. This correctly parses such errors regardless of whether PyExc_SyntaxError is an old-style string exception or new-fangled class exception. PyErr_Print(): Many changes: 1. Normalize the exception. 2. Handle SystemExit exceptions which might be class based. Digs the exit code out of the "code" attribute. String based SystemExit is handled the same as before. 3. Handle SyntaxError exceptions which might be class based. Digs the various information bits out of the instance's attributes (see parse_syntax_error() for details). String based SyntaxError still works too. 4. Don't write the `:' after the exception if the exception is class based and has an empty string str() value. | ||||
* | Added extern definition for -X flag variable. | Barry Warsaw | 1997-08-29 | 1 | -0/+1 |
| | |||||
* | New file, which is imported by the built-in module when python is | Barry Warsaw | 1997-08-29 | 1 | -0/+164 |
| | | | | | started with the -X option. This file contains the definitions for the built-in exception classes. | ||||
* | Expanded r() function to handle class exceptions. | Barry Warsaw | 1997-08-29 | 1 | -1/+6 |
| | |||||
* | Parse new command line option -X which enables exception classes. | Barry Warsaw | 1997-08-29 | 1 | -1/+6 |
| | |||||
* | Declarations for two phase initialization and finalization functions | Barry Warsaw | 1997-08-29 | 1 | -2/+4 |
| | | | | for the built-in module. | ||||
* | Added externs for three new exceptions PyExc_StandardError, | Barry Warsaw | 1997-08-29 | 1 | -1/+7 |
| | | | | | | | PyExc_NumberError, and PyExc_LookupError. Also added extern for pre-instantiated exception instance PyExc_MemoryErrorInst. Removed extern of obsolete exception PyExc_AccessError. | ||||
* | PyErr_NoMemory(): If the pre-instantiated memory exception is non-null | Barry Warsaw | 1997-08-29 | 1 | -1/+9 |
| | | | | | | (PyExc_MemoryErrorInst) raise this instead of PyExc_MemoryError. This only happens when exception classes are enabled (e.g. when Python is started with -X). | ||||
* | Added a new variable TESTPYTHON which contains the path (and args) for | Barry Warsaw | 1997-08-29 | 1 | -2/+3 |
| | | | | the executable to use during regression testing. | ||||
* | Subtle changes to the AIX shared library things to make them work | Guido van Rossum | 1997-08-29 | 2 | -5/+5 |
| | | | | when building outside the source directory. Courtesy Donn Cave. | ||||
* | Should remove getbuildno.o/buildno files in clobber/distclean targets. | Guido van Rossum | 1997-08-29 | 1 | -1/+2 |
| | |||||
* | Cprrect stuoid tyops -- was comparing variabes with themselves because | Guido van Rossum | 1997-08-29 | 1 | -3/+3 |
| | | | | of co/cp mixup. | ||||
* | eval_code2(), set_exc_info(): Call PyErr_NormalizeException() the | Barry Warsaw | 1997-08-28 | 1 | -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 Rossum | 1997-08-28 | 1 | -4/+4 |
| | |||||
* | Some long variables should have been int to match the 'i' format specifier. | Guido van Rossum | 1997-08-28 | 1 | -3/+3 |
| | |||||
* | user.py -- when imported, execfile(~/.pythonrc.py). | Guido van Rossum | 1997-08-28 | 1 | -0/+38 |
| | |||||
* | Complete log of changes since 1.5a3 at the end. | Guido van Rossum | 1997-08-28 | 1 | -13/+143 |
| | |||||
* | Added faqwiz and webchecker. | Guido van Rossum | 1997-08-28 | 1 | -0/+6 |
| | |||||
* | Added section about multiple FAQs. | Guido van Rossum | 1997-08-28 | 1 | -2/+22 |
| | |||||
* | New installation instructions show how to maintain multiple FAQs. | Guido van Rossum | 1997-08-28 | 4 | -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 no | Guido van Rossum | 1997-08-27 | 1 | -858/+0 |
| | | | | longer relevant. | ||||
* | Referred to POSIX docs as well as to Unix docs. | Guido van Rossum | 1997-08-27 | 2 | -6/+6 |
| | |||||
* | Put all prints inside "if verbose:" | Jack Jansen | 1997-08-27 | 1 | -20/+23 |
| | |||||
* | Removed debug print | Jack Jansen | 1997-08-27 | 1 | -1/+0 |
| | |||||
* | Modified for CW Pro projects and new filenames | Jack Jansen | 1997-08-27 | 1 | -68/+46 |
| | |||||
* | Added #include <WETabs.h>, which had somehow gone missing | Jack Jansen | 1997-08-27 | 3 | -4/+20 |
| | |||||
* | Modified for installer and new names of various applets. Also cleaned | Jack Jansen | 1997-08-27 | 7 | -139/+115 |
| | | | | up anything else I saw. | ||||
* | Modified for new scripting support | Jack Jansen | 1997-08-27 | 2 | -70/+266 |
| | |||||
* | Moved suites to their own folder | Jack Jansen | 1997-08-27 | 16 | -2066/+6267 |
| | |||||
* | Fixed bugs regarding lines starting with '.' (both receiving and sending). | Guido van Rossum | 1997-08-26 | 1 | -4/+25 |
| | | | | Added a minimal test function. | ||||
* | Ignore whitespace between formats (not internal to a count+format). | Guido van Rossum | 1997-08-26 | 3 | -0/+13 |
| | |||||
* | Explicitly close the socket and temp file in URLopener.retrieve(), so | Guido van Rossum | 1997-08-26 | 1 | -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 pointer | Barry Warsaw | 1997-08-26 | 1 | -2/+4 |
| | | | | compares to test for SystemExit and SyntaxError. |