Andrew M. Kuchling
fdf94c597f
Merged revisions 83163 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/branches/py3k
........
r83163 | andrew.kuchling | 2010-07-26 09:08:58 -0400 (Mon, 26 Jul 2010) | 1 line
Reword paragraph
........
2010-07-26 13:42:35 +00:00
Jeroen Ruigrok van der Werven
320477e4db
Merged revisions 82849 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/branches/py3k
........
r82849 | jeroen.ruigrok | 2010-07-13 16:47:01 +0200 (di, 13 jul 2010) | 2 lines
Fix documentation typo: wprite() -> write().
........
2010-07-13 15:08:30 +00:00
Georg Brandl
ab776cef9d
Document that an existing directory raises in mkdir().
2010-06-12 06:28:58 +00:00
Georg Brandl
fa0fdb89e9
#8709 : mention Windows support for os.devnull.
2010-05-21 22:03:29 +00:00
Benjamin Peterson
328e3775df
ensure that availability information is on its own line at the end of the function docs
2010-05-06 22:49:28 +00:00
Ronald Oussoren
9545a23c7f
In a number of places code still revers
...
to "sys.platform == 'mac'" and that is
dead code because it refers to a platform
that is no longer supported (and hasn't been
supported for several releases).
Fixes issue #7908 for the trunk.
2010-05-05 19:09:31 +00:00
Brian Curtin
1f8dd363b7
Add version info for os.kill and signal changes from #1220212 .
2010-04-20 15:23:18 +00:00
Georg Brandl
4a589c3ede
#8399 : add note about Windows and O_BINARY.
2010-04-14 19:16:38 +00:00
Georg Brandl
6c50efe76b
Add an x-ref to where the O_ constants are documented and move the SEEK_ constants after lseek().
2010-04-14 13:50:31 +00:00
Brian Curtin
e5aa886b44
Implement #1220212 . Add os.kill support for Windows.
...
os.kill takes one of two newly added signals, CTRL_C_EVENT and
CTRL_BREAK_EVENT, or any integer value. The events are a special case
which work with subprocess console applications which implement a
special console control handler. Any other value but those two will
cause os.kill to use TerminateProcess, outright killing the process.
This change adds win_console_handler.py, which is a script to implement
SetConsoleCtrlHandler and applicable handler function, using ctypes.
subprocess also gets another attribute which is a necessary flag to
creationflags in Popen in order to send the CTRL events.
2010-04-02 23:26:06 +00:00
Georg Brandl
49b9192b12
#2768 : add a note on how to get a file descriptor.
2010-04-02 08:39:09 +00:00
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