Re: [myhdl-list] attribute enum_encoding: string;
Brought to you by:
jandecaluwe
From: Jan D. <ja...@ja...> - 2013-09-10 10:30:59
|
There are other similar case in the mean time due to Python additions, such as 'bin'. I propose to review all this when going to Python3, seems a good time make larger changes iff required. On 09/05/2013 01:20 PM, Angel Ezquerra wrote: > My point was that perhaps calling MyHDL enums "enum" which is a > builtin type in Python 3.4 (I believe!) may cause trouble long term, > since it may require having to modify existing MyHDL files. > > Cheers, > > Angel > > On Thu, Sep 5, 2013 at 1:06 PM, Christopher Felton > <chr...@gm...> wrote: >> On 9/4/13 11:49 PM, Angel Ezquerra wrote: >>> Chris, >>> >>> I have not followed this in much detail so please excuse me if this is >>> obvious: Is this "enum" a MyHDL class? I ask because Python 3 will get >>> a builtin enum class. I think we should make sure that we make it >>> possible to use it if MyHDL is ever ported to Python 3. >>> >>> Cheers, >>> >>> Angel >>> >>> >> >> Yes, the "enum" is from the MyHDL package. Something might >> need to be done to be compatible with the latest version of >> Python 3 when we get there :) >> >> Regards, >> Chris >> >> >> >> ------------------------------------------------------------------------------ >> Learn the latest--Visual Studio 2012, SharePoint 2013, SQL 2012, more! >> Discover the easy way to master current and previous Microsoft technologies >> and advance your career. Get an incredible 1,500+ hours of step-by-step >> tutorial videos with LearnDevNow. Subscribe today and save! >> http://pubads.g.doubleclick.net/gampad/clk?id=58041391&iu=/4140/ostg.clktrk >> _______________________________________________ >> myhdl-list mailing list >> myh...@li... >> https://lists.sourceforge.net/lists/listinfo/myhdl-list > > ------------------------------------------------------------------------------ > Learn the latest--Visual Studio 2012, SharePoint 2013, SQL 2012, more! > Discover the easy way to master current and previous Microsoft technologies > and advance your career. Get an incredible 1,500+ hours of step-by-step > tutorial videos with LearnDevNow. Subscribe today and save! > http://pubads.g.doubleclick.net/gampad/clk?id=58041391&iu=/4140/ostg.clktrk > -- Jan Decaluwe - Resources bvba - http://www.jandecaluwe.com Python as a HDL: http://www.myhdl.org VHDL development, the modern way: http://www.sigasi.com World-class digital design: http://www.easics.com |