Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | 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 |
| | |||||
* | all_ins(): EX_OK and friends, constants from sysexits.h | Barry Warsaw | 2003-01-07 | 1 | -0/+57 |
| | |||||
* | Expose I_ constants. Auto-detect stropts.h. Properly configure the slave ↵ | Martin v. Löwis | 2003-01-01 | 1 | -2/+2 |
| | | | | terminal. | ||||
* | Fix compilation errors on HPUX11 | Neal Norwitz | 2002-12-31 | 1 | -3/+3 |
| | |||||
* | Restore signalhandler in case of error. Fix type of signal handler. | Martin v. Löwis | 2002-12-31 | 1 | -3/+9 |
| | |||||
* | Patch #656590: /dev/ptmx support for ptys. | Martin v. Löwis | 2002-12-31 | 1 | -7/+39 |
| | |||||
* | Patch #657889: Implement posix.getloadavg. | Martin v. Löwis | 2002-12-27 | 1 | -0/+25 |
| | |||||
* | execve(), spawnve(): add some extra sanity checking to env; | Guido van Rossum | 2002-12-13 | 1 | -18/+50 |
| | | | | | | | | | PyMapping_Check() doesn't guarantee that PyMapping_Size() won't raise an exception, nor that keys and values are lists. Also folded some long lines and did a little whitespace normalization. Probably a 2.2 backport candidate. | ||||
* | Patch #614055: Support OpenVMS. | Martin v. Löwis | 2002-12-06 | 1 | -2/+264 |
| | |||||
* | Fix --disable-unicode compilation problems. | Martin v. Löwis | 2002-11-21 | 1 | -0/+5 |
| | |||||
* | Comment out the getcwdu implementation for --disable-unicode builds | Walter Dörwald | 2002-11-21 | 1 | -0/+4 |
| | |||||
* | Enforce valid filemode. Fixes SF Bug #623464. | Thomas Heller | 2002-11-07 | 1 | -0/+6 |
| | |||||
* | Remove extra argument in mknod. Fixes #632628. | Martin v. Löwis | 2002-11-02 | 1 | -1/+1 |
| | |||||
* | Patch #623780: Replace obsolete struct macros. | Martin v. Löwis | 2002-10-16 | 1 | -9/+9 |
| | |||||
* | Add PyStructSequence_UnnamedField. Add stat_float_times. | Martin v. Löwis | 2002-10-16 | 1 | -5/+75 |
| | | | | Use integers in stat tuple, optionally floats in named fields. | ||||
* | posix_execve(): add missing argument for "et" format in PyArg_Parse() | Guido van Rossum | 2002-10-16 | 1 | -0/+1 |
| | | | | | call. This caused mysterious crashes (hard to debug because it was happening in a child process). | ||||
* | Fix a few docstrings, remove extra commas | Neal Norwitz | 2002-10-11 | 1 | -3/+3 |
| | |||||
* | Patch #569139: Implementation of major, minor and makedev. | Martin v. Löwis | 2002-10-10 | 1 | -8/+59 |
| | |||||
* | Apply file system default encoding to exec and spawn path and arguments. | Martin v. Löwis | 2002-10-07 | 1 | -23/+68 |
| | |||||
* | s/_alloca/alloca/g; Windows doesn't need the former, at least not unless | Tim Peters | 2002-10-05 | 1 | -3/+3 |
| | | | | __STDC__ is defined (or something like that ...). | ||||
* | Trivial fix to the pep277 checkin: ensure that exceptions always have a ↵ | Mark Hammond | 2002-10-03 | 1 | -1/+1 |
| | | | | filename attribute (previously did only when string filenames were passed, but not when unicode) | ||||
* | Patch 594001: PEP 277 - Unicode file name support for Windows NT. | Mark Hammond | 2002-10-03 | 1 | -19/+372 |
| | |||||
* | Patch #608999: Fix portability problems with MIPSPro 7.x | Martin v. Löwis | 2002-09-19 | 1 | -0/+6 |
| | |||||
* | I think it makes more sense that the pseudo filename used by fdopen() | Guido van Rossum | 2002-09-15 | 1 | -1/+1 |
| | | | | be "<fdopen>" rather than "(fdopen)". | ||||
* | extract_time(): Squash compiler warning about possibly information- | Tim Peters | 2002-09-10 | 1 | -1/+1 |
| | | | | losing implicit double->long cast. | ||||
* | Add missing return statement. | Martin v. Löwis | 2002-09-10 | 1 | -0/+1 |
| | |||||
* | Use utimes(2) where available to support microsecond timestamps. | Martin v. Löwis | 2002-09-10 | 1 | -5/+48 |
| | |||||
* | Always generate floats for stat_result; fix configure test. | Martin v. Löwis | 2002-09-09 | 1 | -9/+1 |
| | |||||
* | Patch #606592: Subsecond timestamps in stat_result. | Martin v. Löwis | 2002-09-09 | 1 | -10/+26 |
| | |||||
* | SF bug 601775 - some int results that should be bool. | Guido van Rossum | 2002-09-01 | 1 | -1/+1 |
| |