Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Added documentation to the docstrings for the W*() functions that take | Fred Drake | 1999-02-02 | 1 | -6/+8 |
| | | | | a process exit status as a parameter. | ||||
* | Windows sound playing module, by Fredrik Lundh. | Guido van Rossum | 1999-02-02 | 1 | -0/+71 |
| | |||||
* | Add _P_WAIT etc. for NT. | Guido van Rossum | 1999-02-01 | 1 | -0/+12 |
| | |||||
* | spawnv, spawnve docstrings: added mode parameter; this is required! | Fred Drake | 1999-02-01 | 1 | -2/+4 |
| | |||||
* | PyPcre_expand(): Fixed two memory leaks, where a PyString_FromString() | Barry Warsaw | 1999-02-01 | 1 | -3/+26 |
| | | | | | | | | | | | was appended to a list. Lists are reference count neutral, so the string must be DECREF'd. Also added some checks for the return value of PyList_Append(). Note: there are still some memory problems reported by Purify (I get two Array Bounds Reads still and an Unitialized Memory Read). Also, in scanning the code, there appears to be some potential problems where return values aren't checked. To much to attack now though. | ||||
* | Oops, the patch for NeXT always replaced waitpid() with wait4() -- | Guido van Rossum | 1999-02-01 | 1 | -0/+4 |
| | | | | this doesn't exist everywhere, so go back to using #ifdef NeXT. | ||||
* | setup_readline(): Added a comment about memory leak (reported by | Barry Warsaw | 1999-01-29 | 1 | -1/+5 |
| | | | | | | | | | Purify) being caused by a bug in the readline library. Nothing we can do about it. Cause: readline_initialize_everything() throws away the return value from rl_read_init_file(), but that happens to be the last reference to a dynamically allocated char*. | ||||
* | Added missing DECREF's in the error branches when creating a compressor or | Andrew M. Kuchling | 1999-01-29 | 1 | -1/+12 |
| | | | | | | decompressor object. This required adding a flag to the struct which is true if initialisation was completed; on object destruction, deflateEnd() is only called if the flag is true. | ||||
* | PyInit_zlib(): Plug a small memory leak. Jeremy is looking into the | Barry Warsaw | 1999-01-28 | 1 | -0/+1 |
| | | | | more severe ones. | ||||
* | Document -OO; "unsafe" optimization that removes docstrings. | Guido van Rossum | 1999-01-28 | 1 | -1/+2 |
| | | | | Marc-Andre Lemburg. | ||||
* | pcre_exec(): Andrew Kuchling's patch for pcre memory leak. | Barry Warsaw | 1999-01-27 | 1 | -0/+1 |
| | |||||
* | initerrno(): Nailed a not-so-tiny memory leak. The de dictionary is | Barry Warsaw | 1999-01-27 | 1 | -1/+2 |
| | | | | | put into the module dict, but is never DECREF'd in this function, so it and all its contents leak. | ||||
* | Patches by William Lewis for Nextstep descendants. | Guido van Rossum | 1999-01-27 | 5 | -30/+124 |
| | |||||
* | expandtabs__doc__: blank line which was not terminated with \n\ caused | Barry Warsaw | 1999-01-26 | 1 | -1/+0 |
| | | | | the SunPro C compiler to choke. Removed this redundant line. | ||||
* | Add spawnv and spawnve functions for Win32 platforms. | Guido van Rossum | 1999-01-25 | 1 | -0/+178 |
| | |||||
* | A gift from Fredrik Lundh: fast C implementation of expandtabs(). | Guido van Rossum | 1999-01-25 | 1 | -0/+75 |
| | | | | | I've reformatted it, added a few comments, a test for tabsize <= 0, and used the AS_STRING macro. | ||||
* | Make sure not to call realloc() with a NULL pointer -- call malloc() | Guido van Rossum | 1999-01-25 | 1 | -1/+4 |
| | | | | in that case. Tamito Kajiyama. | ||||
* | Include myselect.h -- needed on some platforms. | Guido van Rossum | 1999-01-25 | 1 | -0/+1 |
| | |||||
* | Rearrange the -I flags for compiling _tkinter.c so that | Guido van Rossum | 1999-01-25 | 1 | -2/+2 |
| | | | | | | /usr/local/include comes before /usr/X11R1/include. On some Linux distributions the latter apparently contains (standard!) a bad tcl.h or tk.h. | ||||
* | Only do ttyname() when HAVE_TTYNAME is defined. | Guido van Rossum | 1999-01-25 | 1 | -0/+18 |
| | | | | Also define F_OK etc. when not already defined, when doing access(). | ||||
* | Should include "Python.h", not <Python.h> -- it's not a standard | Guido van Rossum | 1999-01-14 | 1 | -1/+1 |
| | | | | header file (yet :-). | ||||
* | Jim Ahlstrom patch: Watcom chokes on a long expression in c_asinh(). | Guido van Rossum | 1999-01-14 | 1 | -1/+5 |
| | | | | Break it up. | ||||
* | Need extern decl. for fdatasync() in case it exists but isn't declared | Guido van Rossum | 1999-01-08 | 1 | -2/+2 |
| | | | | | anywhere (or, more likely, the declaration requires a magical combination of _POSIX defines). | ||||
* | Added fsync() and fdatasync(). Patches by Scott Cotton. Requires | Guido van Rossum | 1999-01-08 | 1 | -0/+57 |
| | | | | HAVE_* macros set by configure script. | ||||
* | The doc string for strptime had the arguments reversed -- the string | Guido van Rossum | 1999-01-07 | 1 | -1/+1 |
| | | | | comes first, the format second! Scott Cotton discovered this. | ||||
* | fix bug in PyZlib_flush. | Jeremy Hylton | 1999-01-06 | 1 | -4/+4 |
| | | | | patch from Grzegorz Makarewicz & Rafal Smotrzyk. | ||||
* | Change the access() code to return 1 if granted, 0 if not granted. | Guido van Rossum | 1999-01-06 | 1 | -4/+11 |
| | | | | Patch (again) by Sean Reifschneider. | ||||
* | Changes for long file support by Steve Clift. | Guido van Rossum | 1999-01-06 | 1 | -3/+22 |
| | |||||
* | Changes for long file support by Steve Clift. | Guido van Rossum | 1999-01-06 | 1 | -9/+33 |
| | | | | He also fixes thread-related evil that caused core dumps. | ||||
* | Changes for long file support by Steve Clift. | Guido van Rossum | 1999-01-06 | 1 | -14/+231 |
| | | | | Also added access() and ttyname() by Sean Reifschneider. | ||||
* | Patch by Charles Waldman to implement an optional nlines argument to | Guido van Rossum | 1999-01-05 | 1 | -2/+18 |
| | | | | w.scroll(). (It then calls wscrl(win, nlines) instead of scoll(win).) | ||||
* | Get rid of the strptype() declaration -- on some BSD systems, it's a | Guido van Rossum | 1999-01-03 | 1 | -1/+1 |
| | | | | | conflict, and it should be declared in time.h anyway. (Too bad if gcc -Wall won't be happy if it isn't declared...) | ||||
* | Chris Herborth discovered a typo in the arrow key symbols. | Guido van Rossum | 1998-12-23 | 1 | -1/+2 |
| | |||||
* | Thanks to Chris Herborth, the thread primitives now have proper Py* | Guido van Rossum | 1998-12-21 | 6 | -81/+74 |
| | | | | | names in the source code (they already had those for the linker, through some smart macros; but the source still had the old, un-Py names). | ||||
* | Add dummy variable to avoid optimizer bug on OS/2 -- patch by Jeff Rush. | Guido van Rossum | 1998-12-21 | 1 | -0/+2 |
| | | | | (AMK: you should probably copy this into your patch set for pcre.) | ||||
* | replace missing zalloc initialization (test_zlib now runs | Jeremy Hylton | 1998-12-21 | 1 | -0/+1 |
| | | | | successfully) | ||||
* | remove debugging fprintf (should have checked this before previous | Jeremy Hylton | 1998-12-21 | 1 | -2/+0 |
| | | | | checkin) | ||||
* | patches from Andrew | Jeremy Hylton | 1998-12-18 | 1 | -23/+51 |
| | | | | | | | | NOTE: There is still a bug of some sort in the behavior of zlib. In at least one case, inflate returns Z_OK (which is typically interpreted to mean that more output space is needed) when it has finished inflating a buffer. This has been reported as a bug to the zlib maintainers; we may need to change the Python interface. | ||||
* | When _PyString_Resize() reports failure, the variable referring to the | Fred Drake | 1998-12-18 | 1 | -5/+0 |
| | | | | | string we wanted to resize is set to NULL. Don't Py_DECREF() those variables! (5 places) | ||||
* | Jim Fulton writes: | Guido van Rossum | 1998-12-15 | 1 | -42/+73 |
| | | | | | This fixes a bug that can cause core dumps when doing seeks in input StringIO objects. This has a number of other clean-ups. | ||||
* | Fixed bug reported to Gregor Hoffleit: | Andrew M. Kuchling | 1998-12-14 | 1 | -1/+1 |
| | | | | | | | > mpz.mpz('\xff') should return mpz(255). Instead it returns > mpz(4294967295L). Looks like the constructor doesn't work with strings > containing characters above chr(128). Caused by using just 'char' where 'unsigned char' should have been used. | ||||
* | Need to initialize self->safe_constructors early on to prevent crash | Guido van Rossum | 1998-12-11 | 1 | -0/+1 |
| | | | | in early dealloc. Patch by Andrew Dalke. | ||||
* | Gregor Hoffleit writes: | Guido van Rossum | 1998-12-11 | 1 | -1/+1 |
| | | | | | | | | | | | | | But IMHO, this problem really reveals an annoyance in Python's makesetup. makesetup puts the global include directories "$(INCLUDEPY) $(EXECINCLUDEPY)" in front of the directories defined by the module in Setup. Therefore global (potentially older) header files are preferred over the ones set by the module, which makes it hard to compile new versions of modules when the old versions are installed. AFAIK, the other way around is common practice for most other software. This patch to makesetup would be an potential fix for this problem, though I don't know if it breaks anything else. | ||||
* | Remove prototypes for PyOS_strto[u]l -- Chris Herborth. | Guido van Rossum | 1998-12-10 | 1 | -3/+0 |
| | |||||
* | Needed to add DL_EXPORT to (redundant?) extern decl of module init function. | Guido van Rossum | 1998-12-10 | 2 | -2/+2 |
| | |||||
* | Make VC++ 5.0 compiler happy. | Guido van Rossum | 1998-12-08 | 1 | -12/+8 |
| | |||||
* | Correctly document atan2. | Guido van Rossum | 1998-12-08 | 1 | -1/+1 |
| | |||||
* | Py_Main() must be DL_EXPORT too. | Guido van Rossum | 1998-12-07 | 2 | -2/+2 |
| | |||||
* | Added Doc strings -- by Chris Petrilli. | Guido van Rossum | 1998-12-04 | 2 | -67/+216 |
| | |||||
* | Add DL_EXPORT() to all modules that could possibly be used | Guido van Rossum | 1998-12-04 | 47 | -46/+47 |
| | | | | on BeOS or Windows. |