summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Finally fix SF bug #441172, using a variant of patch ##443626:Guido van Rossum2001-08-111-0/+6
| | | | | | canceling an edit operation would not revert the value of the field. The fix takes care to destroy the Entry object, as suggested in the patch.
* Now that the dialogs have some breathing room, split the combo of Tcl/Tk,Tim Peters2001-08-111-56/+130
| | | | | | | | | | IDLE and pydoc into a separate component. That's almost as big as the rest of Python (excl. docs and test suite) combined. Pop up a confimation box if they choose to install at least one of {Tcl/Tk/IDLE/pydoc, Tools, Test suite} but do not choose to install Python -- doesn't make much sense, so ask whether that's really what they want.
* For the escape() function, added a reference to the quoteattrs() functionFred Drake2001-08-111-17/+22
| | | | | | | | in xml.sax.saxutils, since that is the right function to use for quoting attribute values. This closes SF bug #444707. Cleaned up a variety of other minor markup errors.
* Added tests for rich comparison operator functions.Fred Drake2001-08-112-119/+212
| | | | Converted tests to PyUnit.
* Grow the dialogs 25%, to make room for a nicer bitmap (in progress; don'tTim Peters2001-08-111-83/+84
| | | | have it yet).
* Add section on PEP 238 changesAndrew M. Kuchling2001-08-111-10/+84
| | | | Minor grammatical changes, reformattings, and an error fix from Keith Briggs
* st_nested_scopes was uninitialized trash. Jeremy should fix in a betterTim Peters2001-08-111-0/+6
| | | | way; see code comments.
* Add a note that the quoteattr() function is useful for HTML and SGMLFred Drake2001-08-101-0/+2
| | | | attributes as well.
* Refactor future feature handlingJeremy Hylton2001-08-104-52/+17
| | | | | | | | | | | Replace uses of PyCF_xxx with CO_xxx. Replace individual feature slots in PyFutureFeatures with single bitmask ff_features. When flags must be transfered among the three parts of the interpreter that care about them -- the pythonrun layer, the compiler, and the future feature parser -- can simply or (|) the definitions.
* Refactor future feature handlingJeremy Hylton2001-08-102-16/+3
| | | | | | | | | | | | | | | | | | | Replace individual slots in PyFutureFeatures with a single bitmask with one field per feature. The flags for this bitmask are the same as the flags used in the co_flags slot of a code object. XXX This means we waste several bits, because they are used for co_flags but have no meaning for future statements. Don't think this is an issue. Remove the NESTED_SCOPES_DEFAULT define and others. Not sure what they were for anyway. Remove all the PyCF_xxx flags, but define PyCF_MASK in terms of the CO_xxx flags that are relevant for this release. Change definition of PyCompilerFlags so that cf_flags matches co_flags.
* Added documentation for PyDict_Update() and PyDict_Merge().Fred Drake2001-08-101-1/+19
|
* Add test for SF bug #442833 (multiple inheritance).Guido van Rossum2001-08-101-0/+14
|
* The message accompanying the TypeError exception on a readonlyGuido van Rossum2001-08-101-1/+1
| | | | attribute changed again.
* - Big changes to fix SF bug #442833 (a nasty multiple inheritanceGuido van Rossum2001-08-101-91/+122
| | | | | | | | | | | | | | | | problem). inherit_slots() is split in two parts: inherit_special() which inherits the flags and a few very special members from the dominant base; inherit_slots() which inherits only regular slots, and is now called for each base in the MRO in turn. These are now both void functions since they don't have error returns. - Added object.__setitem__() back -- for the same reason as object.__new__(): a subclass of object should be able to call object.__new__(). - add_wrappers() was moved around to be closer to where it is used (it was defined together with add_methods() etc., but has nothing to do with these).
* Autotest for netpacket/packet.h, as it is not available on all Linux versions.Martin v. Löwis2001-08-102-2/+5
| | | | Depend AF_PACKET on HAVE_NETPACKET_PACKET_H.
* Autotest for netpacket/packet.h, as it is not available on all Linux versions.Martin v. Löwis2001-08-102-7/+7
| | | | Depend AF_PACKET on HAVE_NETPACKET_PACKET_H. Fixes #449157
* Add PyDict_Merge(a, b, override):Guido van Rossum2001-08-102-2/+19
| | | | | | PyDict_Merge(a, b, 1) is the same as PyDict_Update(a, b). PyDict_Merge(a, b, 0) does something similar but leaves existing items unchanged.
* [Bug #414032] Make the 'sdist' command work when the distribution containsAndrew M. Kuchling2001-08-101-2/+18
| | | | | | libraries. This is done by adding a .get_source_files() method, contributed by Rene Liebscher and slightly modified. Remove an unused local variable spotted by PyChecker
* Pass the Makefile's value of CC and LDSHARED to the environment of setup.py.Martin v. Löwis2001-08-101-1/+1
| | | | This fixes the problem reported in bug report #438786.
* Do more to be compatible with Windows/CygWin. Make error messages moreFred Drake2001-08-101-2/+14
| | | | | | informative when a child process dies with an error. This is a variation of parts of SF patch #429611.
* Remove the use of the "cat" program. This improves portability to non-UnixFred Drake2001-08-101-1/+5
| | | | | | platforms. This is part the response to SF patch #429611.
* Added this LaTeX style file to the package since not all LaTeX installationsFred Drake2001-08-101-0/+329
| | | | | | | have it, especially on non-Unix platforms. (MikTeX in particular does not have it.) This is part of the response to SF patch #429611.
* Allow AttributeError as well as TypeError for attribute-less objects.Guido van Rossum2001-08-101-1/+1
|
* _DATE_FMT does not always accompany CODESET.Martin v. Löwis2001-08-101-0/+3
|
* Remove unused variableAndrew M. Kuchling2001-08-101-1/+0
|
* Fix typo caught by PyCheckerAndrew M. Kuchling2001-08-101-1/+1
|
* Add forgotten importAndrew M. Kuchling2001-08-101-0/+1
|
* Wrap a comment to fit in 80 columns.Fred Drake2001-08-101-6/+6
| | | | | Use construction-syntax for an exception to make the argument easier to read.
* Use .get_license()Andrew M. Kuchling2001-08-101-1/+1
|
* [Bug #412271, bug #449009] Use 'license' as the attribute name,Andrew M. Kuchling2001-08-101-11/+11
| | | | | | | though 'licence' is still supported for backward-compatibility (Should I add a warning to get_licence(), or not bother?) Also fixes an UnboundLocalError noticed by PyChecker
* Change PyType_Ready() to use the READY and READYING flags. This makesGuido van Rossum2001-08-101-13/+26
| | | | | it possible to detect recursive calls early (as opposed to when the stack overflows :-).
* Added a warning about reference cycles and memory consumption to theFred Drake2001-08-101-0/+10
| | | | | | section on functions which return stack frames. This closes SF bug #449258.
* Add new flags for PyType_Ready(): READY to explicitly indicate theGuido van Rossum2001-08-101-0/+6
| | | | | | type is ready, and READYING to indicate that it is busy with the type. A recursive call is a fatal error.
* Usage fix, problem reported by Keith Briggs.Fred Drake2001-08-101-1/+1
|
* Added documentation for the new rich comparison support.Fred Drake2001-08-101-73/+147
| | | | | | | | | This closes SF patch #428320. Added documentation for the new floordiv() and truediv() functions. This is part of SF bug #449093. Re-organized the listing of functions to get better logical grouping.
* Patch #441091 from Finn Bock: the more advanced flush options are notAndrew M. Kuchling2001-08-101-15/+20
| | | | | available in java, so only use the advanced flush options if they are defined in the zlib module.
* Disable the sub() optimization until Fredrik has time to look into SFGuido van Rossum2001-08-101-0/+1
| | | | | | bug #449000, "re.sub(r'\n', ...) broke". This was Fredrik's suggestion -- he's on vacation and said he wouldn't be able to work on this until next week.
* Check in a testcase for SF bug #449000: re.sub(r'\n', ...) broke.Guido van Rossum2001-08-102-0/+12
|
* Remove "referents" structure (it's not needed). Check return valueNeil Schemenauer2001-08-101-20/+17
| | | | of PyList_Append.
* Remove hard-coded NT constants that are already defined in errno on NT.Jeremy Hylton2001-08-101-11/+5
| | | | | Wrap some long lines. Remove unnecessary tuple unpack.
* Remove the bogus flags parameter from the PyFile_WriteString() signature;Fred Drake2001-08-101-2/+1
| | | | | | it has no such parameter. This closes SF bug #449761.
* Expose nl_langinfo through locale where available.Martin v. Löwis2001-08-106-321/+550
|
* Regenerated.Jack Jansen2001-08-102-232/+248
|
* Changed reference to config.h to pyconfig.h.Jack Jansen2001-08-101-0/+0
|
* Get OPT from the environment to build the CCSHARED command.Martin v. Löwis2001-08-101-2/+2
| | | | Fixes the problem reported in bug #438786.
* SF patch #438013 Remove 2-byte Py_UCS2 assumptionsTim Peters2001-08-092-82/+90
| | | | | | | | Removed all instances of Py_UCS2 from the codebase, and so also (I hope) the last remaining reliance on the platform having an integral type with exactly 16 bits. PyUnicode_DecodeUTF16() and PyUnicode_EncodeUTF16() now read and write one byte at a time.
* Whitespace normalization.Tim Peters2001-08-0912-55/+54
|
* Skip test_mhlib on Windows -- too many Unix assumptions.Tim Peters2001-08-091-2/+6
|
* Fix two bugs detected by PyChecker: there's no need for redundantGuido van Rossum2001-08-091-1/+1
| | | | "import MacOS", and there *is* a need for "import operator".
* Import UnknownFileErrorAndrew M. Kuchling2001-08-091-1/+1
|