Commit Graph

90 Commits

Author SHA1 Message Date
Raymond Hettinger
ceb58a7dd1 Fix nits found by Tools\scripts\texcheck.py 2003-05-16 03:08:36 +00:00
Tim Peters
c18cc56c21 fsync(): Implemented for Windows, via calling MS _commit. This counts
as "a bug" because there's no other way in core Python to ensure that
bytes written are actually on disk.  At least ZODB wants this guarantee,
for robustness against crashes.
2003-04-23 20:14:12 +00:00
Fred Drake
158303a52d - explain what a UNC path is in the makedirs() description, since
they're actually mentioned there
2003-03-20 17:42:48 +00:00
Skip Montanaro
32d4793b05 backporting Fred's doc fix. 2003-02-14 06:46:24 +00:00
Skip Montanaro
dd2cffe93a add missing description of os.extsep 2003-02-14 05:46:52 +00:00
Neal Norwitz
372d65b0db Fix SF bug #675259, os.environ leaks under FreeBSD and Mac OS X
Even with the extra work to cleanup the env, *BSD still leaks.  Add a note.
2003-02-07 02:29:01 +00:00
Fred Drake
8950db6cfd Typo: "dead lock" --> "deadlock" 2002-12-06 16:43:58 +00:00
Fred Drake
afff418b0f Clarified documentation of tempnam().
Closes SF bug #635656.
2002-11-12 22:07:48 +00:00
Michael W. Hudson
d5fad24249 backport gvanrossum's checkin of
revision 1.86 of libos.tex

SF bug 563750 (Alex Martelli): posix_tmpfile():

The file returned by tmpfile() has mode w+b, so use that in the call
to PyFile_FromFile().

Bugfix candidate.
2002-08-23 16:28:16 +00:00
Raymond Hettinger
564e28f89b Documented os.fsync and os.fdatasync. Closes SF bug 584695. 2002-08-07 15:49:45 +00:00
Fred Drake
f9da68e395 Add description of the deadlock problem with child processes and pipes, and
hints about how to work around it.
Closes SF bug #530637.
2002-06-18 20:31:24 +00:00
Fred Drake
0a04f7e656 Clarified documentation for os.access().
Based on patch contributed by Sean Reifschneider.
Closes SF patch #570618.
2002-06-18 16:16:46 +00:00
Fred Drake
00eb5ad9ad Explain what os.read() returns at end of file.
This closes SF bug #550409.
2002-05-01 03:32:25 +00:00
Fred Drake
7fa9281486 Slightly expand and clarify the differences between getegid(), getgid(),
getpgrp(), and setpgid().
This closes SF bug #547939.
2002-04-26 20:59:55 +00:00
Fred Drake
f82ba5bf55 Explain that os.spawn*() return the process handle on Windows.
This closes SF bug #537582.
2002-04-01 23:29:02 +00:00
Fred Drake
5c7983113c Add a reference to the signal module to the os.kill() description.
This closes SF bug #495609.
2001-12-21 03:58:47 +00:00
Fred Drake
8c8e871530 Fix the availability statement for the spawn*() functions to reflect the
actual availability on Windows.
This fixes SF bug #495191.
2001-12-20 17:24:11 +00:00
Tim Peters
b404145936 s/it/if/ in descriptions of spawn mode argument. 2001-12-06 23:37:17 +00:00
Fred Drake
6995bb61b6 Various cleanups & markup fixes, mostly relating to the stat and statvfs
result object changes.
2001-11-29 20:48:44 +00:00
Fred Drake
c37b65ee10 Clean up some markup cruft. A number of the macros that take no
parameters (like \UNIX) are commonly entered using an empty group to
separate the markup from a following inter-word space; this is not
needed when the next character is punctuation, or the markup is the
last thing in the enclosing group.  These cases were marked
inconsistently; the empty group is now *only* used when needed.
2001-11-28 07:26:15 +00:00
Fred Drake
db7287c0f5 Straighten out the exec*() function descriptions a bit, and clarify a few
points in the spawn*() description.
2001-10-18 18:58:30 +00:00
Martin v. Löwis
c405133fce Elaborate on types and meaning of the setgroups arguments. 2001-10-18 14:07:12 +00:00
Martin v. Löwis
61c5edf6fc Expose setgroups. Fixes feature request #468116. 2001-10-18 04:06:00 +00:00
Fred Drake
938a8d723c Improve the documentation for the os.P_* constants used with the os.spawn*()
functions to include information about how they affect the operation of
those functions when used as the "mode" parameter.
This closes SF bug #468384.

Added warnings to the os.tempnam() and os.tmpnam() functions regarding their
security problem.  These warning mirror the warnings added to the runtime
by Skip Montanaro.
2001-10-09 18:07:04 +00:00
Martin v. Löwis
244edc8985 Add chroot call. Implements feature #459267. 2001-10-04 22:44:26 +00:00