summaryrefslogtreecommitdiffstats
path: root/Modules
Commit message (Collapse)AuthorAgeFilesLines
* [Patch #633635 from David M. Cooke]Andrew M. Kuchling2002-11-061-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 Niemeyer2002-11-061-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.cGustavo Niemeyer2002-11-051-3/+3
| | | | More fixes of XDECREF'd values not initialized.
* Fix SF #633935, test_bz2 failsNeal Norwitz2002-11-051-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 Niemeyer2002-11-051-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 dumpNeal Norwitz2002-11-041-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 Norwitz2002-11-021-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/64bitNeal Norwitz2002-11-021-1/+1
| | | | | Return PyLongs instead ot PyInts. On alphas, 9223372036854775807 became -1.
* Remove extra argument in mknod. Fixes #632628.Martin v. Löwis2002-11-021-1/+1
|
* Add docstrings to register, lookup, register_errorWalter Dörwald2002-10-311-4/+36
| | | | and lookup_error. This closes SF patch #630622.
* Use personal e-mail addressAndrew M. Kuchling2002-10-302-3/+2
|
* Patch #512981: Update readline input stream on sys.stdin/out change.Martin v. Löwis2002-10-261-7/+13
|
* Remove duplicate definitions of _XOPEN_SOURCE_EXTENDED.Martin v. Löwis2002-10-261-2/+0
|
* Update to Unicode 3.2 database.Martin v. Löwis2002-10-183-8989/+13012
|
* Fix minor whitespace nit, for consistency with Python's C style rules.Fred Drake2002-10-171-1/+1
|
* Patch #623780: Replace obsolete struct macros.Martin v. Löwis2002-10-162-11/+11
|
* Add PyStructSequence_UnnamedField. Add stat_float_times.Martin v. Löwis2002-10-161-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 Rossum2002-10-161-0/+1
| | | | | call. This caused mysterious crashes (hard to debug because it was happening in a child process).
* Fix a few docstrings, remove extra commasNeal Norwitz2002-10-111-3/+3
|
* SF #621948, update docstring for md5 by David M. Cooke. Will backport.Neal Norwitz2002-10-111-0/+1
|
* Patch #569139: Implementation of major, minor and makedev.Martin v. Löwis2002-10-101-8/+59
|
* GNU readline() mistakenly sets the LC_CTYPE locale.Guido van Rossum2002-10-091-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öwis2002-10-071-23/+68
|
* s/_alloca/alloca/g; Windows doesn't need the former, at least not unlessTim Peters2002-10-051-3/+3
| | | | __STDC__ is defined (or something like that ...).
* Trivial fix to the pep277 checkin: ensure that exceptions always have a ↵Mark Hammond2002-10-031-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 Hammond2002-10-031-19/+372
|
* Support UCS-4 builds.Martin v. Löwis2002-10-011-8/+36
|
* Eliminate constness warnings with Tcl 8.4.Martin v. Löwis2002-10-011-4/+13
|
* Drop support for Tk 8.0 and 8.1.Martin v. Löwis2002-10-011-137/+2
|
* Patch #615069: Fix build problems on SCO Open Server 5. Backported to 2.2.Martin v. Löwis2002-09-302-1/+3
|
* Patch for the DEC Alpha under Linux, by Lee Busby.Guido van Rossum2002-09-261-0/+8
|
* I did fix too much - including winsock.h is sufficient.Thomas Heller2002-09-241-1/+1
|
* On Windows, call WSAGetLastError() to retrieve the error number.Thomas Heller2002-09-241-1/+7
| | | | Bugfix candidate, will backport to release22-maint myself.
* Be more careful with the type of the xmlhandlersetter; it takes anFred Drake2002-09-241-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.xMartin v. Löwis2002-09-193-0/+20
|
* Deal with NULL fields in mkpwent.Martin v. Löwis2002-09-171-1/+12
|
* Deal with a NULL gr_passwd. Reported by Anders Qvist.Martin v. Löwis2002-09-171-1/+6
|
* Make BadPickleGet a class. Fixes #609164.Martin v. Löwis2002-09-161-3/+4
|
* I think it makes more sense that the pseudo filename used by fdopen()Guido van Rossum2002-09-151-1/+1
| | | | be "<fdopen>" rather than "(fdopen)".
* SF # 602108 ensure string is null terminated after strncpyNeal Norwitz2002-09-131-0/+1
|
* Fix *really* embarrassing typo reported by Raymond Hettinger.Michael W. Hudson2002-09-111-1/+1
|
* A slight change to SET_LINENO-less tracing.Michael W. Hudson2002-09-111-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 Peters2002-09-101-1/+1
| | | | losing implicit double->long cast.
* Add missing return statement.Martin v. Löwis2002-09-101-0/+1
|
* Use utimes(2) where available to support microsecond timestamps.Martin v. Löwis2002-09-101-5/+48
|
* Always generate floats for stat_result; fix configure test.Martin v. Löwis2002-09-091-9/+1
|
* Patch #606592: Subsecond timestamps in stat_result.Martin v. Löwis2002-09-091-10/+26
|
* SF bug # 585792, Invalid mmap crashes Python interpreterNeal Norwitz2002-09-051-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 --helpNeal Norwitz2002-09-051-1/+1
|
* Update the module doc comment.Guido van Rossum2002-09-031-1/+3
|