# Conflict: print()

**URL:** <https://discourse.myhdl.org/t/conflict-print/99>\
**Category:** Enhancement Request\
**Created:** [June 23, 2016, 9:20am UTC](https://discourse.myhdl.org/t/conflict-print/99 "2016-06-23T09:20:25Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![josyb](https://yyz2.discourse-cdn.com/flex030/user_avatar/discourse.myhdl.org/josyb/32/5_2.png) [@josyb](https://discourse.myhdl.org/u/josyb)\
**Post date:** [June 23, 2016, 9:20am UTC](https://discourse.myhdl.org/t/conflict-print/99/1 "2016-06-23T09:20:25Z")

</div>

Yesterday I was debugging a test-bench. I do that with print-statements (old-school?). But complying with peer-pressure I use the Python 3 print(), _with the parenthesis_. Unfortunately MyHDL treats this as an _HDL_ statement and complains when I want to use the `end=''` parameter to print on the same line.  
Can I suggest, as we are breaking legacy code anyway, to rename the MyHDL `print` into e.g. `emit`?

---

<div class="post-metadata">

**Author:** ![cfelton](https://yyz2.discourse-cdn.com/flex030/user_avatar/discourse.myhdl.org/cfelton/32/3_2.png) [@cfelton](https://discourse.myhdl.org/u/cfelton)\
**Post date:** [June 23, 2016, 2:32pm UTC](https://discourse.myhdl.org/t/conflict-print/99/2 "2016-06-23T14:32:06Z")

</div>

@josyb you might want to set the category of this post to Support (or something). It might be easier to find in the future.

---

<div class="post-metadata">

**Author:** ![josyb](https://yyz2.discourse-cdn.com/flex030/user_avatar/discourse.myhdl.org/josyb/32/5_2.png) [@josyb](https://discourse.myhdl.org/u/josyb)\
**Post date:** [June 23, 2016, 2:39pm UTC](https://discourse.myhdl.org/t/conflict-print/99/3 "2016-06-23T14:39:40Z")

</div>

I wasn’t in need of support, and the other categories don’t match either?

---

<div class="post-metadata">

**Author:** ![cfelton](https://yyz2.discourse-cdn.com/flex030/user_avatar/discourse.myhdl.org/cfelton/32/3_2.png) [@cfelton](https://discourse.myhdl.org/u/cfelton)\
**Post date:** [June 23, 2016, 2:48pm UTC](https://discourse.myhdl.org/t/conflict-print/99/4 "2016-06-23T14:48:28Z")

</div>

Fair enough, I guess we need a category for Enhancement request / bug reports?

I think we came to the conclusion, that discourse would be used for enhancement discussions and github issues would be used for bug reporting. Which does this fall?

---

<div class="post-metadata">

**Author:** ![josyb](https://yyz2.discourse-cdn.com/flex030/user_avatar/discourse.myhdl.org/josyb/32/5_2.png) [@josyb](https://discourse.myhdl.org/u/josyb)\
**Post date:** [June 23, 2016, 2:52pm UTC](https://discourse.myhdl.org/t/conflict-print/99/5 "2016-06-23T14:52:48Z")

</div>

So the dilemma is: Is it an enhancement, or a bug? Or both?  
Given that it is a conflict (Python 3 syntax induced), I better post it under Issues at github then?

---

<div class="post-metadata">

**Author:** ![cfelton](https://yyz2.discourse-cdn.com/flex030/user_avatar/discourse.myhdl.org/cfelton/32/3_2.png) [@cfelton](https://discourse.myhdl.org/u/cfelton)\
**Post date:** [June 23, 2016, 2:58pm UTC](https://discourse.myhdl.org/t/conflict-print/99/6 "2016-06-23T14:58:10Z")

</div>

Probably, since we enabled python3 in 0.9. But our issues are pretty unwieldy right now, it will probably get lost 🙂 Request that it be tagged as a bug.
