| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
| |
methods. The signature is PyMethod_New(func, instance).
Also removed im_class and renamed im_self to __self__ and im_func to __func__. im_class can be substituted with method.__self__.__class__.
I've also updated some parts of the documenation.
|
|
|
|
|
| |
of func_name, func_dict and func_doc as they already exist as __name__,
__dict__ and __doc__.
|
| |
|
|
|
|
|
|
|
|
|
|
| |
and test_support.run_classtests() into run_unittest()
and use it wherever possible.
Also don't use "from test.test_support import ...", but
"from test import test_support" in a few spots.
From SF patch #662807.
|
|
|
|
|
|
|
|
|
|
|
| |
imports e.g. test_support must do so using an absolute package name
such as "import test.test_support" or "from test import test_support".
This also updates the README in Lib/test, and gets rid of the
duplicate data dirctory in Lib/test/data (replaced by
Lib/email/test/data).
Now Tim and Jack can have at it. :)
|
|
|
|
|
| |
I left the email pkg alone; I'm not sure how Barry would like to handle
that.
|
|
|
|
| |
when no arguments are passed
|
| |
|
| |
|
|
|
|
| |
probably *should* be doing.
|
|
|
|
|
|
| |
use it. This simplifies the individual tests a little.
Added some new tests related to exception handling.
|
|
|
|
| |
and the information provided to the profiler. This stuff is a mess!
|
|
interpreter is reporting what we expect to see.
|