5250 Commits (bc6830c9486ed7d48d5ac2ea56f0d8309872abbf)

Author SHA1 Message Date
Guido van Rossum f5dd914196 Support type objects in isinstance(). 29 years ago
Guido van Rossum ddc3fb5734 Apply str() to sys.ps1 or sys.ps2 before using them as a prompt, so 29 years ago
Guido van Rossum 8e9ebfd337 os2 patch by Jeff Rush 29 years ago
Guido van Rossum db847bd9ea Plug memory leak in Py_BuildValue when using {...} to construct dictionaries. 29 years ago
Guido van Rossum 2e58ff3ef5 Fix importing of shared libraries from inside packages. 29 years ago
Guido van Rossum 858cb73bb2 Two changes (here we go again :-( ). 29 years ago
Guido van Rossum df9db1ea18 Give more detailed error message when the argument count isn't right. 29 years ago
Guido van Rossum dfed725e2c Fix memory leak in exec statement with code object -- the None returned 29 years ago
Guido van Rossum 4a1f39a26b Undo half of the previous change :-( 29 years ago
Guido van Rossum 25c649fdf2 Get rid of another reference to _PyImport_Inittab (now a static array) 29 years ago
Guido van Rossum 22348dc0e1 The warning about thread still having a frame now only happens in 29 years ago
Guido van Rossum 3a44e1b9fb Two independent changes (alas): 29 years ago
Guido van Rossum 197346fafe New policy for package imports: only a directory containing 29 years ago
Guido van Rossum 771c6c8f7a Instead of using _PyImport_Inittab[] directly, use the new "official" 29 years ago
Guido van Rossum e85da651dd Some patches to Lee Busby's fpectl mods that accidentally didn't make it 29 years ago
Guido van Rossum ed1100f3b6 Don't use sscanf(s, "%x", &c) to parse \xX... escapes; hardcode it. 29 years ago
Guido van Rossum 3b31cd2fe7 Shared libraries didn't quite work under AIX because of the change in 29 years ago
Guido van Rossum 9a61dc90e2 Moved mac-specific speedup to a different place (Jack) 29 years ago
Guido van Rossum ac1fc95c3c Fixed for WITHOUT_COMPLEX compilation (Jack) 29 years ago
Guido van Rossum 2ac650f385 New version of PyErr_NewException() that is compatible with -X option. 29 years ago
Guido van Rossum 999e5e921e Initialize Py_UseClassExceptionsFlag to 1. 29 years ago
Guido van Rossum a7f2e813c9 Remove unreachable "return 1" at end of ensure_fromlist(). 29 years ago
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