- 09 Agu, 2002 32 kayıt (commit)
-
-
Tim Peters yazdı
-
Guido van Rossum yazdı
for a __del__ attribute, to see if there's a finalizer.
-
Guido van Rossum yazdı
-
Guido van Rossum yazdı
-
Guido van Rossum yazdı
-
Guido van Rossum yazdı
Weinberg). This changes all uses of deprecated tempfile functions to the recommended ones.
-
Guido van Rossum yazdı
Fred, please review!
-
Guido van Rossum yazdı
rewrite, by Zack Weinberg). This replaces most code in tempfile.py (please review!!!) and adds extensive unit tests for it. This will cause some warnings in the test suite; I'll check those in soon, and also the docs.
-
Guido van Rossum yazdı
-
Guido van Rossum yazdı
-
Guido van Rossum yazdı
it does for 8-bit strings.
-
Neil Schemenauer yazdı
example of where this changes behavior is when a new-style instance defines '__mul__' and '__rmul__' and is multiplied by an int. Before the change the '__rmul__' method is never called, even if the int is the left operand.
-
Fred Drake yazdı
PyXML 0.8.
-
Jack Jansen yazdı
symlink and remove it.
-
Jack Jansen yazdı
- Pre-cache .rsrc files in Mac subtree after installing - Fixed nameclash in Make variables
-
Jack Jansen yazdı
the applesingle file. - Added optional verbose option for cachersrc tool.
-
Jack Jansen yazdı
similar to compileall.py.
-
Sjoerd Mullender yazdı
-
Sjoerd Mullender yazdı
flag is given (to mimic native Windows).
-
Jack Jansen yazdı
standard lib.
-
Jack Jansen yazdı
in the directories given.
-
Steve Purcell yazdı
versions, since 'repr(new_style_class) != repr(classic_class)'. Suggested by Jeremy Hylton.
-
Jack Jansen yazdı
-
Jack Jansen yazdı
-
Tim Peters yazdı
-
Neal Norwitz yazdı
-
Fred Drake yazdı
-
Guido van Rossum yazdı
trampolining going on with the tp_new descriptor, where the inherited PyType_GenericNew was overwritten with the much slower slot_tp_new which would end up calling tp_new_wrapper which would eventually call PyType_GenericNew. Add a special case for this to update_one_slot(). XXX Hope there isn't a loophole in this. I'll buy the first person to point out a bug in the reasoning a beer. Backport candidate (but I won't do it).
-
Raymond Hettinger yazdı
Closes SF Bug #592573 where inplace add mutated a UserString. Added unittests to verify the bug is cleared.
-
Raymond Hettinger yazdı
tupleobject.c. Makes the code in iterobject.c cleaner and speeds-up the general case by not checking for tuples everytime. SF Patch #592065.
-
Raymond Hettinger yazdı
rather than vereq(). While it was effectively testing regular strings, it ignored the test() function argument when called by test_userstring.py.
-
Jack Jansen yazdı
the framework, the MacOSX apps and the unix tools. Most of the hard work is done by Mac/OSX/Makefile. Also, it should now be possible to install in a different directory, such as /tmp/dist/Library/Frameworks, for building binary installers. The fink crowd wanted this.
-
- 08 Agu, 2002 8 kayıt (commit)
-
-
Guido van Rossum yazdı
intern the string "__new__" so we can call PyObject_GetAttr() rather than PyObject_GetAttrString(). (Though it's a mystery why slot_tp_new is being called when a class doesn't define __new__. I'll look into that tomorrow.) 2.2 backport candidate (but I won't do it).
-
Jack Jansen yazdı
Good thing, too: some of the characters had been mangled by OS9->CVS->OSX roundtrips.
-
Guido van Rossum yazdı
a lot of work: it had to save and restore the current exception around a call to lookup_maybe(), because that could fail in rare cases, and most objects don't have a __del__ method, so the whole exercise was usually a waste of time. Changed this to cache the __del__ method in the type object just like all other special methods, in a new slot tp_del. So now subtype_dealloc() can test whether tp_del is NULL and skip the whole exercise if it is. The new slot doesn't need a new flag bit: subtype_dealloc() is only called if the type was dynamically allocated by type_new(), so it's guaranteed to have all current slots. Types defined in C cannot fill in tp_del with a function of their own, so there's no corresponding "wrapper". (That functionality is already available through tp_dealloc.)
-
Guido van Rossum yazdı
MacIntyre. At least on OS/2, a subsequent connect() on a nonblocking socket returns errno==EISCONN to indicate success. This seems harmless on Unix.
-
Guido van Rossum yazdı
value; others were inconsistent in what to name the argument or return value; a few module-global functions had "socket." in front of their name, against convention.
-
Guido van Rossum yazdı
least on OS/2 (see note on SF patch 555085 by A I MacIntyre) but looks like the test *could* fail on any other platform too -- there's no guarantee that recv() reads all data.
-
Tim Peters yazdı
-
Tim Peters yazdı
-