From 1928ae222149789046a07cceec21b256c9c84a8c Mon Sep 17 00:00:00 2001 From: Jon Dufresne Date: Mon, 24 Dec 2018 17:35:29 -0500 Subject: 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. --- pyparsing.py | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) (limited to 'pyparsing.py') diff --git a/pyparsing.py b/pyparsing.py index aa1b993..945c51d 100644 --- a/pyparsing.py +++ b/pyparsing.py @@ -1677,11 +1677,9 @@ class ParserElement(object): This speedup may break existing programs that use parse actions that have side-effects. For this reason, packrat parsing is disabled when you first import pyparsing. To activate the packrat feature, your - program must call the class method :class:`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 :class:`ParserElement.enablePackrat`. + For best results, call ``enablePackrat()`` immediately after + importing pyparsing. Example:: -- cgit v1.2.1