René's URL Explorer Experiment


Title: The Little Book of Python Anti-Patterns — Python Anti-Patterns documentation

direct link

Domain: quantifiedcode.github.io

Links:

Python Anti-Patternshttps://quantifiedcode.github.io/python-anti-patterns
Correctnesshttps://quantifiedcode.github.io/correctness/index.html
Maintainabilityhttps://quantifiedcode.github.io/maintainability/index.html
Readabilityhttps://quantifiedcode.github.io/readability/index.html
Securityhttps://quantifiedcode.github.io/security/index.html
Performancehttps://quantifiedcode.github.io/performance/index.html
Djangohttps://quantifiedcode.github.io/django/index.html
Python Anti-Patternshttps://quantifiedcode.github.io/python-anti-patterns
Documentationhttps://quantifiedcode.github.io/python-anti-patterns
View page sourcehttps://quantifiedcode.github.io/_sources/index.rst.txt
https://quantifiedcode.github.io/python-anti-patterns#the-little-book-of-python-anti-patterns
https://quantifiedcode.github.io/_images/snake_warning.png
https://github.com/quantifiedcode/python-anti-patterns
QuantifiedCodehttps://www.quantifiedcode.com/
PDFhttps://quantifiedcode.github.io/The-Little-Book-Of-Python-Anti-Patterns.pdf
https://quantifiedcode.github.io/python-anti-patterns#why-did-we-write-this
https://quantifiedcode.github.io/python-anti-patterns#who-are-we
QuantifiedCodehttps://www.quantifiedcode.com/
online toolhttps://www.quantifiedcode.com/
https://quantifiedcode.github.io/python-anti-patterns#how-is-this-book-organized
create an issuehttps://github.com/quantifiedcode/python-anti-patterns/issues
https://quantifiedcode.github.io/python-anti-patterns#references
https://quantifiedcode.github.io/python-anti-patterns#licensing
https://quantifiedcode.github.io/python-anti-patterns#contributing
Githubhttps://github.com/quantifiedcode/python-anti-patterns/graphs/contributors
https://quantifiedcode.github.io/python-anti-patterns#list-of-maintainers
Andreas Deweshttps://github.com/adewes
Christoph Neumannhttps://github.com/programmdesign
https://quantifiedcode.github.io/python-anti-patterns#index-of-patterns
Correctnesshttps://quantifiedcode.github.io/correctness/index.html
Accessing a protected member from outside the classhttps://quantifiedcode.github.io/correctness/accessing_a_protected_member_from_outside_the_class.html
Assigning a lambda expression to a variablehttps://quantifiedcode.github.io/correctness/assigning_a_lambda_to_a_variable.html
Assigning to built-in functionhttps://quantifiedcode.github.io/correctness/assigning_to_builtin.html
Bad except clauses orderhttps://quantifiedcode.github.io/correctness/bad_except_clauses_order.html
Bad first argument given to super()https://quantifiedcode.github.io/correctness/bad_first_argument_given_to_super.html
else clause on loop without a break statementhttps://quantifiedcode.github.io/correctness/else_clause_on_loop_without_a_break_statement.html
__exit__ must accept 3 arguments: type, value, tracebackhttps://quantifiedcode.github.io/correctness/exit_must_accept_three_arguments.html
Explicit return in __init__https://quantifiedcode.github.io/correctness/explicit_return_in_init.html
__future__ import is not the first non-docstring statementhttps://quantifiedcode.github.io/correctness/future_import_is_not_the_first_statement.html
Implementing Java-style getters and settershttps://quantifiedcode.github.io/correctness/implementing_java-style_getters_and_setters.html
Indentation contains mixed spaces and tabshttps://quantifiedcode.github.io/correctness/indentation_contains_mixed_spaces_and_tabs.html
Indentation contains tabshttps://quantifiedcode.github.io/correctness/indentation_contains_tabs.html
Method could be a functionhttps://quantifiedcode.github.io/correctness/method_could_be_a_function.html
Method has no argumenthttps://quantifiedcode.github.io/correctness/method_has_no_argument.html
Missing argument to super()https://quantifiedcode.github.io/correctness/missing_argument_to_super.html
Using a mutable default value as an argumenthttps://quantifiedcode.github.io/correctness/mutable_default_value_as_argument.html
No exception type(s) specifiedhttps://quantifiedcode.github.io/correctness/no_exception_type_specified.html
Not using defaultdict()https://quantifiedcode.github.io/correctness/not_using_defaultdict.html
Not using else where appropriate in a loophttps://quantifiedcode.github.io/correctness/not_using_else_in_a_loop.html
Not using explicit unpackinghttps://quantifiedcode.github.io/correctness/not_using_explicit_unpacking.html
Not using get() to return a default value from a dicthttps://quantifiedcode.github.io/correctness/not_using_get_to_return_a_default_value_from_a_dictionary.html
Not using setdefault() to initialize a dictionaryhttps://quantifiedcode.github.io/correctness/not_using_setdefault_to_initialize_a_dictionary.html
Maintainabilityhttps://quantifiedcode.github.io/maintainability/index.html
using wildcard imports (from … import *)https://quantifiedcode.github.io/maintainability/from_module_import_all_used.html
Not using with to open fileshttps://quantifiedcode.github.io/maintainability/not_using_with_to_open_files.html
Returning more than one variable type from function callhttps://quantifiedcode.github.io/maintainability/returning_more_than_one_variable_type_from_function_call.html
Using the global statementhttps://quantifiedcode.github.io/maintainability/using_the_global_statement.html
Using single letter to name your variableshttps://quantifiedcode.github.io/maintainability/using_single_letter_as_variable_name.html
Dynamically creating variable/method/function nameshttps://quantifiedcode.github.io/maintainability/dynamically_creating_names.html
Readabilityhttps://quantifiedcode.github.io/readability/index.html
Asking for permission instead of forgivenesshttps://quantifiedcode.github.io/readability/asking_for_permission_instead_of_forgiveness_when_working_with_files.html
Comparing things to None the wrong wayhttps://quantifiedcode.github.io/readability/comparison_to_none.html
Comparing things to True the wrong wayhttps://quantifiedcode.github.io/readability/comparison_to_true.html
Using type() to compare typeshttps://quantifiedcode.github.io/readability/do_not_compare_types_use_isinstance.html
Not using dict comprehensionshttps://quantifiedcode.github.io/readability/not_using_a_dict_comprehension.html
Not using dict keys when formatting stringshttps://quantifiedcode.github.io/readability/not_using_dict_keys_when_formatting_strings.html
Not using items() to iterate over a dictionaryhttps://quantifiedcode.github.io/readability/not_using_items_to_iterate_over_a_dictionary.html
Not using named tuples when returning more than one value from a functionhttps://quantifiedcode.github.io/readability/not_using_named_tuples_when_returning_more_than_one_value.html
Not using unpacking for updating multiple values at oncehttps://quantifiedcode.github.io/readability/not_using_unpacking_for_updating_multiple_values_at_once.html
Not using zip() to iterate over a pair of listshttps://quantifiedcode.github.io/readability/not_using_zip_to_iterate_over_a_pair_of_lists.html
Putting type information in a variable namehttps://quantifiedcode.github.io/readability/putting_type_information_in_a_variable_name.html
Test for object identity should be ishttps://quantifiedcode.github.io/readability/test_for_object_identity_should_be_is_not.html
Using an unpythonic loophttps://quantifiedcode.github.io/readability/using_an_unpythonic_loop.html
Using map() or filter() where list comprehension is possiblehttps://quantifiedcode.github.io/readability/using_map_or_filter_where_list_comprehension_is_possible.html
Using CamelCase in function nameshttps://quantifiedcode.github.io/readability/using_camelcase_in_function_names.html
Securityhttps://quantifiedcode.github.io/security/index.html
use of exechttps://quantifiedcode.github.io/security/use_of_exec.html
Performancehttps://quantifiedcode.github.io/performance/index.html
Using key in list to check if key is contained in listhttps://quantifiedcode.github.io/performance/using_key_in_list_to_check_if_key_is_contained_in_a_list.html
Not using iteritems() to iterate over a large dictionary in Python 2https://quantifiedcode.github.io/performance/not_using_iteritems_to_iterate_large_dict.html
Djangohttps://quantifiedcode.github.io/django/index.html
Maintainabilityhttps://quantifiedcode.github.io/django/all/maintainability/index.html
Importing django.db.models.fieldshttps://quantifiedcode.github.io/django/all/maintainability/importing_django_model_fields.html
Securityhttps://quantifiedcode.github.io/django/all/security/index.html
ALLOWED_HOSTS setting missinghttps://quantifiedcode.github.io/django/all/security/allowed_hosts_setting_missing.html
SECRET_KEY publishedhttps://quantifiedcode.github.io/django/all/security/django_secrect_key_published.html
Same value for MEDIA_ROOT and STATIC_ROOThttps://quantifiedcode.github.io/django/all/security/same_value_for_media_root_and_static_root.html
Same value for MEDIA_URL and STATIC_URLhttps://quantifiedcode.github.io/django/all/security/same_value_for_media_url_and_static_url.html
Correctnesshttps://quantifiedcode.github.io/django/all/correctness/index.html
Not using forward slasheshttps://quantifiedcode.github.io/django/all/correctness/not_using_forward_slashes.html
Performancehttps://quantifiedcode.github.io/django/all/performance/index.html
Inefficient database querieshttps://quantifiedcode.github.io/django/all/performance/inefficient_database_queries.html
Migration to 1.8https://quantifiedcode.github.io/django/1.8/migration/index.html
TEMPLATE_DIRS deprecatedhttps://quantifiedcode.github.io/django/1.8/migration/template_dirs_deprecated.html
TEMPLATE_DEBUG deprecatedhttps://quantifiedcode.github.io/django/1.8/migration/template_debug_deprecated.html
TEMPLATE_LOADERS deprecatedhttps://quantifiedcode.github.io/django/1.8/migration/template_loaders_deprecated.html
TEMPLATE_STRING_IF_INVALID deprecatedhttps://quantifiedcode.github.io/django/1.8/migration/template_string_if_invalid_deprecated.html
https://quantifiedcode.github.io/correctness/index.html
Sphinx themehttps://github.com/snide/sphinx_rtd_theme
Read the Docshttps://readthedocs.org

Viewport: width=device-width, initial-scale=1.0


URLs of crawlers that visited me.