Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | 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 |
| | |||||
* | SF bug 595919: popenN return only text mode pipes | Tim Peters | 2002-08-19 | 1 | -2/+2 |
| | | | | | popen2() and popen3() created text-mode pipes even when binary mode was asked for. This was specific to Windows. | ||||
* | Excise DL_EXPORT/DL_IMPORT from Modules/*. Required adding a prototype | Mark Hammond | 2002-08-02 | 1 | -2/+13 |
| | | | | | | for Py_Main(). Thanks to Kalle Svensson and Skip Montanaro for the patches. | ||||
* | - Get _environ through the NSEnviron call in a MacOSX framework. This allows | Jack Jansen | 2002-08-01 | 1 | -2/+11 |
| | | | | | | | | | us to completely decouple the framework from the executable, so we can use a two-level namespace. - Do framework builds with a twolevel namespace. - Reorganized the code that creates the minimal framework in the build directory, to make it more robust against incomplete frameworks (from earlier aborted builds, or builds of previous Python versions). | ||||
* | Revert changes to use PyArg_Parse(), so any sequence will continue to work ↵ | Neal Norwitz | 2002-07-30 | 1 | -1/+1 |
| | | | | -- Spotted by Just van Rossum | ||||
* | Use PyArg_ParseTuple() instead of PyArg_Parse() which is deprecated | Neal Norwitz | 2002-07-30 | 1 | -1/+1 |
| | |||||
* | Fix docstring to be consistent with parameter name (prefix) | Neal Norwitz | 2002-07-30 | 1 | -1/+1 |
| | |||||
* | SF patch #584245, get python to link on OSF1 (Dec Unix) | Neal Norwitz | 2002-07-30 | 1 | -2/+2 |
| | |||||
* | Patch #573770: Implement lchown. | Martin v. Löwis | 2002-07-28 | 1 | -0/+30 |
| |