syrusakbary / promise

Ultra-performant Promise implementation in Python
MIT License
362 stars 76 forks source link

hangs if dict values of promise_for_dict are not promises #5

Closed Globegitter closed 7 years ago

Globegitter commented 8 years ago

Not such a major deal but might be nice if it would thrown an error if the values of the passed in dict are not a Promise (I accidentally passed in the futures).

syrusakbary commented 7 years ago

This is now fixed. promise_for_dict (and Promise.all) now accepts non-promise arguments. Closing the issue