Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | 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 |
| | |||||
* | (Most of) SF patch 601369 (Christos Georgiou): obmalloc,structmodule: | Guido van Rossum | 2002-09-03 | 1 | -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 include | Fred Drake | 2002-09-02 | 1 | -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örwald | 2002-09-02 | 1 | -0/+28 |
| | |||||
* | SF bug 601775 - some int results that should be bool. | Guido van Rossum | 2002-09-01 | 2 | -2/+3 |
| | |||||
* | Added __pow__(a,b) to the operator module. Completes the pattern of | Raymond Hettinger | 2002-08-19 | 1 | -0/+10 |
| | | | | | | all operators having a counterpart in the operator module. Closes SF bug #577513. | ||||
* | 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. | ||||
* | Squash a few calls to the hideously expensive PyObject_CallObject(o,a) | Guido van Rossum | 2002-08-16 | 1 | -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 an | Barry Warsaw | 2002-08-15 | 1 | -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 patch | Michael W. Hudson | 2002-08-15 | 1 | -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öwis | 2002-08-14 | 2 | -32/+65 |
| | |||||
* | Fix memory leaks reported by valgrind | Neal Norwitz | 2002-08-14 | 1 | -1/+7 |
| | |||||
* | add some example docstrings using PyDoc_STR | Skip Montanaro | 2002-08-14 | 1 | -8/+8 |
| | |||||
* | add PyDoc_STR and PyDoc_STRVAR calls as examples for module authors | Skip Montanaro | 2002-08-14 | 1 | -6/+18 |
| | |||||
* | Allow more docstrings to be removed during compilation in some modules | Neal Norwitz | 2002-08-13 | 4 | -38/+40 |
| | |||||
* | For new-style classes, we can now test for tp_del instead of asking | Guido van Rossum | 2002-08-09 | 1 | -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 -u | Sjoerd Mullender | 2002-08-09 | 1 | -2/+2 |
| | | | | flag is given (to mimic native Windows). | ||||
* | SF bug #592645 fix memory leak in socket.getaddrinfo | Neal Norwitz | 2002-08-09 | 1 | -0/+2 |
| | |||||
* | Update the text on the Expat module and library. | Fred Drake | 2002-08-09 | 1 | -17/+9 |
| | |||||
* | The other half of the patches added to SF patch 555085 by A I | Guido van Rossum | 2002-08-08 | 1 | -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 return | Guido van Rossum | 2002-08-08 | 1 | -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 patch | Jason Tishler | 2002-08-08 | 1 | -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öwis | 2002-08-07 | 1 | -1/+1 |
| | |||||
* | internal_connect(): Windows. When sock_timeout > 0 and connect() yields | Tim Peters | 2002-08-06 | 1 | -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 Rossum | 2002-08-06 | 1 | -0/+2 |
| | |||||
* | Since the errno module is needed by os._execvpe(), and that is used by the | Fred Drake | 2002-08-05 | 1 | -1/+1 |
| | | | | | | | setup.py (indirectly) script to build the standard dynamically loaded modules, the errno module is being made static so it will always be available. Closes SF bug #591205 (needed on trunk only). | ||||
* | Add trace_frame. Fixes #534864. Backported to 2.2. | Martin v. Löwis | 2002-08-04 | 1 | -0/+38 |
| | |||||
* | Add recursion counter for pickling. Fixes #576084. | Martin v. Löwis | 2002-08-04 | 1 | -0/+9 |
| | | | | | 2.2 bugfix candidate (may cause RuntimeError for applications that currently work fine). | ||||
* | Fix ref(), proxy() docstrings, based on comments from David Abrahams. | Fred Drake | 2002-08-02 | 1 | -3/+4 |
| | |||||
* | add #include branch for compilation with Berkeley DB | Skip Montanaro | 2002-08-02 | 1 | -0/+3 |
| | |||||
* | Added one call to Py_Main(), for OSX framework builds only, that will get the | Jack Jansen | 2002-08-02 | 1 | -1/+17 |
| | | | | | | | | | | | | | actual script to run in case we are running from an applet. If we are indeed running an applet we skip the normal option processing leaving it all to the applet code. This allows us to get use the normal python binary in the Python.app bundle, giving us all the normal command line options through PythonLauncher while still allowing Python.app to be used as the template for building applets. Consequently, pythonforbundle is gone, and Mac/Python/macmain.c isn't used on OSX anymore. | ||||
* | Excise DL_EXPORT/DL_IMPORT from Modules/*. Required adding a prototype | Mark Hammond | 2002-08-02 | 51 | -59/+68 |
| | | | | | | 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). | ||||
* | Cray fixup as seen in bug #558153. | Michael W. Hudson | 2002-07-31 | 1 | -2/+2 |
| | |||||
* | 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 |
| | |||||
* | Fix for | Michael W. Hudson | 2002-07-29 | 1 | -6/+7 |
| | | | | | | [ 587875 ] crash on deleting extended slice The array code got simpler, always a good thing! | ||||
* | Patch #573770: Implement lchown. | Martin v. Löwis | 2002-07-28 | 1 | -0/+30 |
| | |||||
* | Pass length of result structure into setipaddr. Fixes bug #565747. | Martin v. Löwis | 2002-07-28 | 1 | -8/+12 |
| | | | | Committed to 2.2 branch. |