Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Renamed PySequence_In() to PySequence_Contains(). | Guido van Rossum | 1998-05-22 | 1 | -1/+2 |
| | |||||
* | Add | Guido van Rossum | 1998-05-12 | 1 | -0/+9 |
| | | | | | PySys_WriteStdout(format, ...) PySys_WriteStderr(format, ...) | ||||
* | Mac CodeWarrior has faulty declaration for hypot, which we hide with a | Guido van Rossum | 1998-04-28 | 1 | -5/+13 |
| | | | | | #define. (Jack) | ||||
* | Fred's right -- we need PyList_SET_ITEM(). | Guido van Rossum | 1998-04-24 | 1 | -0/+1 |
| | |||||
* | Add new spares to the end of the type object struct. | Guido van Rossum | 1998-04-23 | 1 | -0/+6 |
| | |||||
* | Move 'dict' struct member to end of struct. This ensures binary | Guido van Rossum | 1998-04-13 | 1 | -2/+2 |
| | | | | | | compatibility for shared libraries. *** WARNING -- IF YOU BUILT 1.5.1BETA1, DO A "MAKE CLEAN" *** | ||||
* | Add prototypes for Py_Repr{Enter,Leave}. | Guido van Rossum | 1998-04-10 | 1 | -0/+4 |
| | | | | (Jeremy will hardly recognize his patch :-) | ||||
* | Add dict struct member and PyThreadState_GetDict() prototype. | Guido van Rossum | 1998-04-10 | 1 | -0/+3 |
| | |||||
* | Set the patch level to 1.5.1. (I'm not going to release this as a | Guido van Rossum | 1998-04-10 | 1 | -1/+1 |
| | | | | | beta -- if there are bugs, I'll post a patch page and release 1.5.2 sooner.) | ||||
* | Added Tabcheck flag. | Guido van Rossum | 1998-04-10 | 1 | -0/+1 |
| | |||||
* | Add E_INDENT -- new error to check for bad indentation | Guido van Rossum | 1998-04-09 | 1 | -0/+1 |
| | |||||
* | Add PyObject_Not(). | Guido van Rossum | 1998-04-09 | 2 | -0/+13 |
| | |||||
* | Add internal routine _PyModule_Clear(), which does approximately what | Guido van Rossum | 1998-02-19 | 1 | -0/+1 |
| | | | | | | | | | clear_carefully() used to do in import.c. Differences: leave only __builtins__ alone in the 2nd pass; and don't clear the dictionary (on the theory that as long as there are references left to the dictionary, those might be destructors that might expect __builtins__ to be alive when they run; and __builtins__ can't normally be part of a cycle). | ||||
* | Added PyImport_ExecCodeModuleEx(), which adds an extra parameter to pass | Guido van Rossum | 1998-02-11 | 1 | -0/+2 |
| | | | | it the true file. | ||||
* | - Add Py_GetPythonHome() and Py_SetPythonHome(), intended to allow | Guido van Rossum | 1998-02-06 | 1 | -0/+4 |
| | | | | | | | | embedders to force a different PYTHONHOME. - Add new interface PyErr_PrintEx(flag); same as PyErr_Print() but flag determines whether sys.last_* are set or not. PyErr_Print() now simply calls PyErr_PrintEx(1). | ||||
* | - Add Py_FrozenFlag, intended to suppress error messages fron | Guido van Rossum | 1998-02-06 | 1 | -0/+1 |
| | | | | getpath.c in frozen binaries. | ||||
* | Set the patch level to 1.5. | Guido van Rossum | 1997-12-30 | 1 | -1/+1 |
| | |||||
* | Start calling it 1.5b2 | Guido van Rossum | 1997-12-10 | 1 | -1/+1 |
| | |||||
* | Remove the last bits of log from the leading comments. | Guido van Rossum | 1997-12-08 | 1 | -13/+1 |
| | |||||
* | Use the proper OS2 test symbol: PYOS_OS2. | Guido van Rossum | 1997-12-05 | 1 | -1/+1 |
| | |||||
* | Merge between my version and Jim Fulton's version; removed RCS keywords | Guido van Rossum | 1997-12-04 | 1 | -8/+2 |
| | | | | but otherwise unchanged. | ||||
* | Patch for QNX, by Chris Herborth. | Guido van Rossum | 1997-12-02 | 1 | -0/+3 |
| | |||||
* | os2 patch by Jeff Rush | Guido van Rossum | 1997-11-22 | 1 | -1/+1 |
| | |||||
* | Add declaration for _Py_PackageContext -- needed to fix importing | Guido van Rossum | 1997-11-19 | 1 | -0/+2 |
| | | | | of shared libraries from inside packages. | ||||
* | Add declaration for PyNumber_CoerceEx(). | Guido van Rossum | 1997-11-19 | 1 | -0/+1 |
| | |||||
* | start numbering things 1.5b1 now | Guido van Rossum | 1997-11-18 | 1 | -1/+1 |
| | |||||
* | This fix (across 4 files in 3 directories) solves a subtle problem with | Guido van Rossum | 1997-11-14 | 1 | -0/+1 |
| | | | | | | | | | | | | | | | signal handlers in a fork()ed child process when Python is compiled with thread support. The bug was reported by Scott <scott@chronis.icgroup.com>. What happens is that after a fork(), the variables used by the signal module to determine whether this is the main thread or not are bogus, and it decides that no thread is the main thread, so no signals will be delivered. The solution is the addition of PyOS_AfterFork(), which fixes the signal module's variables. A dummy version of the function is present in the intrcheck.c source file which is linked when the signal module is not used. | ||||
* | Remove the declaration of "internal" table _PyImport_Inittab[]; add | Guido van Rossum | 1997-10-31 | 1 | -3/+1 |
| | | | | new "official" pointer *PyImport_Inittab. | ||||
* | New CObject from Jim Fulton, adds PyCObject_FromVoidPtrAndDesc() and | Guido van Rossum | 1997-10-21 | 1 | -1/+14 |
| | | | | PyCObject_GetDesc(). | ||||
* | Some patches to Lee Busby's fpectl mods that accidentally didn't make it | Guido van Rossum | 1997-10-20 | 1 | -25/+37 |
| | | | | into 1.5a4. | ||||
* | Use K&R function prototypes. | Guido van Rossum | 1997-10-07 | 1 | -7/+12 |
| | |||||
* | Removed special Windows defines, at Mark Hammond's request. | Guido van Rossum | 1997-09-29 | 1 | -8/+4 |
| | |||||
* | 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 |
| | |||||
* | Introduce PyExc_Exception as the conceptual root class for all exceptions. | Guido van Rossum | 1997-09-16 | 1 | -0/+1 |
| | |||||
* | Set it to 1.5a4, now we have dotted-name import... | Guido van Rossum | 1997-09-08 | 1 | -1/+1 |
| | |||||
* | #Added prototype for PyObject_HasAttr() -- must've been an oversight. | Guido van Rossum | 1997-09-06 | 1 | -0/+1 |
| | |||||
* | Fix in trailing comment: PyDict_SetItemString() does *not* consume a reference | Fred Drake | 1997-09-05 | 1 | -3/+2 |
| | | | | count, PyList_SetItem() does. Very confusing! | ||||
* | Added PyImport_ImportModuleEx(name, globals, locals, fromlist); this | Guido van Rossum | 1997-09-05 | 1 | -0/+2 |
| | | | | | | is like PyImport_ImporModule(name) but receives the globals and locals dict and the fromlist arguments as well. (The name is a char*; the others are PyObject*s). | ||||
* | Inline PyObject_CallObject (Marc-Andre Lemburg). | Guido van Rossum | 1997-08-30 | 1 | -1/+4 |
| | |||||
* | Added NoSite flag. | Guido van Rossum | 1997-08-29 | 1 | -0/+1 |
| | |||||
* | Added extern definition for -X flag variable. | Barry Warsaw | 1997-08-29 | 1 | -0/+1 |
| | |||||
* | Declarations for two phase initialization and finalization functions | Barry Warsaw | 1997-08-29 | 1 | -2/+4 |
| | | | | for the built-in module. | ||||
* | Added externs for three new exceptions PyExc_StandardError, | Barry Warsaw | 1997-08-29 | 1 | -1/+7 |
| | | | | | | | PyExc_NumberError, and PyExc_LookupError. Also added extern for pre-instantiated exception instance PyExc_MemoryErrorInst. Removed extern of obsolete exception PyExc_AccessError. | ||||
* | Three new C API functions: | Barry Warsaw | 1997-08-22 | 1 | -0/+6 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | - int PyErr_GivenExceptionMatches(obj1, obj2) Returns 1 if obj1 and obj2 are the same object, or if obj1 is an instance of type obj2, or of a class derived from obj2 - int PyErr_ExceptionMatches(obj) Higher level wrapper around PyErr_GivenExceptionMatches() which uses PyErr_Occurred() as obj1. This will be the more commonly called function. - void PyErr_NormalizeException(typeptr, valptr, tbptr) Normalizes exceptions, and places the normalized values in the arguments. If type is not a class, this does nothing. If type is a class, then it makes sure that value is an instance of the class by: 1. if instance is of the type, or a class derived from type, it does nothing. 2. otherwise it instantiates the class, using the value as an argument. If value is None, it uses an empty arg tuple, and if the value is a tuple, it uses just that. | ||||
* | Added new Py_IsInitalized() API function to test the 'initialized' flag. | Guido van Rossum | 1997-08-22 | 1 | -0/+1 |
| | |||||
* | Completely disable the declarations for malloc() and friends. Use | Guido van Rossum | 1997-08-21 | 1 | -2/+3 |
| | | | | | #ifdef though, so if you still need these for a really backwards compiler you know what to do. | ||||
* | Moved assert.h to ../Parser directory | Guido van Rossum | 1997-08-19 | 1 | -49/+0 |
| | |||||
* | Added prototype for PyImport_Import(). | Guido van Rossum | 1997-08-14 | 1 | -0/+1 |
| | |||||
* | cPickle release 0.3 from Jim Fulton | Guido van Rossum | 1997-08-13 | 1 | -6/+25 |
| |