Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | fix unterminated comment | Andrew MacIntyre | 2004-12-18 | 1 | -1/+1 |
| | |||||
* | OS/2 specific fixes related to SF bug # 1003471. | Andrew MacIntyre | 2004-12-12 | 1 | -68/+67 |
| | | | | | Also revise a related function to minimise file handle/pipe leakage and improve reliability. | ||||
* | Patch 977343, Solaris likes sys/loadavg.h. Added support for sys/loadavg.h | Anthony Baxter | 2004-10-13 | 1 | -0/+4 |
| | | | | detection to configure &c. | ||||
* | Patch #975056 - fixes for restartable signals on *BSD. In addition, | Anthony Baxter | 2004-10-13 | 1 | -4/+4 |
| | | | | a few remaining calls to signal() were converted to PyOS_setsig(). | ||||
* | Patch #1009075, bug #952953: allow execve with empty 2nd argument | Armin Rigo | 2004-09-27 | 1 | -12/+0 |
| | |||||
* | win32_urandom(): There's no need to copy the generated byte string, so | Tim Peters | 2004-08-30 | 1 | -17/+11 |
| | | | | don't. | ||||
* | win32_urandom(): pass the function name to PyArg_ParseTuple, for better | Tim Peters | 2004-08-30 | 1 | -1/+1 |
| | | | | error msgs. | ||||
* | win32_urandom(): Raise ValueError if the argument is negative. | Tim Peters | 2004-08-30 | 1 | -0/+3 |
| | |||||
* | win32_urandom(): Rewrite to Python C standards (hard tabs, function name | Tim Peters | 2004-08-30 | 1 | -52/+59 |
| | | | | in first column, no parens around return value). | ||||
* | Patch #934711: Expose platform-specific entropy. | Martin v. Löwis | 2004-08-29 | 1 | -1/+72 |
| | |||||
* | Return unicode strings from _getfullpathname even on W9X. Fixes #924703 . | Martin v. Löwis | 2004-06-15 | 1 | -0/+4 |
| | |||||
* | Ensure path is initialized to prevent freeing random memory | Neal Norwitz | 2004-06-09 | 1 | -4/+2 |
| | | | | | (reported by Thomas Heller). If have_unicode_filename is set, path looks like it will not be used, so there's no need to free it. | ||||
* | Plug a few memory leaks in utime(). path is allocated from within | Neal Norwitz | 2004-06-06 | 1 | -4/+12 |
| | | | | | | | PyArg_ParseTuple() since the format is "et" This change should be reviewed carefully. Bugfix candidate. | ||||
* | Patch #954115: Fix os.stat handling of UNC roots. | Martin v. Löwis | 2004-06-02 | 1 | -18/+94 |
| | | | | Will backport to 2.3. | ||||
* | Fix [ 947405 ] os.utime() raises bad exception for unicode filenames | Mark Hammond | 2004-05-04 | 1 | -1/+6 |
| | |||||
* | OS/2 has support for spawnvp() and spawnvpe() in the C libraries supplied | Andrew MacIntyre | 2004-04-04 | 1 | -0/+229 |
| | | | | | | | 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. | ||||
* | OS/2 VACPP build updates/fixes | Andrew MacIntyre | 2004-03-29 | 1 | -1/+1 |
| | |||||
* | Fix docstrings to mention the correct function | Neal Norwitz | 2004-02-16 | 1 | -2/+2 |
| | |||||
* | remove support for missing ANSI C header files (limits.h, stddef.h, etc). | Skip Montanaro | 2004-02-10 | 1 | -2/+0 |
| | |||||
* | Remove support for SunOS 4. | Skip Montanaro | 2004-01-17 | 1 | -19/+0 |
| | | | | Remove BAD_EXEC_PROTOYPE (leftover from IRIX 4 demolition). | ||||
* | Make parameter names in docstring more mnemonic | Andrew M. Kuchling | 2004-01-16 | 1 | -1/+1 |
| | |||||
* | FIx unicodefilename support of posix.uname(). This fixes test_unicode_file | Hye-Shik Chang | 2004-01-04 | 1 | -1/+2 |
| | | | | failure on FreeBSD. | ||||
* | Fix [ 846133 ] os.chmod/os.utime/shutil do not work with unicode filenames | Mark Hammond | 2003-12-03 | 1 | -3/+50 |
| | |||||
* | Patch #839038: Add getsid(2). | Martin v. Löwis | 2003-11-10 | 1 | -0/+22 |
| | |||||
* | Patch #788404: ignore "b" and "t" mode modifiers in posix_popen. | Martin v. Löwis | 2003-10-31 | 1 | -0/+5 |
| | | | | Fixes #703198. Backported to 2.3. | ||||
* | Fix a bunch of typos in documentation, docstrings and comments. | Walter Dörwald | 2003-10-20 | 1 | -1/+1 |
| | | | | (From SF patch #810751) | ||||
* | Simplify and speedup uses of Py_BuildValue(): | Raymond Hettinger | 2003-10-12 | 1 | -4/+4 |
| | | | | | | * Py_BuildValue("(OOO)",a,b,c) --> PyTuple_Pack(3,a,b,c) * Py_BuildValue("()",a) --> PyTuple_New(0) * Py_BuildValue("O", a) --> Py_INCREF(a) | ||||
* | Patch #730597: Disable POPEN for RTEMS. | Martin v. Löwis | 2003-09-20 | 1 | -0/+2 |
| | |||||
* | Patch #790000: Allow os.access to handle Unicode file name. | Martin v. Löwis | 2003-09-12 | 1 | -0/+16 |
| | |||||
* | SF patch #798534: Windows os.popen needlessly gets a reference to tuple () | Raymond Hettinger | 2003-09-01 | 1 | -3/+1 |
| | | | | | | (Contributed by Andrew Gaul.) Fixes a minor leak. | ||||
* | Demonstrate and fix [ 783882 ] os.lstat crashes with Unicode filename. | Mark Hammond | 2003-08-06 | 1 | -1/+1 |
| | | | | Will also check in on the 2.3 branch. | ||||
* | Clarify docstring for symlink. | Brett Cannon | 2003-06-11 | 1 | -1/+1 |
| | |||||
* | Patch #708495: Port more stuff to OpenVMS. | Martin v. Löwis | 2003-05-03 | 1 | -82/+2 |
| | |||||
* | Enable os.fsync() for Windows, mapping it to MS's _commit() there. The | Tim Peters | 2003-04-23 | 1 | -16/+18 |
| | | | | | | docs here are best-guess: the MS docs I could find weren't clear, and some even claimed _commit() has no effect on Win32 systems (which is easily shown to be false just by trying it). | ||||
* | apply Mark Hammond's PEP 311 changes to the EMX ripoff of the Windows | Andrew MacIntyre | 2003-04-21 | 1 | -51/+6 |
| | | | | popen[234]() code | ||||
* | - DosSetExtLIBPATH objects to a NULL pointer, but a pointer to a NULL | Andrew MacIntyre | 2003-04-21 | 1 | -7/+1 |
| | | | | | | | string does what is expected (ie unset [BEGIN|END]LIBPATH) - set the size of the DosQuerySysInfo buffer correctly; it was safe, but incorrect (allowing a 1 element overrun) | ||||
* | New PyGILState_ API - implements pep 311, from patch 684256. | Mark Hammond | 2003-04-19 | 1 | -50/+6 |
| | |||||
* | Rename LONG_LONG to PY_LONG_LONG. Fixes #710285. | Martin v. Löwis | 2003-03-29 | 1 | -13/+13 |
| | |||||
* | Get rid of warning on IRIX | Neal Norwitz | 2003-03-21 | 1 | -1/+2 |
| | |||||
* | Add support for os.openpty() on AIX which uses /dev/ptc instead of /dev/ptmx. | Neal Norwitz | 2003-03-21 | 1 | -3/+11 |
| | |||||
* | Patch #696645: Remove VMS code with uncertain authorship. | Martin v. Löwis | 2003-03-05 | 1 | -209/+52 |
| | |||||
* | os.listdir(): Fall back to the original byte string if conversion to unicode | Just van Rossum | 2003-03-04 | 1 | -6/+8 |
| | | | | fails, as discussed in patch #683592. | ||||
* | plugged leak noted by nnorwitz: the 'et' format returns allocated memory | Just van Rossum | 2003-03-03 | 1 | -2/+4 |
| | |||||
* | Patch #683592 revisited, after discussions with MvL: | Just van Rossum | 2003-03-03 | 1 | -10/+8 |
| | | | | | | | | | | | | | | | | | | - Implement the behavior as specified in PEP 277, meaning os.listdir() will only return unicode strings if it is _called_ with a unicode argument. - And then return only unicode, don't attempt to convert to ASCII. - Don't switch on Py_FileSystemDefaultEncoding, but simply use the default encoding if Py_FileSystemDefaultEncoding is NULL. This means os.listdir() can now raise UnicodeDecodeError if the default encoding can't represent the directory entry. (This seems better than silcencing the error and fall back to a byte string.) - Attempted to decribe the above in Doc/lib/libos.tex. - Reworded the Misc/NEWS items to reflect the current situation. This checkin also fixes bug #696261, which was due to os.listdir() not using Py_FileSystemDefaultEncoding, like all file system calls are supposed to. | ||||
* | Patch #683592: unicode support for os.listdir() | Just van Rossum | 2003-02-25 | 1 | -0/+24 |
| | | | | | os.listdir() may now return unicode strings on platforms that set Py_FileSystemDefaultEncoding. | ||||
* | os.mkdir() would crash with a Unicode filename and mode param. | Mark Hammond | 2003-02-19 | 1 | -1/+1 |
| | |||||
* | Added test_posix (hopefully it works on Windows). | Neal Norwitz | 2003-02-17 | 1 | -130/+64 |
| | | | | | Remove PyArg_ParseTuple() for methods which take no args, use METH_NOARGS instead | ||||
* | Add more missing PyErr_NoMemory() after failled memory allocs | Neal Norwitz | 2003-02-11 | 1 | -2/+2 |
| | |||||
* | Fix memory leak of newstr when putenv() fails | Neal Norwitz | 2003-02-10 | 1 | -0/+1 |
| | |||||
* | Get rid of compiler warnings | Neal Norwitz | 2003-01-10 | 1 | -17/+17 |
| |