commit python3-pyparsing for openSUSE:Factory
Hello community, here is the log from the commit of package python3-pyparsing for openSUSE:Factory checked in at 2016-10-28 10:45:50 Comparing /work/SRC/openSUSE:Factory/python3-pyparsing (Old) and /work/SRC/openSUSE:Factory/.python3-pyparsing.new (New) Package is "python3-pyparsing" Changes: --- /work/SRC/openSUSE:Factory/python3-pyparsing/python3-pyparsing.changes 2016-09-14 23:35:14.0 +0200 +++ /work/SRC/openSUSE:Factory/.python3-pyparsing.new/python3-pyparsing.changes 2016-10-28 10:45:51.0 +0200 @@ -1,0 +2,18 @@ +Wed Oct 12 02:18:49 UTC 2016 - a...@gmx.de + +- update to version 2.1.10: + * Fixed bug in reporting named parse results for ZeroOrMore +expressions, thanks Ethan Nash for reporting this! + * Fixed behavior of LineStart to be much more predictable. +LineStart can now be used to detect if the next parse position is +col 1, factoring in potential leading whitespace (which would +cause LineStart to fail). Also fixed a bug in col, which is used +in LineStart, where '\n's were erroneously considered to be column +1. + * Added support for multiline test strings in runTests. + * Fixed bug in ParseResults.dump when keys were not strings. Also +changed display of string values to show them in quotes, to help +distinguish parsed numeric strings from parsed integers that have +been converted to Python ints. + +--- Old: pyparsing-2.1.9.tar.gz New: pyparsing-2.1.10.tar.gz Other differences: -- ++ python3-pyparsing.spec ++ --- /var/tmp/diff_new_pack.VEct1W/_old 2016-10-28 10:45:52.0 +0200 +++ /var/tmp/diff_new_pack.VEct1W/_new 2016-10-28 10:45:52.0 +0200 @@ -17,7 +17,7 @@ Name: python3-pyparsing -Version:2.1.9 +Version:2.1.10 Release:0 Url:http://pyparsing.wikispaces.com/ Summary:Grammar Parser Library for Python ++ pyparsing-2.1.9.tar.gz -> pyparsing-2.1.10.tar.gz ++ 9445 lines of diff (skipped)
commit python3-pyparsing for openSUSE:Factory
Hello community, here is the log from the commit of package python3-pyparsing for openSUSE:Factory checked in at 2016-09-14 23:35:11 Comparing /work/SRC/openSUSE:Factory/python3-pyparsing (Old) and /work/SRC/openSUSE:Factory/.python3-pyparsing.new (New) Package is "python3-pyparsing" Changes: --- /work/SRC/openSUSE:Factory/python3-pyparsing/python3-pyparsing.changes 2016-09-05 21:23:59.0 +0200 +++ /work/SRC/openSUSE:Factory/.python3-pyparsing.new/python3-pyparsing.changes 2016-09-14 23:35:14.0 +0200 @@ -1,0 +2,30 @@ +Mon Sep 12 19:41:14 UTC 2016 - a...@gmx.de + +- update to version 2.1.9: + * Added class CloseMatch, a variation on Literal which matches +"close" matches, that is, strings with at most 'n' mismatching +characters. + * Fixed bug in Keyword.setDefaultKeywordChars(), reported by +Kobayashi Shinji - nice catch, thanks! + * Minor API change in pyparsing_common. Renamed some of the common +expressions to PEP8 format (to be consistent with the other +pyparsing_common expressions): ++ signedInteger -> signed_integer ++ sciReal -> sci_real +Also, in trying to stem the API bloat of pyparsing, I've copied +some of the global expressions and helper parse actions into +pyparsing_common, with the originals to be deprecated and removed +in a future release: ++ commaSeparatedList -> pyparsing_common.comma_separated_list ++ upcaseTokens -> pyparsing_common.upcaseTokens ++ downcaseTokens -> pyparsing_common.downcaseTokens + * Fixed Python3 compatibility bug when using dict keys() and +values() in ParseResults.getName(). + * After some prodding, I've reworked the unitTests.py file for +pyparsing over the past few releases. It uses some variations on +unittest to handle my testing style. The test now: ++ auto-discovers its test classes (while maintining their order + of definition) ++ suppresses voluminous 'print' output for tests that pass + +--- Old: pyparsing-2.1.8.tar.gz New: pyparsing-2.1.9.tar.gz Other differences: -- ++ python3-pyparsing.spec ++ --- /var/tmp/diff_new_pack.VRQ5GB/_old 2016-09-14 23:35:15.0 +0200 +++ /var/tmp/diff_new_pack.VRQ5GB/_new 2016-09-14 23:35:15.0 +0200 @@ -17,7 +17,7 @@ Name: python3-pyparsing -Version:2.1.8 +Version:2.1.9 Release:0 Url:http://pyparsing.wikispaces.com/ Summary:Grammar Parser Library for Python ++ pyparsing-2.1.8.tar.gz -> pyparsing-2.1.9.tar.gz ++ 15064 lines of diff (skipped)
commit python3-pyparsing for openSUSE:Factory
Hello community, here is the log from the commit of package python3-pyparsing for openSUSE:Factory checked in at 2016-09-05 21:23:13 Comparing /work/SRC/openSUSE:Factory/python3-pyparsing (Old) and /work/SRC/openSUSE:Factory/.python3-pyparsing.new (New) Package is "python3-pyparsing" Changes: --- /work/SRC/openSUSE:Factory/python3-pyparsing/python3-pyparsing.changes 2016-06-19 11:08:56.0 +0200 +++ /work/SRC/openSUSE:Factory/.python3-pyparsing.new/python3-pyparsing.changes 2016-09-05 21:23:59.0 +0200 @@ -1,0 +2,74 @@ +Sat Sep 3 21:55:21 UTC 2016 - a...@gmx.de + +- update to version 2.1.8: + * Fixed issue in the optimization to _trim_arity, when the full +stacktrace is retrieved to determine if a TypeError is raised in +pyparsing or in the caller's parse action. Code was traversing the +full stacktrace, and potentially encountering UnicodeDecodeError. + * Fixed bug in ParserElement.inlineLiteralsUsing, causing infinite +loop with Suppress. + * Fixed bug in Each, when merging named results from multiple +expressions in a ZeroOrMore or OneOrMore. Also fixed bug when +ZeroOrMore expressions were erroneously treated as required +expressions in an Each expression. + * Added a few more inline doc examples. + * Improved use of runTests in several example scripts. + +- changes from version 2.1.7: + * Fixed regression reported by Andrea Censi (surfaced in PyContracts +tests) when using ParseSyntaxExceptions (raised when using +operator '-') with packrat parsing. + * Minor fix to oneOf, to accept all iterables, not just +space-delimited strings and lists. (If you have a list or set of +strings, it is not necessary to concat them using ' '.join to pass +them to oneOf, oneOf will accept the list or set or generator +directly.) + +- changes from version 2.1.6 : + * *Major packrat upgrade*, inspired by patch provided by Tal Einat - +many, many, thanks to Tal for working on this! Tal's tests show +faster parsing performance (2X in some tests), *and* memory +reduction from 3GB down to ~100MB! Requires no changes to +existing code using packratting. (Uses OrderedDict, available in +Python 2.7 and later. For Python 2.6 users, will attempt to +import from ordereddict backport. If not present, will implement +pure-Python Fifo dict.) + * Minor API change - to better distinguish between the flexible +numeric types defined in pyparsing_common, I've changed "numeric" +(which parsed numbers of different types and returned int for +ints, float for floats, etc.) and "number" (which parsed numbers +of int or float type, and returned all floats) to "number" and +"fnumber" respectively. I hope the "f" prefix of "fnumber" will be +a better indicator of its internal conversion of parsed values to +floats, while the generic "number" is similar to the flexible +number syntax in other languages. Also fixed a bug in +pyparsing_common.numeric (now renamed to pyparsing_common.number), +integers were parsed and returned as floats instead of being +retained as ints. + * Fixed bug in upcaseTokens and downcaseTokens introduced in 2.1.5, +when the parse action was used in conjunction with results names. +Reported by Steven Arcangeli from the dql project, thanks for your +patience, Steven! + * Major change to docs! After seeing some comments on reddit about +general issue with docs of Python modules, and thinking that I'm a +little overdue in doing some doc tuneup on pyparsing, I decided to +following the suggestions of the redditor and add more inline +examples to the pyparsing reference documentation. I hope this +addition will clarify some of the more common questions people +have, especially when first starting with pyparsing/Python. + * Deprecated ParseResults.asXML. I've never been too happy with this +method, and it usually forces some unnatural code in the parsers +in order to get decent tag names. The amount of guesswork that +asXML has to do to try to match names with values should have been +a red flag from day one. If you are using asXML, you will need to +implement your own ParseResults->XML serialization. Or consider +migrating to a more current format such as JSON (which is very +easy to do: results_as_json = json.dumps(parse_result.asDict()) +Hopefully, when I remove this code in a future version, I'll also +be able to simplify some of the craziness in ParseResults, which +IIRC was only there to try to make asXML work. + * Updated traceParseAction parse action decorator to show the repr +of the input and output tokens, instead of the str format, since +str has been simplified to just show the token list content. +
commit python3-pyparsing for openSUSE:Factory
Hello community, here is the log from the commit of package python3-pyparsing for openSUSE:Factory checked in at 2016-06-19 11:08:35 Comparing /work/SRC/openSUSE:Factory/python3-pyparsing (Old) and /work/SRC/openSUSE:Factory/.python3-pyparsing.new (New) Package is "python3-pyparsing" Changes: --- /work/SRC/openSUSE:Factory/python3-pyparsing/python3-pyparsing.changes 2016-05-25 21:25:41.0 +0200 +++ /work/SRC/openSUSE:Factory/.python3-pyparsing.new/python3-pyparsing.changes 2016-06-19 11:08:56.0 +0200 @@ -1,0 +2,69 @@ +Sat Jun 18 15:19:06 UTC 2016 - a...@gmx.de + +- update to version 2.1.5: + * Added ParserElement.split() generator method, similar to +re.split(). Includes optional arguments maxsplit (to limit the +number of splits), and includeSeparators (to include the +separating matched text in the returned output, default=False). + * Added a new parse action construction helper tokenMap, which will +apply a function and optional arguments to each element in a +ParseResults. + * Added more expressions to pyparsing_common: ++ IPv4 and IPv6 addresses (including long, short, and mixed + forms of IPv6) ++ MAC address ++ ISO8601 date and date time strings (with named fields for + year, month, etc.) ++ UUID (----) ++ hex integer (returned as int) ++ fraction (integer '/' integer, returned as float) ++ mixed integer (integer '-' fraction, or just fraction, + returned as float) ++ stripHTMLTags (parse action to remove tags from HTML source) ++ parse action helpers convertToDate and convertToDatetime to do + custom parse time conversions of parsed ISO8601 strings + * runTests now returns a two-tuple: success if all tests succeed, +and an output list of each test and its output lines. + * Added failureTests argument (default=False) to runTests, so that +tests can be run that are expected failures, and runTests' success +value will return True only if all tests *fail* as expected. Also, +parseAll now defaults to True. + * New example numerics.py, shows samples of parsing integer and real +numbers using locale-dependent formats + +- changes from version 2.1.4: + * Split out the '==' behavior in ParserElement, now implemented as +the ParserElement.matches() method. Using '==' for string test +purposes will be removed in a future release. + * Expanded capabilities of runTests(). Will now accept embedded +comments (default is Python style, leading '#' character, but +customizable). Comments will be emitted along with the tests and +test output. Useful during test development, to create a test +string consisting only of test case description comments separated +by blank lines, and then fill in the test cases. Will also +highlight ParseFatalExceptions with "(FATAL)". + * Added a 'pyparsing_common' class containing common/helpful little +expressions such as integer, float, identifier, etc. I used this +class as a sort of embedded namespace, to contain these helpers +without further adding to pyparsing's namespace bloat. + * Minor enhancement to traceParseAction decorator, to retain the +parse action's name for the trace output. + * Added optional 'fatal' keyword arg to addCondition, to indicate +that a condition failure should halt parsing immediately. + +- changes from version 2.1.3: + * _trim_arity fix in 2.1.2 was very version-dependent on Py 3.5.0. +Now works for Python 2.x, 3.3, 3.4, 3.5.0, and 3.5.1 (and +hopefully beyond). + +- changes from version 2.1.2: + * Fixed bug in _trim_arity when pyparsing code is included in a +PyInstaller, reported by maluwa. + * Fixed catastrophic regex backtracking in implementation of the +quoted string expressions (dblQuotedString, sglQuotedString, and +quotedString). Reported on the pyparsing wiki by webpentest, good +catch! (Also tuned up some other expressions susceptible to the +same backtracking problem, such as cStyleComment, cppStyleComment, +etc.) + +--- @@ -7 +75,0 @@ - Old: pyparsing-2.1.1.tar.gz New: pyparsing-2.1.5.tar.gz Other differences: -- ++ python3-pyparsing.spec ++ --- /var/tmp/diff_new_pack.qRN9Nb/_old 2016-06-19 11:08:57.0 +0200 +++ /var/tmp/diff_new_pack.qRN9Nb/_new 2016-06-19 11:08:57.0 +0200 @@ -17,7 +17,7 @@ Name: python3-pyparsing -Version:2.1.1 +Version:2.1.5 Release:0 Url:http://pyparsing.wikispaces.com/ Summary:Grammar Parser Library for Python ++ pyparsing-2.1.1.tar.gz ->
commit python3-pyparsing for openSUSE:Factory
Hello community, here is the log from the commit of package python3-pyparsing for openSUSE:Factory checked in at 2016-05-25 21:25:40 Comparing /work/SRC/openSUSE:Factory/python3-pyparsing (Old) and /work/SRC/openSUSE:Factory/.python3-pyparsing.new (New) Package is "python3-pyparsing" Changes: --- /work/SRC/openSUSE:Factory/python3-pyparsing/python3-pyparsing.changes 2016-04-22 16:23:27.0 +0200 +++ /work/SRC/openSUSE:Factory/.python3-pyparsing.new/python3-pyparsing.changes 2016-05-25 21:25:41.0 +0200 @@ -1,0 +2,8 @@ +Sun May 8 07:05:07 UTC 2016 - a...@gmx.de + +- specfile: + * changed to https for source url + * updated source url to files.pythonhosted.org + + +--- Other differences: -- ++ python3-pyparsing.spec ++ --- /var/tmp/diff_new_pack.hZn8M3/_old 2016-05-25 21:25:42.0 +0200 +++ /var/tmp/diff_new_pack.hZn8M3/_new 2016-05-25 21:25:42.0 +0200 @@ -23,7 +23,7 @@ Summary:Grammar Parser Library for Python License:MIT and GPL-2.0+ and GPL-3.0+ Group: Development/Languages/Python -Source: http://pypi.python.org/packages/source/p/pyparsing/pyparsing-%{version}.tar.gz +Source: https://files.pythonhosted.org/packages/source/p/pyparsing/pyparsing-%{version}.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: python3 BuildRequires: python3-2to3
commit python3-pyparsing for openSUSE:Factory
Hello community, here is the log from the commit of package python3-pyparsing for openSUSE:Factory checked in at 2016-04-22 16:23:26 Comparing /work/SRC/openSUSE:Factory/python3-pyparsing (Old) and /work/SRC/openSUSE:Factory/.python3-pyparsing.new (New) Package is "python3-pyparsing" Changes: --- /work/SRC/openSUSE:Factory/python3-pyparsing/python3-pyparsing.changes 2016-02-09 13:33:07.0 +0100 +++ /work/SRC/openSUSE:Factory/.python3-pyparsing.new/python3-pyparsing.changes 2016-04-22 16:23:27.0 +0200 @@ -1,0 +2,19 @@ +Sat Mar 26 03:53:31 UTC 2016 - a...@gmx.de + +- update to version 2.1.1: + * Added support for assigning to ParseResults using slices. + * Fixed bug in ParseResults.toDict(), in which dict values were +always converted to dicts, even if they were just unkeyed lists of +tokens. Reported on SO by Gerald Thibault, thanks Gerald! + * Fixed bug in SkipTo when using failOn, reported by robyschek, +thanks! + * Fixed bug in Each introduced in 2.1.0, reported by AND patch and +unit test submitted by robyschek, well done! + * Removed use of functools.partial in replaceWith, as this creates +an ambiguous signature for the generated parse action, which fails +in PyPy. Reported by Evan Hubinger, thanks Evan! + * Added default behavior to QuotedString to convert embedded '\t', +'\n', etc. characters to their whitespace counterparts. Found +during Q exchange on SO with Maxim. + +--- Old: pyparsing-2.1.0.tar.gz New: pyparsing-2.1.1.tar.gz Other differences: -- ++ python3-pyparsing.spec ++ --- /var/tmp/diff_new_pack.vzsrX7/_old 2016-04-22 16:23:28.0 +0200 +++ /var/tmp/diff_new_pack.vzsrX7/_new 2016-04-22 16:23:28.0 +0200 @@ -17,7 +17,7 @@ Name: python3-pyparsing -Version:2.1.0 +Version:2.1.1 Release:0 Url:http://pyparsing.wikispaces.com/ Summary:Grammar Parser Library for Python ++ pyparsing-2.1.0.tar.gz -> pyparsing-2.1.1.tar.gz ++ 8725 lines of diff (skipped)
commit python3-pyparsing for openSUSE:Factory
Hello community, here is the log from the commit of package python3-pyparsing for openSUSE:Factory checked in at 2016-02-09 13:32:33 Comparing /work/SRC/openSUSE:Factory/python3-pyparsing (Old) and /work/SRC/openSUSE:Factory/.python3-pyparsing.new (New) Package is "python3-pyparsing" Changes: --- /work/SRC/openSUSE:Factory/python3-pyparsing/python3-pyparsing.changes 2016-01-05 09:41:51.0 +0100 +++ /work/SRC/openSUSE:Factory/.python3-pyparsing.new/python3-pyparsing.changes 2016-02-09 13:33:07.0 +0100 @@ -1,0 +2,60 @@ +Mon Feb 8 05:02:08 UTC 2016 - a...@gmx.de + +- specfile: + * update copyright year + +- update to version 2.1.0: + * Modified the internal _trim_arity method to distinguish between +TypeError's raised while trying to determine parse action arity +and those raised within the parse action itself. This will clear +up those confusing "() takes exactly 1 argument (0 given)" +error messages when there is an actual TypeError in the body of +the parse action. Thanks to all who have raised this issue in the +past, and most recently to Michael Cohen, who sent in a proposed +patch, and got me to finally tackle this problem. + * Added compatibility for pickle protocols 2-4 when pickling +ParseResults. In Python 2.x, protocol 0 was the default, and +protocol 2 did not work. In Python 3.x, protocol 3 is the +default, so explicitly naming protocol 0 or 1 was required to +pickle ParseResults. With this release, all protocols 0-4 are +supported. Thanks for reporting this on StackOverflow, Arne +Wolframm, and for providing a nice simple test case! + * Added optional 'stopOn' argument to ZeroOrMore and OneOrMore, to +simplify breaking on stop tokens that would match the repetition +expression. +It is a common problem to fail to look ahead when matching +repetitive tokens if the sentinel at the end also matches the +repetition expression, as when parsing "BEGIN aaa bbb ccc END" +with: + +"BEGIN" + OneOrMore(Word(alphas)) + "END" + +Since "END" matches the repetition expression "Word(alphas)", it +will never get parsed as the terminating sentinel. Up until now, +this has to be resolved by the user inserting their own negative +lookahead: + +"BEGIN" + OneOrMore(~Literal("END") + Word(alphas)) + "END" + +Using stopOn, they can more easily write: + +"BEGIN" + OneOrMore(Word(alphas), stopOn="END") + "END" + +The stopOn argument can be a literal string or a pyparsing +expression. Inspired by a question by Lamakaha on StackOverflow +(and many previous questions with the same negative-lookahead +resolution). + * Added expression names for many internal and builtin expressions, +to reduce name and error message overhead during parsing. + * Converted helper lambdas to functions to refactor and add +docstring support. + * Fixed ParseResults.asDict() to correctly convert nested +ParseResults values to dicts. + * Cleaned up some examples, fixed typo in fourFn.py identified by +aristotle2600 on reddit. + * Removed keepOriginalText helper method, which was deprecated ages +ago. Superceded by originalTextFor. + * Same for the Upcase class, which was long ago deprecated and +replaced with the upcaseTokens method. + +--- Old: pyparsing-2.0.7.tar.gz New: pyparsing-2.1.0.tar.gz Other differences: -- ++ python3-pyparsing.spec ++ --- /var/tmp/diff_new_pack.InTe38/_old 2016-02-09 13:33:08.0 +0100 +++ /var/tmp/diff_new_pack.InTe38/_new 2016-02-09 13:33:08.0 +0100 @@ -1,7 +1,7 @@ # # spec file for package python3-pyparsing # -# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -17,7 +17,7 @@ Name: python3-pyparsing -Version:2.0.7 +Version:2.1.0 Release:0 Url:http://pyparsing.wikispaces.com/ Summary:Grammar Parser Library for Python ++ pyparsing-2.0.7.tar.gz -> pyparsing-2.1.0.tar.gz ++ 13498 lines of diff (skipped)
commit python3-pyparsing for openSUSE:Factory
Hello community, here is the log from the commit of package python3-pyparsing for openSUSE:Factory checked in at 2015-11-22 11:00:15 Comparing /work/SRC/openSUSE:Factory/python3-pyparsing (Old) and /work/SRC/openSUSE:Factory/.python3-pyparsing.new (New) Package is "python3-pyparsing" Changes: --- /work/SRC/openSUSE:Factory/python3-pyparsing/python3-pyparsing.changes 2015-11-05 11:35:38.0 +0100 +++ /work/SRC/openSUSE:Factory/.python3-pyparsing.new/python3-pyparsing.changes 2015-11-22 11:00:20.0 +0100 @@ -1,0 +2,25 @@ +Sat Nov 14 20:37:53 UTC 2015 - a...@gmx.de + +- update to version 2.0.6: + * Fixed a bug in Each when multiple Optional elements are present. +Thanks for reporting this, whereswalden on SO. + * Fixed another bug in Each, when Optional elements have results +names or parse actions, reported by Max Rothman - thank you, Max! + * Added optional parseAll argument to runTests, whether tests should +require the entire input string to be parsed or not (similar to +parseAll argument to parseString). Plus a little neaten-up of the +output on Python 2 (no stray ()'s). + * Modified exception messages from MatchFirst and Or +expressions. These were formerly misleading as they would only +give the first or longest exception mismatch error message. Now +the error message includes all the alternatives that were possible +matches. Originally proposed by a pyparsing user, but I've lost +the email thread - finally figured out a fairly clean way to do +this. + * Fixed a bug in Or, when a parse action on an alternative raises an +exception, other potentially matching alternatives were not always +tried. Reported by TheVeryOmni on the pyparsing wiki, thanks! + * Fixed a bug to dump() introduced in 2.0.4, where list values were +shown in duplicate. + +--- Old: pyparsing-2.0.5.tar.gz New: pyparsing-2.0.6.tar.gz Other differences: -- ++ python3-pyparsing.spec ++ --- /var/tmp/diff_new_pack.5neahW/_old 2015-11-22 11:00:21.0 +0100 +++ /var/tmp/diff_new_pack.5neahW/_new 2015-11-22 11:00:21.0 +0100 @@ -17,7 +17,7 @@ Name: python3-pyparsing -Version:2.0.5 +Version:2.0.6 Release:0 Url:http://pyparsing.wikispaces.com/ Summary:Grammar Parser Library for Python ++ pyparsing-2.0.5.tar.gz -> pyparsing-2.0.6.tar.gz ++ 8048 lines of diff (skipped)
commit python3-pyparsing for openSUSE:Factory
Hello community, here is the log from the commit of package python3-pyparsing for openSUSE:Factory checked in at 2015-11-05 11:35:37 Comparing /work/SRC/openSUSE:Factory/python3-pyparsing (Old) and /work/SRC/openSUSE:Factory/.python3-pyparsing.new (New) Package is "python3-pyparsing" Changes: --- /work/SRC/openSUSE:Factory/python3-pyparsing/python3-pyparsing.changes 2014-12-03 22:49:00.0 +0100 +++ /work/SRC/openSUSE:Factory/.python3-pyparsing.new/python3-pyparsing.changes 2015-11-05 11:35:38.0 +0100 @@ -0,0 +1,47 @@ +--- +Thu Oct 29 15:20:35 UTC 2015 - a...@gmx.de + +- specfile: + * update copyright year + +- update to version 2.0.5: + * (&$(@#&$(@ Some "print" statements snuck into pyparsing +v2.0.4, breaking Python 3 compatibility! Fixed. Reported by +jenshn, thanks! + +- changes from Version 2.0.4: + * Added ParserElement.addCondition, to simplify adding parse actions +that act primarily as filters. If the given condition evaluates +False, pyparsing will raise a ParseException. The condition should +be a method with the same method signature as a parse action, but +should return a boolean. Suggested by Victor Porton, nice idea +Victor, thanks! + * Slight mod to srange to accept unicode literals for the input +string, such as "[а-яА-Я]" instead of +"[\u0430-\u044f\u0410-\u042f]". Thanks to Alexandr Suchkov for the +patch! + * Enhanced implementation of replaceWith. + * Fixed enhanced ParseResults.dump() method when the results +consists only of an unnamed array of sub-structure +results. Reported by Robin Siebler, thanks for your patience and +persistence, Robin! + * Fixed bug in fourFn.py example code, where pi and e were defined +using CaselessLiteral instead of CaselessKeyword. This was not a +problem until adding a new function 'exp', and the leading 'e' of +'exp' was accidentally parsed as the mathematical constant +'e'. Nice catch, Tom Grydeland - thanks! + * Adopt new-fangled Python features, like decorators and ternary +expressions, per suggestions from Williamzjc - thanks William! (Oh +yeah, I'm not supporting Python 2.3 with this code any more...) +Plus, some additional code fixes/cleanup - thanks again! + * Added ParserElement.runTests, a little test bench for quickly +running an expression against a list of sample input +strings. Basically, I got tired of writing the same test code over +and over, and finally added it as a test point method on +ParserElement. + * Added withClass helper method, a simplified version of +withAttribute for the common but annoying case when defining a +filter on a div's class - made difficult because 'class' is a +Python reserved word. + +--- Old: pyparsing-2.0.3.tar.gz New: pyparsing-2.0.5.tar.gz Other differences: -- ++ python3-pyparsing.spec ++ --- /var/tmp/diff_new_pack.zLHolq/_old 2015-11-05 11:35:39.0 +0100 +++ /var/tmp/diff_new_pack.zLHolq/_new 2015-11-05 11:35:39.0 +0100 @@ -1,7 +1,7 @@ # # spec file for package python3-pyparsing # -# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -17,7 +17,7 @@ Name: python3-pyparsing -Version:2.0.3 +Version:2.0.5 Release:0 Url:http://pyparsing.wikispaces.com/ Summary:Grammar Parser Library for Python ++ pyparsing-2.0.3.tar.gz -> pyparsing-2.0.5.tar.gz ++ 67509 lines of diff (skipped)
commit python3-pyparsing for openSUSE:Factory
Hello community, here is the log from the commit of package python3-pyparsing for openSUSE:Factory checked in at 2014-12-03 22:48:21 Comparing /work/SRC/openSUSE:Factory/python3-pyparsing (Old) and /work/SRC/openSUSE:Factory/.python3-pyparsing.new (New) Package is python3-pyparsing Changes: --- /work/SRC/openSUSE:Factory/python3-pyparsing/python3-pyparsing.changes 2013-12-09 07:17:01.0 +0100 +++ /work/SRC/openSUSE:Factory/.python3-pyparsing.new/python3-pyparsing.changes 2014-12-03 22:49:00.0 +0100 @@ -0,0 +1,61 @@ +Sun Nov 30 21:09:17 UTC 2014 - a...@gmx.de + +- update to version 2.0.3: + * Fixed escaping behavior in QuotedString. Formerly, only quotation +marks (or characters designated as quotation marks in the QuotedString +constructor) would be escaped. Now all escaped characters will be +escaped, and the escaping backslashes will be removed. + * Fixed regression in ParseResults.pop() - pop() was pretty much +broken after I added *improvements* in 2.0.2. Reported by Iain +Shelvington, thanks Iain! + * Fixed bug in And class when initializing using a generator. + * Enhanced ParseResults.dump() method to list out nested ParseResults that +are unnamed arrays of sub-structures. + * Fixed UnboundLocalError under Python 3.4 in oneOf method, reported +on Sourceforge by aldanor, thanks! + * Fixed bug in ParseResults __init__ method, when returning non-ParseResults +types from parse actions that implement __eq__. Raised during discussion +on the pyparsing wiki with cyrfer. + +- changes from version 2.0.2: + * Extended expr(name) shortcut (same as expr.setResultsName(name)) +to accept expr() as a shortcut for expr.copy(). + * Added locatedExpr(expr) helper, to decorate any returned tokens +with their location within the input string. Adds the results names +locn_start and locn_end to the output parse results. + * Added pprint() method to ParseResults, to simplify troubleshooting +and prettified output. Now instead of importing the pprint module +and then writing pprint.pprint(result), you can just write +result.pprint(). This method also accepts addtional positional and +keyword arguments (such as indent, width, etc.), which get passed +through directly to the pprint method +(see http://docs.python.org/2/library/pprint.html#pprint.pprint). + * Removed deprecation warnings when using '' for Forward expression +assignment. '=' is still preferred, but '' will be retained +for cases whre '=' operator is not suitable (such as in defining +lambda expressions). + * Expanded argument compatibility for classes and functions that +take list arguments, to now accept generators as well. + * Extended list-like behavior of ParseResults, adding support for +append and extend. NOTE: if you have existing applications using +these names as results names, you will have to access them using +dict-style syntax: res[append] and res[extend] + * ParseResults emulates the change in list vs. iterator semantics for +methods like keys(), values(), and items(). Under Python 2.x, these +methods will return lists, under Python 3.x, these methods will +return iterators. + * ParseResults now has a method haskeys() which returns True or False +depending on whether any results names have been defined. This simplifies +testing for the existence of results names under Python 3.x, which +returns keys() as an iterator, not a list. + * ParseResults now supports both list and dict semantics for pop(). +If passed no argument or an integer argument, it will use list semantics +and pop tokens from the list of parsed tokens. If passed a non-integer +argument (most likely a string), it will use dict semantics and +pop the corresponding value from any defined results names. A +second default return value argument is supported, just as in +dict.pop(). + * Fixed bug in markInputline, thanks for reporting this, Matt Grant! + * Cleaned up my unit test environment, now runs with Python 2.6 and +3.3. + @@ -105 +165,0 @@ - Old: pyparsing-2.0.1.tar.gz New: pyparsing-2.0.3.tar.gz Other differences: -- ++ python3-pyparsing.spec ++ --- /var/tmp/diff_new_pack.TYGxNp/_old 2014-12-03 22:49:01.0 +0100 +++ /var/tmp/diff_new_pack.TYGxNp/_new 2014-12-03 22:49:01.0 +0100 @@ -1,7 +1,7 @@ # # spec file for package python3-pyparsing # -# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners,
commit python3-pyparsing for openSUSE:Factory
Hello community, here is the log from the commit of package python3-pyparsing for openSUSE:Factory checked in at 2013-12-09 07:16:59 Comparing /work/SRC/openSUSE:Factory/python3-pyparsing (Old) and /work/SRC/openSUSE:Factory/.python3-pyparsing.new (New) Package is python3-pyparsing Changes: --- /work/SRC/openSUSE:Factory/python3-pyparsing/python3-pyparsing.changes 2013-12-06 11:47:22.0 +0100 +++ /work/SRC/openSUSE:Factory/.python3-pyparsing.new/python3-pyparsing.changes 2013-12-09 07:17:01.0 +0100 @@ -4 +4 @@ -- update to 2.0.1 +- update to 2.0.1 (bnc#209662): Other differences: -- -- To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org For additional commands, e-mail: opensuse-commit+h...@opensuse.org
commit python3-pyparsing for openSUSE:Factory
Hello community, here is the log from the commit of package python3-pyparsing for openSUSE:Factory checked in at 2013-12-06 11:47:21 Comparing /work/SRC/openSUSE:Factory/python3-pyparsing (Old) and /work/SRC/openSUSE:Factory/.python3-pyparsing.new (New) Package is python3-pyparsing Changes: --- /work/SRC/openSUSE:Factory/python3-pyparsing/python3-pyparsing.changes 2013-06-21 19:01:58.0 +0200 +++ /work/SRC/openSUSE:Factory/.python3-pyparsing.new/python3-pyparsing.changes 2013-12-06 11:47:22.0 +0100 @@ -1,0 +2,11 @@ +Tue Dec 3 22:39:37 UTC 2013 - a...@gmx.de + +- update to 2.0.1 + * Removed use of nonlocal that prevented using this version of +pyparsing with Python 2.6 and 2.7. This will make it easier to +install for packages that depend on pyparsing, under Python +versions 2.6 and later. Those using older versions of Python +will have to manually install pyparsing 1.5.7. + * Fixed implementation of = operator to return self; + +--- Old: pyparsing-1.5.7.tar.gz pyparsing-2.0.0.tar.gz New: pyparsing-2.0.1.tar.gz Other differences: -- ++ python3-pyparsing.spec ++ --- /var/tmp/diff_new_pack.yQagf5/_old 2013-12-06 11:47:35.0 +0100 +++ /var/tmp/diff_new_pack.yQagf5/_new 2013-12-06 11:47:35.0 +0100 @@ -17,7 +17,7 @@ Name: python3-pyparsing -Version:2.0.0 +Version:2.0.1 Release:0 Url:http://pyparsing.wikispaces.com/ Summary:Grammar Parser Library for Python @@ -57,7 +57,7 @@ %build python3 setup.py build # Fix wrong EOL encoding: -sed -i 's/\r$//' CHANGES LICENSE README +sed -i 's/\r$//' CHANGES LICENSE README examples/*py %install python3 setup.py install --prefix=%{_prefix} --root=%{buildroot} @@ -69,6 +69,6 @@ %files doc %defattr(-,root,root,-) -%doc docs/* +%doc docs/* examples %changelog ++ pyparsing-1.5.7.tar.gz - pyparsing-2.0.1.tar.gz ++ 40879 lines of diff (skipped) -- To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org For additional commands, e-mail: opensuse-commit+h...@opensuse.org
commit python3-pyparsing for openSUSE:Factory
Hello community, here is the log from the commit of package python3-pyparsing for openSUSE:Factory checked in at 2013-01-15 06:51:51 Comparing /work/SRC/openSUSE:Factory/python3-pyparsing (Old) and /work/SRC/openSUSE:Factory/.python3-pyparsing.new (New) Package is python3-pyparsing, Maintainer is Changes: New Changes file: NO CHANGES FILE!!! New: _link Other differences: -- ++ _link ++ link package=python-pyparsing cicount=copy / -- To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org For additional commands, e-mail: opensuse-commit+h...@opensuse.org