Georg Brandl
bde4ad4f92
Patch #1410998 : remove "DOS" from os.py docstring
2006-01-20 21:36:02 +00:00
Fredrik Lundh
96c1c7a571
SF#1343671.
...
The removedirs function removes empty directories, it doesn't
empty them.
2005-11-12 15:55:04 +00:00
Georg Brandl
9e43acf2f3
bug #1177468 : don't cache /dev/urandom file descriptor in os.urandom
2005-07-04 17:16:07 +00:00
Martin v. Löwis
5510f65f5a
Avoid using items() in environ.update(). Fixes #1124513 .
...
Will backport to 2.4.
2005-02-17 21:23:20 +00:00
Martin v. Löwis
1d11de6dbd
Revert os.py 1.75, and directly implement update.
...
Fixes #1110478 and #1100235 .
2005-01-29 13:29:23 +00:00
Martin v. Löwis
22b457e03b
Added SEEK_* constants. Fixes #711830 .
2005-01-16 08:40:58 +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
Martin v. Löwis
725f8c83a2
Patch #1021596 : Check for None to determine whether _urandomfd is
...
uninitialized.
2004-09-18 16:07:58 +00:00
Tim Peters
3b2cdad4fd
Whitespace normalization.
2004-09-01 13:10:32 +00:00
Andrew M. Kuchling
33ad28b68d
Use multi-line import
2004-08-31 11:38:12 +00:00
Tim Peters
45e77c55ff
Whitespace normalization.
2004-08-29 18:47:31 +00:00
Martin v. Löwis
dc3883f671
Patch #934711 : Expose platform-specific entropy.
2004-08-29 15:46:35 +00:00
Martin v. Löwis
bdec50f027
Feature request #935915 : Add os.path.devnull.
2004-06-08 08:29:33 +00:00
Andrew MacIntyre
69e18c9344
OS/2 has support for spawnvp() and spawnvpe() in the C libraries supplied
...
with major C compilers (VACPP, EMX+gcc and [Open]Watcom).
Also tidy up the export of spawn*() symbols in the os module to match what
is found/implemented.
2004-04-04 07:11:43 +00:00
Raymond Hettinger
31017aed36
SF #904720 : dict.update should take a 2-tuple sequence like dict.__init_
...
(Championed by Bob Ippolito.)
The update() method for mappings now accepts all the same argument forms
as the dict() constructor. This includes item lists and/or keyword
arguments.
2004-03-04 08:25:44 +00:00
Andrew M. Kuchling
6fccc8a9ec
[Bug #829532 ] Invoking os.makedirs() with an argument that contains a
...
directory name with a single dot fails. The patch skips creating
directories named os.curdir. (Patch by Bram Moolenaar)
2.3 bugfix candidate.
2003-12-23 16:33:28 +00:00
Andrew MacIntyre
89f9865b91
OS/2+EMX: make the link() emulation available as os.link()
2003-12-02 12:33:01 +00:00
Neal Norwitz
b7f6810a1f
SF #764121 , docstring for spawnlp incorrect
2003-07-02 02:49:33 +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
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
Guido van Rossum
68468eba63
Get rid of many apply() calls.
2003-02-27 20:14:51 +00:00
Tim Peters
f2715e0764
Whitespace normalization.
2003-02-19 02:35:07 +00:00
Skip Montanaro
117910dc44
Migrate definitions of several platform-dependent path-related variables
...
into the relevant path modules. See patch #686397 .
2003-02-14 19:35:31 +00:00
Tim Peters
2c60f7a136
Whitespace normalization.
2003-01-29 03:49:43 +00:00
Tim Peters
6757c1e856
SF patch 661583: Remove old code from lib\os.py
...
A patch from Andrew Wilkinson to change some bizarre old exec statements
specific to NT and CE.
2003-01-08 21:20:57 +00:00