- 24 Mar, 1999 7 commits
-
-
Guido van Rossum authored
-
Guido van Rossum authored
-
Guido van Rossum authored
-
Guido van Rossum authored
data struct before calling gethostby{name,addr}_r(); (2) ignore the 3/5/6 args determinations made by the configure script and switch on platform identifiers instead: AIX, OSF have 3 args Sun, SGI have 5 args Linux has 6 args On all other platforms, undef HAVE_GETHOSTBYNAME_R altogether.
-
Guido van Rossum authored
-
Guido van Rossum authored
Chris Lawrence sent me a broken version; this one is a tad simpler and more conforming to the standard.
-
Fred Drake authored
This is in response to a comment from Wes Rishel <wes@rishel.com>.
-
- 23 Mar, 1999 4 commits
-
-
Jeremy Hylton authored
-
Guido van Rossum authored
with egcs (after setting EXE=.exe). Patch by Norman Vine.
-
Guido van Rossum authored
-
Greg Ward authored
ProcessHierarchy's changes to support reading from a remote URL in ProcessDatabase).
-
- 22 Mar, 1999 12 commits
-
-
Guido van Rossum authored
As requested by Bill Janssen.
-
Jack Jansen authored
-
Guido van Rossum authored
donated by David Arnold.
-
Guido van Rossum authored
-
Guido van Rossum authored
- Use HAVE_GETHOSTBYNAME_R_6_ARG instead of testing for Linux and glibc2. - If gethostbyname takes 3 args, undefine HAVE_GETHOSTBYNAME_R -- don't know what code should be used. - New symbol USE_GETHOSTBYNAME_LOCK defined iff the lock should be used. - Modify the gethostbyaddr() code to also hold on to the lock until after it is safe to release, overlapping with the Python lock. (Note: I think that it could in theory be possible that Python code executed while gethostbyname_lock is held could attempt to reacquire the lock -- e.g. in a signal handler or destructor. I will simply say "don't do that then.")
-
Guido van Rossum authored
Here's a patch to fix the race condition, which wasn't fixed by Rob's patch. It holds the gethostbyname lock until the results are copied out, which means that this lock and the Python global lock are held at the same time. This shouldn't be a problem as long as the gethostbyname lock is always acquired when the global lock is not held.
-
Andrew M. Kuchling authored
the end of loop was incorrect, and failed when the flushmode != Z_FINISH. Logic cleaned up and commented.
-
Andrew M. Kuchling authored
different flush values Z_NO_FLUSH, Z_SYNC_FLUSH, Z_FULL_FLUSH.
-
Guido van Rossum authored
-
Greg Ward authored
-
Greg Ward authored
a much less formalistic way. Just keeping this around for possible future reference.
-
Greg Ward authored
-
- 19 Mar, 1999 8 commits
-
-
Guido van Rossum authored
-
Guido van Rossum authored
-
Guido van Rossum authored
a block cannot be freed, add its free items back to the free list. This is necessary to avoid leaking when Python is reinitialized later.
-
Guido van Rossum authored
a block cannot be freed, add its free items back to the free list, and add its valid ints back to the small_ints array if they are in range. This is necessary to avoid leaking when Python is reinitialized later.
-
Guido van Rossum authored
-
Guido van Rossum authored
-
Guido van Rossum authored
object that supports the buffer interface (e.g. strings, arrays).
-
Guido van Rossum authored
negative size for PyBuffer_FromMemory. Greg Stein.
-
- 18 Mar, 1999 8 commits
-
-
Fred Drake authored
-
Fred Drake authored
-
Fred Drake authored
-
Fred Drake authored
typical published manuals, so people can more easily see what they're really asking for. ;-) Revise the verbatim environment: simple implementation, but more compatible if a document also add \usepackage{verbatim} at the beginning. Declare \modindex, \bimodindex, \exmodindex, and \stmodindex obsolete. These still work just fine, but \declaremodule should be used instead. The obsolete macros will print a warning on standard out.
-
Fred Drake authored
-
Guido van Rossum authored
If a filename on Windows starts with \\, it is converted to a URL which starts with ////. If this URL is passed to urlparse.urlparse you get a path that starts with // (and an empty netloc). If you pass the result back to urlparse.urlunparse, you get a URL that starts with //, which is parsed differently by urlparse.urlparse. The fix is to add the (empty) netloc with accompanying slashes if the path in urlunparse starts with //. Do this for all schemes that use a netloc.
-
Fred Drake authored
files exist in the current directory. Add "Documenting Python" to the list of documents listed.
-
Guido van Rossum authored
Pathnames of files on other hosts in the same domain (\\host\path\to\file) are not translated correctly to URLs and back. The URL should be something like file:////host/path/to/file. Note that a combination of drive letter and remote host is not possible.
-
- 17 Mar, 1999 1 commit
-
-
Jack Jansen authored
applet-specific rsrc file we add a "Pyta" owner resource. Owner resources have both id=0 and name="Owner resource" (is this always true?).
-