summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorJon Dufresne <jon.dufresne@gmail.com>2018-12-24 17:35:29 -0500
committerJon Dufresne <jon.dufresne@gmail.com>2018-12-24 17:40:20 -0500
commit1928ae222149789046a07cceec21b256c9c84a8c (patch)
tree96719ec1ec987ecc1b514177295265c212b6093f /docs
parent7ee59bf9bec777b5a3f627dc2cfbde637ce9ebfc (diff)
downloadpyparsing-git-1928ae222149789046a07cceec21b256c9c84a8c.tar.gz
Remove mentions of 'psyco' from docs and examples
The psyco package has been declared umaintained and dead. It is no longer receiving bug fixes including for security issues. From http://psyco.sourceforge.net/ > 12 March 2012 > > Psyco is unmaintained and dead. Please look at PyPy for the > state-of-the-art in JIT compilers for Python. Avoid recommending the use of an unmaintained package (since 2012). Users can continue to use PyPy for the latest and greatest in Python JIT.
Diffstat (limited to 'docs')
-rw-r--r--docs/HowToUsePyparsing.rst14
1 files changed, 2 insertions, 12 deletions
diff --git a/docs/HowToUsePyparsing.rst b/docs/HowToUsePyparsing.rst
index 7d39e30..62dc677 100644
--- a/docs/HowToUsePyparsing.rst
+++ b/docs/HowToUsePyparsing.rst
@@ -226,13 +226,6 @@ Usage notes
or expressions that may occur within an ``And`` expression; an early element
of an ``And`` may match, but the overall expression may fail.
-- Performance of pyparsing may be slow for complex grammars and/or large
- input strings. The psyco_ package can be used to improve the speed of the
- pyparsing module with no changes to grammar or program logic - observed
- improvments have been in the 20-50% range.
-
-.. _psyco: http://psyco.sourceforge.net/
-
Classes
=======
@@ -363,11 +356,8 @@ methods for code to use are:
performance enhancement, known as "packrat parsing". packrat parsing is
disabled by default, since it may conflict with some user programs that use
parse actions. To activate the packrat feature, your
- program must call the class method ParserElement.enablePackrat(). If
- your program uses psyco to "compile as you go", you must call
- enablePackrat before calling psyco.full(). If you do not do this,
- Python will crash. For best results, call enablePackrat() immediately
- after importing pyparsing.
+ program must call the class method ParserElement.enablePackrat(). For best
+ results, call enablePackrat() immediately after importing pyparsing.
Basic ParserElement subclasses