| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
on python.org.
|
|
|
|
|
|
|
|
| |
directories clean where the packages are unpacked. Each package now
contains a single directory, Python-Docs-<version>/, which contains the
files for that version of the documentation.
Closes SF feature request #567576.
|
|
|
|
| |
function name and go to the corresponding entry.
|
| |
|
|
|
|
| |
Part of fixing SF bug #591704.
|
|
|
|
| |
Part of fixing SF bug #591704.
|
|
|
|
| |
Part of fixing SF bug #591704.
|
|
|
|
|
| |
on Win32, so tests that assume there are such distinctions can't
pass. Fiddled them to work.
|
| |
|
|
|
|
| |
for a __del__ attribute, to see if there's a finalizer.
|
| |
|
| |
|
| |
|
|
|
|
|
| |
Weinberg). This changes all uses of deprecated tempfile functions to
the recommended ones.
|
|
|
|
| |
Fred, please review!
|
|
|
|
|
|
|
|
| |
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.
|
| |
|
| |
|
|
|
|
| |
it does for 8-bit strings.
|
|
|
|
|
|
|
| |
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.
|
|
|
|
| |
PyXML 0.8.
|
|
|
|
| |
symlink and remove it.
|
|
|
|
|
| |
- Pre-cache .rsrc files in Mac subtree after installing
- Fixed nameclash in Make variables
|
|
|
|
|
| |
the applesingle file.
- Added optional verbose option for cachersrc tool.
|
|
|
|
| |
similar to compileall.py.
|
| |
|
|
|
|
| |
flag is given (to mimic native Windows).
|
|
|
|
| |
standard lib.
|
|
|
|
| |
in the directories given.
|
|
|
|
|
| |
versions, since 'repr(new_style_class) != repr(classic_class)'.
Suggested by Jeremy Hylton.
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
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).
|
|
|
|
|
| |
Closes SF Bug #592573 where inplace add mutated a UserString.
Added unittests to verify the bug is cleared.
|
|
|
|
|
|
| |
tupleobject.c. Makes the code in iterobject.c cleaner
and speeds-up the general case by not checking for
tuples everytime. SF Patch #592065.
|
|
|
|
|
| |
rather than vereq(). While it was effectively testing regular strings, it
ignored the test() function argument when called by test_userstring.py.
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
|
|
| |
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).
|
|
|
|
|
| |
Good thing, too: some of the characters had been mangled by OS9->CVS->OSX
roundtrips.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.)
|
|
|
|
|
|
| |
MacIntyre. At least on OS/2, a subsequent connect() on a nonblocking
socket returns errno==EISCONN to indicate success. This seems
harmless on Unix.
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
| |
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.
|
| |
|
| |
|
|
|
|
|
|
| |
YA Cygwin module patch very similar to other patches
that I have submitted. I tested under Cygwin and Red
Hat Linux 7.1.
|
|
|
|
|
|
|
| |
to delete the reference to self._sock, and the regular destructor will
do that just fine. This made some hacks in close() unnecessary.
The _fileobject class still has a __del__ method, because it must flush.
|