python Programming Glossary: munge
Use of eval in Python? http://stackoverflow.com/questions/1087255/use-of-eval-in-python and dirty way to get some source code dynamically maybe munge it a bit and then execute it but they're hardly ever the best.. ast.parse source first then keep the node around perhaps munge it with suitable visitors e.g. for variable lookup then literal_eval..
How can I modify a Python traceback object when raising an exception? http://stackoverflow.com/questions/1603940/how-can-i-modify-a-python-traceback-object-when-raising-an-exception you just allow the original exception to be raised but you munge it to remove all the upper frames the actual exception won't.. last few entries. That said it should be quite possible to munge the tracebacks if you really need to... but where would you..
Setting a property inside a Python method http://stackoverflow.com/questions/5078726/setting-a-property-inside-a-python-method setting the __readonly attribute since I'd need to do un munge the private attribute to check for its presence hasattr self..
What are the best Python Finite State Machine implementations http://stackoverflow.com/questions/5492980/what-are-the-best-python-finite-state-machine-implementations for an FSM implementation that provides the ability to munge data before inputting to the next state. python fsm share..
python subprocess Popen environment PATH? http://stackoverflow.com/questions/5658622/python-subprocess-popen-environment-path paths you will have to search the PATH manually or munge the PATH to include the subdirectories and then just use the..
|