Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Fix problem discovered by Greg McFarlane: when an imported module | Guido van Rossum | 1997-07-10 | 1 | -0/+7 |
| | | | | | | | | | replaces its own entry in sys.module, reference count errors ensue; even if there is no reference count problem, it would be preferable for the import to yield the new thing in sys.modules anyway (if only because that's what later imports will yield). This opens the road to an official hack to implement a __getattr__ like feature for modules: stick an instance in sys.modules[__name__]. | ||||
* | Fix bug reported by Just: anonymous arguments used for tuples should | Guido van Rossum | 1997-07-10 | 1 | -1/+3 |
| | | | | | | have a unique name, otherwise they get squished by locals2fast (or fast2locals, I dunno) when the debugger is invoked before they have been transferred to real locals. | ||||
* | Add default case (standard conformance) to avoid piling up | Guido van Rossum | 1997-06-02 | 1 | -4/+4 |
| | | | | system specific #ifdefs. | ||||
* | Can't return 0 from void function... | Guido van Rossum | 1997-05-23 | 1 | -1/+1 |
| | |||||
* | PyObject_Compare can raise an exception now. | Guido van Rossum | 1997-05-23 | 3 | -5/+23 |
| | |||||
* | PyFile_WriteString now returns an error indicator instead of calling | Guido van Rossum | 1997-05-22 | 2 | -16/+32 |
| | | | | PyErr_Clear(). Add checking of those errors. | ||||
* | Py_FlushLine and PyFile_WriteString now return error indicators | Guido van Rossum | 1997-05-22 | 1 | -30/+41 |
| | | | | instead of calling PyErr_Clear(). Add checking of those errors. | ||||
* | Py_FlushLine and PyFile_WriteString now return error indicators | Guido van Rossum | 1997-05-22 | 1 | -12/+24 |
| | | | | instead of calling PyErr_Clear(). Add checking of those errors. | ||||
* | DG/UX thread patches (Ross Andrus) | Guido van Rossum | 1997-05-22 | 2 | -3/+12 |
| | |||||
* | Set sys.executable to full path of python (from argv[0]). | Guido van Rossum | 1997-05-22 | 1 | -0/+4 |
| | |||||
* | Added a space in an error message | Guido van Rossum | 1997-05-22 | 1 | -1/+1 |
| | |||||
* | Don't use function prototypes in function definition headers. | Guido van Rossum | 1997-05-20 | 1 | -4/+8 |
| | |||||
* | Indent the #error directives so a classic K&R cpp doesn't see them. | Guido van Rossum | 1997-05-20 | 1 | -3/+3 |
| | |||||
* | Plug leak of stack frame object in exception handling code. | Guido van Rossum | 1997-05-20 | 1 | -9/+26 |
| | | | | | Also delay DECREF calls until after the structures have been updated (for reentrancy awareness). | ||||
* | Logic for enabling mac-specific signal handling fixed (Jack) | Guido van Rossum | 1997-05-20 | 1 | -1/+1 |
| | |||||
* | Use #ifdef in stead of #if (Jack) | Guido van Rossum | 1997-05-20 | 1 | -1/+1 |
| | |||||
* | Add pthred-std define for Linux. | Guido van Rossum | 1997-05-15 | 1 | -0/+2 |
| | |||||
* | One last rename glitch: import_modules -> _PyImport_Modules. | Guido van Rossum | 1997-05-14 | 3 | -17/+17 |
| | |||||
* | Support for various versions of the pthread draft. | Guido van Rossum | 1997-05-13 | 1 | -12/+64 |
| | |||||
* | (int) cast for strlen() to keep picky compilers happy. | Guido van Rossum | 1997-05-13 | 1 | -1/+1 |
| | |||||
* | Oops -- missed FloatingPointError in renaming. | Guido van Rossum | 1997-05-09 | 1 | -2/+2 |
| | |||||
* | Get rid of obsolete support for access statement. | Guido van Rossum | 1997-05-09 | 1 | -67/+0 |
| | |||||
* | Oops, missed some renamings. | Guido van Rossum | 1997-05-07 | 3 | -8/+5 |
| | |||||
* | Instead of importing graminit.h whenever one of the three grammar 'root' | Guido van Rossum | 1997-05-07 | 5 | -18/+27 |
| | | | | symbols is needed, define these in Python.h with a Py_ prefix. | ||||
* | New dir() function -- | Guido van Rossum | 1997-05-06 | 1 | -22/+48 |
| | | | | | | - uses abstract interface where possible - uses __members__ and __methods__ - returns [] when an object has no info available | ||||
* | Keep MS compiler happy: use (int)strlen() when comparing; make sure | Guido van Rossum | 1997-05-06 | 1 | -2/+8 |
| | | | | not to use kill(). | ||||
* | Used operators from abstract.h where possible (arithmetic operators, | Guido van Rossum | 1997-05-06 | 1 | -420/+30 |
| | | | | | | get/set/del item). This removes a pile of duplication. There's no abstract operator for 'not' but I removed the function call for it anyway -- it's a little faster in-line. | ||||
* | Checkin of Jack's buffer mods. | Guido van Rossum | 1997-05-05 | 1 | -25/+89 |
| | | | | Not really checked, but didn't fail any tests either... | ||||
* | Fix old typo PyArgs_VaParse -> PyArg_VaParse. | Guido van Rossum | 1997-05-05 | 1 | -2/+2 |
| | | | | (Redoing the checking without merging in Jack's buffer mods.) | ||||
* | Massive changes for separate thread state management. | Guido van Rossum | 1997-05-05 | 8 | -231/+630 |
| | | | | | All per-thread globals are moved into a struct which is manipulated separately. | ||||
* | Only use PyCode_Addr2Line to get tb_lineno when Py_OptimizeFlag is set. | Guido van Rossum | 1997-05-05 | 1 | -2/+3 |
| | |||||
* | Remove 2 out of 3 __FreeBSD__ tests. | Guido van Rossum | 1997-05-05 | 1 | -2/+2 |
| | | | | | These are no longer needed as of FreeBSD 2.0.5, according to Thomas Gellekum <tg@ihf.rwth-aachen.de>. | ||||
* | Add detach call so threads are GC'ed. | Guido van Rossum | 1997-04-30 | 1 | -0/+2 |
| | |||||
* | Avoid some potential (though unlikely) sprintf buffer overflows. | Guido van Rossum | 1997-04-30 | 1 | -3/+6 |
| | |||||
* | Avoid sprintf buffer overflow if more than 9999 arguments. | Guido van Rossum | 1997-04-30 | 1 | -1/+1 |
| | |||||
* | Ugly hack for SGI IRIX 6.2. Apparently _POSIX_THREADS is defined even | Guido van Rossum | 1997-04-29 | 1 | -0/+6 |
| | | | | | when the pthread package is not installed. configure knows better, so #undef _POSIX_THREADS when pthread.h does not exist. | ||||
* | Oops, forgot one: inittab. | Guido van Rossum | 1997-04-29 | 1 | -2/+2 |
| | |||||
* | Oops, forgot one: inittab. | Guido van Rossum | 1997-04-29 | 1 | -7/+7 |
| | |||||
* | Quickly renamed the remaining files -- this directory is done. | Guido van Rossum | 1997-04-29 | 10 | -1748/+1834 |
| | |||||
* | Quickly renamed. | Guido van Rossum | 1997-04-29 | 2 | -200/+204 |
| | |||||
* | Quickly renamed. Also removed the long comment explaining why this is | Guido van Rossum | 1997-04-29 | 1 | -90/+56 |
| | | | | better than the old error API. | ||||
* | Quickly renamed. | Guido van Rossum | 1997-04-29 | 1 | -799/+798 |
| | |||||
* | Moved to ../Modules. | Guido van Rossum | 1997-04-29 | 1 | -384/+0 |
| | |||||
* | Removed cgensupport.[co] (to ../Modules). | Guido van Rossum | 1997-04-29 | 1 | -2/+1 |
| | |||||
* | Expand one level of symbolic link in sys.argv[0] before inserting its | Guido van Rossum | 1997-04-25 | 1 | -8/+41 |
| | | | | | | | | | | | | | | dirname in sys.path. This means that you can create a symbolic link foo in /usr/local/bin pointing to /usr/yourname/src/foo/foo.py, and then invoking foo will insert /usr/yourname/src/foo in sys.path, not /usr/local/bin. This makes it easier to have multifile programs (before, the program would have to do an os.readlink(sys.argv[0]) itself and insert the resulting directory in sys.path -- Grail does this). Note that the expansion is only used for sys.path; sys.argv[0] is still the original, unadorned filename (/usr/local/bin/foo in the example). | ||||
* | OK, ready to make 'assert' a keyword (instead of '__assert__'). | Guido van Rossum | 1997-04-16 | 1 | -1/+1 |
| | |||||
* | Keep Microsoft VC happy. | Guido van Rossum | 1997-04-11 | 1 | -0/+2 |
| | |||||
* | Keep gcc -Wall and Microsoft VC happy. | Guido van Rossum | 1997-04-11 | 5 | -21/+24 |
| | |||||
* | (Jack:) On the Mac, don't automatically enable dynamic loading. | Guido van Rossum | 1997-04-11 | 1 | -8/+0 |
| | |||||
* | (Jack:) Don't define TRUE and FALSE if already defined. | Guido van Rossum | 1997-04-11 | 1 | -1/+4 |
| |