Martin v. Löwis
0cc3ea620c
Revert the following revisions, as they don't fix security
...
problems:
52448, 52468, 52472, 52475, 52646, 52797, 52802, 52863, 52999, 53001,
53101, 53371, 53373, 53383, 53384, 53736, 53812, 53921, 55578, 55580,
55581, 55772, 55775, 56557, 57093, 57094, 58630, 60114
2008-03-02 17:47:51 +00:00
Andrew M. Kuchling
d8df714d6b
Point users to the subprocess module in the docs for os.system, os.spawn*, os.popen2, and the popen2 and commands modules
2006-10-27 14:55:11 +00:00
Martin v. Löwis
b8f82e6feb
Backport r45505, r45573, r45576
...
- reset errno before calling confstr - use confstr() doc to simplify
checks afterwards
- Correct implementation and documentation of os.confstr. Add a simple
test case. I've yet to figure out how to provoke a None return I can test.
- Address issues brought up by MvL on python-checkins.
I tested this with valgrind on amd64.
The man pages I found for diff architectures are inconsistent on this.
I'm not entirely sure this change is correct for all architectures
either.
Perhaps we should just over-allocate and not worry about it?
The change to return None instead of "" in case of unconfigured
values has not been backported.
2006-10-09 19:29:06 +00:00
Andrew M. Kuchling
7de28188c2
[Backport rev.39739 by nnorwitz]
...
SF bug #1328915 , try to word kill a bit more generically. Backport candidate.
2006-09-29 12:47:00 +00:00
Georg Brandl
653d87d1d7
Bug #1467952 : backport: make os.listdir() raise if readdir() fails
2006-04-11 06:51:25 +00:00
Neal Norwitz
a10a09d184
Backport: SF #1442767 , docs for os.statvfs miss f_bsize parameter.
2006-03-03 23:13:19 +00:00
Georg Brandl
1eb6bb635a
Another typo.
2006-01-22 20:47:30 +00:00
Georg Brandl
b52ba9d908
Correct several typos in libos.tex. Bug #1412227 .
2006-01-22 19:35:04 +00:00
Georg Brandl
22df553878
Remove dots in \version{added,changed} arguments.
2006-01-15 07:55:42 +00:00
Georg Brandl
3951b1cfc3
bug #1395597 : doc typo
2006-01-02 22:07:25 +00:00
Georg Brandl
3758868620
Bug #1373197 : note that os.makedirs does not work with '..'
2005-12-17 17:47:43 +00:00
Georg Brandl
03f93a0161
Bug #1343671 : clarify docs for os.removedirs
2005-12-17 17:31:07 +00:00
Georg Brandl
e46a1deae1
Bug #1106572 : clarify os.makedirs docs wrt umask
2005-12-17 17:14:24 +00:00
Georg Brandl
62efb93c72
Bug #1357604 : os.makedirs handles UNC paths
2005-11-22 20:14:30 +00:00
Georg Brandl
a4e9aa6f65
Add a note to os.chown that permission constants can be combined
2005-11-22 19:15:58 +00:00
Neal Norwitz
cb64ae180e
Backport: SF Bug #1008310 , os.major() os.minor() example and description change.
2005-10-03 05:48:18 +00:00
Neal Norwitz
3f391a2d75
Fix SF bug #991735 , os.access reports true for read-only directories. Will backport
2005-10-03 05:14:25 +00:00
Georg Brandl
062f18661a
backport bug [ 755617 ] os module: Need a better description of "mode"
2005-07-18 08:17:08 +00:00
Georg Brandl
9e9452fda0
bug [ 872769 ] os.access() documentation should stress race conditions
2005-07-17 21:10:07 +00:00
Fred Drake
f9a193a53f
add note that os.EX_* constants are subject to availability on the host
...
platform
2005-06-27 23:22:22 +00:00
Georg Brandl
7cb2ec1e7b
backport bug [ 1186072 ] tempnam doc doesn't include link to tmpfile
2005-06-25 20:44:12 +00:00
Georg Brandl
453bc2850f
backport [ 1190563 ] os.waitpid docs don't specify return value for WNOHANG
2005-06-25 19:55:37 +00:00
Georg Brandl
a19b94d45b
backport patch [ 1213031 ] note that os.chown can have -1 as an argument
2005-06-25 18:53:24 +00:00
Georg Brandl
9ed0964a41
backport of bug [ 1225705 ] os.environ documentation should mention unsetenv
2005-06-25 18:47:28 +00:00
Georg Brandl
e67ab57de1
Clarify docs about os.popen[234].
2005-06-10 19:55:46 +00:00