This issue tracker has been migrated to GitHub ,
and is currently read-only.
For more information,
see the GitHub FAQs in the Python's Developer Guide.
Created on 2007年11月24日 06:50 by christian.heimes, last changed 2022年04月11日 14:56 by admin. This issue is now closed.
| Files | ||||
|---|---|---|---|---|
| File name | Uploaded | Description | Edit | |
| py3k_remove_unbound.patch | christian.heimes, 2007年11月24日 06:50 | |||
| py3k_remove_unbound_4.patch | georg.brandl, 2007年11月24日 20:53 | |||
| Messages (10) | |||
|---|---|---|---|
| msg57798 - (view) | Author: Christian Heimes (christian.heimes) * (Python committer) | Date: 2007年11月24日 06:50 | |
Here is a first patch to remove unbound method objects. 6 tests failed: test_descr test_inspect test_pyclbr test_typechecks test_unittest test_weakref |
|||
| msg57810 - (view) | Author: Guido van Rossum (gvanrossum) * (Python committer) | Date: 2007年11月24日 17:50 | |
I'm waiting for those failing tests to magically start passing. :-) |
|||
| msg57813 - (view) | Author: Christian Heimes (christian.heimes) * (Python committer) | Date: 2007年11月24日 19:37 | |
Do you still believe in the tooth fairy, too? :p |
|||
| msg57814 - (view) | Author: Georg Brandl (georg.brandl) * (Python committer) | Date: 2007年11月24日 20:16 | |
Okay, this new patch takes care of test_pyclbr, test_inspect and test_weakref. test_unittest is a bit hard: previously, calling loadTestsFromName with the name of a method would create a test that runs that test case with that method being the test method. With the name of a staticmethod though it would call the staticmethod first and use the result of that call as the test case. Now, there is no visible distinction between static methods and normal methods anymore. |
|||
| msg57815 - (view) | Author: Georg Brandl (georg.brandl) * (Python committer) | Date: 2007年11月24日 20:29 | |
Got test_typechecks too - the test is simply not applicable anymore. |
|||
| msg57816 - (view) | Author: Georg Brandl (georg.brandl) * (Python committer) | Date: 2007年11月24日 20:53 | |
Okay, got test_descr too -- the problem was introduced by the patch itself :) |
|||
| msg57819 - (view) | Author: Christian Heimes (christian.heimes) * (Python committer) | Date: 2007年11月24日 21:14 | |
Georg Brandl wrote: > Okay, got test_descr too -- the problem was introduced by the patch > itself :) Yes, I introduced the problem because I thought that sometimes is wrong here. The question mark in <bound method ?.foo of <__main__.C object at ...>> doesn't look right. Christian |
|||
| msg57820 - (view) | Author: Georg Brandl (georg.brandl) * (Python committer) | Date: 2007年11月24日 22:01 | |
I think it is correct -- normally the __get__ call gets a second argument of C. |
|||
| msg57825 - (view) | Author: Christian Heimes (christian.heimes) * (Python committer) | Date: 2007年11月25日 09:40 | |
Fixed in r59183 unittest was pretty tricky. |
|||
| msg57839 - (view) | Author: Guido van Rossum (gvanrossum) * (Python committer) | Date: 2007年11月26日 04:24 | |
On Nov 24, 2007 11:37 AM, Christian Heimes <report@bugs.python.org> wrote: > Do you still believe in the tooth fairy, too? :p Yes, and in the Easter Bunny, Santa Claus, and Sinterklaas. But in this particular case I believe in Kaboutertjes. (Dutch gnomes.) And it turns out I was right. :-) |
|||
| History | |||
|---|---|---|---|
| Date | User | Action | Args |
| 2022年04月11日 14:56:28 | admin | set | github: 45834 |
| 2008年01月06日 22:29:44 | admin | set | keywords:
- py3k versions: Python 3.0 |
| 2007年11月26日 04:24:27 | gvanrossum | set | messages: + msg57839 |
| 2007年11月25日 09:40:05 | christian.heimes | set | status: open -> closed resolution: fixed messages: + msg57825 |
| 2007年11月24日 22:01:18 | georg.brandl | set | messages: + msg57820 |
| 2007年11月24日 21:14:40 | christian.heimes | set | messages: + msg57819 |
| 2007年11月24日 20:53:19 | georg.brandl | set | files: - py3k_remove_unbound_3.patch |
| 2007年11月24日 20:53:16 | georg.brandl | set | files: - py3k_remove_unbound_2.patch |
| 2007年11月24日 20:53:12 | georg.brandl | set | files:
+ py3k_remove_unbound_4.patch messages: + msg57816 |
| 2007年11月24日 20:29:00 | georg.brandl | set | files:
+ py3k_remove_unbound_3.patch messages: + msg57815 |
| 2007年11月24日 20:16:32 | georg.brandl | set | files:
+ py3k_remove_unbound_2.patch nosy: + georg.brandl messages: + msg57814 |
| 2007年11月24日 19:37:46 | christian.heimes | set | messages: + msg57813 |
| 2007年11月24日 17:50:23 | gvanrossum | set | messages: + msg57810 |
| 2007年11月24日 06:50:33 | christian.heimes | create | |