Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Remove references to platform 'mac' | Ronald Oussoren | 2008-05-12 | 1 | -17/+3 |
| | | | | | 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). | ||||
* | Added module stub for copy_reg renaming in 3.0. | Alexandre Vassalotti | 2008-05-11 | 1 | -1/+1 |
| | | | | | | Renamed copy_reg to copyreg in the standard library, to avoid spurious warnings and ease later merging to py3k branch. Public documentation remains intact. | ||||
* | fix issue2707 - os.walk docstring example correctness typo. | Gregory P. Smith | 2008-05-06 | 1 | -1/+2 |
| | |||||
* | Moved the errno import from inside the functions to the | Facundo Batista | 2007-11-27 | 1 | -6/+3 |
| | | | | module level. Fixes issue 1755179. | ||||
* | Fix new pop() method on os.environ on ignorecase-platforms. | Georg Brandl | 2007-10-26 | 1 | -1/+1 |
| | |||||
* | Bug #1287: make os.environ.pop() work as expected. | Georg Brandl | 2007-10-24 | 1 | -0/+6 |
| | |||||
* | Patch #1181: add os.environ.clear() method. | Georg Brandl | 2007-09-20 | 1 | -0/+8 |
| | |||||
* | Deprecate os.popen* and popen2 module in favor of the subprocess module. | Neal Norwitz | 2007-05-11 | 1 | -9/+29 |
| | |||||
* | New test for rev. 54407 which only uses directories under TESTFN. | Georg Brandl | 2007-03-21 | 1 | -3/+7 |
| | |||||
* | Try backing out 54407 to see if it corrects the problems on the Windows | Neal Norwitz | 2007-03-20 | 1 | -7/+3 |
| | | | | | buildbots. This rev was backported, so we will need to keep both branches in sync, pending the outcome of the test after this checkin. | ||||
* | Patch #1273829: os.walk() now has a "followlinks" parameter. If set to | Georg Brandl | 2007-03-16 | 1 | -3/+7 |
| | | | | | True (which is not the default), it visits symlinks pointing to directories. | ||||
* | Move errno imports back to individual functions. | Georg Brandl | 2006-12-11 | 1 | -2/+3 |
| | |||||
* | Patch #1608267: fix a race condition in os.makedirs() is the directory | Georg Brandl | 2006-12-09 | 1 | -3/+8 |
| | | | | to be created is already there. | ||||
* | os.urandom no longer masks unrelated exceptions like SystemExit or | Georg Brandl | 2006-08-01 | 1 | -1/+1 |
| | | | | KeyboardInterrupt. | ||||
* | Patch #1410998: remove "DOS" from os.py docstring | Georg Brandl | 2006-01-20 | 1 | -1/+1 |
| | |||||
* | SF#1343671. | Fredrik Lundh | 2005-11-12 | 1 | -1/+1 |
| | | | | | The removedirs function removes empty directories, it doesn't empty them. | ||||
* | bug #1177468: don't cache /dev/urandom file descriptor in os.urandom | Georg Brandl | 2005-07-04 | 1 | -8/+4 |
| | |||||
* | Avoid using items() in environ.update(). Fixes #1124513. | Martin v. Löwis | 2005-02-17 | 1 | -8/+18 |
| | | | | Will backport to 2.4. | ||||
* | Revert os.py 1.75, and directly implement update. | Martin v. Löwis | 2005-01-29 | 1 | -0/+22 |
| | | | | Fixes #1110478 and #1100235. | ||||
* | Added SEEK_* constants. Fixes #711830. | Martin v. Löwis | 2005-01-16 | 1 | -1/+8 |
| | |||||
* | Document that on Unix, the 'cmd' argument to the os.popen2/3/4 and | Johannes Gijsbers | 2004-10-11 | 1 | -0/+18 |
| | | | | | | | | | | 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()}). | ||||
* | Patch #1021596: Check for None to determine whether _urandomfd is | Martin v. Löwis | 2004-09-18 | 1 | -1/+1 |
| | | | | uninitialized. | ||||
* | Whitespace normalization. | Tim Peters | 2004-09-01 | 1 | -1/+1 |
| | |||||
* | Use multi-line import | Andrew M. Kuchling | 2004-08-31 | 1 | -2/+2 |
| | |||||
* | Whitespace normalization. | Tim Peters | 2004-08-29 | 1 | -4/+4 |
| | |||||
* | Patch #934711: Expose platform-specific entropy. | Martin v. Löwis | 2004-08-29 | 1 | -0/+21 |
| | |||||
* | Feature request #935915: Add os.path.devnull. | Martin v. Löwis | 2004-06-08 | 1 | -2/+4 |
| | |||||
* | OS/2 has support for spawnvp() and spawnvpe() in the C libraries supplied | Andrew MacIntyre | 2004-04-04 | 1 | -2/+5 |
| | | | | | | | 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. | ||||
* | SF #904720: dict.update should take a 2-tuple sequence like dict.__init_ | Raymond Hettinger | 2004-03-04 | 1 | -6/+0 |
| | | | | | | | | (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. | ||||
* | [Bug #829532] Invoking os.makedirs() with an argument that contains a | Andrew M. Kuchling | 2003-12-23 | 1 | -0/+2 |
| | | | | | | | directory name with a single dot fails. The patch skips creating directories named os.curdir. (Patch by Bram Moolenaar) 2.3 bugfix candidate. | ||||
* | OS/2+EMX: make the link() emulation available as os.link() | Andrew MacIntyre | 2003-12-02 | 1 | -0/+1 |
| | |||||
* | SF #764121, docstring for spawnlp incorrect | Neal Norwitz | 2003-07-02 | 1 | -1/+1 |
| | |||||
* | Add optional 'onerror' argument to os.walk(), to control error | Guido van Rossum | 2003-05-13 | 1 | -3/+12 |
| | | | | handling. | ||||
* | New generator os.walk() does a bit more than os.path.walk() does, and | Tim Peters | 2003-04-25 | 1 | -1/+80 |
| | | | | | seems much easier to use. Code, docs, NEWS, and additions to test_os.py (testing this sucker is a bitch!). | ||||
* | Get rid of many apply() calls. | Guido van Rossum | 2003-02-27 | 1 | -2/+2 |
| | |||||
* | Whitespace normalization. | Tim Peters | 2003-02-19 | 1 | -6/+6 |
| | |||||
* | Migrate definitions of several platform-dependent path-related variables | Skip Montanaro | 2003-02-14 | 1 | -57/+16 |
| | | | | into the relevant path modules. See patch #686397. | ||||
* | Whitespace normalization. | Tim Peters | 2003-01-29 | 1 | -3/+3 |
| | |||||
* | SF patch 661583: Remove old code from lib\os.py | Tim Peters | 2003-01-08 | 1 | -10/+8 |
| | | | | | A patch from Andrew Wilkinson to change some bizarre old exec statements specific to NT and CE. | ||||
* | Always define getenv(), as suggested by Guido. This means that os.getenv() ↵ | Jack Jansen | 2003-01-08 | 1 | -5/+5 |
| | | | | is also defined for MacPython-OS9 (even though it doesn't actually do anything useful), and it shouldn't hurt on other platforms. | ||||
* | Remove more DOS support. | Martin v. Löwis | 2002-10-09 | 1 | -24/+6 |
| | |||||
* | Change UserDict to IterableUserDict | Raymond Hettinger | 2002-09-07 | 1 | -1/+1 |
| | |||||
* | Have os.environ() inherit from the iterable version of UserDict. | Raymond Hettinger | 2002-09-06 | 1 | -1/+1 |
| | | | | Closes SF bug 605731. | ||||
* | Fix for SF bug 601077 by Zack Weinberg. | Guido van Rossum | 2002-09-03 | 1 | -5/+12 |
| | | | | | | | | 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. | ||||
* | SF patch 590294: os._execvpe security fix (Zack Weinberg). | Guido van Rossum | 2002-08-05 | 1 | -21/+6 |
| | | | | | | | | | | | | | | 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.) | ||||
* | Be consistent with the functions in the posix/nt module: docstrings | Fred Drake | 2002-07-02 | 1 | -3/+3 |
| | | | | don't include a " -> None" for functions that have no return value. | ||||
* | SF 563203. Replaced 'has_key()' with 'in'. | Raymond Hettinger | 2002-06-01 | 1 | -2/+4 |
| | |||||
* | Patch 550804: Make os.environ.copy() return a copy. | Martin v. Löwis | 2002-05-02 | 1 | -0/+4 |
| | |||||
* | Convert a pile of obvious "yes/no" functions to return bool. | Tim Peters | 2002-04-04 | 1 | -2/+2 |
| | |||||
* | .... | Michael W. Hudson | 2002-03-15 | 1 | -1/+1 |
| |