History log of /external/python/cpython2/Lib/os.py
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
b0368491e4b1338150f22da2ea4300a6b7ebd10a 14-Apr-2015 Benjamin Peterson <benjamin@python.org> remove useless word (closes #23929)
/external/python/cpython2/Lib/os.py
5937f39aee62d1ef68d6fec0f039d0d1f69ebb62 27-Jun-2014 Ned Deily <nad@acm.org> Issue #21875: Remove vestigial references to Classic Mac OS in os module docs.
/external/python/cpython2/Lib/os.py
87d01364167e55e62c1e9ebe0892c3d5266d0428 16-Jun-2014 Benjamin Peterson <benjamin@python.org> clarify when the list of subdirectories is read (closes #13779)
/external/python/cpython2/Lib/os.py
aee9dfba4a9230f2832dd69d67e92f8e0490a163 21-Feb-2012 Benjamin Peterson <benjamin@python.org> merge 2.6 with hash randomization fix
1e13eb084f72d5993cbb726e45b36bdb69c83a24 21-Feb-2012 Barry Warsaw <barry@python.org> - Issue #13703: oCERT-2011-003: add -R command-line option and PYTHONHASHSEED
environment variable, to provide an opt-in way to protect against denial of
service attacks due to hash collisions within the dict and set types. Patch
by David Malcolm, based on work by Victor Stinner.
/external/python/cpython2/Lib/os.py
2b52e311e59e66ca38bcaec095dd7dd58f656512 31-Jan-2010 Matthias Klose <doko@ubuntu.com> Merged revisions 77879 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
r77879 | matthias.klose | 2010-01-31 17:46:26 +0100 (So, 31 Jan 2010) | 2 lines

- Fix typo in os.execvp docstring.
........
/external/python/cpython2/Lib/os.py
48a3c4e2e3b2f339a024b12d5e2118b70bdd6c39 31-Jan-2010 Matthias Klose <doko@ubuntu.com> - Fix typo in os.execvp docstring.
/external/python/cpython2/Lib/os.py
1b34d2552c2cb2369130291a8a9ae973753b4072 01-Jan-2010 Mark Dickinson <dickinsm@gmail.com> Issue #5080: turn the DeprecationWarning from float arguments passed
to integer PyArg_Parse* format codes into a TypeError. Add a
DeprecationWarning for floats passed with the 'L' format code, which
didn't previously have a warning.
/external/python/cpython2/Lib/os.py
246ec332fda2b8bbd6e6b4335cd540db5238698d 20-Nov-2009 Benjamin Peterson <benjamin@python.org> avoid doing an uneeded import in a function
/external/python/cpython2/Lib/os.py
7865296ca3e6fb179860c899b3a3a198e6f317c1 29-Sep-2009 Philip Jenvey <pjenvey@underboss.org> Merged revisions 75143 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
r75143 | philip.jenvey | 2009-09-29 12:10:15 -0700 (Tue, 29 Sep 2009) | 5 lines

#5329: fix os.popen* regression from 2.5: don't execute commands as a sequence
through the shell. also document the correct subprocess replacement for this
case
patch from Jean-Paul Calderone and Jani Hakala
........
/external/python/cpython2/Lib/os.py
8b9020458a8576459040fce985ab140f0876e2f1 29-Sep-2009 Philip Jenvey <pjenvey@underboss.org> #5329: fix os.popen* regression from 2.5: don't execute commands as a sequence
through the shell. also document the correct subprocess replacement for this
case
patch from Jean-Paul Calderone and Jani Hakala
/external/python/cpython2/Lib/os.py
03dcc73c1121ebccc49af4cb5ff2d4aa8ca833db 10-Jun-2009 Amaury Forgeot d'Arc <amauryfa@gmail.com> Avoid invoking the parser/compiler just to test the presence of a function.
/external/python/cpython2/Lib/os.py
d712203d17d406b3ebdb1276e5f1694a2a7db120 02-Sep-2008 Gregory P. Smith <greg@mad-scientist.com> Issue #3708: os.urandom no longer goes into an infinite loop when passed a
non-integer floating point number.
/external/python/cpython2/Lib/os.py
88f801d40944960f5bc7e0b8631674371a100f90 18-Aug-2008 Brett Cannon <bcannon@gmail.com> Update __all__ for cookielib, csv, os, and urllib2 for objects imported into
the module but exposed as part of the API.
/external/python/cpython2/Lib/os.py
dffbf5f5421cbeb20237280c0bd70f989269f844 20-May-2008 Georg Brandl <georg@python.org> Revert copy_reg -> copyreg rename.
/external/python/cpython2/Lib/os.py
81af68ee6123f87c368c95d384a934b7e501ebf0 12-May-2008 Ronald Oussoren <ronaldoussoren@mac.com> Remove references to platform 'mac'

The 'mac' platform (that is, os.name == 'mac') was used for the MacOS 9 port,
which is no longer supported (as of Python 2.4 IIRC).
/external/python/cpython2/Lib/os.py
9510e4a9f8503421c9f589e99e697aa5f3b89b69 11-May-2008 Alexandre Vassalotti <alexandre@peadrop.com> Added module stub for copy_reg renaming in 3.0.
Renamed copy_reg to copyreg in the standard library, to avoid
spurious warnings and ease later merging to py3k branch. Public
documentation remains intact.
/external/python/cpython2/Lib/os.py
8e4997390ccb92f889ac709c9a45e589472bdee2 06-May-2008 Gregory P. Smith <greg@mad-scientist.com> fix issue2707 - os.walk docstring example correctness typo.
/external/python/cpython2/Lib/os.py
2ffd780858b304ac66bb1b71745717e27fff2b0f 27-Nov-2007 Facundo Batista <facundobatista@gmail.com> Moved the errno import from inside the functions to the
module level. Fixes issue 1755179.
/external/python/cpython2/Lib/os.py
dd1a8466f522f5e4ba656425b51398fe52e4700f 26-Oct-2007 Georg Brandl <georg@python.org> Fix new pop() method on os.environ on ignorecase-platforms.
/external/python/cpython2/Lib/os.py
1a94ec266483cf3212e362cb20ffb989e254ecf3 24-Oct-2007 Georg Brandl <georg@python.org> Bug #1287: make os.environ.pop() work as expected.
/external/python/cpython2/Lib/os.py
4a21268a749ee7461a4b744ddaa1fbcb0f22e7d5 20-Sep-2007 Georg Brandl <georg@python.org> Patch #1181: add os.environ.clear() method.
/external/python/cpython2/Lib/os.py
42dd86b8e2773c342ca7fa0ffcc9d1cbb8589bd3 11-May-2007 Neal Norwitz <nnorwitz@gmail.com> Deprecate os.popen* and popen2 module in favor of the subprocess module.
/external/python/cpython2/Lib/os.py
cae9f3d91609635374956e9ad71109bf1e90fa58 21-Mar-2007 Georg Brandl <georg@python.org> New test for rev. 54407 which only uses directories under TESTFN.
/external/python/cpython2/Lib/os.py
c990f6454f2725c143f215d49de305ecb2a935e0 20-Mar-2007 Neal Norwitz <nnorwitz@gmail.com> Try backing out 54407 to see if it corrects the problems on the Windows
buildbots. This rev was backported, so we will need to keep both branches
in sync, pending the outcome of the test after this checkin.
/external/python/cpython2/Lib/os.py
8844e438b1e0a3546f15213df7741c3141859eeb 16-Mar-2007 Georg Brandl <georg@python.org> Patch #1273829: os.walk() now has a "followlinks" parameter. If set to
True (which is not the default), it visits symlinks pointing to
directories.
/external/python/cpython2/Lib/os.py
f54a63b3b5ff6c0fd2d115206d3cc60591318bb5 11-Dec-2006 Georg Brandl <georg@python.org> Move errno imports back to individual functions.
/external/python/cpython2/Lib/os.py
b130743e97410ba2b6c23d69df80e2ecea9d652b 09-Dec-2006 Georg Brandl <georg@python.org> Patch #1608267: fix a race condition in os.makedirs() is the directory
to be created is already there.
/external/python/cpython2/Lib/os.py
07fec3aa5a7c9fb6b1f8bae6bf6773892a702ea0 01-Aug-2006 Georg Brandl <georg@python.org> os.urandom no longer masks unrelated exceptions like SystemExit or
KeyboardInterrupt.
/external/python/cpython2/Lib/os.py
bde4ad4f924ef9338e4acfb1195de9715c8ff70f 20-Jan-2006 Georg Brandl <georg@python.org> Patch #1410998: remove "DOS" from os.py docstring
/external/python/cpython2/Lib/os.py
96c1c7a571642e5955d7608830b69067760623f0 12-Nov-2005 Fredrik Lundh <fredrik@pythonware.com> SF#1343671.

The removedirs function removes empty directories, it doesn't
empty them.
/external/python/cpython2/Lib/os.py
9e43acf2f31e67a976475c2c9f8674dd27571cc6 04-Jul-2005 Georg Brandl <georg@python.org> bug #1177468: don't cache /dev/urandom file descriptor in os.urandom
/external/python/cpython2/Lib/os.py
5510f65f5a033eb8d0e9d90046087047410846f9 17-Feb-2005 Martin v. Löwis <martin@v.loewis.de> Avoid using items() in environ.update(). Fixes #1124513.
Will backport to 2.4.
/external/python/cpython2/Lib/os.py
1d11de6dbd247689c508de2ec28f0f3fc35ecabc 29-Jan-2005 Martin v. Löwis <martin@v.loewis.de> Revert os.py 1.75, and directly implement update.
Fixes #1110478 and #1100235.
/external/python/cpython2/Lib/os.py
22b457e03bf5123c0a407e245567bee940de7cd5 16-Jan-2005 Martin v. Löwis <martin@v.loewis.de> Added SEEK_* constants. Fixes #711830.
/external/python/cpython2/Lib/os.py
9fc9789a0d0bd83f3c49fc2837555d022cf52014 11-Oct-2004 Johannes Gijsbers <jlg@dds.nl> 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()}).
/external/python/cpython2/Lib/os.py
725f8c83a27989ea2413c6d9c824cb78eddf52dd 18-Sep-2004 Martin v. Löwis <martin@v.loewis.de> Patch #1021596: Check for None to determine whether _urandomfd is
uninitialized.
/external/python/cpython2/Lib/os.py
3b2cdad4fdd70129856eedb64676d239b86326ac 01-Sep-2004 Tim Peters <tim.peters@gmail.com> Whitespace normalization.
/external/python/cpython2/Lib/os.py
33ad28b68dd6caadc1e6cb8f917665d6270e7b25 31-Aug-2004 Andrew M. Kuchling <amk@amk.ca> Use multi-line import
/external/python/cpython2/Lib/os.py
45e77c55ff3b2a3e0d6ffdd85d4fe0d61e5ff210 29-Aug-2004 Tim Peters <tim.peters@gmail.com> Whitespace normalization.
/external/python/cpython2/Lib/os.py
dc3883f671893fe338ecbd25e84316728c6c48b9 29-Aug-2004 Martin v. Löwis <martin@v.loewis.de> Patch #934711: Expose platform-specific entropy.
/external/python/cpython2/Lib/os.py
bdec50f0277971830e307aff8090c1494a69f4ce 08-Jun-2004 Martin v. Löwis <martin@v.loewis.de> Feature request #935915: Add os.path.devnull.
/external/python/cpython2/Lib/os.py
69e18c9344b1bc72d1f6c26de0bd41f3ba2c274c 04-Apr-2004 Andrew MacIntyre <andymac@bullseye.apana.org.au> 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.
/external/python/cpython2/Lib/os.py
31017aed36a5c5b0e4b16ca58bea09c9ce360134 04-Mar-2004 Raymond Hettinger <python@rcn.com> 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.
/external/python/cpython2/Lib/os.py
6fccc8a9ec17a97c51875bcde532d3b8e5ebaedd 23-Dec-2003 Andrew M. Kuchling <amk@amk.ca> [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.
/external/python/cpython2/Lib/os.py
89f9865b9124134fb8fbb87baed57b59498e469e 02-Dec-2003 Andrew MacIntyre <andymac@bullseye.apana.org.au> OS/2+EMX: make the link() emulation available as os.link()
/external/python/cpython2/Lib/os.py
b7f6810a1f6180656a42ea0c3f0a9d4ddd7b4f56 02-Jul-2003 Neal Norwitz <nnorwitz@gmail.com> SF #764121, docstring for spawnlp incorrect
/external/python/cpython2/Lib/os.py
bf1bef820c5af6b0a9a60abe1564ac35f036fdcb 13-May-2003 Guido van Rossum <guido@python.org> Add optional 'onerror' argument to os.walk(), to control error
handling.
/external/python/cpython2/Lib/os.py
c4e09400422487857a665a5c69a4e2d07a909aed 25-Apr-2003 Tim Peters <tim.peters@gmail.com> 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!).
/external/python/cpython2/Lib/os.py
68468eba635570400f607e140425a222018e56f9 27-Feb-2003 Guido van Rossum <guido@python.org> Get rid of many apply() calls.
/external/python/cpython2/Lib/os.py
f2715e076435b74638acb81512c2ee014f75aea2 19-Feb-2003 Tim Peters <tim.peters@gmail.com> Whitespace normalization.
/external/python/cpython2/Lib/os.py
117910dc445a2262bd96bbfefaf43714ae59c11b 14-Feb-2003 Skip Montanaro <skip@pobox.com> Migrate definitions of several platform-dependent path-related variables
into the relevant path modules. See patch #686397.
/external/python/cpython2/Lib/os.py
2c60f7a13697bbc19c4d5ef0b052c34cf1848244 29-Jan-2003 Tim Peters <tim.peters@gmail.com> Whitespace normalization.
/external/python/cpython2/Lib/os.py
6757c1e8565262cdc234de3370c4747927a72f72 08-Jan-2003 Tim Peters <tim.peters@gmail.com> 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.
/external/python/cpython2/Lib/os.py
b11ce9b96c724f9136d038847175a3a535417f56 08-Jan-2003 Jack Jansen <jack.jansen@cwi.nl> Always define getenv(), as suggested by Guido. This means that os.getenv() is also defined for MacPython-OS9 (even though it doesn't actually do anything useful), and it shouldn't hurt on other platforms.
/external/python/cpython2/Lib/os.py
8b10f8988f896754b36c17700bab5e435f943385 09-Oct-2002 Martin v. Löwis <martin@v.loewis.de> Remove more DOS support.
/external/python/cpython2/Lib/os.py
05212fc7f3eec1f56472d1d6ce5a82049e35f57b 07-Sep-2002 Raymond Hettinger <python@rcn.com> Change UserDict to IterableUserDict
/external/python/cpython2/Lib/os.py
ca2f537e32e806b02b20a8ad8c976810bfac754d 06-Sep-2002 Raymond Hettinger <python@rcn.com> Have os.environ() inherit from the iterable version of UserDict.
Closes SF bug 605731.
/external/python/cpython2/Lib/os.py
683c0fe41430d66e329279e164912cea62170f0a 03-Sep-2002 Guido van Rossum <guido@python.org> Fix for SF bug 601077 by Zack Weinberg.

The new execvpe code would sometimes do the wrong thing when a
non-executable file existed earlier in the path and an executable file
of the same name existed later in the path. This patch restores the
proper behavior (which is to execute the second file). When only a
non-executable file exists, the correct error is still reported.
/external/python/cpython2/Lib/os.py
aed51d8121f321e37274171b695cd0e3876465c6 05-Aug-2002 Guido van Rossum <guido@python.org> SF patch 590294: os._execvpe security fix (Zack Weinberg).

1) Do not attempt to exec a file which does not exist
just to find out what error the operating system
returns. This is an exploitable race on all platforms
that support symbolic links.

2) Immediately re-raise the exception if we get an
error other than errno.ENOENT or errno.ENOTDIR. This
may need to be adapted for other platforms.

(As a security issue, this should be considered for 2.1
and 2.2 as well as 2.3.)
/external/python/cpython2/Lib/os.py
cadb9eb8f681f8bb9f4718df5bebe9ad8f221f5e 02-Jul-2002 Fred Drake <fdrake@acm.org> Be consistent with the functions in the posix/nt module: docstrings
don't include a " -> None" for functions that have no return value.
/external/python/cpython2/Lib/os.py
54f0222547b1e92cd018ef132307a6f793dc9505 01-Jun-2002 Raymond Hettinger <python@rcn.com> SF 563203. Replaced 'has_key()' with 'in'.
/external/python/cpython2/Lib/os.py
a066f46b9b78fb29bc5ac428e1d063d61f472dba 02-May-2002 Martin v. Löwis <martin@v.loewis.de> Patch 550804: Make os.environ.copy() return a copy.
/external/python/cpython2/Lib/os.py
bc0e9108261693b6278687f4fb4709ff76c2e543 05-Apr-2002 Tim Peters <tim.peters@gmail.com> Convert a pile of obvious "yes/no" functions to return bool.
/external/python/cpython2/Lib/os.py
e5363b7de5bb99f5a00d748fa2ca89d631bbf40d 15-Mar-2002 Michael W. Hudson <mwh@python.net> ....
/external/python/cpython2/Lib/os.py
ce00b735cde4e4d0c56e02723fb0b459c403ace3 15-Mar-2002 Michael W. Hudson <mwh@python.net> Fix

[ 530236 ] os.py assumes existence of statvfs_resul

This was pretty dense of me. Sorry.

2.2.1 candidate.
/external/python/cpython2/Lib/os.py
0e02530a798807db572968ba914ae3694d71eb91 06-Mar-2002 Michael W. Hudson <mwh@python.net> Special support for pickling os.stat and os.stat_vfs results portably
(the types come from different modules on different platforms).

Added tests for pickling these types.

May be a bugfix candidate.
/external/python/cpython2/Lib/os.py
5cef57131fc02de55133e4eafdee27fb76456bb8 24-Feb-2002 Andrew MacIntyre <andymac@bullseye.apana.org.au> OS/2 EMX port Library and regression test changes:
Lib/
os.py
os2emxpath.py // added - OS/2 EMX specific path manipulation routines
popen2.py
site.py
Lib/test/
test_fcntl.py
test_longexp.py
/external/python/cpython2/Lib/os.py
1633a2e3452b40d0e9bb1f15ab16cd6b90f15a19 30-Oct-2001 Tim Peters <tim.peters@gmail.com> Whitespace normalization.
/external/python/cpython2/Lib/os.py
e2ae77b8b8a62e648bb1864a9b36ef3280984404 24-Oct-2001 Guido van Rossum <guido@python.org> SF patch #474590 -- RISC OS support
/external/python/cpython2/Lib/os.py
c524d952da928f745203876f2e67f651c2bc7246 19-Oct-2001 Guido van Rossum <guido@python.org> SF patch #460805 by Chris Gonnerman: Support for unsetenv()

This adds unsetenv to posix, and uses it in the __delitem__ method of
os.environ.

(XXX Should we change the preferred name for putenv to setenv, for
consistency?)
/external/python/cpython2/Lib/os.py
a90f438d4a4514f4dc0b5626762ee303181cc756 07-Mar-2001 Martin v. Löwis <martin@v.loewis.de> Unify _Environ processing on riscos with other platforms.
/external/python/cpython2/Lib/os.py
81e4b1c5c8307285c89952c3ee9c9f5c3d4896f3 06-Mar-2001 Skip Montanaro <skip@pobox.com> fix typo in extending __all__ for riscos platform - closes bug 406296
/external/python/cpython2/Lib/os.py
feb671985134f24769f0e1f6bfcce5fac2a8d254 03-Mar-2001 Ka-Ping Yee <ping@zesty.ca> Use r""" instead of """ for the docstring so that backslashes are preserved.
/external/python/cpython2/Lib/os.py
b7fe432a8863d876670f6753abb9f92f20bea399 02-Mar-2001 Guido van Rossum <guido@python.org> Fix by Donn Cave for BeOS (SF #403642):

UNIX style fork/execve/wait are not fully compatible with thread
support on BeOS. For Python, that means neither fork() from import
nor import from a fork work reliably. os._execvpe() does the latter,
importing tempfile to set up a tantalizing target for hackers. This
patch replaces both the tempfile name generation and the exec that
uses it, in case we're on BeOS. Need this for
setup:distutils:execvp(); symptoms are random crashes and internal
BeOS error messages about th name, in case we're on BeOS. It's an
issue because setup.py + distutils calls os.execvp(); symptoms are
random crashes during setup.py, and internal BeOS error messages
about thread IDs.
/external/python/cpython2/Lib/os.py
d74fb6b12a9a53ce09648484076c84e727561612 02-Mar-2001 Guido van Rossum <guido@python.org> RISCOS changes by dschwertberger.
/external/python/cpython2/Lib/os.py
6c0a0e153821b3fc056eb579b09ff8945ef6fe71 28-Feb-2001 Skip Montanaro <skip@pobox.com> added some elements missing from __all__
/external/python/cpython2/Lib/os.py
269b83bc05452f4f54fa9df5a76608f88da544fe 06-Feb-2001 Skip Montanaro <skip@pobox.com> added several more __all__ lists
/external/python/cpython2/Lib/os.py
2344fae6d003f5a5dde8016e1d2310e161288708 15-Jan-2001 Tim Peters <tim.peters@gmail.com> Whitespace normalization.
/external/python/cpython2/Lib/os.py
20af3172ce46a13789dbb4087e1115c95cfa9227 28-Sep-2000 Fred Drake <fdrake@acm.org> popen4(): Added for Unix.

Fixed a typo in a docstring.
/external/python/cpython2/Lib/os.py
d9a8e965433e03f598089153f3c51ac6d6fb295f 19-Sep-2000 Guido van Rossum <guido@python.org> Only supply popen2, popen3 when fork exists.
(This avoids defining non-working versions of these on the Mac.)
/external/python/cpython2/Lib/os.py
31f182e830db13c3edbe12e58f9c737cc21583fa 28-Aug-2000 Fred Drake <fdrake@acm.org> Added os.popen2() and os.popen3() for non-Windows platforms.
/external/python/cpython2/Lib/os.py
9f2550f58166679a04b651f3d96748b1c9607497 25-Jul-2000 Fred Drake <fdrake@acm.org> makedirs(), removedirs(): If the tail of the path is empty, do a second
split so the logic does not fail in corner cases.

This closes bug #407.
/external/python/cpython2/Lib/os.py
7e47402264cf87b9bbb61fc9ff610af08add7c7b 16-Jul-2000 Thomas Wouters <thomas@python.org> Spelling fixes supplied by Rob W. W. Hooft. All these are fixes in either
comments, docstrings or error messages. I fixed two minor things in
test_winreg.py ("didn't" -> "Didn't" and "Didnt" -> "Didn't").

There is a minor style issue involved: Guido seems to have preferred English
grammar (behaviour, honour) in a couple places. This patch changes that to
American, which is the more prominent style in the source. I prefer English
myself, so if English is preferred, I'd be happy to supply a patch myself ;)
/external/python/cpython2/Lib/os.py
868b50af1710442a8f92b266ff507259bc09e7de 26-Apr-2000 Guido van Rossum <guido@python.org> Michael Hudson fixes a case where execv() is called (for a test) with
an empty argument list -- another patch he's checking in will make
this illegal (the first argument should always be the program name).
/external/python/cpython2/Lib/os.py
7da3cc5dfbbc722238a6140acccba469f66e7fac 25-Apr-2000 Guido van Rossum <guido@python.org> Michael Hudson:

I think that after this patch, all objects in the os module (with names
that don't start with "_") that can have docstrings, do, on Linux at
least.

Also fix a nit in one of my spawn* docstrings.
/external/python/cpython2/Lib/os.py
e0cd291b8123859191cbef90316d55b39e4ce3a1 21-Apr-2000 Guido van Rossum <guido@python.org> Doc strings for the spawn* functions, by Michael Hudson.
/external/python/cpython2/Lib/os.py
965fdae40ea976fa133048110b24f35cc829b3c8 04-Apr-2000 Guido van Rossum <guido@python.org> Patch by Fred Gansevles.

This patch solves 2 problems of the os module.
1) Bug ID #50 (case-mismatch wiht "environ.get(..,..)" and "del environ[..]")
2) os.environ.update (dict) doesn't propagate changes to the 'real'
environment (i.e doesn't call putenv)

This patches also has minor changes specific for 1.6a
The string module isn't used anymore, instead the strings own methods are
used.
/external/python/cpython2/Lib/os.py
4b8c6eaf8b287a27e0054cf6c751448b2077e83b 04-Feb-2000 Guido van Rossum <guido@python.org> Actually, the previous batch's comment should have been different;
*this* set of patches is Ka-Ping's final sweep:

The attached patches update the standard library so that all modules
have docstrings beginning with one-line summaries.

A new docstring was added to formatter. The docstring for os.py
was updated to mention nt, os2, ce in addition to posix, dos, mac.
/external/python/cpython2/Lib/os.py
54f22ed30bab2e64909ba2d79205cb4b87c69db2 04-Feb-2000 Guido van Rossum <guido@python.org> More trivial comment -> docstring transformations by Ka-Ping Yee,
who writes:

Here is batch 2, as a big collection of CVS context diffs.
Along with moving comments into docstrings, i've added a
couple of missing docstrings and attempted to make sure more
module docstrings begin with a one-line summary.

I did not add docstrings to the methods in profile.py for
fear of upsetting any careful optimizations there, though
i did move class documentation into class docstrings.

The convention i'm using is to leave credits/version/copyright
type of stuff in # comments, and move the rest of the descriptive
stuff about module usage into module docstrings. Hope this is
okay.
/external/python/cpython2/Lib/os.py
dd7cbbf4d320317065d041a7b407fae840563012 02-Nov-1999 Guido van Rossum <guido@python.org> Oops. spawnl() and spawnle() should be implemented on Windows too.

Also added a comment that the 'p' variants (spawnvp() etc.) are *not*
supported on Windows. (They could be by adding them to posixmodule.c)
/external/python/cpython2/Lib/os.py
5a2ca9328df3f73fcf0b38d488972ef139cc73e1 02-Nov-1999 Guido van Rossum <guido@python.org> Checking in a bunch of spawn functions. These are only defined if we
have fork and execv (and friends) but not spawnv. They operate
exactly like the spawn functions on Windows. A limited set of needed
constants is also defined (P_WAIT, P_NOWAIT etc.).

Also add getenv() as a familiar alias for environ.get().
/external/python/cpython2/Lib/os.py
18df5d479c087b6b4af4af356ead6ac84b2855ca 11-Jun-1999 Guido van Rossum <guido@python.org> Mark Hammond: patch for Windows/CE.
/external/python/cpython2/Lib/os.py
b46413f274bb53e4a8104adad117f964c0c6ab6d 03-May-1999 Guido van Rossum <guido@python.org> The case-insensitive _Environ class was lacking a case-insensitive has_key().
/external/python/cpython2/Lib/os.py
fb801e7d338b3b3c8a919a5aca78250a2ad04da5 22-Feb-1999 Guido van Rossum <guido@python.org> As Finn Bock points out, _P_WAIT etc. don't have a leading underscore
so they don't need to be treated specially here.
/external/python/cpython2/Lib/os.py
67c65b2954e8fc2bfc3838a4ca0e6ed76cdb1829 02-Feb-1999 Guido van Rossum <guido@python.org> Special-case _P_WAIT etc. for NT.
/external/python/cpython2/Lib/os.py
0237909e420db2897034a371087963be4a312552 19-Jan-1999 Fred Drake <fdrake@acm.org> Enable os.path as a mostly-normal submodule, including "from os.path
import isfile" and "import os.path".
/external/python/cpython2/Lib/os.py
da4d6daa4a4a95f7031f9b8c3e76222ec4fd509e 04-Aug-1998 Guido van Rossum <guido@python.org> Support case insensitive treatment of os.environ keys on Windows and
DOS (as well as OS/2). I presume that making a call to putenv() with
a lowercase key will actually do the right thing. I know this is so
on Windows/DOS, and I expect it is so OS/2 -- but the old OS/2 code
didn't assume this. (I don't know if the person who provided the OS/2
patch was clueless or just didn't care about DOS and Windows.)

Also ripped out the support for pickling -- as of 1.5, this is no
longer needed to make pickling work.
/external/python/cpython2/Lib/os.py
4def7de7c6b87e2c46e6e6428ba113b4367fc3c4 24-Jul-1998 Guido van Rossum <guido@python.org> Add makedirs(), removedirs(), renames() -- ESR-inspired super-versions
of mkdir(), rmdir() and rename() that make or remove intermediate
directories as well.
/external/python/cpython2/Lib/os.py
e9387ea773cdffeac5aa8ca094471bfc38ff6d03 22-May-1998 Guido van Rossum <guido@python.org> introduce a new platform-specific variable: os.linesep is the
platform's line separator. \n on Unix, \r\n on DOS, OS/2 and Windows,
\r on Macs.
/external/python/cpython2/Lib/os.py
61de0ac4bba91ecd3da0d31ba9fe288d45027ed9 05-Dec-1997 Guido van Rossum <guido@python.org> Reindented according to new standard, without tabs.
Also added one more os2 specific piece of code, by Jeff Rush.
/external/python/cpython2/Lib/os.py
58a88b3e34f7b992a33ee93001bf6d795acd7f32 01-Dec-1997 Barry Warsaw <barry@python.org> _Environ(): Added __getinitargs__() method so os.environ.copy() works,
as does unpickling, as in: pickle.loads(pickle.dumps(os.environ)).

Hope this is right! Don't shoot me Guido. :-)
/external/python/cpython2/Lib/os.py
8e9ebfd337f18f7b707853a3f2f49cc6245c0596 22-Nov-1997 Guido van Rossum <guido@python.org> os2 patch by Jeff Rush
/external/python/cpython2/Lib/os.py
a28dab5ea2649b244a62ada83d017be39d520099 30-Aug-1997 Guido van Rossum <guido@python.org> Write out the dynamic OS choice, to avoid exec statements.
Adding support for a new OS is now a bit more work, but I bet that
'dos' or 'nt' will cover most situations...
/external/python/cpython2/Lib/os.py
3b8e20d2c2022f49376578f230ea1cbb54f694f7 24-Jul-1996 Guido van Rossum <guido@python.org> Added hook to os.environ to call putenv(), if it exists.
/external/python/cpython2/Lib/os.py
b7677095d4ba143cc6d265cfde006bbcbccebcd7 07-Aug-1995 Guido van Rossum <guido@python.org> make sure os.environ exists (maybe empty)
/external/python/cpython2/Lib/os.py
4c7fa4b77458e646399f793885a98bd5dc30fd70 14-Mar-1995 Guido van Rossum <guido@python.org> set mac path separator to newline
/external/python/cpython2/Lib/os.py
030afb1d3a86196be85b51f2174b5796a93eb07d 14-Mar-1995 Guido van Rossum <guido@python.org> add execvpe -- mix of execvp and execve
/external/python/cpython2/Lib/os.py
ca9321e6d0794cc52cddbbbcc86f6cc98e8b46af 05-Oct-1994 Guido van Rossum <guido@python.org> Import posixpath for freeze script
/external/python/cpython2/Lib/os.py
a28f2dc3211a51fdd05008fa4c7137ff4e07b80f 17-Aug-1994 Guido van Rossum <guido@python.org> do fake "import posix" for freeze.py script
/external/python/cpython2/Lib/os.py
2979b01ff88ac4c5b316d9bf98edbaaaffac8e24 01-Aug-1994 Guido van Rossum <guido@python.org> Merge changes
/external/python/cpython2/Lib/os.py
dd8cb446e19cb24131227bd66aa690b34e64a75a 29-Dec-1993 Guido van Rossum <guido@python.org> Some minute changes.
/external/python/cpython2/Lib/os.py
e65cce5eec23812d77a54095209c923937cc3c92 08-Nov-1993 Guido van Rossum <guido@python.org> * string.py: added rindex(), rfind(); changed index() to interpret
negative start indices starting from the right.
* ftplib.py: debug() -> set_debuglevel(); change demo to use __init__().
* os.py: added execl, execlp, and execvp.
* lambda.py: removed (now that we have built-in map, reduce, bagof, lambda)
* test_b{1,2}.py, testall.out: added tests for bagof, lambda, map, reduce
* commands.py: use os, not posix
* test_grammar.py: make it easy to disable non-portable int overflow tests
* dis.py: don't abuse range()
/external/python/cpython2/Lib/os.py
35fb82a33f4bc78be1f7d219b8ebd078b37c90cb 26-Jan-1993 Guido van Rossum <guido@python.org> * os.py: _exit doesn't exist in all variations of posix
* Added fcmp() to test_support.py and use it in test*.py
/external/python/cpython2/Lib/os.py
7a461e5aaf011243d9ac2658e4172e316b031eb9 20-Sep-1992 Guido van Rossum <guido@python.org> New module regsub contains sub(), gsub() and split() as in nawk.
string.splitfields(s, '') now returns [s] as split() in nawk.
Added _exit to exported functions of os.
/external/python/cpython2/Lib/os.py
b59cdd43562b6713fcf1227067ddde77a3868ac8 06-Apr-1992 Guido van Rossum <guido@python.org> Add separator
/external/python/cpython2/Lib/os.py
1a76ef260df9378d796ca85b08fcecdd134ff6b6 31-Mar-1992 Guido van Rossum <guido@python.org> Added definition for pardir ('..')
/external/python/cpython2/Lib/os.py
31104f462417ac03ae67b4824a02f085cc8fa100 14-Jan-1992 Guido van Rossum <guido@python.org> Initial revision
/external/python/cpython2/Lib/os.py