[Checkins] [zopefoundation/RestrictedPython] 092328: Add built-in function 'set'

GitHub noreply at github.com
Wed Mar 1 03:39:58 CET 2017


  Branch: refs/heads/master
  Home:   https://github.com/zopefoundation/RestrictedPython
  Commit: 092328a7ac781145212efc32d6e759245e9b9814
      https://github.com/zopefoundation/RestrictedPython/commit/092328a7ac781145212efc32d6e759245e9b9814
  Author: Eric Feng <ehfeng at users.noreply.github.com>
  Date:   2016-12-12 (Mon, 12 Dec 2016)

  Changed paths:
    M src/RestrictedPython/Guards.py

  Log Message:
  -----------
  Add built-in function 'set'

Adding built-in function 'set' to `safe_builtins`. Sets can be created with the {x, y} notation, but there's no way to create an empty set.


  Commit: 9842dc81c8bfc95fdb5aef94ce17e3a1a5c0d547
      https://github.com/zopefoundation/RestrictedPython/commit/9842dc81c8bfc95fdb5aef94ce17e3a1a5c0d547
  Author: Eric Feng <erichfeng at gmail.com>
  Date:   2017-02-28 (Tue, 28 Feb 2017)

  Changed paths:
    M src/RestrictedPython/tests/restricted_module.py
    M src/RestrictedPython/tests/testRestrictions.py

  Log Message:
  -----------
  adding tests for set


  Commit: 02882e1976fca61621c4c6a2c4b35336b360b0e6
      https://github.com/zopefoundation/RestrictedPython/commit/02882e1976fca61621c4c6a2c4b35336b360b0e6
  Author: Tres Seaver <tseaver at palladion.com>
  Date:   2017-02-28 (Tue, 28 Feb 2017)

  Changed paths:
    M src/RestrictedPython/Guards.py
    M src/RestrictedPython/tests/restricted_module.py
    M src/RestrictedPython/tests/testRestrictions.py

  Log Message:
  -----------
  Merge pull request #11 from ehfeng/master

Add built-in function 'set'


Compare: https://github.com/zopefoundation/RestrictedPython/compare/2d15393ab195...02882e1976fc


More information about the checkins mailing list