daviis / PyDucker

A static ducking tool for python 3 source code
2 stars 2 forks source link

Calling function with keywords #79

Closed daviis closed 9 years ago

daviis commented 9 years ago

We will not be able to check to see if the key called by the keyword is an acceptable name because of things like this

a = "end"
print("hello, world!", **{a:""})

However if we do not allow for the keys to be stored as variables then we can grab the names of the keys.

We should discuss this at the next meeting

daviis commented 9 years ago

43

daviis commented 9 years ago

If this will happen it will currently error out.

Todo and an exception so it errors out more gracefully.