summaryrefslogtreecommitdiffstats
path: root/Modules
Commit message (Collapse)AuthorAgeFilesLines
* 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
|
* (Most of) SF patch 601369 (Christos Georgiou): obmalloc,structmodule:Guido van Rossum2002-09-031-27/+54
| | | | | | | 64bit, big endian (issue 2 only). This adds a bunch of memcpy calls via a temporary variable to avoid alignment errors. That's needed for some platforms.
* Minor change for symmetry with PyXML: PyDoc_STR should not includeFred Drake2002-09-021-1/+1
| | | | | | | | | the "safety" parentheses since some older compilers refuse to compile the module then, claiming that static initializers are non-constant. This doesn't actually make any difference for Python, since these definitions are not used when compiling with a version of Python that already defines the PyDoc_* macros.
* PEP 293 implemention (from SF patch http://www.python.org/sf/432401)Walter Dörwald2002-09-021-0/+28
|
* SF bug 601775 - some int results that should be bool.Guido van Rossum2002-09-012-2/+3
|
* Added __pow__(a,b) to the operator module. Completes the pattern ofRaymond Hettinger2002-08-191-0/+10
| | | | | | all operators having a counterpart in the operator module. Closes SF bug #577513.
* SF bug 595919: popenN return only text mode pipesTim Peters2002-08-191-2/+2
| | | | | popen2() and popen3() created text-mode pipes even when binary mode was asked for. This was specific to Windows.
* Squash a few calls to the hideously expensive PyObject_CallObject(o,a)Guido van Rossum2002-08-161-1/+1
| | | | | | | -- replace then with slightly faster PyObject_Call(o,a,NULL). (The difference is that the latter requires a to be a tuple; the former allows other values and wraps them in a tuple if necessary; it involves two more levels of C function calls to accomplish all that.)
* base64.decodestring('') should return '' instead of raising anBarry Warsaw2002-08-151-5/+2
| | | | | exception. The bug fix for SF #430849 wasn't quite right. This closes SF bug #595671. I'll backport this to Python 2.2.
* This is my patchMichael W. Hudson2002-08-151-5/+8
| | | | | | | | [ 587993 ] SET_LINENO killer Remove SET_LINENO. Tracing is now supported by inspecting co_lnotab. Many sundry changes to document and adapt to this change.
* Patch #505705: Remove eval in pickle and cPickle.Martin v. Löwis2002-08-142-32/+65
|
* Fix memory leaks reported by valgrindNeal Norwitz2002-08-141-1/+7
|
* add some example docstrings using PyDoc_STRSkip Montanaro2002-08-141-8/+8
|
* add PyDoc_STR and PyDoc_STRVAR calls as examples for module authorsSkip Montanaro2002-08-141-6/+18
|
* Allow more docstrings to be removed during compilation in some modulesNeal Norwitz2002-08-134-38/+40
|
* For new-style classes, we can now test for tp_del instead of askingGuido van Rossum2002-08-091-3/+3
| | | | for a __del__ attribute, to see if there's a finalizer.
* On Cygwin, put stdin, stderr, and stdout in binary mode when the -uSjoerd Mullender2002-08-091-2/+2
| | | | flag is given (to mimic native Windows).
* SF bug #592645 fix memory leak in socket.getaddrinfoNeal Norwitz2002-08-091-0/+2
|
* Update the text on the Expat module and library.Fred Drake2002-08-091-17/+9
|
* The other half of the patches added to SF patch 555085 by A IGuido van Rossum2002-08-081-0/+2
| | | | | | MacIntyre. At least on OS/2, a subsequent connect() on a nonblocking socket returns errno==EISCONN to indicate success. This seems harmless on Unix.
* Clean up some docstrings. Some docstrings didn't show their returnGuido van Rossum2002-08-081-10/+11
| | | | | | value; others were inconsistent in what to name the argument or return value; a few module-global functions had "socket." in front of their name, against convention.
* Patch #588561: Cygwin _hotshot patchJason Tishler2002-08-081-2/+4
| | | | | | YA Cygwin module patch very similar to other patches that I have submitted. I tested under Cygwin and Red Hat Linux 7.1.
* Replace abort with Py_FatalError.Martin v. Löwis2002-08-071-1/+1
|
* internal_connect(): Windows. When sock_timeout > 0 and connect() yieldsTim Peters2002-08-061-6/+14
| | | | | | | WSAEWOULDBLOCK, the second connect() attempt appears to yield WSAEISCONN on Win98 but WSAEINVAL on Win2K. So accept either as meaning "yawn, fine". This allows test_socket to succeed on my Win2K box (which it already did on my Win98SE box).
* Mark xreadlines deprecated. Don't use f.xreadlines() in test_iter.py.Guido van Rossum2002-08-061-0/+2
|