You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
ansible/test/sanity/code-smell
Toshio Kuratomi 39b3942048 Remove left hand side slicing
Left hand side slicing is confusing and slower but maybe more memory
efficient in some circumstances.  There is one case where it adds to
code safety: when it's used to substitute a different list in place of a
slice of the original list and the original list could have been bound
to a different variable in some other code.  (The most likely case of
this is when it's a global variable and some other code might import
that variable name).

Because of the confusion factor we think it should only be used for the
safety case or where it's been benchmarked and shown to have some sort
of documentatble improvement.  At the moment, only one piece of code
falls into those categories so this PR removes all the other instances
of left hand side slicing.
5 years ago
..
botmeta.json Split up "code smell" sanity tests. (#60174) 5 years ago
botmeta.py prepare for future ansibot collection changes (#68944) 5 years ago
changelog.json Split up "code smell" sanity tests. (#60174) 5 years ago
changelog.py Split up "code smell" sanity tests. (#60174) 5 years ago
configure-remoting-ps1.json Split up "code smell" sanity tests. (#60174) 5 years ago
configure-remoting-ps1.py Support windows-integration on collections. (#60984) 5 years ago
deprecated-config.json Split up "code smell" sanity tests. (#60174) 5 years ago
deprecated-config.py Split up "code smell" sanity tests. (#60174) 5 years ago
docs-build.json Split up "code smell" sanity tests. (#60174) 5 years ago
docs-build.py Remove left hand side slicing 5 years ago
no-unwanted-files.json Sanity test updates for collections support. (#61248) 5 years ago
no-unwanted-files.py Update no-unwanted-files sanity test. 5 years ago
obsolete-files.json Sanity test updates for collections support. (#61248) 5 years ago
obsolete-files.py Add sanity test for obsolete files. 5 years ago
package-data.json Install ansible-test (#60718) 5 years ago
package-data.py Update ansible-test handling of delegation paths. (#69056) 5 years ago
release-names.json Update release name for 2.10 5 years ago
release-names.py Update release name for 2.10 5 years ago
required-and-default-attributes.json Update sanity tests for collections. (#61352) 5 years ago
required-and-default-attributes.py Update sanity tests for collections. (#61352) 5 years ago
skip.txt Split up "code smell" sanity tests. (#60174) 5 years ago
test-constraints.json Split up "code smell" sanity tests. (#60174) 5 years ago
test-constraints.py Split up "code smell" sanity tests. (#60174) 5 years ago
update-bundled.json Split up "code smell" sanity tests. (#60174) 5 years ago
update-bundled.py Split up "code smell" sanity tests. (#60174) 5 years ago