Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | [Patch #633635 from David M. Cooke] | Andrew M. Kuchling | 2002-11-06 | 1 | -6/+14 |
| | | | | | | Make keyname raise ValueError if passed -1, avoiding a segfault Make getkey() match the docs and raise an exception in nodelay mode The return type of getch() is int, not chtype | ||||
* | Fixed bug #470582, using a modified version of patch #527371, | Gustavo Niemeyer | 2002-11-06 | 1 | -18/+19 |
| | | | | | | | | | | | | | | | | | | | from Greg Chapman. * Modules/_sre.c (lastmark_restore): New function, implementing algorithm to restore a state to a given lastmark. In addition to the similar algorithm used in a few places of SRE_MATCH, restore lastindex when restoring lastmark. (SRE_MATCH): Replace lastmark inline restoring by lastmark_restore(), function. Also include it where missing. In SRE_OP_MARK, set lastindex only if i > lastmark. * Lib/test/re_tests.py * Lib/test/test_sre.py Included regression tests for the fixed bugs. * Misc/NEWS Mention fixes. | ||||
* | * bzmodule.c | Gustavo Niemeyer | 2002-11-05 | 1 | -3/+3 |
| | | | | More fixes of XDECREF'd values not initialized. | ||||
* | Fix SF #633935, test_bz2 fails | Neal Norwitz | 2002-11-05 | 1 | -1/+1 |
| | | | | | Needed to init ret since it was Py_XDECREF()d on error. All regressions pass in debug build for me. | ||||
* | Patch implementing bz2 module. | Gustavo Niemeyer | 2002-11-05 | 1 | -0/+2099 |
| | | | | | | | | | | | | | | | | | * setup.py (PyBuildExt.detect_modules): Included bz2 module detection. * Modules/bz2module.c * Lib/test/test_bz2.py * Doc/lib/libbz2.tex Included files implementing, testing, and documenting bz2 module. * Doc/Makefile.deps * Doc/lib/lib.tex Include references to libbz2.tex. * Misc/NEWS (Library): Mention distutils' c++ linkage patch, and new bz2 module. | ||||
* | SF #633013, Fix NIS causing interpreter core dump | Neal Norwitz | 2002-11-04 | 1 | -2/+4 |
| | | | | | Prevent the lengths passed to PyString_FromStringAndSize() from being negative in some cases. | ||||
* | Use O_NONBLOCK rather than O_NDELAY, so we get POSIX non-blocking I/O. | Neal Norwitz | 2002-11-02 | 1 | -4/+4 |
| | | | | | | | | | | | | | On HPUX, Solaris, Tru64 (Dec UNIX), and IRIX (I think), O_NONBLOCK is the POSIX version of non-blocking I/O which is what we want. On Linux and FreeBSD (at least), O_NONBLOCK and O_NDELAY are the same. So this change should have no negative effect on those platforms. Tested on Linux, Solaris, HPUX. Thanks to Anders Qvist for diagnosing this problem. | ||||
* | Fix SF #632624, test_resource failure on alpha/64bit | Neal Norwitz | 2002-11-02 | 1 | -1/+1 |
| | | | | | Return PyLongs instead ot PyInts. On alphas, 9223372036854775807 became -1. | ||||
* | Remove extra argument in mknod. Fixes #632628. | Martin v. Löwis | 2002-11-02 | 1 | -1/+1 |
| | |||||
* | Add docstrings to register, lookup, register_error | Walter Dörwald | 2002-10-31 | 1 | -4/+36 |
| | | | | and lookup_error. This closes SF patch #630622. | ||||
* | Use personal e-mail address | Andrew M. Kuchling | 2002-10-30 | 2 | -3/+2 |
| | |||||
* | Patch #512981: Update readline input stream on sys.stdin/out change. | Martin v. Löwis | 2002-10-26 | 1 | -7/+13 |
| | |||||
* | Remove duplicate definitions of _XOPEN_SOURCE_EXTENDED. | Martin v. Löwis | 2002-10-26 | 1 | -2/+0 |
| | |||||
* | Update to Unicode 3.2 database. | Martin v. Löwis | 2002-10-18 | 3 | -8989/+13012 |
| | |||||
* | Fix minor whitespace nit, for consistency with Python's C style rules. | Fred Drake | 2002-10-17 | 1 | -1/+1 |
| | |||||
* | Patch #623780: Replace obsolete struct macros. | Martin v. Löwis | 2002-10-16 | 2 | -11/+11 |
| | |||||
* | 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 |
| | |||||
* | SF #621948, update docstring for md5 by David M. Cooke. Will backport. | Neal Norwitz | 2002-10-11 | 1 | -0/+1 |
| | |||||
* | Patch #569139: Implementation of major, minor and makedev. | Martin v. Löwis | 2002-10-10 | 1 | -8/+59 |
| | |||||
* | GNU readline() mistakenly sets the LC_CTYPE locale. | Guido van Rossum | 2002-10-09 | 1 | -0/+17 |
| | | | | | This is evil. Only the user or the app's main() should do this! We must save and restore the locale around the rl_initialize() call. | ||||
* | 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 |
| | |||||
* | Support UCS-4 builds. | Martin v. Löwis | 2002-10-01 | 1 | -8/+36 |
| | |||||
* | Eliminate constness warnings with Tcl 8.4. | Martin v. Löwis | 2002-10-01 | 1 | -4/+13 |
| | |||||
* | Drop support for Tk 8.0 and 8.1. | Martin v. Löwis | 2002-10-01 | 1 | -137/+2 |
| | |||||
* | Patch #615069: Fix build problems on SCO Open Server 5. Backported to 2.2. | Martin v. Löwis | 2002-09-30 | 2 | -1/+3 |
| | |||||
* | Patch for the DEC Alpha under Linux, by Lee Busby. | Guido van Rossum | 2002-09-26 | 1 | -0/+8 |
| | |||||
* | I did fix too much - including winsock.h is sufficient. | Thomas Heller | 2002-09-24 | 1 | -1/+1 |
| | |||||
* | On Windows, call WSAGetLastError() to retrieve the error number. | Thomas Heller | 2002-09-24 | 1 | -1/+7 |
| | | | | Bugfix candidate, will backport to release22-maint myself. | ||||
* | Be more careful with the type of the xmlhandlersetter; it takes an | Fred Drake | 2002-09-24 | 1 | -1/+1 |
| | | | | | | XML_Parser, which happens to be a pointer type, not an XML_Parser*. This generated warnings when compiled with Expat 1.95.5, which no longer defines XML_Parser to be void*. | ||||
* | Patch #608999: Fix portability problems with MIPSPro 7.x | Martin v. Löwis | 2002-09-19 | 3 | -0/+20 |
| | |||||
* | Deal with NULL fields in mkpwent. | Martin v. Löwis | 2002-09-17 | 1 | -1/+12 |
| | |||||
* | Deal with a NULL gr_passwd. Reported by Anders Qvist. | Martin v. Löwis | 2002-09-17 | 1 | -1/+6 |
| | |||||
* | Make BadPickleGet a class. Fixes #609164. | Martin v. Löwis | 2002-09-16 | 1 | -3/+4 |
| | |||||
* | 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)". | ||||
* | SF # 602108 ensure string is null terminated after strncpy | Neal Norwitz | 2002-09-13 | 1 | -0/+1 |
| | |||||
* | Fix *really* embarrassing typo reported by Raymond Hettinger. | Michael W. Hudson | 2002-09-11 | 1 | -1/+1 |
| | |||||
* | A slight change to SET_LINENO-less tracing. | Michael W. Hudson | 2002-09-11 | 1 | -4/+2 |
| | | | | | This makes things a touch more like 2.2. Read the comments in Python/ceval.c for more details. | ||||
* | 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 # 585792, Invalid mmap crashes Python interpreter | Neal Norwitz | 2002-09-05 | 1 | -1/+11 |
| | | | | | Raise ValueError if user passes a size to mmap which is larger than the file. | ||||
* | --with(out)-thread is deprecated according to configure --help | Neal Norwitz | 2002-09-05 | 1 | -1/+1 |
| | |||||
* | Update the module doc comment. | Guido van Rossum | 2002-09-03 | 1 | -1/+3 |
| |