[Python-checkins] python/dist/src/Misc NEWS,1.559,1.560
niemeyer@users.sourceforge.net
niemeyer@users.sourceforge.net
Mon, 16 Dec 2002 05:12:00 -0800
Update of /cvsroot/python/python/dist/src/Misc
In directory sc8-pr-cvs1:/tmp/cvs-serv3036/Misc
Modified Files:
NEWS
Log Message:
Applying patch
[#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.
Index: NEWS
===================================================================
RCS file: /cvsroot/python/python/dist/src/Misc/NEWS,v
retrieving revision 1.559
retrieving revision 1.560
diff -C2 -d -r1.559 -r1.560
*** NEWS 14 Dec 2002 19:51:31 -0000 1.559
--- NEWS 16 Dec 2002 13:11:57 -0000 1.560
***************
*** 668,671 ****
--- 668,674 ----
skipstone browser was included.
+ - Fixed bug #636769: rexec would run unallowed code if subclasses of
+ strings were used as parameters for certain functions.
+
Tools/Demos
-----------