summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* SF bug [ #409448 ] Complex division is braindeadTim Peters2001-03-183-8/+124
| | | | | | http://sourceforge.net/tracker/?func=detail&aid=409448&group_id=5470&atid=105470 Now less braindead. Also added test_complex.py, which doesn't test much, but fails without this patch.
* Fix bug #233253: the --define and --undef options didn't work, whetherAndrew M. Kuchling2001-03-171-0/+15
| | | | | specified on the command-line or in setup.cfg. The option processing leaves them as strings, but they're supposed to be lists.
* Bug #409403: Signal an error if the distribution's metadata has no versionAndrew M. Kuchling2001-03-171-0/+4
|
* Tidy up the ordering of include and library directories, puttingAndrew M. Kuchling2001-03-171-4/+4
| | | | | /usr/local first and leaving /usr/include at the end. This addresses the comments in bug #232609.
* SF bug [ #233200 ] cPickle does not use Py_BEGIN_ALLOW_THREADS.Tim Peters2001-03-171-173/+182
| | | | | | | http://sourceforge.net/tracker/?func=detail&aid=233200&group_id=5470&atid=105470 Wrapped the fread/fwrite calls in thread BEGIN_ALLOW/END_ALLOW brackets Afraid I hit the "delete trailing whitespace key" too! Only two "real" sections of code changed here.
* Distutils version number has been changed from 1.0.1 to 1.0.2preThomas Heller2001-03-161-1/+1
| | | | | | | before this get forgotten again. Should probably be set to 1.0.2 before final release of python 2.1 Does someone still release distutils separate from python?
* The bdist_wininst.py command has been recreated after wininst.exeThomas Heller2001-03-161-272/+308
| | | | | | | | | | | | has been changed to include an uninstaller. I forgot to mention in the uninstaller checkin that the logfile name (used for uninstalling) has been changed from <module>.log to <module>-wininst.log. This should prevent conflicts with a distutils logfile serving the same purpose. The short form of the --bdist-dir (-d) option has been removed because it caused conflicts with the short form of the --dist-dir option.
* Add documentation for SGMLParser.handle_decl().Fred Drake2001-03-161-0/+10
|
* Change RuntimeError to SGMLParseError, which subclasses RuntimeErrorFred Drake2001-03-161-5/+53
| | | | | | | | | | for backward compatibility. Add support for SGML declaration syntax (<!....>) to some reasonable degree. This does not support everything allowed in SGML, but should work with "real" HTML (internal subset in a DOCTYPE is not handled). The content of the declaration is passed to the .handle_decl() method, which can be overridden by subclasses.
* Finally fill in the documentation for the PyDict_Next() function. It isFred Drake2001-03-161-2/+20
| | | | | | different enough to actually require an explanation. ;-) Fix a couple of PyDictObject* types that should be PyObject* types.
* Install the Python DLL with execute priviledge set. This is required forNeil Schemenauer2001-03-161-1/+1
| | | | | Cygwin Python to startup correctly when in ntsec mode. Cygwin operating in this mode is probably not the only system with this requirement.
* Whitespace normalization.Tim Peters2001-03-166-14/+9
|
* Files for second 2.1b1 distribution.Jack Jansen2001-03-156-3/+7
|
* FindFolder argument is a short, not an unsigned short.Jack Jansen2001-03-151-1/+9
| | | | Added kLocalDomain and friends.
* Handle the apple menu differently under Carbon.Jack Jansen2001-03-151-2/+6
|
* FindFolder argument is a short, not an unsigned short.Jack Jansen2001-03-151-1/+1
|
* Added QDFlushPortBuffer calls.Jack Jansen2001-03-151-0/+2
|
* Import kOnSystemDisk from MACFSJack Jansen2001-03-151-2/+1
|
* Look for shared libraries first in kLocalDomain and then in kOnSystemDisk.Jack Jansen2001-03-152-5/+12
| | | | Don't do sys.prefix==os.getcwd() check unless we're an applet.
* Files for second 2.1b1 distribution.Jack Jansen2001-03-152-4/+15
|
* Remove redundant "__future__:" from module docstring.Ka-Ping Yee2001-03-151-1/+1
|
* Import the exceptions that this module can raise.Fred Drake2001-03-141-0/+3
|
* Add doc string for run from profile.doc. (pydoc motivates me to writeJeremy Hylton2001-03-141-5/+13
| | | | | | | | | | good doc strings.) Fix silly argument handling; was using *args but really wanted 1 optional arg. XXX Should profile.doc be merged into the documentation and removed from the Lib directory?
* Moved clearing of "literal" flag. The flag is set in setliteral whichSjoerd Mullender2001-03-141-1/+1
| | | | | | | can be called from a start tag handler. When the corresponding end tag is read the flag is cleared. However, it didn't get cleared when the start tag was for an empty element of the type <tag .../>. This modification fixes the problem.
* Change "[%s]" % string.whitespace to r"\s" in regular expressions.Fred Drake2001-03-141-4/+3
|
* updated __all__ to include several other namesSkip Montanaro2001-03-131-1/+5
|
* Add some LaTeX magic so that Latin-1 characters do not get so badlyFred Drake2001-03-131-0/+1
| | | | trashed.
* Patch #407965: Improve Level 2 conformance of minidomMartin v. Löwis2001-03-132-21/+103
| | | | | | | | | | | | | | - addition of a DocumentFragment implementation and createDocumentFragment method - proper setting of ownerDocument for all nodes - setting of namespaceURI to None in Element as a class attribute - addition of setAttributeNodeNS and removeAttributeNodeNS as aliases for setAttributeNode and removeAttributeNode - support for inheriting from DOMImplementation to extend it with additional features (to override the Document class) in pulldom: - support for nodes (comment and PI) that occur before he document element; that became necessary as pulldom now delays creation of the document until it has the document element.
* Oops. A RISCOS patch I forgot to check in.Guido van Rossum2001-03-131-1/+7
|
* Add test to verify that nested functions with free variables don'tJeremy Hylton2001-03-132-0/+24
| | | | cause the free variables to leak.
* Variety of small INC/DECREF patches that fix reported memory leaksJeremy Hylton2001-03-135-12/+13
| | | | | | | | | | | | | | | | | | | | | with free variables. Thanks to Martin v. Loewis for finding two of the problems. This fixes SF buf 405583. There is also a C API change: PyFrame_New() is reverting to its pre-2.1 signature. The change introduced by nested scopes was a mistake. XXX Is this okay between beta releases? cell_clear(), the GC helper, must decref its reference to break cycles. frame_dealloc() must dealloc all cell vars and free vars in addition to locals. eval_code2() setup code must INCREF cells it copies out of the closure. The STORE_DEREF opcode implementation must DECREF the object it passes to PyCell_Set().
* Py_BuildValue(): Add "D" conversion to create a Python complex value fromFred Drake2001-03-121-0/+3
| | | | | | | a Py_complex C value. Patch by Walter Dörwald. This closes SF patch #407148.
* Py_BuildValue(): Add "D" conversion to create a Python complex value fromFred Drake2001-03-121-0/+6
| | | | | | | a Py_complex C value. Patch by Walter Dörwald. This partially closes SF patch #407148.
* Multifile.read(): Fix a broken conversion to string methods.Fred Drake2001-03-121-1/+1
| | | | This closes SF bug #407777.
* Identifiers matching _[A-Z_]\w* are reserved for C implementations.Tim Peters2001-03-111-6/+6
| | | | | | May or may not be related to bug 407680 (obmalloc.c - looks like it's corrupted). This repairs the illegal vrbl names, but leaves a pile of illegal macro names (_THIS_xxx, _SYSTEM_xxx, _SET_HOOKS, _FETCH_HOOKS).
* When 1.6 boosted the # of digits produced by repr(float), repr(complex)Tim Peters2001-03-112-9/+32
| | | | apparently forgot to play along. Make complex act like float.
* Windows: Fallout from renaming the pydoc file.Tim Peters2001-03-111-1/+1
|
* SF bug Win32: pydoc command isn't executable.Tim Peters2001-03-111-1/+1
| | | | | | As the bug report notes, the Windows installer creates a useless pydoc file in the base directory. Changed the installer to rename it pydoc.pyw instead.
* Magic strings in both Python and the Wise installer define the registry keyTim Peters2001-03-112-1/+5
| | | | | to be used in Windows. They got out of synch. Repaired that, and added comments to each one pointing at the other.
* Make sure we close the group and password databases when we are done withFred Drake2001-03-112-0/+2
| | | | them; this closes SF bug #407504.
* Get rid of hardcoded Python path (can't guess where the user installedTim Peters2001-03-101-1/+1
| | | | IDLE, and it likely changes across releases anyway).
* Fix a further markup problem noted by FLDAndrew M. Kuchling2001-03-101-1/+1
|
* Chris Stern's BBEdit Python language module.Jack Jansen2001-03-106-0/+510
|
* Make docstrings raw, since they contain literal backslashes.Ka-Ping Yee2001-03-102-2/+2
|
* Fix findsource() to work for derived classes.Ka-Ping Yee2001-03-101-5/+5
|
* Import the nested_scopes feature twice, to exercise the patch introducedFred Drake2001-03-101-1/+3
| | | | | | | to avoid segfaults when more than one feature is named in the future statement. This tests for regression of SF bug #407394.
* When iterating over the names imported in a future statement, ignore theFred Drake2001-03-101-1/+1
| | | | | | commas in the concrete syntax; checking those causes a segfault. This fixes SF bug #407394.
* Finished implementation of removing incorrect preferences file.Jack Jansen2001-03-091-1/+3
|
* Default waittime in the eventloop is now None. At low level it will then be ↵Jack Jansen2001-03-082-7/+10
| | | | set to GetCaretTime().
* Handle the ReopenApplication event (by ignoring it).Jack Jansen2001-03-081-0/+2
|