python Programming Glossary: unsafe
Executing mathematical user code on a python web server, what is the simplest secure way? http://stackoverflow.com/questions/10647234/executing-mathematical-user-code-on-a-python-web-server-what-is-the-simplest-se safe constructs and specifically whitelisting required unsafe constructs could be modified to produce many useful subsets..
How can I normalize a URL in python http://stackoverflow.com/questions/120951/how-can-i-normalize-a-url-in-python by a user that just isn't a real URL because it contains unsafe characters like ' ' and so on. This function can fix some of..
Using python's eval() vs. ast.literal_eval()? http://stackoverflow.com/questions/15197673/using-pythons-eval-vs-ast-literal-eval you actually evaluate the code before you deem it to be unsafe or not. It evaluates the code as soon as the function is called...
How safe is expression evaluation using eval? http://stackoverflow.com/questions/1994071/how-safe-is-expression-evaluation-using-eval eval share improve this question It's completely unsafe to use eval even with built ins emptied and blocked the attacker..
How to conduct buffer overflow in PHP/Python? http://stackoverflow.com/questions/2081281/how-to-conduct-buffer-overflow-in-php-python be impossible. This doesn't mean that you couldn't expose unsafe APIs that can do whatever. In fact using Pythons ctypes module..
Removing Item From List - during iteration - what's wrong with this idiom? http://stackoverflow.com/questions/2896752/removing-item-from-list-during-iteration-whats-wrong-with-this-idiom containing the whole list with the syntax like so #remove unsafe commands commands ls cd rm rf for cmd in commands if rm in cmd..
Python: Sanitize a string for unicode? [duplicate] http://stackoverflow.com/questions/3224427/python-sanitize-a-string-for-unicode flailing around here. What do I need to do to remove the unsafe characters from the string Somewhat related to this question..
Python: max/min builtin functions depend on parameter order http://stackoverflow.com/questions/4237914/python-max-min-builtin-functions-depend-on-parameter-order return nan or ignore nan . The current behavior is very unsafe and seems completely unreasonable. I found an even more surprising..
how to parse hex or decimal int in Python http://stackoverflow.com/questions/604240/how-to-parse-hex-or-decimal-int-in-python int or long in Python I don't want to use eval since it's unsafe and overkill. python share improve this question int 0x123..
Serializing Sqlite3 in Python http://stackoverflow.com/questions/6296055/serializing-sqlite3-in-python In this mode all mutexes are disabled and SQLite is unsafe to use in more than a single thread at once. Multi thread. In..
Security of Python's eval() on untrusted strings? http://stackoverflow.com/questions/661084/security-of-pythons-eval-on-untrusted-strings do not trust the string In particular Is eval string f Foo unsafe That is can you reach os or sys or something unsafe from a Foo.. f Foo unsafe That is can you reach os or sys or something unsafe from a Foo instance Is eval string unsafe That is can I reach.. sys or something unsafe from a Foo instance Is eval string unsafe That is can I reach os or sys entirely from builtins like len..
Create (sane/safe) filename from any (unsafe) string http://stackoverflow.com/questions/7406102/create-sane-safe-filename-from-any-unsafe-string sane safe filename from any unsafe string I want to create a sane safe filename i.e. somewhat..
Create (sane/safe) app bundle identifier from any (unsafe) string http://stackoverflow.com/questions/7406294/create-sane-safe-app-bundle-identifier-from-any-unsafe-string sane safe app bundle identifier from any unsafe string I want to create a sane safe app bundle name i.e. somewhat..
Checking for NaN presence in a container http://stackoverflow.com/questions/9904699/checking-for-nan-presence-in-a-container of the same objects. Answering your question it seam to be unsafe to relay on in operator while checking for presence of NaN ...
Seeking clarification on apparent contradictions regarding weakly typed languages http://stackoverflow.com/questions/9929585/seeking-clarification-on-apparent-contradictions-regarding-weakly-typed-language do so by turning off the type safety system by making an unsafe block. In an unsafe block you can use pointer magic to treat.. the type safety system by making an unsafe block. In an unsafe block you can use pointer magic to treat an int as a float violating..
|