Commit Graph

11 Commits

Author SHA256 Message Date
Sascha Peilicke
4fddad9452 Accepting request 158799 from home:dirkmueller:branches:devel:languages:python
- update to 1.5.7:
 * NOTE: This is the last release of pyparsing that will try to 
   maintain compatibility with Python versions < 2.6. The next
   release of pyparsing will be version 2.0.0, using new Python
   syntax that will not be compatible for Python version 2.5 or
   older.
 
 * An awesome new example is included in this release, submitted
   by Luca DellOlio, for parsing ANTLR grammar definitions, nice
   work Luca!
 
 * Fixed implementation of ParseResults.__str__ to use Pythonic
   ''.join() instead of repeated string concatenation. This
   purportedly has been a performance issue under PyPy.
 
 * Fixed bug in ParseResults.__dir__ under Python 3, reported by
   Thomas Kluyver, thank you Thomas!
 
 * Added ParserElement.inlineLiteralsUsing static method, to 
   override pyparsing's default behavior of converting string
   literals to Literal instances, to use other classes (such
   as Suppress or CaselessLiteral).
 
 * Added new operator '<<=', which will eventually replace '<<' for 
   storing the contents of a Forward(). '<<=' does not have the same
   operator precedence problems that '<<' does.
 
 * 'operatorPrecedence' is being renamed 'infixNotation' as a better
   description of what this helper function creates. 'operatorPrecedence'
   is deprecated, and will be dropped entirely in a future release.

OBS-URL: https://build.opensuse.org/request/show/158799
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pyparsing?expand=0&rev=16
2013-03-13 09:44:09 +00:00
Sascha Peilicke
17d35de99c - Minimal cleanup
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pyparsing?expand=0&rev=14
2013-01-14 11:55:27 +00:00
Sascha Peilicke
a84db6fd14 - Don't ship examples twice
- Don't ship examples twice

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pyparsing?expand=0&rev=13
2013-01-09 08:30:35 +00:00
Sascha Peilicke
9a32100a34 Accepting request 147512 from home:posophe:branches:devel:languages:python
initial python3 support.
sed -i 's/\r$//' doesn't work...

OBS-URL: https://build.opensuse.org/request/show/147512
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pyparsing?expand=0&rev=12
2013-01-09 08:28:39 +00:00
Sascha Peilicke
d422dd37dd - Package examples
- Spec file cleanup

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pyparsing?expand=0&rev=10
2012-11-23 14:08:18 +00:00
Pascal Bleser
89de4680c9 remove %debug_package
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pyparsing?expand=0&rev=9
2011-12-12 09:05:56 +00:00
Sascha Peilicke
d3552010b7 - Add Provides/Obsoletes for python-parsing
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pyparsing?expand=0&rev=7
2011-07-03 09:41:12 +00:00
OBS User buildservice-autocommit
89686fec65 Updating link to change in openSUSE:Factory/python-pyparsing revision 4.0
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pyparsing?expand=0&rev=ad764093ba1c69edee92f8e7a6da78ee
2011-06-30 10:57:50 +00:00
Sascha Peilicke
ea75faf365 - Update to version 1.5.6:
* Cleanup of parse action normalizing code, to be more version-tolerant,
    and robust in the face of future Python versions
  * Removal of exception cacheing, addressing a memory leak condition
    in Python 3.
  * Fixed bug when using packrat parsing, where a previously parsed
    expression would duplicate subsequent tokens
  * Fixed bug in srange, which accepted escaped hex characters of the 
    form '\0x##', but should be '\x##'.  Both forms will be supported
    for backwards compatibility.
  * Added the Verilog parser to the provided set of examples, under the
    MIT license.
  * Added the excludeChars argument to the Word class, to simplify defining
    a word composed of all characters in a large range except for one or two.
  * Added optional overlap parameter to scanString, to return overlapping
    matches found in the source text.
  * Updated oneOf internal regular expression generation, with improved
    parse time performance.
  * Slight performance improvement in transformString, removing empty
    strings from the list of string fragments built while scanning the
    source text, before calling ''.join. Especially useful when using 
    transformString to strip out selected text.
  * Enhanced form of using the "expr('name')" style of results naming,
    in lieu of calling setResultsName.  If name ends with an '*', then
    this is equivalent to expr.setResultsName('name',listAllMatches=True).
  * Fixed up internal list flattener to use iteration instead of recursion,
    to avoid stack overflow when transforming large files.
- Changes from version 1.5.5:
  * Typo in Python3 version of pyparsing, "builtin" should be "builtins".
- Changes from version 1.5.4:

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pyparsing?expand=0&rev=5
2011-06-30 08:57:52 +00:00
Sascha Peilicke
5b72c11078 Autobuild autoformatter for 73459
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pyparsing?expand=0&rev=2
2011-06-28 13:20:38 +00:00
Pascal Bleser
50a6d9e853 1.5.3
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pyparsing?expand=0&rev=1
2010-07-07 00:40:12 +00:00