Greg Ewing, 19.05.2011 00:02:
Georg Brandl wrote:

We do have

bytes.fromhex('deadbeef')

But again, there is a run-time overhead to this.

Well, yes, but it's negligible if you assign it to a suitable variable first.

Stefan

_______________________________________________
Python-Dev mailing list
Python-Dev@python.org
http://mail.python.org/mailman/listinfo/python-dev
Unsubscribe: 
http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com

Reply via email to