Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Implement names for CJK unified ideographs. Add name to KeyError output. | Martin v. Löwis | 2002-11-23 | 1 | -1/+39 |
| | | | | Verify that the lookup for an existing name succeeds. | ||||
* | Fix off-by-one error. | Martin v. Löwis | 2002-11-23 | 1 | -1/+1 |
| | |||||
* | Patch #626548: Support Hangul syllable names. | Martin v. Löwis | 2002-11-23 | 1 | -2/+109 |
| | |||||
* | Merge with bsddb3 2002.11.23.10.42.36 | Martin v. Löwis | 2002-11-23 | 1 | -8/+16 |
| | |||||
* | Include Python.h first. | Martin v. Löwis | 2002-11-23 | 1 | -1/+1 |
| | |||||
* | Fix SF # 640557, '64-bit' systems and the dbm module | Neal Norwitz | 2002-11-22 | 1 | -6/+17 |
| | | | | | | | datum.dsize can apparently be long on some systems. Ensure we pass an int* to PyArg_Parse("s#"), not &datum.dsize Will backport. | ||||
* | fix for SF #635398 (don't "downcast" return strings from unicode to ascii) | Fredrik Lundh | 2002-11-22 | 1 | -21/+4 |
| | |||||
* | 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 |
| | |||||
* | Always call tparm with 10 arguments. It seems it's not varargs i | Michael W. Hudson | 2002-11-21 | 1 | -43/+3 |
| | | | | | | | | more often than it is. In response to bug: [ 641808 ] Portability of Modules/_cursesmodule.c submitted by Nick Mclaren. | ||||
* | Don't try to use unsupported DB versions. | Martin v. Löwis | 2002-11-19 | 1 | -1/+6 |
| | |||||
* | Import PyBSDDB 3.4.0. Rename historical wrapper to bsddb185. | Martin v. Löwis | 2002-11-19 | 3 | -15/+4266 |
| | |||||
* | Don't use PyNumber_Float() since it's is nearly useless. Instead, rely on | Neil Schemenauer | 2002-11-18 | 1 | -4/+2 |
| | | | | PyFloat_AsDouble to generate a good error message. | ||||
* | Use PyInt_AsLong instead of PyInt_AS_LONG after the call to | Walter Dörwald | 2002-11-12 | 1 | -1/+1 |
| | | | | | | | PyNumber_Int, because now PyNumber_Int might return a long, and PyInt_AsLong can handle that, whereas PyInt_AS_LONG can't. This closes SF bug #629989. | ||||
* | Make private functions static so we don't pollute the namespace | Neal Norwitz | 2002-11-10 | 1 | -1/+2 |
| | |||||
* | Fix typo. | Martin v. Löwis | 2002-11-09 | 1 | -1/+1 |
| | |||||
* | bz2_compress/bz2_decompress: more casting away LONG_LONG for | Tim Peters | 2002-11-09 | 1 | -2/+2 |
| | | | | _PyString_Resize calls. | ||||
* | BZ2Decomp_decompress(): Fixed more long vs LONG_LONG confusions. | Tim Peters | 2002-11-09 | 1 | -2/+2 |
| | |||||
* | BZ2Comp_flush(): Fixed more int vs LONG_LONG confusions. | Tim Peters | 2002-11-09 | 1 | -2/+2 |
| | |||||
* | BZ2Comp_compress(): Explicitly cast the LONG_LONG size argument to | Tim Peters | 2002-11-09 | 1 | -1/+1 |
| | | | | _PyString_Resize to int. | ||||
* | BZ2Comp_compress(): changed decl of totalout to LONG_LONG, since it's | Tim Peters | 2002-11-09 | 1 | -1/+1 |
| | | | | | solely used to hold LONG_LONG values, and the compiler rightfully warns about potential data loss otherwise. | ||||
* | Repaired signed-vs-unsigned mismatch. | Tim Peters | 2002-11-09 | 1 | -1/+1 |
| | |||||
* | This couldn't compile on WIndows, due to hardcoded "long long". Repaired. | Tim Peters | 2002-11-09 | 1 | -23/+23 |
| | |||||
* | * Modules/bz2module.c | Gustavo Niemeyer | 2002-11-08 | 1 | -12/+21 |
| | | | | | (BZ2File_dealloc): Call Util_DropReadAhead(). (*): Included aesthetic changes by Neal Norwitz. | ||||
* | Assorted patches from Armin Rigo: | Michael W. Hudson | 2002-11-08 | 1 | -1/+1 |
| | | | | | | | | [ 617309 ] getframe hook (Psyco #1) [ 617311 ] Tiny profiling info (Psyco #2) [ 617312 ] debugger-controlled jumps (Psyco #3) These are forward ports from 2.2.2. | ||||
* | Enforce valid filemode. Fixes SF Bug #623464. | Thomas Heller | 2002-11-07 | 1 | -0/+6 |
| | |||||
* | Fixed sre bug "[#581080] Provoking infinite scanner loops". | Gustavo Niemeyer | 2002-11-07 | 1 | -4/+6 |
| | | | | | | | | | | | | | | | | This bug happened because: 1) the scanner_search and scanner_match methods were not checking the buffer limits before increasing the current pointer; and 2) SRE_SEARCH was using "if (ptr == end)" as a loop break, instead of "if (ptr >= end)". * Modules/_sre.c (SRE_SEARCH): Check for "ptr >= end" to break loops, so that we don't hang forever if a pointer passing the buffer limit is used. (scanner_search,scanner_match): Don't increment the current pointer if we're going to pass the buffer limit. * Misc/NEWS Mention the fix. | ||||
* | [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 |
| |