summaryrefslogtreecommitdiffstats
path: root/Doc/lib/libos.tex
Commit message (Collapse)AuthorAgeFilesLines
* Explain what os.read() returns at end of file.Fred Drake2002-05-011-1/+3
| | | | This closes SF bug #550409. Applying to release21-maint & release22-maint.
* Slightly expand and clarify the differences between getegid(), getgid(),Fred Drake2002-04-261-6/+9
| | | | | getpgrp(), and setpgid(). This closes SF bug #547939.
* WCOREDUMP(), WIFCONTINUED(), WCONTINUED, WUNTRACED: New.Fred Drake2002-04-231-6/+38
| | | | | isatty(), WIFEXITED(), WIFSIGNALED(), WIFSTOPPED(): Changed to return bools instead of ints.
* Be consistent in presenting the signatures.Fred Drake2002-04-151-1/+1
|
* Add docs for os.fchdir().Fred Drake2002-04-151-0/+9
|
* Patch #543447: Add posix.mknod.Martin v. Löwis2002-04-141-0/+11
|
* Explain that os.spawn*() return the process handle on Windows.Fred Drake2002-04-011-3/+5
| | | | | Clarify that os.waitpid() on Windows takes a process handle, not a process ID. This closes SF bug #537582.
* Implement os.waitpid() for Windows, in a way that's compatible with LinuxTim Peters2002-02-011-6/+21
| | | | | | where their capabilities intersect. Would be nice if people using non- MSVC compilers (Borland etc) took a whack at doing something similar for them (this code relies on the MS _cwait function).
* Add new constants usable with os.popen() on Windows.Tim Peters2002-01-301-0/+11
| | | | | | | | NOTE: this seems a mess wrt which symbols are available on which platforms. I can't fix it, but I didn't add to it <wink>, and included an XXX comment about names claimed to be available on Windows that aren't. If anyone can figure out the whole ugly truth, I'm sure a better organization will suggest itself.
* Add a reference to the signal module to the os.kill() description.Fred Drake2001-12-211-1/+3
| | | | This closes SF bug #495609.
* Fix the availability statement for the spawn*() functions to reflect theFred Drake2001-12-201-2/+3
| | | | | actual availability on Windows. This fixes SF bug #495191.
* s/it/if/ in descriptions of spawn mode argument.Tim Peters2001-12-061-1/+1
|
* Various cleanups & markup fixes, mostly relating to the stat and statvfsFred Drake2001-11-291-38/+77
| | | | result object changes.
* Clean up some markup cruft. A number of the macros that take noFred Drake2001-11-281-92/+92
| | | | | | | | 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.
* Straighten out the exec*() function descriptions a bit, and clarify a fewFred Drake2001-10-181-65/+68
| | | | points in the spawn*() description.
* Elaborate on types and meaning of the setgroups arguments.Martin v. Löwis2001-10-181-2/+4
|
* Expose setgroups. Fixes feature request #468116.Martin v. Löwis2001-10-181-0/+7
|
* Improve the documentation for the os.P_* constants used with the os.spawn*()Fred Drake2001-10-091-9/+29
| | | | | | | | | | 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.
* Add chroot call. Implements feature #459267.Martin v. Löwis2001-10-041-0/+6
|
* Added note about non-support of UNC paths on Windows.Fred Drake2001-09-281-1/+2
| | | | This fixes SF bug #465447.
* Document clearly that the only way to retrieve the return code from theFred Drake2001-09-111-0/+6
| | | | | child processes is to use the Popen3 and Popen4 classes. This fixes SF bug #460512.
* Re-write the description of the os.spawn*() functions, and cover theFred Drake2001-08-161-17/+51
| | | | | | | whole family instead of just two. This closes SF bug #451630.
* Typo: Added missing "if".Fred Drake2001-07-231-1/+1
| | | | This is part of SF patch #442788.
* Update the availability information for os.tempnam(), os.tmpfile(), andFred Drake2001-07-171-1/+3
| | | | os.tmpnam().
* Minor changes to match the style guide.Fred Drake2001-07-141-34/+38
|
* Fix up a few style nits -- avoid "e.g." and "i.e." -- these makeFred Drake2001-07-061-23/+24
| | | | | translation more difficult, as well as reading the English more difficult for non-native speakers.
* Add the appropriate availability annotations for the popen*() family ofFred Drake2001-06-111-4/+7
| | | | | | | functions -- these are not available on traditional Mac OS platforms. Corrected the version annotations for the spawn*() functions and related constants; these were added in Python 1.6, not 1.5.2.
* Fixed parameter order for os.popen2(), os.popen3(), and os.popen(4). AddedFred Drake2001-06-111-3/+11
| | | | | | | a reference to these functions and popen() from the "Process Management" section. Based on a suggestion from comp.lang.python.
* is -> if in rename descriptionSkip Montanaro2001-06-041-1/+1
|
* Document os.getenv().Fred Drake2001-05-311-0/+7
| | | | This closes SF bug #429059.
* readlink() description: Added note that the return value may be eitherFred Drake2001-05-291-5/+20
| | | | | | | | | | absolute or relative. remove(), rename() descriptions: Give more information about the cross- platform behavior of these functions, so single-platform developers can be aware of the potential issues when writing portable code. This closes SF patch #426598.
* Capitalize first letter of an explanation for a \versionchangedFred Drake2000-10-191-1/+1
| | | | annotation.
* For os.stat() & friends, note that the time fields are returned asFred Drake2000-10-141-1/+3
| | | | floating-point values.
* Added \versionchanged comment to os.popen() noting that it was unreliableFred Drake2000-10-041-0/+6
| | | | | | | in earlier versions of Python; this is useful information for people interested in writing code that is portable across Python versions. Suggested by Peter Funk <pf@artcom-gmbh.de>.
* Remove old note that os.popen() on Windows is unreliable; this is noFred Drake2000-10-031-3/+1
| | | | longer true.
* os.startfile() documentation, based on text from Tim Peters.Fred Drake2000-09-291-0/+18
|
* Updated documentation relating to the various flavors of popen[234]()Fred Drake2000-09-281-0/+30
| | | | for Windows & Unix.
* Added explanation of the use of the first program argument passed to theFred Drake2000-09-231-0/+9
| | | | exec*() family of functions.
* O_BINARY: Documented this constant; omission noted by David Ascher.Fred Drake2000-08-111-1/+8
| | | | | access(): Corrected availability statement; error pointed out by Tim Peters.
* added doc for isatty()Skip Montanaro2000-07-191-0/+6
|
* Rob W. W. Hooft's spelling fixes for the Library Reference. I hopeThomas Wouters2000-07-161-3/+3
| | | | | | | | | SourceForge doesn't choke on this batch :-) I'm not entirely sure this is 100% correct. The patch changes an \index{persistency} to \index{presistence}, and I don't know what \index{} does. But it seems to do so persi--er, consistently, so I hope it isn't a problem.
* From Sam Rushing's Medusa, via SF patch #100858: add & documentAndrew M. Kuchling2000-07-131-0/+20
| | | | os.seteuid(), os.setegid(), os.setreuid(), os.setregid().
* Update version numbering from 1.6 to 2.0.Fred Drake2000-06-301-1/+1
|
* Thomas Wouters <thomas@xs4all.net>:Fred Drake2000-06-281-0/+18
| | | | Documentation updates related to the addition of openpty() and forkpty().
* Use \versionchanged to indicate when the second parameter to utime()Fred Drake2000-05-021-2/+3
| | | | was allowed to be None.
* Document the new additional signature for utime(). In addition to theBarry Warsaw2000-05-011-3/+6
| | | | | previous functionality utime(path, (atime, mtime)), now allowed is utime(path, None) which sets the file's times to the current time.
* Merged changes from the 1.5.2p2 release.Fred Drake2000-04-031-7/+33
| | | | (Very rough.)
* Update portability information for the spawn*() functions and relatedFred Drake2000-02-291-4/+11
| | | | | constants. Someone will need to fill in information on the spawn*() functions that aren't listed.
* Document getgroups(), getlogin(), fpathconf(), pathconf(),Fred Drake1999-12-151-1/+107
| | | | pathconf_names, confstr(), confstr_names, sysconf(), sysconf_names.
* Document the new stuff in the os module.Fred Drake1999-12-091-2/+47
|