1. 02 Haz, 2004 1 kayıt (commit)
  2. 12 Şub, 2004 1 kayıt (commit)
  3. 27 Şub, 2003 1 kayıt (commit)
  4. 06 Ock, 2003 1 kayıt (commit)
  5. 16 Ara, 2002 1 kayıt (commit)
    • Gustavo Niemeyer's avatar
      Applying patch · d5ae01a8
      Gustavo Niemeyer yazdı
      [#636769] Fix for major rexec bugs
      
      * Lib/rexec.py
        (FileBase): Added 'xreadlines' and '__iter__' to allowed file methods.
        (FileWrapper.__init__): Removed unnecessary self.f variable, which gave
        direct access to the file object.
        (RExec): Added 'xreadlines' and '_weakref' to allowed modules.
        (RExec.r_open): Convert string subclasses to a real string classes
        before doing comparisons with mode parameter.
      
      * Lib/ihooks.py
        (BasicModuleImporter.import_module/reload/unload): Convert the module
        name to a real string before working with it.
        (ModuleImporter.import_module/import_it/reload): Convert the module
        name to a real strings before working with it.
      
      * Misc/NEWS
        Document the change.
      d5ae01a8
  6. 11 Eki, 2002 4 kayıt (commit)
  7. 15 Eyl, 2002 1 kayıt (commit)
    • Guido van Rossum's avatar
      Address SF bug #577530: del __builtins__ breaks out of rexec · 7f7c3d0a
      Guido van Rossum yazdı
      Using the suggestion there: add_module() forces __builtin__ back; this
      fixes r_exec, r_eval, r_execfile.  The interactive console had to be
      fixed separately, because it doesn't use r_exec, but relies on the
      'locals' dict having the right __builtins__.  Fixed this by
      subclassing InteractiveConsole and overriding runcode(), which does
      the exec.  This changes the banner output slightly: instead of
      starting with *** RESTRICTED ***, a subtler (RestrictedConsole) is
      printed before the first >>> prompt.
      
      Also import readline (if it exists) when the interactive console is
      used, for more convenient input editing and history.
      
      This does not mean that rexec is now considered safe!  But for those
      willing to take the risk, it's safer than before.  (Note that a safety
      analysis of the code module would be wise if you plan to use the
      interactive console for real -- I've only ever used it to play with
      restricted mode.)
      
      This should be backported to 2.2 and 2.1.
      7f7c3d0a
  8. 14 Haz, 2002 2 kayıt (commit)
  9. 01 Haz, 2002 1 kayıt (commit)
  10. 31 May, 2002 1 kayıt (commit)
    • Guido van Rossum's avatar
      SF bug 533625 (Armin Rigo). rexec: potential security hole · 59b2a74c
      Guido van Rossum yazdı
      If a rexec instance allows writing in the current directory (a common
      thing to do), there's a way to execute bogus bytecode.  Fix this by
      not allowing imports from .pyc files (in a way that allows a site to
      configure things so that .pyc files *are* allowed, if writing is not
      allowed).
      
      I'll apply this to 2.2 and 2.1 too.
      59b2a74c
  11. 30 May, 2002 1 kayıt (commit)
  12. 29 May, 2002 1 kayıt (commit)
  13. 13 Eki, 2001 1 kayıt (commit)
  14. 13 Eyl, 2001 1 kayıt (commit)
  15. 13 Agu, 2001 1 kayıt (commit)
  16. 07 Agu, 2001 1 kayıt (commit)
  17. 22 Haz, 2001 1 kayıt (commit)
  18. 18 Haz, 2001 1 kayıt (commit)
  19. 15 Şub, 2001 1 kayıt (commit)
    • Skip Montanaro's avatar
      bunch more __all__ lists · 0de65807
      Skip Montanaro yazdı
      also modified check_all function to suppress all warnings since they aren't
      relevant to what this test is doing (allows quiet checking of regsub, for
      instance)
      0de65807
  20. 15 Ock, 2001 1 kayıt (commit)
  21. 05 Eki, 2000 1 kayıt (commit)
  22. 21 Eyl, 1998 1 kayıt (commit)
  23. 09 Tem, 1998 1 kayıt (commit)
  24. 29 Haz, 1998 1 kayıt (commit)
  25. 09 Haz, 1998 1 kayıt (commit)
  26. 26 Mar, 1998 1 kayıt (commit)
  27. 22 Eki, 1997 1 kayıt (commit)
  28. 25 Nis, 1997 1 kayıt (commit)
  29. 21 Mar, 1997 1 kayıt (commit)
  30. 12 Ara, 1996 1 kayıt (commit)
  31. 02 Eki, 1996 1 kayıt (commit)
  32. 30 Eyl, 1996 1 kayıt (commit)
  33. 25 Eyl, 1996 1 kayıt (commit)
  34. 20 Agu, 1996 1 kayıt (commit)
  35. 28 Haz, 1996 1 kayıt (commit)
  36. 28 May, 1996 1 kayıt (commit)