[issue37418] Code execution without calling it

2019-06-26 Thread Emilio López Arias
Emilio López Arias added the comment: why the code is executed? I could do a library or a package and include evil code instead of a print... El mié., 26 jun. 2019 a las 21:05, SilentGhost () escribió: > > SilentGhost added the comment: > > It seems you're misunderstan

[issue37418] Code execution without calling it

2019-06-26 Thread Emilio López Arias
New submission from Emilio López Arias : Create a new python file: example.py def my_decorator(f): print("before") f() print("after") @my_decorator def my_function():

[issue5878] Regular Expression instances

2009-04-29 Thread Emilio
New submission from Emilio : Following the example from http://docs.python.org/3.0/howto/regex.html If I execute the following code on the python shell (3.1a1): >>> import re >>> p = re.compile('ab*') >>> p I get the msg: <_sre.SRE_Pattern object at