diff options
author | Eli Bendersky <eliben@gmail.com> | 2017-07-21 06:36:37 -0700 |
---|---|---|
committer | Eli Bendersky <eliben@gmail.com> | 2017-07-21 06:36:37 -0700 |
commit | 2fdaa9870670813b556e3b7c3dc4f4011dccc692 (patch) | |
tree | 0fa99b3116257adbb848f369237c3d7d77c9739a /README.rst | |
parent | 673accec311a027c22b0718d753f8da922915305 (diff) | |
download | pycparser-2fdaa9870670813b556e3b7c3dc4f4011dccc692.tar.gz |
Add README clarification re -OO; relevant to #198
Diffstat (limited to 'README.rst')
-rw-r--r-- | README.rst | 7 |
1 files changed, 7 insertions, 0 deletions
@@ -87,6 +87,13 @@ Prerequisites uses is PLY, which is bundled in ``pycparser/ply``. The current PLY version is 3.10, retrieved from `<http://www.dabeaz.com/ply/>`_ +Note that **pycparser** (and PLY) uses docstrings for grammar specifications. +Python installations that strip docstrings (such as when using the Python +``-OO`` option) will fail to instantiate and use **pycparser**. You can try to +work around this problem by making sure the PLY parsing tables are pre-generated +in normal mode; this isn't an officially supported/tested mode of operation, +though. + Installation process -------------------- |