summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Make the regrtest.py -l (findleaks) option considerably less obnoxious.Neil Schemenauer2000-10-131-4/+10
| | | | | | First, only report garbage that the GC cannot free. Second, only report the number of objects found, not their repr(). People can dig deeper on their own if they find a leak.
* Vise archive templates used for 2.0c1Jack Jansen2000-10-121-0/+0
|
* Disribution templates used for 2.0c1Jack Jansen2000-10-122-30/+33
|
* Projects used for 2.0c1Jack Jansen2000-10-1231-18/+13
|
* Use MacOS.KeepConsole to always exit if the program calls FrameWork._quit(). ↵Jack Jansen2000-10-121-2/+6
| | | | Overridable with a class variable keepconsole.
* Added sha module, it's needed by the unicode stuff, it seems.Jack Jansen2000-10-121-0/+2
|
* Added a method KeepConsole so programs can override the Keep console open ↵Jack Jansen2000-10-121-0/+16
| | | | option.
* Made options global (as PyMac_options) so macosmodule can access it.Jack Jansen2000-10-121-16/+16
|
* Better exit handling.Jack Jansen2000-10-122-2/+1
|
* Updated for 2.0c1Jack Jansen2000-10-122-18/+22
|
* Python implementation of strptime().Jack Jansen2000-10-121-0/+250
|
* Extension to Findertools by Erik van Blokland. In Contrib because I don't ↵Jack Jansen2000-10-123-0/+797
| | | | have the time to merge it into findertools before the distribution.
* Andy Dustman <adustman@users.sourceforge.net>:Fred Drake2000-10-121-3/+0
| | | | Eliminate unused variables to appease compiler.
* Marc-Andre Lemburg <mal@lemburg.com>:Fred Drake2000-10-121-10/+276
| | | | | | | Documentation for the codec base classes. Lots of markup adjustments by FLD. This closes SourceForge bug #115308, patch #101877.
* Fix SF bug #116263: support for from .. import *Jeremy Hylton2000-10-126-8/+26
| | | | | | transformer.py: return '*', None from com_import_as_name pycodegen.py: special case for name == '*' pyassem.py: fix stack counting for IMPORT_ opcodes
* Added entries for new files of SAX documentation.Fred Drake2000-10-122-0/+6
|
* Massive addition of SAX documentation from Martin von LoewisFred Drake2000-10-124-3/+731
| | | | | | | | | <loewis@informatik.hu-berlin.de>. Reorganized to be more like other parts of the documentation in its arrangement, but with few content changes. This closes SourceForge patch #101850.
* If the status line is invalid, assume it is a pre-1.0 response. TheJeremy Hylton2000-10-121-3/+10
| | | | msg/headers are empty and the entire response is treated as the body.
* Repaired a comment and asserted a precondition.Tim Peters2000-10-121-1/+2
|
* Recreated after installer source code changes.Thomas Heller2000-10-121-246/+246
| | | | | This should close SF bug (patch) http://sourceforge.net/patch/?func=detailpatch&patch_id=101844&group_id=5470
* two fixes for redirects:Jeremy Hylton2000-10-121-24/+31
| | | | | | | | | | | | | | | - don't close the fp, since that appears to also close the socket - join the original url with the redirect reponse to deal with relative redirect URL wrap two socket ops in try/except to turn them into URLErrors, so that client code need only catch one exception. in HTTPError.__del__ only close fp if fp is not None style changes: - use f(*args) instead of apply(f, args) - use __super_init instead of super.__init__(self, ...)
* cosmetic changes only:Jeremy Hylton2000-10-121-118/+118
| | | | use standard Python style for whitespace near = and ()
* Fix for Bug #116453.Guido van Rossum2000-10-121-6/+6
| | | | | | Direct use of interp->result is deprecated; changing this to Tcl_GetStringResult(interp) everywhere fixed the problem of losing the error message with TclError exceptions, on Windows.
* When we know the compiler is GCC, always add the -Wall andFred Drake2000-10-122-408/+434
| | | | | | | | | | | | | -Wstrict-prototypes options. This will make it a lot easier to keep warnings under control in the first place in the future. There is one known warning at this time, caught by the -Wstrict-prototypes option. In Modules/main.c, the declaration of getopt() without parameters gets a complaint (rightly) that it is not a proper prototype. The lack of a complete prototype information should be corrected when the right portability conditions have been identified. Approved by the Guido.
* Added a test for the StringIO write() error I just fixed.Guido van Rossum2000-10-122-0/+9
|
* [ Bug #116636 ] Bug in StringIO.write()Guido van Rossum2000-10-121-0/+2
| | | | | | | | | | | | http://sourceforge.net/bugs/?func=detailbug&bug_id=116636&group_id=5470 bobalex@rsv.ricoh.com Bug report: If the file position is less than the end of the "file", and a write is performed extending past then end of the file, the data string is corrupted. Solution: in write(), when writing past the end, properly set self.len when newpos is > self.len.
* Anonymous patch to add Darwin 1.2 to the list of BSDs.Guido van Rossum2000-10-121-1/+1
| | | | | | | Let's hope this is correct (I'm not sure why the sys.platform would be 'Darwin1.2' rather than 'darwin1', which seems to be the convention). Someone with Darwin please test this!
* Added some single tuple/list unpacking for JPython regression testing.Barry Warsaw2000-10-121-0/+12
|
* A Mystery: I somehow managed to delete the last two lines of my test_math.pyTim Peters2000-10-121-0/+2
| | | | changes. Here restoring them.
* Stop raising OverflowError on underflows reported by libm (errno==ERANGE andTim Peters2000-10-123-18/+72
| | | | | | | | | libm result is 0). Cautiously add a few libm exception test cases: 1. That exp(-huge) returns 0 without exception. 2. That exp(+huge) triggers OverflowError. 3. That sqrt(-1) raises ValueError specifically (apparently under glibc linked with -lieee, it was raising OverflowError due to an accident of the way mathmodule.c's CHECK() macro happened to deal with Infs and NaNs under gcc).
* Various minor additions and clarifications, mostly suggested by JeremyAndrew M. Kuchling2000-10-121-30/+58
|
* Comment out a separator line, since all the others are commented out,Fred Drake2000-10-121-1/+1
| | | | and it would look kind of silly if typeset.
* Add new section on the XML package. (This was the only major new 2.0 featureAndrew M. Kuchling2000-10-121-9/+165
| | | | | left that wasn't covered. The article is therefore now essentially complete.) A few minor changes
* Do a better job at staying on-screen :P (Sorry, it's late here.) I'mThomas Wouters2000-10-111-1/+2
| | | | | assuming here that the ANSI-C adjacent-string-concatenation technique is allowable, now that Python requires an ANSI C compiler.
* Adjust debugging code in the implementation of the DUP_TOPX bytecode, useThomas Wouters2000-10-111-5/+1
| | | | | Py_FatalError() instead, and clarify the message somewhat. As discussed on python-dev.
* Added additional test cases for pulldom modifications.Lars Gustäbel2000-10-112-1/+77
|
* Added parent attribute with getters and setters on XMLFilterBase.Lars Gustäbel2000-10-111-0/+12
|
* Added non-ns start and end element methods.Lars Gustäbel2000-10-111-16/+31
| | | | | Moved appendChild calls from DOMEventStream to PullDOM (parser indep). Removed duplicated sibling pointer setting (duplicated in appendChild).
* Document the exceptions that now get raised on invalid parameters.Fred Drake2000-10-111-2/+5
|
* Test the exception-raising for error cases in copy_reg.Fred Drake2000-10-112-0/+44
|
* In the module docstring, clarify that this is used to register pickleFred Drake2000-10-111-3/+15
| | | | | | | | | | | support for extension types, not classes. pickle(): If the type is a class or if the reduction function is not callable, raise a TypeError. constructor(): If the constructor is not callable, raise TypeError. This (partially) closes SourceForge patch #101859.
* Another gcc -Wall warning squashed:Fred Drake2000-10-111-1/+1
| | | | | MPZ_divm(): Initialize mpzden to NULL, since it could be Py_XDECREF()ed without being initialized.
* Remove one more gcc -Wall warning.Fred Drake2000-10-111-1/+2
|
* Jack Jansen reported that the regression test failed on the Mac whereGuido van Rossum2000-10-111-3/+1
| | | | | | | string.letters was much more than expected. Solution: explicit is better than implicit; don't rely on string.letters.
* Added test cases for extended printing to an instance. This picked upBarry Warsaw2000-10-111-1/+9
| | | | a bug in JPython where the instance had to have a flush() method.
* Make sure methods of ZipFile objects are in alphabetical order; the logicalFred Drake2000-10-111-4/+4
| | | | | groupings are still maintained. Based on a comment by Steve Holden <sholden@holdenweb.com>.
* Use suggested workaround for PyOS_CheckStack causing failure of test_[s]re.pyTrent Mick2000-10-111-1/+1
| | | | | | on Win64. This closes bug http://sourceforge.net/bugs/?func=detailbug&group_id=5470&bug_id=116516
* Remove the last gcc -Wall warning about possible use of an uninitializedFred Drake2000-10-111-0/+1
| | | | | | variable. w should be initialized before entering the bytecode interpretation loop since we only need one initialization to satisfy the compiler.
* Attempt to fix bogus gcc -Wall warnings reported by Marc-Andre Lemburg,Tim Peters2000-10-111-31/+61
| | | | | | by making the DUP_TOPX code utterly straightforward. This also gets rid of all normal-case internal DUP_TOPX if/branches, and allows replacing one POP() with TOP() in each case, so is a good idea regardless.
* Fix the docstring for new.function().Fred Drake2000-10-101-1/+1
| | | | | Based on a comment from Detlef Lannert <lannert@lannert.rz.uni-duesseldorf.de>.