summaryrefslogtreecommitdiffstats
path: root/Doc/lib/libos.tex
Commit message (Collapse)AuthorAgeFilesLines
* Update refences to "Macintosh" to reflect the state of affairs for OS X and notBrett Cannon2005-02-131-79/+79
| | | | | | Mac OS 9. Backport of patch #1095802.
* Backport checkin: Fix typo (from SF bug #1086127).Walter Dörwald2004-12-151-1/+1
|
* os.walk(): Changed the "sum of bytes consumed by files" example to useTim Peters2004-11-221-1/+1
| | | | | | a generator expression instead of a listcomp. Not a backport candidate (genexps are new in 2.4).
* SF bug 1071087: os.walk example for deleting a full tree is sometime wrong.Tim Peters2004-11-221-5/+5
| | | | | | | | | | | Clarify that the example assumes no links are present; the point of the example is to illustrate a need for topdown=False, not to wrestle with platform-dependent link convolutions. Also spell os.path.join() out in full, instead of using a shortcut import. The bug reporter was confused by that too, and it's clearer this way. Bugfix candidate; but I don't intend to backport it.
* Point out some platform vagaries in stat() and utime().Tim Peters2004-11-041-5/+19
| | | | | Bugfix candidate (the vagaries aren't new <wink>), but I don't intend to backport this.
* Document that on Unix, the 'cmd' argument to the os.popen2/3/4 andJohannes Gijsbers2004-10-111-4/+8
| | | | | | | | | | popen2.popen2/3/4 functions can be a sequence. All texts are a variation on the following: On \UNIX, \var{cmd} may be a sequence, in which case arguments will be passed directly to the program without shell intervention (as with \function{os.spawnv()}). If \var{cmd} is a string it will be passed to the shell (as with \function{os.system()}).
* Patch #1009075, bug #952953: allow execve with empty 2nd argumentArmin Rigo2004-09-271-2/+2
|
* Patch #934711: Expose platform-specific entropy.Martin v. Löwis2004-08-291-0/+19
|
* SF bugs 996748: os.environ documentation should indicate unreliabilityTim Peters2004-07-261-3/+12
| | | | | | Clarifed that os.environ is captured once; emphasized that it's better to assign to os.environ than to call putenv() directly (the putenv() docs said so, but the environ docs didn't).
* Get doc to build (add missing backslash)Neal Norwitz2004-07-191-1/+1
|
* SF bug 990749: os constants missingTim Peters2004-07-151-7/+10
| | | | | | | A LaTeX comment identified the 6 os.O_XXX constants the docs claimed are available on Windows but aren't. The bug report listed the same 6. Split these non-Windows constants into a different table with a possibly correct "Availability:" claim.
* Feature request #935915: Add os.path.devnull.Martin v. Löwis2004-06-081-0/+8
|
* [Bug #918710] Add paragraph to clarify docsAndrew M. Kuchling2004-06-051-0/+5
|
* fix various descriptions of "ctime"Fred Drake2004-05-121-1/+2
| | | | (closes SF patch #870287)
* really scream out that people should use the file objects instead ofFred Drake2004-04-161-7/+19
| | | | file descriptor operations for normal applications
* SF patch #859286: documentation bool change fixRaymond Hettinger2003-12-311-2/+3
| | | | (Contributed by George Yoshida.)
* Mention that getsid is new in 2.4.Martin v. Löwis2003-11-101-1/+1
|
* Patch #839038: Add getsid(2).Martin v. Löwis2003-11-101-0/+6
|
* Fix typo.Raymond Hettinger2003-09-101-1/+1
|
* Fix spacing markup and other sundries.Raymond Hettinger2003-09-081-4/+4
|
* SF patch #797157: Bug 794658: os.chmod docs, stat constantsRaymond Hettinger2003-08-311-1/+2
| | | | | | (Contributed by Christos Georgiou.) Reference the symbol definitions in the stat module.
* Fix markup nits.Fred Drake2003-05-201-4/+4
|
* Straighten out the docs for os.system(); the Unix and Windows behaviorsTim Peters2003-05-201-5/+13
| | | | | | really can't be smushed together. Bugfix candidate.
* Add optional 'onerror' argument to os.walk(), to control errorGuido van Rossum2003-05-131-1/+9
| | | | handling.
* Fixed spacing and unbalanced brackets or parenthesis.Raymond Hettinger2003-05-101-2/+2
|
* walk() docs: Emphasize that the recursive-delete example is dangerous.Tim Peters2003-04-281-0/+2
|
* SF bug 728097: tmpnam problems on windows 2.3b, breaks test.test_os.Tim Peters2003-04-281-1/+5
| | | | | | | | | tmpnam() appears essentially useless on Windows, and it finally broke the test for Irmen de Jong. Read the long new comment in test_tmpnam() for details. Since the MS implementation is insane, it might be good if we supplied a different implementation. Bugfix candidate.
* walk() docs: Worked "walking" into the description and the text. AddedTim Peters2003-04-281-1/+18
| | | | a brief example where bottom-up walking is essential.
* markup adjustmentsFred Drake2003-04-251-5/+4
|
* New generator os.walk() does a bit more than os.path.walk() does, andTim Peters2003-04-251-0/+65
| | | | | seems much easier to use. Code, docs, NEWS, and additions to test_os.py (testing this sucker is a bitch!).
* Clarified new fsync() docs.Tim Peters2003-04-231-4/+5
|
* Enable os.fsync() for Windows, mapping it to MS's _commit() there. TheTim Peters2003-04-231-2/+8
| | | | | | docs here are best-guess: the MS docs I could find weren't clear, and some even claimed _commit() has no effect on Win32 systems (which is easily shown to be false just by trying it).
* - explain what a UNC path is in the makedirs() description, sinceFred Drake2003-03-201-8/+6
| | | | | | they're actually mentioned there - remove some extraneous paragraph separations - \versionadded --> \versionchanged in one place
* Patch #683592 revisited, after discussions with MvL:Just van Rossum2003-03-031-2/+2
| | | | | | | | | | | | | | | | | | - Implement the behavior as specified in PEP 277, meaning os.listdir() will only return unicode strings if it is _called_ with a unicode argument. - And then return only unicode, don't attempt to convert to ASCII. - Don't switch on Py_FileSystemDefaultEncoding, but simply use the default encoding if Py_FileSystemDefaultEncoding is NULL. This means os.listdir() can now raise UnicodeDecodeError if the default encoding can't represent the directory entry. (This seems better than silcencing the error and fall back to a byte string.) - Attempted to decribe the above in Doc/lib/libos.tex. - Reworded the Misc/NEWS items to reflect the current situation. This checkin also fixes bug #696261, which was due to os.listdir() not using Py_FileSystemDefaultEncoding, like all file system calls are supposed to.
* Migrate definitions of several platform-dependent path-related variablesSkip Montanaro2003-02-141-0/+7
| | | | into the relevant path modules. See patch #686397.
* extsep description:Fred Drake2003-02-141-2/+3
| | | | | | - avoid "e.g." in text - record version information (should be backported)
* add missing description of os.extsepSkip Montanaro2003-02-141-0/+5
|
* Fix SF bug #675259, os.environ leaks under FreeBSD and Mac OS XNeal Norwitz2003-02-071-1/+7
| | | | | | Even with the extra work to cleanup the env, *BSD still leaks. Add a note. Will backport.
* Bug #678077: Suggest alternative to os.getlogin()Andrew M. Kuchling2003-02-031-1/+3
|
* Document EX_OK and friends.Barry Warsaw2003-01-071-0/+114
|
* SF bug #592859: os.chmod is underdocumentedRaymond Hettinger2003-01-061-0/+22
| | | | Document constants for permission bits.
* Fix a typoNeal Norwitz2003-01-051-1/+1
|
* Document killpg.Martin v. Löwis2002-12-271-0/+8
|
* Patch #657889: Implement posix.getloadavg.Martin v. Löwis2002-12-271-0/+8
|
* Typo: "dead lock" --> "deadlock"Fred Drake2002-12-061-1/+1
|
* Clarified documentation of tempnam().Fred Drake2002-11-121-0/+4
| | | | Closes SF bug #635656.
* Minor markup adjustments.Fred Drake2002-11-071-2/+2
|
* Document the changed fdopen behaviour.Thomas Heller2002-11-071-0/+4
| | | | (Hope the markup is ok).
* Add PyStructSequence_UnnamedField. Add stat_float_times.Martin v. Löwis2002-10-161-3/+30
| | | | Use integers in stat tuple, optionally floats in named fields.
* Remove mentionings of DOS.Martin v. Löwis2002-10-101-4/+4
|