Re: [Boost-bugs] [Boost C++ Libraries] #2744: boost::python does not support enums with duplicated values.

Subject: Re: [Boost-bugs] [Boost C++ Libraries] #2744: boost::python does not support enums with duplicated values.
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2009-02-11 12:06:38


#2744: boost::python does not support enums with duplicated values.
--------------------------------------+-------------------------------------
  Reporter: hugo.lima_at_[hidden] | Owner: dave
      Type: Patches | Status: assigned
 Milestone: Boost 1.39.0 | Component: Python
   Version: Boost Development Trunk | Severity: Problem
Resolution: | Keywords: boost python enum
--------------------------------------+-------------------------------------

Comment(by hugo.lima_at_[hidden]):

 I can leave the values attribute intact and create another temporary
 attribute, just to help the enum declaration, like the current values
 attribute is used, and remove then after the declaration of all enums.
 what you think?

 Results:
 - Do not change the current API, so do not break user code, values map to
 a single enum_type ever, not a tuple.
 - We have the bug fixed.
 - The same memory footprint.

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/2744#comment:6>
Boost C++ Libraries <http://www.boost.org/>
Boost provides free peer-reviewed portable C++ source libraries.

This archive was generated by hypermail 2.1.7 : 2017-02-16 18:49:59 UTC