6419 Commits (fdcd53fe1a8a7f052d7217c36b2597df06b6e016)

Author SHA1 Message Date
Guido van Rossum aa9606f45a Fix small omission: with all the new code, sys.exit(None) would print 29 years ago
Guido van Rossum b74eca9349 Change PyEval_SaveThread() and PyEval_RestoreThread() to always do the 29 years ago
Guido van Rossum b4102bf5f8 Fix a bug in this code that made it do the wrong thing when an option 29 years ago
Barry Warsaw 3a74993118 PyErr_NormalizeException(): If the exception's type is a class and the 29 years ago
Guido van Rossum 6c1e5f2033 Get DLL version from a variable. 29 years ago
Guido van Rossum ee81af8977 Release interpreter lock around readline call in [raw_]input(). 29 years ago
Barry Warsaw 963b871e86 Py_Initialize(): move the call to _PyImport_FixupExtension() to after 29 years ago
Barry Warsaw b01a7fa5f8 initerrors(): Eliminate circular reference which was causing a small 29 years ago
Barry Warsaw 412cdc2284 [Py_Exc]NumberError => [Py_Exc]ArithmeticError 29 years ago
Barry Warsaw 2f5f6a2595 PyErr_Print(): When printing a class exception, try to dig out the 29 years ago
Guido van Rossum 7617e05a9b New API PyErr_NewException(name, base, dict) to create simple new exceptions. 29 years ago
Guido van Rossum 0474832d9c Introduce PyExc_Exception as the conceptual root class for all exceptions. 29 years ago
Guido van Rossum 0207e6de38 Added docstrings. Not for the obsolete functions though. 29 years ago
Guido van Rossum c172f26861 Deleted find_module_in_package and find_module_in_directory -- they 29 years ago
Guido van Rossum a86f77d4dd Crrected a flow control error that caused the wrong error message when 29 years ago
Guido van Rossum 9905ef9669 Added support for __all__, which should be a list of modules to be 29 years ago
Guido van Rossum 0c81945808 Bugfix: import A.B from inside package was busted by mark_miss optimization. 29 years ago
Guido van Rossum f5f5fdbdd0 Significant speedup -- when a submodule imports a global module, add a 29 years ago
Guido van Rossum 222ef56bbf Fix reload() for package submodules. 29 years ago
Guido van Rossum 17fc85f2f5 Phase two of package import. "import a.b.c" and all variants now do the 29 years ago
Guido van Rossum d6bf45bcf6 Fixed some details of printing the str() of an exception. This fixes 29 years ago
Guido van Rossum aee0bad0a5 First part of package support. 29 years ago
Guido van Rossum d7ed683a7e Inline PyObject_CallObject (Marc-Andre Lemburg). 29 years ago
Guido van Rossum dcc0c13f74 Two independent changes (oops): 29 years ago
Barry Warsaw 757af0e7bb Removed obsolete exception PyExc_AccessError. 29 years ago
Barry Warsaw 035574d755 Added Py_UseClassExceptionsFlag, the variable containing the state of 29 years ago
Barry Warsaw 2d8adff10a PyErr_NoMemory(): If the pre-instantiated memory exception is non-null 29 years ago
Guido van Rossum beef8aa719 Cprrect stuoid tyops -- was comparing variabes with themselves because 29 years ago
Barry Warsaw eaedc7ce32 eval_code2(), set_exc_info(): Call PyErr_NormalizeException() the 29 years ago
Barry Warsaw 36b8f945e7 PyErr_Print(): Use PyErr_GivenExceptionMatches() instead of pointer 29 years ago
Barry Warsaw 910105515e unpack_sequence(): In finally clause, watch out for Py_DECREF 29 years ago
Barry Warsaw e42b18f9d1 eval_code2(): collapsed the implementations of UNPACK_TUPLE and 29 years ago
Barry Warsaw 4249f54b28 cmp_exception gets promoted (essentially) to the C API function 29 years ago
Barry Warsaw c0dc92af7d Three new C API functions: 29 years ago
Barry Warsaw cde8b1ba0c Two new built-in functions: issubclass() and isinstance(). Both take 29 years ago
Guido van Rossum cd649654d7 Reverse the search order for the Don Beaudry hook so that the first 29 years ago
Guido van Rossum e3c0d5eb34 Added new Py_IsInitalized() API function to test the 'initialized' flag. 29 years ago
Guido van Rossum 5f896a4de0 Added missing newline to warning msg 29 years ago
Guido van Rossum aa61505fd2 Use a counter instead of a Boolean to check for initialized; n calls 29 years ago
Guido van Rossum 54dec59b56 set sharedlib extensions properly for NeXT (Ted Horst) 29 years ago
Guido van Rossum 7c14103d77 Keep gcc -Wall happy 29 years ago
Guido van Rossum 49b1226781 Use _beginthread() and _endthread() in favor of CreateThread() and 29 years ago
Guido van Rossum d47a0a86b4 Added Jim Fulton's PyImport_Import(), which calls whatever 29 years ago
Guido van Rossum 741689d5f3 Use string interning and caching to get speedups on the mac (Jack). 29 years ago
Guido van Rossum e5b4026881 Use strerror on the mac if using MSL (Jack). 29 years ago
Guido van Rossum 622f73f188 Remove unised variable 29 years ago
Guido van Rossum cc283f56a7 Merge Py_Cleanup() into Py_Finalize(). Call the various small Fini() 29 years ago
Guido van Rossum 085d269f1d New rules for deleting modules. Rather than having an elaborate 29 years ago
Guido van Rossum f9c90c533e Renamed a local label that was accidentally grandly renamed to 29 years ago
Guido van Rossum 25ce566661 The last of the mass checkins for separate (sub)interpreters. 29 years ago