Lavanya Mishra (Serenify) (@devnostalgician) 's Twitter Profile
Lavanya Mishra (Serenify)

@devnostalgician

I build cool stuff in public and share tech stuff!

buymeacoffee.com/lavanyamisa

ID: 1826520590091726848

linkhttps://chromewebstore.google.com/detail/searchpulse/knoicglgddhhjaaalijibkfobdfanapc calendar_today22-08-2024 07:23:49

661 Tweet

189 Followers

965 Following

Lavanya Mishra (Serenify) (@devnostalgician) 's Twitter Profile Photo

This seems like a bad design choice by Python. Why is the dangerous form of eval the default eval? Instead of eval and literal_eval, why isn't it dangerous_eval and eval respectively? I would be more careful in using dangerous_eval because the name suggests it so.

This seems like a bad design choice by Python. Why is the dangerous form of eval the default eval? 

Instead of eval and literal_eval, why isn't it dangerous_eval and eval respectively? 

I would be more careful in using dangerous_eval because the name suggests it so.