Is it possible to overload the meaning of different keywords in Python? I'd like to implement my own version of if and for etc.
            Asked
            
        
        
            Active
            
        
            Viewed 422 times
        
    0
            
            
        - 
                    15No. God no. Please, no. – deceze Nov 23 '19 at 20:15
- 
                    1You can implement custom behavior of objects in response to most operators though, including *truthiness* and iteration behavior. So why modify keywords? – deceze Nov 23 '19 at 20:16
- 
                    4Sounds like you'd like to write your own language. – khelwood Nov 23 '19 at 20:17
- 
                    See https://stackoverflow.com/questions/214881/can-you-add-new-statements-to-pythons-syntax – jonrsharpe Nov 23 '19 at 20:19
- 
                    2While everyone else is busy saying no, I'll take the opportunity to ask: What are you trying to achieve? – Tordek Nov 23 '19 at 20:24
- 
                    1Sounds like you're making [bobx](https://thedailywtf.com/articles/We-Use-BobX) – Sayse Nov 23 '19 at 20:28
 
    