pydot / pydot-ng

Python interface to Graphviz's Dot language compatible with Python 2 nad Python 3
MIT License
23 stars 10 forks source link

[83] An attribute with "name" ID produces an error when loading dot data #19

Open prmtl opened 9 years ago

prmtl commented 9 years ago

Reported by cdur...@gmail.com, 2013-05-01T05:54:11Z

What steps will reproduce the problem?
  1. pydot.graph_from_dot_data("graph G { a [name=b] }")
    2.
    3.
    What is the expected output? What do you see instead?

output: TypeError: init() got multiple values for keyword argument 'name'

expected output: I think that this should not produce an error, since it is not excluded by the DOT language.

What version of the product are you using? On what operating system?

pydot 1.0.28; Gentoo/Linux 3.0.6; Python 2.7.3

Please provide any additional information below.

From: https://code.google.com/p/pydot/issues/detail?id=83