- 05 Sep, 1997 3 commits
-
-
Guido van Rossum authored
Added 'p' format character for Pascal string (i.e. leading length byte). This uses the count prefix line 's' does, except that the count includes the length byte; i.e. '10p' takes 10 bytes packed but has space for a length byte and 9 data bytes.
-
Guido van Rossum authored
-
Guido van Rossum authored
obsolete now it includes Python.h. Make all functions K&R compatible (Sue Williams).
-
- 04 Sep, 1997 7 commits
-
-
Jeremy Hylton authored
-
Jeremy Hylton authored
-
Jeremy Hylton authored
1. Fix bug in (de)compression objects. The final string resize used zst.total_out to determine the length of the string, but the (de)compression object will output data a little bit at a time, which means total_out is not the string size. Fix: save original value of total_out at the start of the call. 2. Be sure to Py_DECREF the result value if you exit with an exception. 3. Use PyInt_FromLong instead of Py_BuildValue 4. include more constants from the zlib header file 5. Use PyErr_Format instead of using a local buffer and sprintf.
-
Guido van Rossum authored
(though some type names are undefined in that case, e.g. CodeType (inaccessible), FileType (not always accessible), and TracebackType and FrameType (inaccessible).
-
Guido van Rossum authored
To save time, only run the first and last 10 tests except in verbose mode.
-
Barry Warsaw authored
-
Barry Warsaw authored
Emacs and XEmacs versions should have working parse-partial-sexp's. (py-emacs-features): Defined as future placeholder.
-
- 03 Sep, 1997 17 commits
-
-
Guido van Rossum authored
-
Guido van Rossum authored
Sjoerd: add separate administration of temporary files created y URLopener.retrieve() so cleanup can properly remove them. The old code removed everything in tempcache which was a bad idea if the user had passed a non-temp file into it. (I added a line to delete the tempcache in cleanup() -- it still seems to make sense.) Jack: in basejoin(), interpret relative paths starting in "../". This is necessary if the server uses symbolic links.
-
Guido van Rossum authored
lib/site-python to the path (if they exist). This is a reasonable compromise.
-
Guido van Rossum authored
lib/site-python to the path (if they exist). This is a reasonable compromise.
-
Guido van Rossum authored
-
Guido van Rossum authored
-
Guido van Rossum authored
-
Guido van Rossum authored
just recommending it). At Mark Hammond's request.
-
Guido van Rossum authored
- use the DLL versions of the C runtime (!) - change path settings so intermediate files go to Debug/temp or Release/temp - add resource file to python15.dll (can't remember what this does) - add a separate project to build the parser module
-
Guido van Rossum authored
-
Guido van Rossum authored
-
Guido van Rossum authored
Since it only returns an error message (or NULL) there's no reason for it to be unsigned char *, and various compilers like this better.
-
Guido van Rossum authored
so it doesn't have to be on $PATH.
-
Guido van Rossum authored
default since they don't work on 64-bit platforms.
-
Guido van Rossum authored
-
Guido van Rossum authored
copy.deepcopy() a while ago. Can't reproduce this but it doesn't break anything and it looks like the code could have the same problem.
-
Guido van Rossum authored
dealloc() functions contained code to free/DECREF the buffer (there were differences between I and O objects but the logic bug was the same). Fixed this be setting the buffer pointer to NULL and testing for that. (This also makes it safe to call close() more than once.) XXX Worry: what if you try to read() or write() once the thing is closed?
-
- 01 Sep, 1997 5 commits
-
-
Jack Jansen authored
-
Jack Jansen authored
-
Jack Jansen authored
-
Jack Jansen authored
-
Jack Jansen authored
-
- 30 Aug, 1997 4 commits
-
-
Guido van Rossum authored
-
Guido van Rossum authored
Damn the criticism in c.l.p!
-
Guido van Rossum authored
(which had UserDict/UserList) to libuserdict.tex.
-
Guido van Rossum authored
-
- 29 Aug, 1997 4 commits
-
-
Guido van Rossum authored
a sane filename syntax.
-
Guido van Rossum authored
Adding support for a new OS is now a bit more work, but I bet that 'dos' or 'nt' will cover most situations...
-
Guido van Rossum authored
usage message in *three* parts under 510 bytes, for low-end ANSI compatibility.
-
Guido van Rossum authored
-