Commit Graph

50 Commits

Author SHA1 Message Date
Georg Brandl c51d1f0862 #7479: add note about function availability on Unices. 2009-12-19 18:16:31 +00:00
Antoine Pitrou 30b3b35cba Issue #7333: The `posix` module gains an `initgroups()` function providing
access to the initgroups(3) C library call on Unix systems which implement
it.  Patch by Jean-Paul Calderone.
2009-12-02 20:37:54 +00:00
Georg Brandl 8d8f874c19 Fix versions and spacing. 2009-11-28 11:11:50 +00:00
Gregory P. Smith 761ae0b8cc fix typo 2009-11-27 17:51:12 +00:00
Martin v. Löwis 50ea4565bd Issue #6508: Add posix.{getresuid,getresgid,setresuid,setresgid}. 2009-11-27 13:56:01 +00:00
Georg Brandl 11abfe640f Fix missing word. 2009-10-18 07:58:12 +00:00
Georg Brandl 647e9d2652 #7126: os.environ changes *do* take effect in subprocesses started with os.system(). 2009-10-14 15:57:46 +00:00
Doug Hellmann 1d18b5b929 Fix markup for external links. 2009-09-20 20:44:13 +00:00
Georg Brandl 1b2695a4c2 #6677: note that rmdir only removes empty directories. 2009-08-24 17:48:40 +00:00
Georg Brandl 7543997d74 #6677: mention "deleting" as an alias for removing files. 2009-08-24 17:24:27 +00:00
Georg Brandl 9fa61bb37d #6577: fix (hopefully) all links to builtin instead of module/class-specific objects. 2009-07-26 14:19:57 +00:00
R. David Murray fbba7cdcf0 Issue 6389: add documentation for the 'mode' flags defined in the
stat module.
2009-07-02 18:19:20 +00:00
R. David Murray ccb9d4b21c Issue 2947: document how return code handling translates from
os.popen to subprocess.  Also fixes reference link in the
os.spawn documentation.
2009-06-09 00:44:22 +00:00
Benjamin Peterson ecf3c62440 no fdatasync on macos 2009-05-30 03:10:52 +00:00
Georg Brandl 012408c2b9 Fix references to file-related functions and methods (os.* vs file.*). 2009-05-22 09:43:17 +00:00
Georg Brandl d933cc293b #2856: document 2.x os.listdir() behavior for undecodable filenames. 2009-05-16 11:21:29 +00:00
Georg Brandl 5d19610f8d #1718017: document the relation of os.path and the posixpath, ntpath etc. modules better. 2009-04-05 10:41:02 +00:00
Georg Brandl 22717dffba #837577: note cryptic return value of spawn*e on invalid env dicts. 2009-03-31 18:26:55 +00:00
Benjamin Peterson 0e9285845e give os.symlink and os.link() better parameter names #5564 2009-03-28 19:16:10 +00:00
Georg Brandl c62ef8b4d9 Remove trailing whitespace. 2009-01-03 20:55:06 +00:00
Georg Brandl e70ff4bf0d #4441 followup: Add link to open() docs for Windows. 2008-12-05 09:25:32 +00:00
Georg Brandl 0c880bd4fb #4441: improve doc for os.open() flags. 2008-12-05 08:02:17 +00:00
Georg Brandl 623429132e #4404: make clear what "path" is. 2008-11-24 19:56:47 +00:00
Gregory P. Smith 0806749e63 Works around issue3863: freebsd4/5/6 and os2emx are known to have OS bugs when
calling fork() from a child thread.  This disables that unit test (with a note
printed to stderr) on those platforms.

A caveat about buggy platforms is added to the os.fork documentation.
2008-09-30 20:41:13 +00:00
Andrew M. Kuchling ac77166e90 #1579477: mention necessity to flush output before exec'ing 2008-09-28 00:15:27 +00:00
Georg Brandl 9af9498c6e Remove things specific to the old Macintosh, and spell "Mac OS X" consistently. 2008-09-13 17:41:16 +00:00
Benjamin Peterson 5b02ef3e1b note how os.utime should be used for emulating touch 2008-08-16 03:13:07 +00:00
Gregory P. Smith 59de7f5733 document that waitpid raises OSError 2008-08-15 23:14:00 +00:00
Georg Brandl 0ba92b24b7 Turn section references into proper cross-references. 2008-06-22 09:05:29 +00:00
Facundo Batista 74a6ba8f70 In the deprecated functions I added an alert to review
specially a section of the subprocess documentation
that helps with the replacing of those functionss.
2008-06-21 19:48:19 +00:00
Georg Brandl 6bb7bcf5f7 getloadavg() is not available on Windows. 2008-05-30 19:12:13 +00:00
Georg Brandl ae6b9f3cb2 Document O_ASYNC addition. 2008-05-16 13:41:26 +00:00
Georg Brandl 3fc974f2d4 Clarify os.strerror()s exception behavior. 2008-05-11 21:16:37 +00:00
Georg Brandl fb246c410b #2634: clarify meaning of env parameter to spawn/exec*e. 2008-04-19 16:58:28 +00:00
Skip Montanaro 75e51680f1 note that fork and forkpty raise OSError on failure 2008-03-15 02:32:49 +00:00
Georg Brandl 0a40ffb1b3 #2063: correct order of utime and stime in os.times()
result on Windows.
2008-02-13 07:20:22 +00:00
Georg Brandl 309501a617 #1663329: add os.closerange() to close a range of fds,
ignoring errors, and use this in subprocess to speed up
subprocess creation in close_fds mode. Patch by Mike Klaas.
2008-01-19 20:22:13 +00:00
Georg Brandl 57fe0f2902 Move OSError docs to exceptions doc, remove obsolete descriptions
from os docs, rework posix docs.
2008-01-12 10:53:29 +00:00
Georg Brandl f725b9587c Doc patch #1730 from Robin Stocker; minor corrections mostly to os.rst. 2008-01-05 19:44:22 +00:00
Georg Brandl b19be571e0 Some cleanup in the docs. 2007-12-29 10:57:00 +00:00
Georg Brandl 81ddc1a69b Move lchmod() docs to correct place, and add versionadded tags. 2007-11-30 22:04:45 +00:00
Christian Heimes 3628187b66 Fix for feature request #1528 Add os.fchmod
Georg Brandl has added fchmod() and fchown(). I've contributed lchown but I'm not able to test it on Linux. However it should be available on Mac and some other flavors of Unix.
I've made a quick test of fchmod() and fchown() on my system. They are working as expected.
2007-11-30 21:11:28 +00:00
Georg Brandl b67da6ed2b #1735632: add O_NOATIME constant to os module.
Also document a few other O_ constants that were missing from documentation.
2007-11-24 13:56:09 +00:00
Mark Summerfield ac3d429edc Added more file-handling related cross-references. 2007-11-02 08:24:59 +00:00
Georg Brandl 03b15c67ff #1364: os.lstat is available on Windows too, as an alias to os.stat. 2007-11-01 17:19:33 +00:00
Georg Brandl 1a94ec2664 Bug #1287: make os.environ.pop() work as expected. 2007-10-24 21:40:38 +00:00
Georg Brandl bb75e4e5d2 Unify "file-descriptor" to "file descriptor". 2007-10-21 10:46:24 +00:00
Georg Brandl 4a21268a74 Patch #1181: add os.environ.clear() method. 2007-09-20 17:57:59 +00:00
Mark Summerfield ddca9f0823 Replaced variable o with obj in operator.rst because o is easy to
confuse.

Added a note about Python 3's collections.Mapping etc., above section
that describes isMappingType() etc.

Added xrefs between os, os.path, fileinput, and open().
2007-09-13 14:54:30 +00:00
Georg Brandl 8ec7f65613 Move the 2.6 reST doc tree in place. 2007-08-15 14:28:01 +00:00