summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Bump version to 2.1b2.Guido van Rossum2001-03-201-3/+3
|
* Add a deprecation warning to this module.Guido van Rossum2001-03-201-0/+5
| | | | | Importing it typically fails anyway (no TZ variable defined), so this is no great loss.
* Bug #409419: delete seek() and tell() methods, so callers can use getattr()Andrew M. Kuchling2001-03-201-6/+0
| | | | | to check for them (instead of calling them and then ignoring an IOError)
* * Fixing the password-proxy bugMoshe Zadka2001-03-201-7/+8
| | | | * Not sending content-type and content-length twice
* Get rid of --with-check-import-case. (Jason Tishler, SF #409924)Guido van Rossum2001-03-204-383/+343
|
* SF patch #408326 by Robin Thomas: slice objects comparable, notGuido van Rossum2001-03-201-3/+23
| | | | | | | | | | | | | | | | | | hashable This patch changes the behavior of slice objects in the following manner: - Slice objects are now comparable with other slice objects as though they were logically tuples of (start,stop,step). The tuple is not created in the comparison function, but the comparison behavior is logically equivalent. - Slice objects are not hashable. With the above change to being comparable, slice objects now cannot be used as keys in dictionaries. [I've edited the patch for style. Note that this fixes the problem that dict[i:j] seemed to work but was meaningless. --GvR]
* SF patch 407758, "timemodule patches for Cygwin", from Norman Vine.Tim Peters2001-03-201-0/+7
| | | | http://sourceforge.net/tracker/?func=detail&aid=407758&group_id=5470&atid=305470
* Fixup handling of free variables in methods when the class scope alsoJeremy Hylton2001-03-201-3/+12
| | | | | | | | | | has a binding for the name. The fix is in two places: - in symtable_update_free_vars, ignore a global stmt in a class scope - in symtable_load_symbols, add extra handling for names that are defined at class scope and free in a method Closes SF bug 407800
* Add test for a list comprehension that is nested in the left-hand partJeremy Hylton2001-03-192-0/+6
| | | | | | | | | of another list comp. This caused crashes reported as SF bugs 409230 and 407800. Note that the new tests are in a function so that the name lookup code isn't affected by how many *other* list comprehensions are in the same scope.
* Fix crashes in nested list comprehensionsJeremy Hylton2001-03-191-8/+10
| | | | | | SF bugs 409230 and 407800 Also remove bogus list comp code from symtable_assign().
* When building the installer, prompt for the location of the system directoryTim Peters2001-03-191-3/+5
| | | | | on the current machine. Wise doesn't seem to know this itself, and it varies across Windows flavors.
* Add a whole lot of stuff to __all__.Guido van Rossum2001-03-191-3/+6
| | | | | (Excluding the logging stuff, which doesn't lend itself to use via "from cgi import *" -- it manipulates globals.)
* Markup nit: For the Python documents, we use \empt instead of \textit.Fred Drake2001-03-191-1/+1
|
* Repair test_doctest's expected-output file (Guido added some new output).Tim Peters2001-03-181-0/+2
|
* add errorTab to __all__ on win*Skip Montanaro2001-03-181-0/+1
| | | | closes bug #406642
* Committing patch 405101Moshe Zadka2001-03-181-0/+27
|
* Make doctest's self-test succeed after the previous change.Guido van Rossum2001-03-181-0/+2
|
* Print a bunch of asterisks before the failure summary, to separate itGuido van Rossum2001-03-181-0/+1
| | | | from the last failure report.
* Teach Tools/freeze/makeconfig.py and Tools/freeze/parsesetup.py to useEric S. Raymond2001-03-182-10/+12
| | | | the re package rather than the obsolete regex.
* 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().