Config has broken __mro__

Bug #1240216 reported by Zygmunt Krynicki
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Checkbox
Fix Released
Low
Zygmunt Krynicki

Bug Description

    Provider1Definition = class description(plainbox.impl.config._del_section)
     | A Config-like class for parsing plainbox provider definition files
     |
     | Method resolution order:
     | description
     | plainbox.impl.config._del_section
     | builtins.object
     |
     | Data descriptors defined here:
     |
     | description
     | Description of the provider
     |
     | location
     | Base directory with provider data
     |
     | name
     | Name of the provider
     |
     | ----------------------------------------------------------------------
     | Data and other attributes defined here:
     |
     | Meta = <class 'plainbox.impl.config.Meta'>

Revision history for this message
Zygmunt Krynicki (zyga) wrote :

Here plainbox.impl.secure.config.Config is doing some magic in its meta-class that results in __mro__ to consist of [description, _del_section, object] which is totally crazy. Should have a look at what is going on there.

Changed in checkbox:
status: New → Triaged
tags: added: mentoring
Revision history for this message
Zygmunt Krynicki (zyga) wrote :

This might be an upstream python3.2 bug, see https://plus.google.com/116315264177593873442/posts/aMYRMCW9rgc

Revision history for this message
Zygmunt Krynicki (zyga) wrote :

This was actually fixed a long time ago, the code that computed the meta-class was overwriting the name and everything started to look broken.

Changed in checkbox:
status: Triaged → Fix Released
milestone: none → plainbox-0.5
assignee: nobody → Zygmunt Krynicki (zkrynicki)
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.