Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | - Fix typo in os.execvp docstring. | Matthias Klose | 2010-01-31 | 1 | -1/+1 |
| | |||||
* | Issue #5080: turn the DeprecationWarning from float arguments passed | Mark Dickinson | 2010-01-01 | 1 | -1/+1 |
| | | | | | | 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. | ||||
* | avoid doing an uneeded import in a function | Benjamin Peterson | 2009-11-20 | 1 | -4/+4 |
| | |||||
* | #5329: fix os.popen* regression from 2.5: don't execute commands as a sequence | Philip Jenvey | 2009-09-29 | 1 | -7/+8 |
| | | | | | | through the shell. also document the correct subprocess replacement for this case patch from Jean-Paul Calderone and Jani Hakala | ||||
* | Avoid invoking the parser/compiler just to test the presence of a function. | Amaury Forgeot d'Arc | 2009-06-09 | 1 | -5/+1 |
| | |||||
* | Issue #3708: os.urandom no longer goes into an infinite loop when passed a | Gregory P. Smith | 2008-09-02 | 1 | -5/+7 |
| | | | | non-integer floating point number. | ||||
* | Update __all__ for cookielib, csv, os, and urllib2 for objects imported into | Brett Cannon | 2008-08-18 | 1 | -1/+1 |
| | | | | the module but exposed as part of the API. | ||||
* | Revert copy_reg -> copyreg rename. | Georg Brandl | 2008-05-20 | 1 | -1/+1 |
| | |||||
* | 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 |
| |