Tryton - Issues

 

Message17950

Author duesenfranz
Recipients ajacoutot, bch, ced, daniel, nicoe, sharkcz, yangoon
Date 2014-09-07.00:39:20
Content
To clarify: I just wanted to disallow eval'ing any string that contains a double underscore - as we already do with the string "__subclasses__".
Since I don't really know the use cases, I also don't know wether this could be a problem. If there are cases where this doesn't work, maybe we could introduce a new optional argument "allow_double_underscores=True" that gets set to False in most uses.
Files
File name Uploaded
disallow_underscore.patch duesenfranz, 2014-09-07.00:39:20
History
Date User Action Args
2014-09-07 00:39:24duesenfranzsetmessageid: <1410043164.24.0.921377340631.issue4155@tryton.org>
2014-09-07 00:39:24duesenfranzsetrecipients: + ced, bch, yangoon, nicoe, sharkcz, daniel, ajacoutot
2014-09-07 00:39:23duesenfranzlinkissue4155 messages
2014-09-07 00:39:22duesenfranzcreate

Showing 10 items. Show all history (warning: this could be VERY long)