Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Add section on PEP 238 changes | Andrew M. Kuchling | 2001-08-11 | 1 | -10/+84 |
| | | | | Minor grammatical changes, reformattings, and an error fix from Keith Briggs | ||||
* | st_nested_scopes was uninitialized trash. Jeremy should fix in a better | Tim Peters | 2001-08-11 | 1 | -0/+6 |
| | | | | way; see code comments. | ||||
* | Add a note that the quoteattr() function is useful for HTML and SGML | Fred Drake | 2001-08-10 | 1 | -0/+2 |
| | | | | attributes as well. | ||||
* | Refactor future feature handling | Jeremy Hylton | 2001-08-10 | 4 | -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 handling | Jeremy Hylton | 2001-08-10 | 2 | -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 Drake | 2001-08-10 | 1 | -1/+19 |
| | |||||
* | Add test for SF bug #442833 (multiple inheritance). | Guido van Rossum | 2001-08-10 | 1 | -0/+14 |
| | |||||
* | The message accompanying the TypeError exception on a readonly | Guido van Rossum | 2001-08-10 | 1 | -1/+1 |
| | | | | attribute changed again. | ||||
* | - Big changes to fix SF bug #442833 (a nasty multiple inheritance | Guido van Rossum | 2001-08-10 | 1 | -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öwis | 2001-08-10 | 2 | -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öwis | 2001-08-10 | 2 | -7/+7 |
| | | | | Depend AF_PACKET on HAVE_NETPACKET_PACKET_H. Fixes #449157 | ||||
* | Add PyDict_Merge(a, b, override): | Guido van Rossum | 2001-08-10 | 2 | -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 contains | Andrew M. Kuchling | 2001-08-10 | 1 | -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öwis | 2001-08-10 | 1 | -1/+1 |
| | | | | This fixes the problem reported in bug report #438786. | ||||
* | Do more to be compatible with Windows/CygWin. Make error messages more | Fred Drake | 2001-08-10 | 1 | -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-Unix | Fred Drake | 2001-08-10 | 1 | -1/+5 |
| | | | | | | platforms. This is part the response to SF patch #429611. | ||||
* | Added this LaTeX style file to the package since not all LaTeX installations | Fred Drake | 2001-08-10 | 1 | -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 Rossum | 2001-08-10 | 1 | -1/+1 |
| | |||||
* | _DATE_FMT does not always accompany CODESET. | Martin v. Löwis | 2001-08-10 | 1 | -0/+3 |
| | |||||
* | Remove unused variable | Andrew M. Kuchling | 2001-08-10 | 1 | -1/+0 |
| | |||||
* | Fix typo caught by PyChecker | Andrew M. Kuchling | 2001-08-10 | 1 | -1/+1 |
| | |||||
* | Add forgotten import | Andrew M. Kuchling | 2001-08-10 | 1 | -0/+1 |
| | |||||
* | Wrap a comment to fit in 80 columns. | Fred Drake | 2001-08-10 | 1 | -6/+6 |
| | | | | | Use construction-syntax for an exception to make the argument easier to read. | ||||
* | Use .get_license() | Andrew M. Kuchling | 2001-08-10 | 1 | -1/+1 |
| | |||||
* | [Bug #412271, bug #449009] Use 'license' as the attribute name, | Andrew M. Kuchling | 2001-08-10 | 1 | -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 makes | Guido van Rossum | 2001-08-10 | 1 | -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 the | Fred Drake | 2001-08-10 | 1 | -0/+10 |
| | | | | | | section on functions which return stack frames. This closes SF bug #449258. | ||||
* | Add new flags for PyType_Ready(): READY to explicitly indicate the | Guido van Rossum | 2001-08-10 | 1 | -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 Drake | 2001-08-10 | 1 | -1/+1 |
| | |||||
* | Added documentation for the new rich comparison support. | Fred Drake | 2001-08-10 | 1 | -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 not | Andrew M. Kuchling | 2001-08-10 | 1 | -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 SF | Guido van Rossum | 2001-08-10 | 1 | -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 Rossum | 2001-08-10 | 2 | -0/+12 |
| | |||||
* | Remove "referents" structure (it's not needed). Check return value | Neil Schemenauer | 2001-08-10 | 1 | -20/+17 |
| | | | | of PyList_Append. | ||||
* | Remove hard-coded NT constants that are already defined in errno on NT. | Jeremy Hylton | 2001-08-10 | 1 | -11/+5 |
| | | | | | Wrap some long lines. Remove unnecessary tuple unpack. | ||||
* | Remove the bogus flags parameter from the PyFile_WriteString() signature; | Fred Drake | 2001-08-10 | 1 | -2/+1 |
| | | | | | | it has no such parameter. This closes SF bug #449761. | ||||
* | Expose nl_langinfo through locale where available. | Martin v. Löwis | 2001-08-10 | 6 | -321/+550 |
| | |||||
* | Regenerated. | Jack Jansen | 2001-08-10 | 2 | -232/+248 |
| | |||||
* | Changed reference to config.h to pyconfig.h. | Jack Jansen | 2001-08-10 | 1 | -0/+0 |
| | |||||
* | Get OPT from the environment to build the CCSHARED command. | Martin v. Löwis | 2001-08-10 | 1 | -2/+2 |
| | | | | Fixes the problem reported in bug #438786. | ||||
* | SF patch #438013 Remove 2-byte Py_UCS2 assumptions | Tim Peters | 2001-08-09 | 2 | -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 Peters | 2001-08-09 | 12 | -55/+54 |
| | |||||
* | Skip test_mhlib on Windows -- too many Unix assumptions. | Tim Peters | 2001-08-09 | 1 | -2/+6 |
| | |||||
* | Fix two bugs detected by PyChecker: there's no need for redundant | Guido van Rossum | 2001-08-09 | 1 | -1/+1 |
| | | | | "import MacOS", and there *is* a need for "import operator". | ||||
* | Import UnknownFileError | Andrew M. Kuchling | 2001-08-09 | 1 | -1/+1 |
| | |||||
* | Import the errno module | Andrew M. Kuchling | 2001-08-09 | 1 | -1/+2 |
| | |||||
* | Use correct variable name | Andrew M. Kuchling | 2001-08-09 | 1 | -1/+1 |
| | |||||
* | Add resolution of __new__ story sequel. | Guido van Rossum | 2001-08-09 | 1 | -0/+4 |
| | |||||
* | Added tests for operator.floordiv() and operator.truediv(). | Fred Drake | 2001-08-09 | 2 | -0/+4 |
| | |||||
* | Add wrappers around the rich-comparison operations. | Fred Drake | 2001-08-09 | 1 | -1/+22 |
| | | | | | | | This closes SF patch #428320. Add wrappers to expose "floor" and "true" division. This closes SF feature request #449093. |