- 07 Eyl, 2002 1 kayıt (commit)
-
-
Raymond Hettinger yazdı
-
- 06 Eyl, 2002 1 kayıt (commit)
-
-
Raymond Hettinger yazdı
Closes SF bug 605731.
-
- 03 Eyl, 2002 1 kayıt (commit)
-
-
Guido van Rossum yazdı
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.
-
- 05 Agu, 2002 1 kayıt (commit)
-
-
Guido van Rossum yazdı
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.)
-
- 02 Tem, 2002 1 kayıt (commit)
-
-
Fred Drake yazdı
don't include a " -> None" for functions that have no return value.
-
- 01 Haz, 2002 1 kayıt (commit)
-
-
Raymond Hettinger yazdı
-
- 02 May, 2002 1 kayıt (commit)
-
-
Martin v. Löwis yazdı
-
- 04 Nis, 2002 1 kayıt (commit)
-
-
Tim Peters yazdı
-
- 15 Mar, 2002 2 kayıt (commit)
-
-
Michael W. Hudson yazdı
-
Michael W. Hudson yazdı
[ 530236 ] os.py assumes existence of statvfs_resul This was pretty dense of me. Sorry. 2.2.1 candidate.
-
- 06 Mar, 2002 1 kayıt (commit)
-
-
Michael W. Hudson yazdı
(the types come from different modules on different platforms). Added tests for pickling these types. May be a bugfix candidate.
-
- 24 Şub, 2002 1 kayıt (commit)
-
-
Andrew MacIntyre yazdı
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
-
- 30 Eki, 2001 1 kayıt (commit)
-
-
Tim Peters yazdı
-
- 24 Eki, 2001 1 kayıt (commit)
-
-
Guido van Rossum yazdı
-
- 19 Eki, 2001 1 kayıt (commit)
-
-
Guido van Rossum yazdı
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?)
-
- 07 Mar, 2001 1 kayıt (commit)
-
-
Martin v. Löwis yazdı
-
- 06 Mar, 2001 1 kayıt (commit)
-
-
Skip Montanaro yazdı
-
- 02 Mar, 2001 3 kayıt (commit)
-
-
Ka-Ping Yee yazdı
-
Guido van Rossum yazdı
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.
-
Guido van Rossum yazdı
-
- 28 Şub, 2001 1 kayıt (commit)
-
-
Skip Montanaro yazdı
-
- 06 Şub, 2001 1 kayıt (commit)
-
-
Skip Montanaro yazdı
-
- 15 Ock, 2001 1 kayıt (commit)
-
-
Tim Peters yazdı
-
- 28 Eyl, 2000 1 kayıt (commit)
-
-
Fred Drake yazdı
Fixed a typo in a docstring.
-
- 19 Eyl, 2000 1 kayıt (commit)
-
-
Guido van Rossum yazdı
(This avoids defining non-working versions of these on the Mac.)
-
- 28 Agu, 2000 1 kayıt (commit)
-
-
Fred Drake yazdı
-
- 25 Tem, 2000 1 kayıt (commit)
-
-
Fred Drake yazdı
split so the logic does not fail in corner cases. This closes bug #407.
-
- 16 Tem, 2000 1 kayıt (commit)
-
-
Thomas Wouters yazdı
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 ;)
-
- 26 Nis, 2000 1 kayıt (commit)
-
-
Guido van Rossum yazdı
an empty argument list -- another patch he's checking in will make this illegal (the first argument should always be the program name).
-
- 25 Nis, 2000 1 kayıt (commit)
-
-
Guido van Rossum yazdı
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.
-
- 21 Nis, 2000 1 kayıt (commit)
-
-
Guido van Rossum yazdı
-
- 04 Nis, 2000 1 kayıt (commit)
-
-
Guido van Rossum yazdı
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.
-
- 04 Şub, 2000 2 kayıt (commit)
-
-
Guido van Rossum yazdı
*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.
-
Guido van Rossum yazdı
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.
-
- 02 Kas, 1999 2 kayıt (commit)
-
-
Guido van Rossum yazdı
Also added a comment that the 'p' variants (spawnvp() etc.) are *not* supported on Windows. (They could be by adding them to posixmodule.c)
-
Guido van Rossum yazdı
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().
-
- 11 Haz, 1999 1 kayıt (commit)
-
-
Guido van Rossum yazdı
-
- 03 May, 1999 1 kayıt (commit)
-
-
Guido van Rossum yazdı
-
- 22 Şub, 1999 1 kayıt (commit)
-
-
Guido van Rossum yazdı
so they don't need to be treated specially here.
-
- 01 Şub, 1999 1 kayıt (commit)
-
-
Guido van Rossum yazdı
-