Commit Graph

22 Commits

Author SHA1 Message Date
Andrew M. Kuchling 86c7e22036 Add forgotten import (PyChecker) 2001-08-13 14:47:12 +00:00
Fred Drake a94414a287 Remove all remaining uses of the FCNTL module from the standard library. 2001-05-10 15:33:31 +00:00
Guido van Rossum e9901f325e Fix two unqualified except: clauses.
This came out of SF bug #411881.
2001-04-10 15:44:33 +00:00
Skip Montanaro 78349072f7 removed __all__ from several modules 2001-02-18 03:30:53 +00:00
Skip Montanaro c62c81e013 __all__ for several more modules 2001-02-12 02:00:42 +00:00
Tim Peters 2344fae6d0 Whitespace normalization. 2001-01-15 00:50:52 +00:00
Fred Drake b37bdc2c7c Do not try to fix bugs while sleeping.
Paid more attention to the comments on the report; Martin suggested just
not having a __del__() method, which makes more sense in this case.  So
I have removed it.

This closes SourceForge bug #113850.  Again.
2000-09-09 06:29:35 +00:00
Fred Drake 16c4aa441b Kevin Jacobs <jacobs@darwin.cwru.edu>:
The posixfile __del__ method attempts to close the file (_file_) it
contains. However, if the open() method fails, then _file_ is never
assigned.

This closes SourceForge bug #113850.
2000-09-09 06:26:40 +00:00
Guido van Rossum 2d21863266 Add support for FreeBSD-[45].
-- tg@FreeBSD.org
2000-08-29 14:57:27 +00:00
Guido van Rossum 54f22ed30b More trivial comment -> docstring transformations by Ka-Ping Yee,
who writes:

Here is batch 2, as a big collection of CVS context diffs.
Along with moving comments into docstrings, i've added a
couple of missing docstrings and attempted to make sure more
module docstrings begin with a one-line summary.

I did not add docstrings to the methods in profile.py for
fear of upsetting any careful optimizations there, though
i did move class documentation into class docstrings.

The convention i'm using is to leave credits/version/copyright
type of stuff in # comments, and move the rest of the descriptive
stuff about module usage into module docstrings.  Hope this is
okay.
2000-02-04 15:10:34 +00:00
Guido van Rossum 5274c336f5 According to Craig H Rowland, openbsd2 is yet another BSD variant that
uses the BSD version of the lock structure.  Sigh, @!%$.
1999-12-06 14:51:05 +00:00
Guido van Rossum 027188a382 According to Jeffrey Honig, bsd/os 2.0 - 4.0 should be added to the
list (of bsd variants that have a different lock structure).
1999-02-23 04:14:32 +00:00
Guido van Rossum 45e2fbc2e7 Mass check-in after untabifying all files that need it. 1998-03-26 21:13:24 +00:00
Guido van Rossum 91221c29f2 Support for netbsd1 and freebsd3, after suggestions by Anders Andersen
and Jacques Vidrine.
1997-12-02 20:30:29 +00:00
Guido van Rossum ba885ffaa0 Added linux2 specific code :-( 1996-09-10 17:40:16 +00:00
Guido van Rossum 0f6a3bf490 Added locking hacks for AIX 1996-08-20 20:23:34 +00:00
Guido van Rossum 7698d12a8b Changes to make it work on FreeBSD 2.x. 1996-07-30 16:28:45 +00:00
Guido van Rossum ba3e46b9ce fix stupid typo: r->RDLK 1995-08-10 19:38:36 +00:00
Guido van Rossum 28aa229fa3 optional mode, bufsize for global function open() 1995-03-23 10:39:49 +00:00
Guido van Rossum 13c503e93b default mode="r" and add optional bufsize 1995-03-16 15:58:12 +00:00
Guido van Rossum c762becaf5 Changes by Jaap -- added 'fileopen' method 1994-05-18 11:08:10 +00:00
Guido van Rossum 78f8dea44a New module by Jaap V 1994-05-18 11:07:44 +00:00