Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Update refences to "Macintosh" to reflect the state of affairs for OS X and not | Brett Cannon | 2005-02-13 | 1 | -79/+79 |
| | | | | | | Mac OS 9. Backport of patch #1095802. | ||||
* | Backport checkin: Fix typo (from SF bug #1086127). | Walter Dörwald | 2004-12-15 | 1 | -1/+1 |
| | |||||
* | os.walk(): Changed the "sum of bytes consumed by files" example to use | Tim Peters | 2004-11-22 | 1 | -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 Peters | 2004-11-22 | 1 | -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 Peters | 2004-11-04 | 1 | -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 and | Johannes Gijsbers | 2004-10-11 | 1 | -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 argument | Armin Rigo | 2004-09-27 | 1 | -2/+2 |
| | |||||
* | Patch #934711: Expose platform-specific entropy. | Martin v. Löwis | 2004-08-29 | 1 | -0/+19 |
| | |||||
* | SF bugs 996748: os.environ documentation should indicate unreliability | Tim Peters | 2004-07-26 | 1 | -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 Norwitz | 2004-07-19 | 1 | -1/+1 |
| | |||||
* | SF bug 990749: os constants missing | Tim Peters | 2004-07-15 | 1 | -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öwis | 2004-06-08 | 1 | -0/+8 |
| | |||||
* | [Bug #918710] Add paragraph to clarify docs | Andrew M. Kuchling | 2004-06-05 | 1 | -0/+5 |
| | |||||
* | fix various descriptions of "ctime" | Fred Drake | 2004-05-12 | 1 | -1/+2 |
| | | | | (closes SF patch #870287) | ||||
* | really scream out that people should use the file objects instead of | Fred Drake | 2004-04-16 | 1 | -7/+19 |
| | | | | file descriptor operations for normal applications | ||||
* | SF patch #859286: documentation bool change fix | Raymond Hettinger | 2003-12-31 | 1 | -2/+3 |
| | | | | (Contributed by George Yoshida.) | ||||
* | Mention that getsid is new in 2.4. | Martin v. Löwis | 2003-11-10 | 1 | -1/+1 |
| | |||||
* | Patch #839038: Add getsid(2). | Martin v. Löwis | 2003-11-10 | 1 | -0/+6 |
| | |||||
* | Fix typo. | Raymond Hettinger | 2003-09-10 | 1 | -1/+1 |
| | |||||
* | Fix spacing markup and other sundries. | Raymond Hettinger | 2003-09-08 | 1 | -4/+4 |
| | |||||
* | SF patch #797157: Bug 794658: os.chmod docs, stat constants | Raymond Hettinger | 2003-08-31 | 1 | -1/+2 |
| | | | | | | (Contributed by Christos Georgiou.) Reference the symbol definitions in the stat module. | ||||
* | Fix markup nits. | Fred Drake | 2003-05-20 | 1 | -4/+4 |
| | |||||
* | Straighten out the docs for os.system(); the Unix and Windows behaviors | Tim Peters | 2003-05-20 | 1 | -5/+13 |
| | | | | | | really can't be smushed together. Bugfix candidate. | ||||
* | Add optional 'onerror' argument to os.walk(), to control error | Guido van Rossum | 2003-05-13 | 1 | -1/+9 |
| | | | | handling. | ||||
* | Fixed spacing and unbalanced brackets or parenthesis. | Raymond Hettinger | 2003-05-10 | 1 | -2/+2 |
| | |||||
* | walk() docs: Emphasize that the recursive-delete example is dangerous. | Tim Peters | 2003-04-28 | 1 | -0/+2 |
| | |||||
* | SF bug 728097: tmpnam problems on windows 2.3b, breaks test.test_os. | Tim Peters | 2003-04-28 | 1 | -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. Added | Tim Peters | 2003-04-28 | 1 | -1/+18 |
| | | | | a brief example where bottom-up walking is essential. | ||||
* | markup adjustments | Fred Drake | 2003-04-25 | 1 | -5/+4 |
| | |||||
* | New generator os.walk() does a bit more than os.path.walk() does, and | Tim Peters | 2003-04-25 | 1 | -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 Peters | 2003-04-23 | 1 | -4/+5 |
| | |||||
* | Enable os.fsync() for Windows, mapping it to MS's _commit() there. The | Tim Peters | 2003-04-23 | 1 | -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, since | Fred Drake | 2003-03-20 | 1 | -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 Rossum | 2003-03-03 | 1 | -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 variables | Skip Montanaro | 2003-02-14 | 1 | -0/+7 |
| | | | | into the relevant path modules. See patch #686397. | ||||
* | extsep description: | Fred Drake | 2003-02-14 | 1 | -2/+3 |
| | | | | | | - avoid "e.g." in text - record version information (should be backported) | ||||
* | add missing description of os.extsep | Skip Montanaro | 2003-02-14 | 1 | -0/+5 |
| | |||||
* | Fix SF bug #675259, os.environ leaks under FreeBSD and Mac OS X | Neal Norwitz | 2003-02-07 | 1 | -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. Kuchling | 2003-02-03 | 1 | -1/+3 |
| | |||||
* | Document EX_OK and friends. | Barry Warsaw | 2003-01-07 | 1 | -0/+114 |
| | |||||
* | SF bug #592859: os.chmod is underdocumented | Raymond Hettinger | 2003-01-06 | 1 | -0/+22 |
| | | | | Document constants for permission bits. | ||||
* | Fix a typo | Neal Norwitz | 2003-01-05 | 1 | -1/+1 |
| | |||||
* | Document killpg. | Martin v. Löwis | 2002-12-27 | 1 | -0/+8 |
| | |||||
* | Patch #657889: Implement posix.getloadavg. | Martin v. Löwis | 2002-12-27 | 1 | -0/+8 |
| | |||||
* | Typo: "dead lock" --> "deadlock" | Fred Drake | 2002-12-06 | 1 | -1/+1 |
| | |||||
* | Clarified documentation of tempnam(). | Fred Drake | 2002-11-12 | 1 | -0/+4 |
| | | | | Closes SF bug #635656. | ||||
* | Minor markup adjustments. | Fred Drake | 2002-11-07 | 1 | -2/+2 |
| | |||||
* | Document the changed fdopen behaviour. | Thomas Heller | 2002-11-07 | 1 | -0/+4 |
| | | | | (Hope the markup is ok). | ||||
* | Add PyStructSequence_UnnamedField. Add stat_float_times. | Martin v. Löwis | 2002-10-16 | 1 | -3/+30 |
| | | | | Use integers in stat tuple, optionally floats in named fields. | ||||
* | Remove mentionings of DOS. | Martin v. Löwis | 2002-10-10 | 1 | -4/+4 |
| |