Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | Checking in a bunch of spawn functions. These are only defined if we | Guido van Rossum | 1999-11-02 | 1 | -2/+80 | |
| | | | | | | | | 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(). | |||||
* | Mark Hammond: patch for Windows/CE. | Guido van Rossum | 1999-06-11 | 1 | -0/+15 | |
| | ||||||
* | The case-insensitive _Environ class was lacking a case-insensitive has_key(). | Guido van Rossum | 1999-05-03 | 1 | -0/+2 | |
| | ||||||
* | As Finn Bock points out, _P_WAIT etc. don't have a leading underscore | Guido van Rossum | 1999-02-22 | 1 | -3/+1 | |
| | | | | so they don't need to be treated specially here. | |||||
* | Special-case _P_WAIT etc. for NT. | Guido van Rossum | 1999-02-01 | 1 | -4/+7 | |
| | ||||||
* | Enable os.path as a mostly-normal submodule, including "from os.path | Fred Drake | 1999-01-19 | 1 | -0/+2 | |
| | | | | import isfile" and "import os.path". | |||||
* | Support case insensitive treatment of os.environ keys on Windows and | Guido van Rossum | 1998-08-04 | 1 | -8/+7 | |
| | | | | | | | | | | | 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. | |||||
* | Add makedirs(), removedirs(), renames() -- ESR-inspired super-versions | Guido van Rossum | 1998-07-24 | 1 | -0/+63 | |
| | | | | | of mkdir(), rmdir() and rename() that make or remove intermediate directories as well. | |||||
* | introduce a new platform-specific variable: os.linesep is the | Guido van Rossum | 1998-05-22 | 1 | -0/+5 | |
| | | | | | platform's line separator. \n on Unix, \r\n on DOS, OS/2 and Windows, \r on Macs. | |||||
* | Reindented according to new standard, without tabs. | Guido van Rossum | 1997-12-05 | 1 | -117/+131 | |
| | | | | Also added one more os2 specific piece of code, by Jeff Rush. | |||||
* | _Environ(): Added __getinitargs__() method so os.environ.copy() works, | Barry Warsaw | 1997-12-01 | 1 | -0/+5 | |
| | | | | | | as does unpickling, as in: pickle.loads(pickle.dumps(os.environ)). Hope this is right! Don't shoot me Guido. :-) | |||||
* | os2 patch by Jeff Rush | Guido van Rossum | 1997-11-22 | 1 | -0/+12 | |
| | ||||||
* | Write out the dynamic OS choice, to avoid exec statements. | Guido van Rossum | 1997-08-29 | 1 | -51/+66 | |
| | | | | | Adding support for a new OS is now a bit more work, but I bet that 'dos' or 'nt' will cover most situations... | |||||
* | Added hook to os.environ to call putenv(), if it exists. | Guido van Rossum | 1996-07-24 | 1 | -0/+19 | |
| | ||||||
* | make sure os.environ exists (maybe empty) | Guido van Rossum | 1995-08-07 | 1 | -0/+4 | |
| | ||||||
* | set mac path separator to newline | Guido van Rossum | 1995-03-14 | 1 | -1/+1 | |
| | ||||||
* | add execvpe -- mix of execvp and execve | Guido van Rossum | 1995-03-14 | 1 | -6/+22 | |
| | ||||||
* | Import posixpath for freeze script | Guido van Rossum | 1994-10-05 | 1 | -0/+1 | |
| | ||||||
* | do fake "import posix" for freeze.py script | Guido van Rossum | 1994-08-17 | 1 | -0/+4 | |
| | ||||||
* | Merge changes | Guido van Rossum | 1994-08-01 | 1 | -39/+57 | |
| | ||||||
* | Some minute changes. | Guido van Rossum | 1993-12-29 | 1 | -10/+20 | |
| | ||||||
* | * string.py: added rindex(), rfind(); changed index() to interpret | Guido van Rossum | 1993-11-08 | 1 | -0/+30 | |
| | | | | | | | | | | | 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() | |||||
* | * os.py: _exit doesn't exist in all variations of posix | Guido van Rossum | 1993-01-26 | 1 | -1/+4 | |
| | | | | * Added fcmp() to test_support.py and use it in test*.py | |||||
* | New module regsub contains sub(), gsub() and split() as in nawk. | Guido van Rossum | 1992-09-20 | 1 | -0/+1 | |
| | | | | | string.splitfields(s, '') now returns [s] as split() in nawk. Added _exit to exported functions of os. | |||||
* | Add separator | Guido van Rossum | 1992-04-06 | 1 | -0/+3 | |
| | ||||||
* | Added definition for pardir ('..') | Guido van Rossum | 1992-03-31 | 1 | -2/+9 | |
| | ||||||
* | Initial revision | Guido van Rossum | 1992-01-14 | 1 | -0/+26 | |