4805 Commits (313242aa03aed2ebdaa0dd47428b60b68d8a4e78)

Author SHA1 Message Date
Guido van Rossum 758eec0172 Rewritten PyImport_Cleanup() and its helper, clear_carefully(). They 28 years ago
Guido van Rossum 8f18320270 Last-minute fix for Jim H: don't die after del sys.stdout 29 years ago
Guido van Rossum aa06b0ede5 Plug the most annoying recursive printing problem -- reset '_' to None 29 years ago
Guido van Rossum 7d4f68c15f Oops -- '(' is also a legal start character of a new format... 29 years ago
Guido van Rossum e8c27bb3ea Oops! Should've renamed dos_8x3 to dos-8x3 here, too. 29 years ago
Guido van Rossum 330aafb0c2 For base 10, cast unsigned long to long before testing overflow. 29 years ago
Guido van Rossum d6af46d4ae Need a cast when comparing type object in isinstance() 29 years ago
Guido van Rossum 231a41e708 Add explicit check for correct next character in format at end of 29 years ago
Guido van Rossum 19b55f2d17 Fix subtle bug in cleanup code in PyErr_NormalizeException(), detected 29 years ago
Guido van Rossum 1707aad27c Changed the finalization order again so that the reference count 29 years ago
Guido van Rossum 595d7ba069 Jeff Rush: add definition for S_IFMT for VisualAge C/C++ under OS2. 29 years ago
Guido van Rossum 08052c7bb6 Add the flag RTLD_GLOBAL to the dlopen() options. 29 years ago
Guido van Rossum c425d2f87b Make stdin unbuffered too, when PYTHONUNBUFFERED is specified. 29 years ago
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