New submission from Klaus Wolf: Two function results differ if the parameter is given explictly instead of using the given default.
(Enclosed example: A small simple interpreter of Forth language, both scripts should give the same result, but the first one (variant1) fails because the value from the first pass remains on the stack.) ---------- components: Interpreter Core files: misc_math.7z messages: 292100 nosy: approximately priority: normal severity: normal status: open title: default value of argument seems to be overwritten type: behavior versions: Python 3.5 Added file: http://bugs.python.org/file46825/misc_math.7z _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue30135> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com