Message314714
| Author | Ricyteach |
|---|---|
| Recipients | Ricyteach, levkivskyi |
| Date | 2018-03-30.20:43:02 |
| SpamBayes Score | -1.0 |
| Marked as misclassified | Yes |
| Message-id | <1522442582.8.0.467229070634.issue33190@psf.upfronthosting.co.za> |
| In-reply-to |
| Content | |
|---|---|
I am pretty sure this is a bug. If not I apologize. Say I want to dynamically create a new `C` class, with base class `MyABC` (and dynamically assigned abstract method `m`). This works fine if I use `type`, but if I use `new_class`, the keyword argument to the `m` method implementation gets lost somewhere in the call to `ABCMeta.__prepare___`. I've attached a file to demo. Thanks. |
|
| History | |||
|---|---|---|---|
| Date | User | Action | Args |
| 2018-03-30 20:43:02 | Ricyteach | set | recipients: + Ricyteach, levkivskyi |
| 2018-03-30 20:43:02 | Ricyteach | set | messageid: <1522442582.8.0.467229070634.issue33190@psf.upfronthosting.co.za> |
| 2018-03-30 20:43:02 | Ricyteach | link | issue33190 messages |
| 2018-03-30 20:43:02 | Ricyteach | create | |