Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | The command can now either be a string (as before) or a list of | Guido van Rossum | 1997-09-18 | 1 | -3/+4 |
| | | | | | arguments for execvp (for those who don't want the shell's argument parsing). | ||||
* | Py_Initialize(): move the call to _PyImport_FixupExtension() to after | Barry Warsaw | 1997-09-18 | 1 | -1/+1 |
| | | | | | the phase 2 init of the __builtin__ module, so that multiple interpreters will get the right exceptions. | ||||
* | initerrors(): Eliminate circular reference which was causing a small | Barry Warsaw | 1997-09-18 | 1 | -3/+3 |
| | | | | | | | | | | | | but annoying memory leak. This was introduced when PyExc_Exception was added; the loop above populating the PyExc_StandardError exception tuple started at index 1 in bltin_exc, but PyExc_Exception was added at index 0, so PyExc_StandardError was getting inserted in itself! How else can a tuple include itself?! Change the loop to start at index 2. This was a *fun* one! :-) | ||||
* | [Py_Exc]NumberError => [Py_Exc]ArithmeticError | Barry Warsaw | 1997-09-16 | 1 | -7/+7 |
| | |||||
* | NumberError => ArithmeticError | Barry Warsaw | 1997-09-16 | 1 | -5/+5 |
| | |||||
* | New API PyErr_NewException(name, base, dict) to create simple new exceptions. | Guido van Rossum | 1997-09-16 | 1 | -0/+4 |
| | |||||
* | [Py_Exc]NumberError => [Py_Exc]ArithmeticError | Barry Warsaw | 1997-09-16 | 1 | -1/+1 |
| | |||||
* | PyErr_Print(): When printing a class exception, try to dig out the | Barry Warsaw | 1997-09-16 | 1 | -6/+21 |
| | | | | | __module__ string and if found, print <module>.<class>, unless <module> == "exceptions". | ||||
* | Moved pystone to Lib/test. Use import test.pystone to run it. | Guido van Rossum | 1997-09-16 | 2 | -249/+0 |
| | |||||
* | Skip symlinks; don't bother keeping a list of files that is never used. | Guido van Rossum | 1997-09-16 | 1 | -5/+2 |
| | |||||
* | New API PyErr_NewException(name, base, dict) to create simple new exceptions. | Guido van Rossum | 1997-09-16 | 1 | -0/+31 |
| | |||||
* | Introduce PyExc_Exception as the conceptual root class for all exceptions. | Guido van Rossum | 1997-09-16 | 2 | -0/+8 |
| | |||||
* | Two subtle changes: | Guido van Rossum | 1997-09-16 | 1 | -69/+56 |
| | | | | | | | (1) Introduce Exception as the conceptual root class for all exceptions. (2) Do less work in __init__(), and more in __str__ (store args unchanged). | ||||
* | Move the "import readline" to an earlier place so it is also done when | Guido van Rossum | 1997-09-16 | 1 | -8/+10 |
| | | | | | "-i" is given. (Yes, I know, giving in to Marc Lemburg who wanted this :-) | ||||
* | Add strerror() interface. | Guido van Rossum | 1997-09-15 | 1 | -2/+30 |
| | |||||
* | Patch by Case Roole <cjr@bound.xs4all.nl> to fail with a more | Guido van Rossum | 1997-09-15 | 1 | -7/+35 |
| | | | | | explanatory message when the manual directories aren't found. (I have to say I'm surprised that it actually still works!) | ||||
* | Entirely rewritten parseaddr() function by Sjoerd Mullender. | Guido van Rossum | 1997-09-15 | 1 | -53/+92 |
| | | | | (Includes a patch he sent me a few days later.) | ||||
* | Added code to emit trailing ',' for singleton tuples in two places. | Guido van Rossum | 1997-09-14 | 1 | -1/+7 |
| | |||||
* | Export names for the types defined by this module: TkappType and TkttType. | Guido van Rossum | 1997-09-13 | 1 | -0/+3 |
| | |||||
* | Three independent changes: | Guido van Rossum | 1997-09-12 | 1 | -5/+10 |
| | | | | | | | | | - Don't use "from copy_reg import *". - Use cls.__module__ instead of calling whichobject(cls, cls.__name__); also try __module__ in whichmodule(), just in case. - After calling save_reduce(), add the object to the memo. | ||||
* | When creating a class, set its __module__ attribute to the module | Guido van Rossum | 1997-09-12 | 1 | -1/+22 |
| | | | | | whose name is in the current globals' __name__ variable. If __name__ is not set, ignore this. | ||||
* | Added hint to skip the heavy stuff on first reading. | Guido van Rossum | 1997-09-11 | 1 | -0/+15 |
| | |||||
* | As Paul Prescod pointed out, metaprogramming is really something | Guido van Rossum | 1997-09-11 | 1 | -13/+11 |
| | | | | | different (programs that write programs). We are dealing with metaclasses here. So change the words slightly. | ||||
* | Install config.h under $exec_prefix/include rather than $exec_prefix/lib. | Guido van Rossum | 1997-09-11 | 1 | -2/+5 |
| | |||||
* | Added docstrings. Not for the obsolete functions though. | Guido van Rossum | 1997-09-09 | 1 | -6/+46 |
| | |||||
* | Deleted find_module_in_package and find_module_in_directory -- they | Guido van Rossum | 1997-09-09 | 1 | -53/+0 |
| | | | | aren't needed and it was a mistake to add them. | ||||
* | Update the description and the example to the new functionality, which | Guido van Rossum | 1997-09-09 | 2 | -118/+238 |
| | | | | | | | is mostly concentrated in a generalized find_module() and the new load_module(). Added the new module type constants. Declare that SEARCH_ERROR and a whole bunch of module-type-specific functions are obsolete. | ||||
* | #Added doc string. | Guido van Rossum | 1997-09-09 | 1 | -1/+8 |
| | |||||
* | Make functionality more closely the same as what's implemented by default. | Guido van Rossum | 1997-09-09 | 1 | -8/+12 |
| | |||||
* | *** empty log message *** | Guido van Rossum | 1997-09-09 | 1 | -0/+115 |
| | |||||
* | Crrected a flow control error that caused the wrong error message when | Guido van Rossum | 1997-09-09 | 1 | -22/+6 |
| | | | | | | load-module() didn't find a built-in or frozen module. Also got rid of is_frozen(), which duplicated the functionality of find_frozen()!=NULL. | ||||
* | Implemented balloon help for EditPythonPrefs | Jack Jansen | 1997-09-09 | 4 | -30/+250 |
| | |||||
* | Added Help module | Jack Jansen | 1997-09-09 | 1 | -0/+2 |
| | |||||
* | Added a button to increment buildno, so it doesn't happen | Jack Jansen | 1997-09-09 | 2 | -11/+14 |
| | | | | automatically all the time. | ||||
* | Added balloon help for options dialog. | Jack Jansen | 1997-09-09 | 12 | -3035/+3315 |
| | | | | | | Added Help module. Checked in PythonCore.prj.hqx (which had somehow slipped through until now) | ||||
* | Added no-site-python and old-exceptions preferences. | Jack Jansen | 1997-09-09 | 3 | -432/+472 |
| | | | | Implemented balloon help for options dialog. | ||||
* | Added old-exception and no-site-python options and balloon help | Jack Jansen | 1997-09-09 | 1 | -3/+12 |
| | |||||
* | Added interface to the Balloon Help Manager | Jack Jansen | 1997-09-09 | 4 | -0/+494 |
| | |||||
* | Added old-exceptions and no-site-python preferences and upped version | Jack Jansen | 1997-09-09 | 1 | -4/+6 |
| | | | | to 4. | ||||
* | Added old-exceptions and no-site-python options and upped preference | Jack Jansen | 1997-09-09 | 1 | -2/+9 |
| | | | | | version to 4. Added balloon-help item to options dialog. | ||||
* | Renamed platform specific subdirectories to plat-*. | Guido van Rossum | 1997-09-09 | 96 | -16133/+0 |
| | |||||
* | Renamed dos_8x3 to dos-8x3. | Guido van Rossum | 1997-09-09 | 61 | -8526/+0 |
| | |||||
* | These directories renamed: tkinter -> lib-tk, stdwin -> lib-stdwin. | Guido van Rossum | 1997-09-09 | 46 | -6876/+0 |
| | |||||
* | Patch submitted by Brad Howes (with one bug fixed by me): allow | Guido van Rossum | 1997-09-08 | 1 | -8/+17 |
| | | | | | | arbitrary nested parens in a %(...)X style format. #Also folded two lines and added more detail to the error message for #unsupported format character. | ||||
* | Added support for __all__, which should be a list of modules to be | Guido van Rossum | 1997-09-08 | 1 | -3/+16 |
| | | | | imported when the user says "from package import *". | ||||
* | Added test for __all__. | Guido van Rossum | 1997-09-08 | 2 | -0/+22 |
| | |||||
* | Dunno, rebinhexed? | Jack Jansen | 1997-09-08 | 2 | -9/+9 |
| | |||||
* | Preferences is a general module to get (and set) preferences in | Jack Jansen | 1997-09-08 | 2 | -0/+341 |
| | | | | | | | resource files with various inheritence rules, parsers, etc. pythonprefs uses this to create a single uniform interface to all relevant python preferences. | ||||
* | Preference resource now has a version number | Jack Jansen | 1997-09-08 | 1 | -11/+11 |
| | |||||
* | Moved the include of macbuildno.h to getbuildinfo.c. Putting it here | Jack Jansen | 1997-09-08 | 1 | -2/+0 |
| | | | | resulted in full recompilation every time. |