- 12 Agu, 2001 5 kayıt (commit)
-
-
Jeremy Hylton yazdı
Revised version of Fred's patch, including support for ~ operator. If the unary +, -, or ~ operator is applied to a constant, don't generate a UNARY_xxx opcode. Just store the approriate value as a constant. If the value is negative, extend the string containing the constant and insert a negative in the 0th position. For ~, compute the inverse of int and longs and use them directly, but be prepared to generate code for all other possibilities (invalid numbers, floats, complex).
-
Tim Peters yazdı
about your platform too.
-
Steven M. Gava yazdı
-
Tim Peters yazdı
and even if we have a long time left to wait, try the lock at least 20 times/second.
-
Jack Jansen yazdı
-
- 11 Agu, 2001 22 kayıt (commit)
-
-
Jack Jansen yazdı
The test assumed that the local pathname convention for "foo" would sort before "foo/bar", which is not true on the mac (where they are "foo" and ":foo:bar", respectively; ":foo" would be fine too, but "foo" is the preferred spelling). Fixed by sorting the output.
-
Jack Jansen yazdı
test_glob found a nasty bug in GUSI opendir(): it will not fail when called on files, but in stead open the parent directory! We now explicitly test for the argument being a directory and simulate ENOTDIR otherwise.
-
Jack Jansen yazdı
Before asking the finder to start the application (if start=1 is specified), check that it isn't incidentally running already.
-
Jack Jansen yazdı
Got rid of the activate() so codewarrior doesn't come to front. It isn't needed, and without it you can get work done while building the projects:-)
-
Jack Jansen yazdı
same module twice, which apparently crashes Python. I could not test the error condition, but in normal life it seems to have no adverse effects. Also removed an unsued variable, and corrected 2 glaring errors (missing 'case' in front of a label).
-
Jeremy Hylton yazdı
because nested scopes are always enabled. (Accidentally checked in one small change along this path yesterday, wreaking havoc in the Windows build.)
-
Jeremy Hylton yazdı
-
Jack Jansen yazdı
-
Steven M. Gava yazdı
-
Martin v. Löwis yazdı
-
Just van Rossum yazdı
-
Steven M. Gava yazdı
-
Steven M. Gava yazdı
-
Steven M. Gava yazdı
-
Steven M. Gava yazdı
-
Guido van Rossum yazdı
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.
-
Tim Peters yazdı
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.
-
Fred Drake yazdı
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.
-
Fred Drake yazdı
Converted tests to PyUnit.
-
Tim Peters yazdı
have it yet).
-
Andrew M. Kuchling yazdı
Minor grammatical changes, reformattings, and an error fix from Keith Briggs
-
Tim Peters yazdı
way; see code comments.
-
- 10 Agu, 2001 13 kayıt (commit)
-
-
Fred Drake yazdı
attributes as well.
-
Jeremy Hylton yazdı
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.
-
Jeremy Hylton yazdı
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.
-
Fred Drake yazdı
-
Guido van Rossum yazdı
-
Guido van Rossum yazdı
attribute changed again.
-
Guido van Rossum yazdı
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).
-
Martin v. Löwis yazdı
Depend AF_PACKET on HAVE_NETPACKET_PACKET_H.
-
Martin v. Löwis yazdı
Depend AF_PACKET on HAVE_NETPACKET_PACKET_H. Fixes #449157
-
Guido van Rossum yazdı
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.
-
Andrew M. Kuchling yazdı
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
-
Martin v. Löwis yazdı
This fixes the problem reported in bug report #438786.
-
Fred Drake yazdı
informative when a child process dies with an error. This is a variation of parts of SF patch #429611.
-