Martin v. Löwis
ebd9d5ba1a
Patch #1180695 : Implement nanosecond stat resolution on FreeBSD,
...
add st_gen, st_birthtime.
2005-08-09 15:00:59 +00:00
Georg Brandl
2d8cc618db
[ 755617 ] os module: Need a better description of "mode"
2005-07-18 08:16:33 +00:00
Georg Brandl
b37b8eca88
bug [ 872769 ] os.access() documentation should stress race conditions
2005-07-17 21:10:11 +00:00
Fred Drake
3e3b699adf
add note that os.EX_* constants are subject to availability on the host
...
platform
2005-06-27 23:23:43 +00:00
Georg Brandl
6df3fd3790
bug [ 1186072 ] tempnam doc doesn't include link to tmpfile
2005-06-25 20:44:10 +00:00
Georg Brandl
03dbb4f50d
Bug [ 1190563 ] os.waitpid docs don't specify return value for WNOHANG
2005-06-25 19:55:04 +00:00
Georg Brandl
0929b7e5f7
Patch [ 1213031 ] note that os.chown can have -1 as an argument
2005-06-25 18:52:24 +00:00
Georg Brandl
3da85ec682
correcting duplicate TeX markup
2005-06-25 18:46:09 +00:00
Georg Brandl
837a9769c9
Bug [ 1225705 ] os.environ documentation should mention unsetenv
2005-06-25 18:44:49 +00:00
Georg Brandl
debd3710b6
Clarify docs about os.popen[234].
2005-06-10 19:55:35 +00:00
Hye-Shik Chang
5f937a7b8b
Patch #1212117 : Add optional attribute st_flags to os.stat_result
...
when the member is available on the platform. (Contributed by
Diego Petteno)
2005-06-02 13:09:30 +00:00
Skip Montanaro
5ff1492720
Add O_SHLOCK & O_EXLOCK. Closes patch #1103951 .
2005-05-16 02:42:22 +00:00
Brett Cannon
7706c2da14
Update references specifying "Macintosh" to mean OS X semantics and not Mac OS
...
9.
Applies patch #1095802 . Thanks Jack Jansen.
2005-02-13 22:50:04 +00:00
Martin v. Löwis
4d394dfebb
Truncate st_?time before comparing it with ST_?TIME in the tests.
2005-01-23 09:19:22 +00:00
Fred Drake
b184ae860e
fix a bunch of spelling errors
...
(closes SF patch #1104868 )
2005-01-19 03:39:17 +00:00
Martin v. Löwis
fe33d0ba87
Default stat_float_times to true.
2005-01-16 08:57:39 +00:00
Martin v. Löwis
22b457e03b
Added SEEK_* constants. Fixes #711830 .
2005-01-16 08:40:58 +00:00
Facundo Batista
bccc9a956a
Added example to os.stat()
2005-01-07 02:50:22 +00:00
Walter Dörwald
3fa932f7ed
Fix typo (from SF bug #1086127 ).
2004-12-15 23:44:18 +00:00
Tim Peters
7f13cfa674
os.walk(): Changed the "sum of bytes consumed by files" example to use
...
a generator expression instead of a listcomp.
Not a backport candidate (genexps are new in 2.4).
2004-11-22 16:53:46 +00:00
Tim Peters
919a3b40f9
SF bug 1071087: os.walk example for deleting a full tree is sometime wrong.
...
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.
2004-11-22 16:49:02 +00:00
Tim Peters
2cf5e1920b
Point out some platform vagaries in stat() and utime().
...
Bugfix candidate (the vagaries aren't new <wink>), but I don't intend to
backport this.
2004-11-04 21:27:48 +00:00
Johannes Gijsbers
9fc9789a0d
Document that on Unix, the 'cmd' argument to the os.popen2/3/4 and
...
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()}).
2004-10-11 18:12:20 +00:00
Armin Rigo
b6aa856f25
Patch #1009075 , bug #952953 : allow execve with empty 2nd argument
2004-09-27 19:54:33 +00:00
Martin v. Löwis
dc3883f671
Patch #934711 : Expose platform-specific entropy.
2004-08-29 15:46:35 +00:00
Tim Peters
d6ef19309d
SF bugs 996748: os.environ documentation should indicate unreliability
...
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).
2004-07-26 00:42:41 +00:00
Neal Norwitz
76aa2eff4e
Get doc to build (add missing backslash)
2004-07-19 01:39:54 +00:00
Tim Peters
de8332171a
SF bug 990749: os constants missing
...
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.
2004-07-15 05:46:37 +00:00
Martin v. Löwis
bdec50f027
Feature request #935915 : Add os.path.devnull.
2004-06-08 08:29:33 +00:00
Andrew M. Kuchling
e1ca355425
[Bug #918710 ] Add paragraph to clarify docs
2004-06-05 19:25:30 +00:00
Fred Drake
1cd6e4dc38
fix various descriptions of "ctime"
...
(closes SF patch #870287 )
2004-05-12 03:51:40 +00:00
Fred Drake
0ed663443e
really scream out that people should use the file objects instead of
...
file descriptor operations for normal applications
2004-04-16 15:20:01 +00:00
Raymond Hettinger
9b4dab4da1
SF patch #859286 : documentation bool change fix
...
(Contributed by George Yoshida.)
2003-12-31 18:37:28 +00:00
Martin v. Löwis
75aa4db04b
Mention that getsid is new in 2.4.
2003-11-10 06:46:15 +00:00
Martin v. Löwis
49ee14dac5
Patch #839038 : Add getsid(2).
2003-11-10 06:35:36 +00:00
Raymond Hettinger
9756f388c0
Fix typo.
2003-09-10 00:11:28 +00:00
Raymond Hettinger
b67449d31d
Fix spacing markup and other sundries.
2003-09-08 18:52:18 +00:00
Raymond Hettinger
0a6aa28681
SF patch #797157 : Bug 794658: os.chmod docs, stat constants
...
(Contributed by Christos Georgiou.)
Reference the symbol definitions in the stat module.
2003-08-31 05:09:52 +00:00
Fred Drake
15eac1f95c
Fix markup nits.
2003-05-20 16:21:51 +00:00
Tim Peters
dbaf04ead6
Straighten out the docs for os.system(); the Unix and Windows behaviors
...
really can't be smushed together.
Bugfix candidate.
2003-05-20 16:15:58 +00:00
Guido van Rossum
bf1bef820c
Add optional 'onerror' argument to os.walk(), to control error
...
handling.
2003-05-13 18:01:19 +00:00
Raymond Hettinger
52136a8bea
Fixed spacing and unbalanced brackets or parenthesis.
2003-05-10 03:35:37 +00:00
Tim Peters
a390c6e194
walk() docs: Emphasize that the recursive-delete example is dangerous.
2003-04-28 19:15:10 +00:00
Tim Peters
5501b5e3d7
SF bug 728097: tmpnam problems on windows 2.3b, breaks test.test_os.
...
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.
2003-04-28 03:13:03 +00:00
Tim Peters
bf89b3a1f7
walk() docs: Worked "walking" into the description and the text. Added
...
a brief example where bottom-up walking is essential.
2003-04-28 02:09:43 +00:00
Fred Drake
2194a4eede
markup adjustments
2003-04-25 14:50:06 +00:00
Tim Peters
c4e0940042
New generator os.walk() does a bit more than os.path.walk() does, and
...
seems much easier to use. Code, docs, NEWS, and additions to test_os.py
(testing this sucker is a bitch!).
2003-04-25 07:11:48 +00:00
Tim Peters
2d1c846b73
Clarified new fsync() docs.
2003-04-23 19:47:14 +00:00
Tim Peters
11b2306960
Enable os.fsync() for Windows, mapping it to MS's _commit() there. The
...
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).
2003-04-23 02:39:17 +00:00
Fred Drake
5c7b2487cd
- explain what a UNC path is in the makedirs() description, since
...
they're actually mentioned there
- remove some extraneous paragraph separations
- \versionadded --> \versionchanged in one place
2003-03-20 17:39:38 +00:00