summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* The command can now either be a string (as before) or a list ofGuido van Rossum1997-09-181-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 afterBarry Warsaw1997-09-181-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 smallBarry Warsaw1997-09-181-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]ArithmeticErrorBarry Warsaw1997-09-161-7/+7
|
* NumberError => ArithmeticErrorBarry Warsaw1997-09-161-5/+5
|
* New API PyErr_NewException(name, base, dict) to create simple new exceptions.Guido van Rossum1997-09-161-0/+4
|
* [Py_Exc]NumberError => [Py_Exc]ArithmeticErrorBarry Warsaw1997-09-161-1/+1
|
* PyErr_Print(): When printing a class exception, try to dig out theBarry Warsaw1997-09-161-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 Rossum1997-09-162-249/+0
|
* Skip symlinks; don't bother keeping a list of files that is never used.Guido van Rossum1997-09-161-5/+2
|
* New API PyErr_NewException(name, base, dict) to create simple new exceptions.Guido van Rossum1997-09-161-0/+31
|
* Introduce PyExc_Exception as the conceptual root class for all exceptions.Guido van Rossum1997-09-162-0/+8
|
* Two subtle changes:Guido van Rossum1997-09-161-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 whenGuido van Rossum1997-09-161-8/+10
| | | | | "-i" is given. (Yes, I know, giving in to Marc Lemburg who wanted this :-)
* Add strerror() interface.Guido van Rossum1997-09-151-2/+30
|
* Patch by Case Roole <cjr@bound.xs4all.nl> to fail with a moreGuido van Rossum1997-09-151-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 Rossum1997-09-151-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 Rossum1997-09-141-1/+7
|
* Export names for the types defined by this module: TkappType and TkttType.Guido van Rossum1997-09-131-0/+3
|
* Three independent changes:Guido van Rossum1997-09-121-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 moduleGuido van Rossum1997-09-121-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 Rossum1997-09-111-0/+15
|
* As Paul Prescod pointed out, metaprogramming is really somethingGuido van Rossum1997-09-111-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 Rossum1997-09-111-2/+5
|
* Added docstrings. Not for the obsolete functions though.Guido van Rossum1997-09-091-6/+46
|
* Deleted find_module_in_package and find_module_in_directory -- theyGuido van Rossum1997-09-091-53/+0
| | | | aren't needed and it was a mistake to add them.
* Update the description and the example to the new functionality, whichGuido van Rossum1997-09-092-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 Rossum1997-09-091-1/+8
|
* Make functionality more closely the same as what's implemented by default.Guido van Rossum1997-09-091-8/+12
|
* *** empty log message ***Guido van Rossum1997-09-091-0/+115
|
* Crrected a flow control error that caused the wrong error message whenGuido van Rossum1997-09-091-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 EditPythonPrefsJack Jansen1997-09-094-30/+250
|
* Added Help moduleJack Jansen1997-09-091-0/+2
|
* Added a button to increment buildno, so it doesn't happenJack Jansen1997-09-092-11/+14
| | | | automatically all the time.
* Added balloon help for options dialog.Jack Jansen1997-09-0912-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 Jansen1997-09-093-432/+472
| | | | Implemented balloon help for options dialog.
* Added old-exception and no-site-python options and balloon helpJack Jansen1997-09-091-3/+12
|
* Added interface to the Balloon Help ManagerJack Jansen1997-09-094-0/+494
|
* Added old-exceptions and no-site-python preferences and upped versionJack Jansen1997-09-091-4/+6
| | | | to 4.
* Added old-exceptions and no-site-python options and upped preferenceJack Jansen1997-09-091-2/+9
| | | | | version to 4. Added balloon-help item to options dialog.
* Renamed platform specific subdirectories to plat-*.Guido van Rossum1997-09-0996-16133/+0
|
* Renamed dos_8x3 to dos-8x3.Guido van Rossum1997-09-0961-8526/+0
|
* These directories renamed: tkinter -> lib-tk, stdwin -> lib-stdwin.Guido van Rossum1997-09-0946-6876/+0
|
* Patch submitted by Brad Howes (with one bug fixed by me): allowGuido van Rossum1997-09-081-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 beGuido van Rossum1997-09-081-3/+16
| | | | imported when the user says "from package import *".
* Added test for __all__.Guido van Rossum1997-09-082-0/+22
|
* Dunno, rebinhexed?Jack Jansen1997-09-082-9/+9
|
* Preferences is a general module to get (and set) preferences inJack Jansen1997-09-082-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 numberJack Jansen1997-09-081-11/+11
|
* Moved the include of macbuildno.h to getbuildinfo.c. Putting it hereJack Jansen1997-09-081-2/+0
| | | | resulted in full recompilation every time.