This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

classification
Title: remove ref to Phil Schwartz's 'Kodos' in regex HOWTO
Type: enhancement Stage: resolved
Components: Documentation Versions: Python 3.6, Python 3.5
process
Status: closed Resolution: fixed
Dependencies: Superseder:
Assigned To: docs@python Nosy List: MattDMo, berker.peksag, docs@python, python-dev
Priority: normal Keywords: patch

Created on 2016-06-23 19:58 by MattDMo, last changed 2022-04-11 14:58 by admin. This issue is now closed.

Files
File name Uploaded Description Edit
regex.diff MattDMo, 2016-06-23 19:58 diff for removing last sentence from indicated paragraph
Messages (3)
msg269142 - (view) Author: Matt Morrison (MattDMo) * Date: 2016-06-23 19:58
In the Regular Expressions HOWTO (https://docs.python.org/3/howto/regex.html#performing-matches, Doc/howto/regex.rst), there is the following paragraph:

=====
You can learn about this by interactively experimenting with the :mod:`re`
module.  If you have :mod:`tkinter` available, you may also want to look at
:source:`Tools/demo/redemo.py`, a demonstration program included with the
Python distribution.  It allows you to enter REs and strings, and displays
whether the RE matches or fails. :file:`redemo.py` can be quite useful when
trying to debug a complicated RE.  Phil Schwartz's `Kodos
<http://kodos.sourceforge.net/>`_ is also an interactive tool for developing and
testing RE patterns.
=====

I checked the Kodos site on SourceForge, and the latest release is exactly 10 years old. I couldn't get it to work with 2.7.11 on Ubuntu 16.04 and PyQt4 - Qt3 is one of its requirements. I didn't bother running 2to3 on it. I propose we delete the last sentence of the above paragraph altogether. There are many good regex sites out there, including regex101, regexr, Debuggex, regexpal, and more (those are just the first few in my bookmarks list), and I don't feel we should be promoting one outdated tool.

Here is the diff:
=====
@@ -374,9 +374,7 @@
 :source:`Tools/demo/redemo.py`, a demonstration program included with the
 Python distribution.  It allows you to enter REs and strings, and displays
 whether the RE matches or fails. :file:`redemo.py` can be quite useful when
-trying to debug a complicated RE.  Phil Schwartz's `Kodos
-<http://kodos.sourceforge.net/>`_ is also an interactive tool for developing and
-testing RE patterns.
+trying to debug a complicated RE.

 This HOWTO uses the standard Python interpreter for its examples. First, run the
 Python interpreter, import the :mod:`re` module, and compile a RE::

=====

I've also attached it as a file.
msg269159 - (view) Author: Roundup Robot (python-dev) (Python triager) Date: 2016-06-24 05:53
New changeset 23182404a85c by Berker Peksag in branch '3.5':
Issue #27378: Remove an outdated reference from regex HOWTO
https://hg.python.org/cpython/rev/23182404a85c

New changeset 21cb299a9626 by Berker Peksag in branch 'default':
Issue #27378: Merge from 3.5
https://hg.python.org/cpython/rev/21cb299a9626
msg269160 - (view) Author: Berker Peksag (berker.peksag) * (Python committer) Date: 2016-06-24 05:54
Thanks!
History
Date User Action Args
2022-04-11 14:58:32adminsetgithub: 71565
2016-06-24 05:54:16berker.peksagsetstatus: open -> closed

versions: - Python 2.7, Python 3.2, Python 3.3, Python 3.4
nosy: + berker.peksag

messages: + msg269160
resolution: fixed
stage: resolved
2016-06-24 05:53:51python-devsetnosy: + python-dev
messages: + msg269159
2016-06-23 19:58:16MattDMocreate